[Solved] Automatically created duplicate images

Discuss the word processor

[Solved] Automatically created duplicate images

Postby saphil » Fri May 20, 2016 12:50 am

I have a document that has 16000 duplicate images that stack on top of the images I want.
How do I keep this from happening, and is there a quick way to get rid of 16000 redundant images?
Windows 10, OpenOffice 4.1.2, 4.1.1.
Last edited by saphil on Sun May 22, 2016 6:52 pm, edited 1 time in total.
LibreOffice-5 - OOo-4.1.2 - Debian (Stable and Testing) - Ubuntu 16.04 - CentOS 6 - FreeBSD - OpenSolaris-11
User avatar
saphil
Volunteer
 
Posts: 65
Joined: Mon Oct 08, 2007 5:09 am
Location: Atlanta GA

Re: Automatically created duplicate images

Postby musikai » Fri May 20, 2016 2:17 am

If you want an automated way with eg. a macro code then we would have to know how to separate the wanted from the unwanted images.
So eg. if their names start from picture16000 to picture32000 etc. it would be possible.
Win7 Pro, Lubuntu 15.10, LO 4.4.7, OO 4.1.3
Free Project: LibreOffice Songbook Architect (LOSA)
http://struckkai.blogspot.de/2015/04/libreofficesongbookarchitect.html
musikai
Volunteer
 
Posts: 230
Joined: Wed Nov 11, 2015 12:19 am

Re: Automatically created duplicate images

Postby John_Ha » Fri May 20, 2016 1:12 pm

Are you saying that Writer somehow caused 16,000 images to appear - it is not something you did?

If so, please upload the file here, if less that 128kB, or to a fileshare site (or your Dropbox - r-click it > Copy Dropbox link) if bigger, so someone can have a look at it.

It may be possible to delete all the excess files by "hacking" the .odt file directly.
AOO 4.1.6, Windows 7 Home 64 bit

See the Writer Manual, the Writer FAQ, the Writer Tutorials and the Writer guide.

Remember: Always save your Writer files as .odt files. - see here for the many reasons why.
John_Ha
Volunteer
 
Posts: 6648
Joined: Fri Sep 18, 2009 5:51 pm
Location: UK

Re: Automatically created duplicate images

Postby John_Ha » Sat May 21, 2016 3:18 pm

saphil wrote:I have a document that has 16000 duplicate images that stack on top of the images I want.
How do I keep this from happening

I cannot understand how this has happened - please do upload the file so we can have a look at it to see what is happening.

saphil wrote:is there a quick way to get rid of 16000 redundant images?

The quickest was is to copy everything else except the images, and paste it into a new, empty document (File > New > Text document ...). Abandon, and be sure to delete, the old document as there is something horribly wrong with it.

If this solves the problem, please click the Edit button on your original post and add [Solved] in front of your subject.
AOO 4.1.6, Windows 7 Home 64 bit

See the Writer Manual, the Writer FAQ, the Writer Tutorials and the Writer guide.

Remember: Always save your Writer files as .odt files. - see here for the many reasons why.
John_Ha
Volunteer
 
Posts: 6648
Joined: Fri Sep 18, 2009 5:51 pm
Location: UK

Re: Automatically created duplicate images

Postby saphil » Sun May 22, 2016 6:37 am

Here is a copy of the document
https://drive.google.com/open?id=0Bw-7O ... HkyNjJhbVU
Thanks for taking a look at it.
LibreOffice-5 - OOo-4.1.2 - Debian (Stable and Testing) - Ubuntu 16.04 - CentOS 6 - FreeBSD - OpenSolaris-11
User avatar
saphil
Volunteer
 
Posts: 65
Joined: Mon Oct 08, 2007 5:09 am
Location: Atlanta GA

Re: Automatically created duplicate images

Postby RoryOF » Sun May 22, 2016 9:43 am

I have had only a quick look at the document; my initial thoughts are that it has originated on, or at least been edited on a Word system and at one stage been Saved from such a system, perhaps in .docx or Word's .odt format as the internal structure seems confused (read: not what I expect in a clean .odt document). The statistics presented by OO and seen from the internal structure of the document shows them not to agree. OO on my computer spends a long time (5 - 10 mins?) thinking about the document and its layout and eventually does come back to being responsive.
Apache OpenOffice 4.1.6 on Xubuntu 18.04.2 (mostly 64 bit version) and very infrequently on Win2K/XP
User avatar
RoryOF
Moderator
 
Posts: 29042
Joined: Sat Jan 31, 2009 9:30 pm
Location: Ireland

Re: Automatically created duplicate images

Postby John_Ha » Sun May 22, 2016 10:18 am

OK - here is the file without the graphics.

Why has this happened? I do not know. However, the file is set to Record changes and I think this the root cause of the problem.

First, you may just have overloaded the Record change system with too many changes.

Did someone leave Record changes on while doing normal typing? That is unlikely as there weren't that many changes recorded. Has one change been reversed by another reviewer and and again etc?

Did someone Accept changes while still having Record changes set? - this could presumably put Writer into a loop.

Second, is someone who is doing the changes using MS Word? Or is someone saving it as a .doc?

Recording changes with Writer and Word on a single file is potentially a recipe for problems as we do not know how well MS Word handles Record changes in a .odt file. See Will styles transfer from AOO to Word seamlessly?

What did I do to fix the file?

Just deleting an image or its frame was impossible as Writer hanged for ages each time. This may have been because I still had Record changes switched on ... Switching off View graphics in Tools > Options did not help.

I therefore "hacked" the .odt file. I unzipped the .odt file and deleted the Pictures folder which had about 20 images in it. Recall that if you insert the identical image more than once, Writer stores just one copy of it. I then edited content.xml to delete the vast majority of the many, many draw:frame commands. Where there were many consecutive instances, I left the first and the last (so as to retain the file structure), and deleted all those between.
Code: Select all   Expand viewCollapse view
<draw:frame draw:style-name="fr1" draw:name="graphics7383" text:anchor-type="char" svg:x="0in" svg:y="0in" svg:width="5.3744in" svg:height="3.7575in" draw:z-index="0">
                        <draw:image xlink:href="Pictures/10000201000002D5000001FBEF1F0119.png" xlink:type="simple" xlink:show="embed" xlink:actuate="onLoad"/>
                     </draw:frame>

This worked fine when I opened it, so I put the Pictures folder back into the .odt. I was very surprised that this then brought back loads of frames and graphics references in Navigator. I switched off Record changes and deleted each graphics reference.

Then, as a final "clean up" I copied the entire file contents and pasted it into a new text document.

If this solves the problem, please click the Edit button on your original post and add [Solved] in front of your subject.
Attachments
B00248_02_Post_Review_WH_0.7_ REPAIRED.odt
(44.28 KiB) Downloaded 48 times
AOO 4.1.6, Windows 7 Home 64 bit

See the Writer Manual, the Writer FAQ, the Writer Tutorials and the Writer guide.

Remember: Always save your Writer files as .odt files. - see here for the many reasons why.
John_Ha
Volunteer
 
Posts: 6648
Joined: Fri Sep 18, 2009 5:51 pm
Location: UK

Re: Automatically created duplicate images

Postby RoryOF » Sun May 22, 2016 11:16 am

John_Ha suggests Record Changes may be at the root of the problem; I suspect this may be involved, but think the main problem was the file being Saved from Word in MS's bastard OpenDocument style, perhaps after review by one of the commentators.

The file has Pictures and Graphics included; there are over 2000 graphics listed, numbered in some repetitive pattern, which would suggest some form of program malfunction.

Whatever happened seems to have happened on 2nd May 2016 at 23:05. there may have been subsequent occurrences of a similar event.

In the original file it is interesting to examine a formatted copy (Firefox will do this) of the internal content.xml, as John_Ha has found.
Apache OpenOffice 4.1.6 on Xubuntu 18.04.2 (mostly 64 bit version) and very infrequently on Win2K/XP
User avatar
RoryOF
Moderator
 
Posts: 29042
Joined: Sat Jan 31, 2009 9:30 pm
Location: Ireland

Re: Automatically created duplicate images

Postby John_Ha » Sun May 22, 2016 11:42 am

RoryOF wrote:In the original file it is interesting to examine a formatted copy (Firefox will do this) of the internal content.xml, as John_Ha has found.

I used NotePad ++, with the XML Tools plug in to "pretty print" the file, to view and edit content.xml.
AOO 4.1.6, Windows 7 Home 64 bit

See the Writer Manual, the Writer FAQ, the Writer Tutorials and the Writer guide.

Remember: Always save your Writer files as .odt files. - see here for the many reasons why.
John_Ha
Volunteer
 
Posts: 6648
Joined: Fri Sep 18, 2009 5:51 pm
Location: UK

Re: Automatically created duplicate images

Postby John_Ha » Sun May 22, 2016 11:53 am

RoryOF wrote:...[I] think the main problem was the file being Saved from Word in MS's bastard OpenDocument style, perhaps after review by one of the commentators.

If so, complain vigorously to Microsoft for corrupting the file.
AOO 4.1.6, Windows 7 Home 64 bit

See the Writer Manual, the Writer FAQ, the Writer Tutorials and the Writer guide.

Remember: Always save your Writer files as .odt files. - see here for the many reasons why.
John_Ha
Volunteer
 
Posts: 6648
Joined: Fri Sep 18, 2009 5:51 pm
Location: UK

Re: Automatically created duplicate images

Postby RoryOF » Sun May 22, 2016 11:55 am

I'm using XMLCopyEditor in pretty print mode.

There is a lot of repetition in the graphics lines, not just with ...F0119 (which I think is the worst case).

As there are only 20-40 pictures involved (I'm not in counting mode!) the problem is arising because of insertion (for whatever reason) of additional links to those pictures. I'm fairly sure I remember a similar problem (not nearly as bad) on Forum before - it may have been a damaged file that was requested to be fixed.

I'm going offline now, on my way to the cream cake shop.
Apache OpenOffice 4.1.6 on Xubuntu 18.04.2 (mostly 64 bit version) and very infrequently on Win2K/XP
User avatar
RoryOF
Moderator
 
Posts: 29042
Joined: Sat Jan 31, 2009 9:30 pm
Location: Ireland

Re: Automatically created duplicate images

Postby John_Ha » Sun May 22, 2016 12:30 pm

Previously I just fixed the file. I have now had a better look at it. The repeated draw:frame commands do follow a pattern. The numbers vary as below:
...
<draw:frame draw:style-name="fr1" draw:name="graphics798"
<draw:frame draw:style-name="fr2" draw:name="graphics898"
<draw:frame draw:style-name="fr1" draw:name="graphics799"
<draw:frame draw:style-name="fr2" draw:name="graphics899"
<draw:frame draw:style-name="fr1" draw:name="graphics7100"
<draw:frame draw:style-name="fr2" draw:name="graphics8100"
<draw:frame draw:style-name="fr1" draw:name="graphics7101"
<draw:frame draw:style-name="fr2" draw:name="graphics8101"
...
<draw:frame draw:style-name="fr1" draw:name="graphics7255"
<draw:frame draw:style-name="fr2" draw:name="graphics8255"
...

This strongly suggests that there is a counter somewhere which is implemented with a limit and it has overflowed. Note how we have 7-98 > 7-99 > 7-100 > 7-101, and similarly for 8-98 > 8-99 > 8-100 > 8-101.

Note also that the draw:frame commands stop at 7-255 and 8-255 where 255 is, of course, [11111111] in binary.

I saw a similar problem with the Year 2000 bug. A programmer had created the year, eg 1998, with 19 as a fixed number, followed by the variable 98, which incremented each year. On January 1st 2000 the date naturally appeared as 1 January 19100.

My bet is that this is a MS Word bug.

Code: Select all   Expand viewCollapse view
                     <draw:frame draw:style-name="fr1" draw:name="graphics798" text:anchor-type="char" svg:x="0in" svg:y="0in" svg:width="5.3744in" svg:height="3.7575in" draw:z-index="0">
                        <draw:image xlink:href="Pictures/10000201000002D5000001FBEF1F0119.png" xlink:type="simple" xlink:show="embed" xlink:actuate="onLoad"/>
                     </draw:frame>
                     <draw:frame draw:style-name="fr2" draw:name="graphics898" text:anchor-type="char" svg:x="0in" svg:y="0in" svg:width="5.3744in" svg:height="3.7575in" draw:z-index="0">
                        <draw:image xlink:href="Pictures/10000201000002D5000001FBEF1F0119.png" xlink:type="simple" xlink:show="embed" xlink:actuate="onLoad"/>
                     </draw:frame>
                     <draw:frame draw:style-name="fr1" draw:name="graphics799" text:anchor-type="char" svg:x="0in" svg:y="0in" svg:width="5.3744in" svg:height="3.7575in" draw:z-index="0">
                        <draw:image xlink:href="Pictures/10000201000002D5000001FBEF1F0119.png" xlink:type="simple" xlink:show="embed" xlink:actuate="onLoad"/>
                     </draw:frame>
                     <draw:frame draw:style-name="fr2" draw:name="graphics899" text:anchor-type="char" svg:x="0in" svg:y="0in" svg:width="5.3744in" svg:height="3.7575in" draw:z-index="0">
                        <draw:image xlink:href="Pictures/10000201000002D5000001FBEF1F0119.png" xlink:type="simple" xlink:show="embed" xlink:actuate="onLoad"/>
                     </draw:frame>
                     <draw:frame draw:style-name="fr1" draw:name="graphics7100" text:anchor-type="char" svg:x="0in" svg:y="0in" svg:width="5.3744in" svg:height="3.7575in" draw:z-index="0">
                        <draw:image xlink:href="Pictures/10000201000002D5000001FBEF1F0119.png" xlink:type="simple" xlink:show="embed" xlink:actuate="onLoad"/>
                     </draw:frame>
                     <draw:frame draw:style-name="fr2" draw:name="graphics8100" text:anchor-type="char" svg:x="0in" svg:y="0in" svg:width="5.3744in" svg:height="3.7575in" draw:z-index="0">
                        <draw:image xlink:href="Pictures/10000201000002D5000001FBEF1F0119.png" xlink:type="simple" xlink:show="embed" xlink:actuate="onLoad"/>
                     </draw:frame>
                     <draw:frame draw:style-name="fr1" draw:name="graphics7101" text:anchor-type="char" svg:x="0in" svg:y="0in" svg:width="5.3744in" svg:height="3.7575in" draw:z-index="0">
                        <draw:image xlink:href="Pictures/10000201000002D5000001FBEF1F0119.png" xlink:type="simple" xlink:show="embed" xlink:actuate="onLoad"/>
                     </draw:frame>
                     <draw:frame draw:style-name="fr2" draw:name="graphics8101" text:anchor-type="char" svg:x="0in" svg:y="0in" svg:width="5.3744in" svg:height="3.7575in" draw:z-index="0">
                        <draw:image xlink:href="Pictures/10000201000002D5000001FBEF1F0119.png" xlink:type="simple" xlink:show="embed" xlink:actuate="onLoad"/>
                     </draw:frame>


At the end of the file we see where the error starts:
...
<draw:frame draw:style-name="fr2" draw:name="graphics82"
<draw:frame draw:style-name="fr1" draw:name="graphics72"
<draw:frame draw:style-name="fr2" draw:name="graphics81"
<draw:frame draw:style-name="fr1" draw:name="graphics71"
<draw:frame draw:style-name="fr2" draw:name="graphics8"
<draw:frame draw:style-name="fr1" draw:name="graphics7"

Note how 7 goes to 71, 72 etc, and 8 goes to 81, 82 etc.

Code: Select all   Expand viewCollapse view
            <draw:frame draw:style-name="fr2" draw:name="graphics82" text:anchor-type="char" svg:x="0in" svg:y="0in" svg:width="5.3744in" svg:height="3.7575in" draw:z-index="661">
               <draw:image xlink:href="Pictures/10000201000002D5000001FBEF1F0119.png" xlink:type="simple" xlink:show="embed" xlink:actuate="onLoad"/>
            </draw:frame>
            <draw:frame draw:style-name="fr1" draw:name="graphics72" text:anchor-type="char" svg:x="0in" svg:y="0in" svg:width="5.3744in" svg:height="3.7575in" draw:z-index="660">
               <draw:image xlink:href="Pictures/10000201000002D5000001FBEF1F0119.png" xlink:type="simple" xlink:show="embed" xlink:actuate="onLoad"/>
            </draw:frame>
            <draw:frame draw:style-name="fr2" draw:name="graphics81" text:anchor-type="char" svg:x="0in" svg:y="0in" svg:width="5.3744in" svg:height="3.7575in" draw:z-index="659">
               <draw:image xlink:href="Pictures/10000201000002D5000001FBEF1F0119.png" xlink:type="simple" xlink:show="embed" xlink:actuate="onLoad"/>
            </draw:frame>
            <draw:frame draw:style-name="fr1" draw:name="graphics71" text:anchor-type="char" svg:x="0in" svg:y="0in" svg:width="5.3744in" svg:height="3.7575in" draw:z-index="658">
               <draw:image xlink:href="Pictures/10000201000002D5000001FBEF1F0119.png" xlink:type="simple" xlink:show="embed" xlink:actuate="onLoad"/>
            </draw:frame>
            <draw:frame draw:style-name="fr2" draw:name="graphics8" text:anchor-type="char" svg:x="0in" svg:y="0in" svg:width="5.3744in" svg:height="3.7575in" draw:z-index="657">
               <draw:image xlink:href="Pictures/10000201000002D5000001FBEF1F0119.png" xlink:type="simple" xlink:show="embed" xlink:actuate="onLoad"/>
            </draw:frame>
            <draw:frame draw:style-name="fr1" draw:name="graphics7" text:anchor-type="char" svg:x="0in" svg:y="0in" svg:width="5.3744in" svg:height="3.7575in" draw:z-index="656">
               <draw:image xlink:href="Pictures/10000201000002D5000001FBEF1F0119.png" xlink:type="simple" xlink:show="embed" xlink:actuate="onLoad"/>
            </draw:frame>
Last edited by John_Ha on Sun May 22, 2016 5:11 pm, edited 1 time in total.
AOO 4.1.6, Windows 7 Home 64 bit

See the Writer Manual, the Writer FAQ, the Writer Tutorials and the Writer guide.

Remember: Always save your Writer files as .odt files. - see here for the many reasons why.
John_Ha
Volunteer
 
Posts: 6648
Joined: Fri Sep 18, 2009 5:51 pm
Location: UK

Re: Automatically created duplicate images

Postby RoryOF » Sun May 22, 2016 2:57 pm

That's what I saw also, John, although I didn't analyse it as deeply as you did. Note that graphic7 and graphic8 both point to our friend, picture ...F0119. I speculate that the problem might start with a double insertion of graphic7 (mouse switch bounce?). Look at the 'draw:z-index= 656' entry for graphic 7. If this index is generated at entry time, then graphic8 is sequential, as are all the entries above it until the index root number changes. There seem to be three sequences of ....F0119 numberings
These are
400-655, a difference of 255
143-398, a difference of 255
656 1167, a difference of 511

Another pattern?
Apache OpenOffice 4.1.6 on Xubuntu 18.04.2 (mostly 64 bit version) and very infrequently on Win2K/XP
User avatar
RoryOF
Moderator
 
Posts: 29042
Joined: Sat Jan 31, 2009 9:30 pm
Location: Ireland

Re: Automatically created duplicate images

Postby saphil » Sun May 22, 2016 6:51 pm

I looked at the XML. following your lead, and there definitely looks to be some loops in the indexing.
I am pretty sure the editor looked at, and commented the document in Word. This has happened before, but I wasn't looking a deadline in the face before, so I just created a new document. In this case, the basic chapter had been approved, and I was only working in the small rewrites requested. I really didn't want to recreate an entirely new document.
What I finally did was grab the XML in notepad++ and pull the actual text out of it, and created a clean copy on the publisher's remplate. Then I went in and added the images in proper order. In the original creation the images went into the document in a more random order, as the illustrative subsections were not written in the order found in the final document.
Thank you all for your help. I am leaning toward a Microsoft bug in docx or doc and their poor handling of odt.
LibreOffice-5 - OOo-4.1.2 - Debian (Stable and Testing) - Ubuntu 16.04 - CentOS 6 - FreeBSD - OpenSolaris-11
User avatar
saphil
Volunteer
 
Posts: 65
Joined: Mon Oct 08, 2007 5:09 am
Location: Atlanta GA

Re: [Solved] Automatically created duplicate images

Postby RoryOF » Sun May 22, 2016 7:04 pm

If it or another file is being reviewed by the same editor, there is a great invention called "pen and paper". Of course, this may have too much of a learning curve...
Apache OpenOffice 4.1.6 on Xubuntu 18.04.2 (mostly 64 bit version) and very infrequently on Win2K/XP
User avatar
RoryOF
Moderator
 
Posts: 29042
Joined: Sat Jan 31, 2009 9:30 pm
Location: Ireland

Re: [Solved] Automatically created duplicate images

Postby John_Ha » Sun May 22, 2016 8:49 pm

saphil

It would be extremely useful to all those wanting to exchange .odt documents between Writer and MS Word if this bug could be fixed.

Could you please ask your colleague who has MS Word to report this as an MS Office bug. (S)He can do by opening MS Word and clicking the smiley at the top right of the screen - see How to report a bug in Office 2016. The web page says "You won't receive an acknowledgement, but Microsoft will receive it."

Compare and contrast how OpenOffice takes bug reports at Welcome to Apache OpenOffice (AOO) Bugzilla where anyone can report a bug and anyone can track its progress the whole way through! Microsoft must surely be the most arrogant, stuck-up, obnoxious, customer un-friendly company trading.

Of course, I doubt Microsoft has any great interest in fixing this bug as Microsoft can always hold up the failure of exchanging .odt files between Writer and MS Word as being "Writer's fault" and that "users should stick to MS Word if they want things to work". Arrogant *******s!.

NB - I fixed your file and uploaded the repaired file in an earlier post I think you must have missed ...

Can I suggest (s)he pastes this in to her/his report:

When recording changes to a .odt file which include adding or removing images, the file gets completely corrupted and, whereras it starts with about 10 images, it ends up with almost 2,000 images. The content.xml file in the .odt file has almost 2,000 repeats of lines like the following, each of which inserts a frame to hold an image. The sequence goes 7, 71, 72...79, 710, 711, 712...799, 7100, 7101, 7102...7383 and 8, 81, 82...89, 810, 811, 812...899, 8100, 8101, 8102...8383.

Please contact me on xxxxxxx@example.com to confirm you will be looking at this bug.

<draw:frame draw:style-name="fr1" draw:name="graphics8383" text:anchor-type="char" svg:x="0in" svg:y="0in" svg:width="5.3744in" svg:height="3.7575in" draw:z-index="660"> <draw:image xlink:href="Pictures/10000201000002D5000001FBEF1F0119.png" xlink:type="simple" xlink:show="embed" xlink:actuate="onLoad"/> </draw:frame>

<draw:frame draw:style-name="fr2" draw:name="graphics7383" text:anchor-type="char" svg:x="0in" svg:y="0in" svg:width="5.3744in" svg:height="3.7575in" draw:z-index="661"> <draw:image xlink:href="Pictures/10000201000002D5000001FBEF1F0119.png" xlink:type="simple" xlink:show="embed" xlink:actuate="onLoad"/> </draw:frame>
...
<draw:frame draw:style-name="fr2" draw:name="graphics82" text:anchor-type="char" svg:x="0in" svg:y="0in" svg:width="5.3744in" svg:height="3.7575in" draw:z-index="661"> <draw:image xlink:href="Pictures/10000201000002D5000001FBEF1F0119.png" xlink:type="simple" xlink:show="embed" xlink:actuate="onLoad"/> </draw:frame>

<draw:frame draw:style-name="fr1" draw:name="graphics72" text:anchor-type="char" svg:x="0in" svg:y="0in" svg:width="5.3744in" svg:height="3.7575in" draw:z-index="660"> <draw:image xlink:href="Pictures/10000201000002D5000001FBEF1F0119.png" xlink:type="simple" xlink:show="embed" xlink:actuate="onLoad"/> </draw:frame>

<draw:frame draw:style-name="fr2" draw:name="graphics81" text:anchor-type="char" svg:x="0in" svg:y="0in" svg:width="5.3744in" svg:height="3.7575in" draw:z-index="659"> <draw:image xlink:href="Pictures/10000201000002D5000001FBEF1F0119.png" xlink:type="simple" xlink:show="embed" xlink:actuate="onLoad"/> </draw:frame>

<draw:frame draw:style-name="fr1" draw:name="graphics71" text:anchor-type="char" svg:x="0in" svg:y="0in" svg:width="5.3744in" svg:height="3.7575in" draw:z-index="658"> <draw:image xlink:href="Pictures/10000201000002D5000001FBEF1F0119.png" xlink:type="simple" xlink:show="embed" xlink:actuate="onLoad"/> </draw:frame>

<draw:frame draw:style-name="fr2" draw:name="graphics8" text:anchor-type="char" svg:x="0in" svg:y="0in" svg:width="5.3744in" svg:height="3.7575in" draw:z-index="657"> <draw:image xlink:href="Pictures/10000201000002D5000001FBEF1F0119.png" xlink:type="simple" xlink:show="embed" xlink:actuate="onLoad"/> </draw:frame>

<draw:frame draw:style-name="fr1" draw:name="graphics7" text:anchor-type="char" svg:x="0in" svg:y="0in" svg:width="5.3744in" svg:height="3.7575in" draw:z-index="656"> <draw:image xlink:href="Pictures/10000201000002D5000001FBEF1F0119.png" xlink:type="simple" xlink:show="embed" xlink:actuate="onLoad"/> </draw:frame>
AOO 4.1.6, Windows 7 Home 64 bit

See the Writer Manual, the Writer FAQ, the Writer Tutorials and the Writer guide.

Remember: Always save your Writer files as .odt files. - see here for the many reasons why.
John_Ha
Volunteer
 
Posts: 6648
Joined: Fri Sep 18, 2009 5:51 pm
Location: UK

Re: [Solved] Automatically created duplicate images

Postby saphil » Thu May 26, 2016 8:38 pm

Thanks for fixing the file!
I will ask my colleague to submit the bug to Microsoft.
LibreOffice-5 - OOo-4.1.2 - Debian (Stable and Testing) - Ubuntu 16.04 - CentOS 6 - FreeBSD - OpenSolaris-11
User avatar
saphil
Volunteer
 
Posts: 65
Joined: Mon Oct 08, 2007 5:09 am
Location: Atlanta GA

Re: Automatically created duplicate images

Postby jrkrideau » Sat May 28, 2016 3:07 pm

John_Ha wrote:I saw a similar problem with the Year 2000 bug. A programmer had created the year, eg 1998, with 19 as a fixed number, followed by the variable 98, which incremented each year. On January 1st 2000 the date naturally appeared as 1 January 19100.


This was the required format back in the distant past. In my first programming course (FORTAN IV) we lost marks if we treated 1998 as a number, It used more memory.
OpenOffice 4.1.6; Ubuntu 18.04
jrkrideau
Volunteer
 
Posts: 3690
Joined: Sun Dec 30, 2007 10:00 pm
Location: Kingston Ontario Canada

Re: Automatically created duplicate images

Postby John_Ha » Sat May 28, 2016 3:38 pm

jrkrideau wrote:This was the required format back in the distant past. In my first programming course (FORTAN IV) we lost marks if we treated 1998 as a number, It used more memory.

You will no doubt remember the joke doing the rounds at Y2K bug time ...

There was this programmer who got absolutely fed up doing all these Y2K fixes. He had to search through millions of lines of undocumented code looking for Y2K problems and it was driving him nuts. Finally, he can take it no more, and he takes a "Sleeping Beauty" sleeping draught, with the aim of not waking up until Y2K is safely in the past, and he will never, never have to look at a Y2K bug ever again.

He sleeps ... and dimly becomes aware that someone is trying to wake him. He opens his eyes and looks around, and doesn't recognise anything. "Where am I?", he asks, "What date is it".

"You need to prepare your self for bit of a shock", they say. "You took far too much of the sleeping draught and you have been asleep for just under 8,000 years - it's now January 9,999."

"8,000 years!", he says. "Well, at least I will never have to worry about Y2K bugs any more."

"Prepare yourself for another shock", they say. "You see, we had to wake you up because we have just realsied we don't have anyone with the knowledge of ancient programming codes to fix our critical Y10K bug problem - you are the only person who can do it. Get dressed - you start now."
AOO 4.1.6, Windows 7 Home 64 bit

See the Writer Manual, the Writer FAQ, the Writer Tutorials and the Writer guide.

Remember: Always save your Writer files as .odt files. - see here for the many reasons why.
John_Ha
Volunteer
 
Posts: 6648
Joined: Fri Sep 18, 2009 5:51 pm
Location: UK

Re: Automatically created duplicate images

Postby John_Ha » Sat May 28, 2016 3:52 pm

jrkrideau wrote: ... It used more memory.

When I was at university in the early 70s memory was still magnetic core, with little ferrite beads and wires threading through them (all wiring was done in low labour cost locations like war torn Vietnam. I clearly remember our lecturer saying
Computing will not take off until memory prices fall to less than $0.01 per bit
.
I can buy a 32 GB memory stick for £4.83, with free postage.

Had I had it in 1971, I guess I could have sold it for $2.56 billion dollars. It cost between $20 and $25 billion (1969 $) for the Apollo programme to land on the moon.
Attachments
core memory.jpg
Core memory - 1 ferrite ring saves 1 bit, so 8 are needed for 1 byte.
AOO 4.1.6, Windows 7 Home 64 bit

See the Writer Manual, the Writer FAQ, the Writer Tutorials and the Writer guide.

Remember: Always save your Writer files as .odt files. - see here for the many reasons why.
John_Ha
Volunteer
 
Posts: 6648
Joined: Fri Sep 18, 2009 5:51 pm
Location: UK


Return to Writer

Who is online

Users browsing this forum: No registered users and 30 guests