https://bugs.freedesktop.org/show_bug.cgi?id=41494

[email protected] <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
                 CC|                            |[email protected]
     Ever Confirmed|0                           |1

--- Comment #1 from [email protected] <[email protected]> 2011-10-09 
12:39:09 PDT ---
I decided to take this a bit further and dived into the source of my document
(content.xml) and found the image has been replicated more than a 1000 times
with different z-index. This is an excerpt of my file with only one time the
repeated section:

<draw:frame draw:style-name="fr18" draw:name="images211993"
text:anchor-type="char" svg:x="5.457cm" svg:y="0.547cm" svg:width="0.616cm"
svg:height="0.616cm" draw:z-index="980"><draw:image
xlink:href="Pictures/1000020100000020000000201B45D04B.png" xlink:type="simple"
xlink:show="embed" xlink:actuate="onLoad"/></draw:frame>

I deleted it using vim but it's taken me a very long time (it's a one-line XML
after all).
Just for the temporary fix if somebody else has the problem: 

* unzip the .odt doc in a separate folder (using command line, otherwise it's
possible your unzip application will not accept to do that).

* locate some unique text around the image you think is causing the problem

* edit the content.xml with VIM and search for the unique text  (use "/" then
the text you are searching for

* identify the icon/img tag (see above for an example) and confirm it is
replicated many times.

* use "d323[right arrow]" to delete the 323 characters of the image tag (in my
example that's the size of the tag, but you should count your own)

Obviously, this is only a non-scalable, very impractical solution, but if
you're in a hurry, you might like that.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to