To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=87340
                 Issue #|87340
                 Summary|broken odt file, related to drawings
               Component|Word processor
                 Version|OOo 2.3.1
                Platform|All
                     URL|
              OS/Version|All
                  Status|UNCONFIRMED
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P3
            Subcomponent|editing
             Assigned to|mru
             Reported by|mince





------- Additional comments from [EMAIL PROTECTED] Sat Mar 22 19:51:24 +0000 
2008 -------
I wrote a document with some drawings. The drawing was alright when I saved the
file. Then I saved the file. Closed it. Tried to open it again the other day,
but it was broken. 

It is the second time with totally different documents, that openoffice destroys
my document, so that it makes errors to render the document after opening the
saved file. The error is always related to drawings in the document. 

The first time it was with version 2.3 on a windows operating system. 
This time it is version 2.4 beta on ubuntu linux (2.4.0~rc2-1ubuntu3). 

I was able to fix the document in a XML Editor, but most users wont. 

In the attached document, the error is in chapter "Druckflächen und Isobaren". 
After loading the document, everything seems fine. But if you scroll down
through the whole document, you will see the error. After you scrolled over the
error, the render engine makes only nonsense. 

If you open content.xml, search for  svg:x2="-2147475.552cm" 

Thats the error:

  <draw:line xmlns:draw="urn:oasis:names:tc:opendocument:xmlns:drawing:1.0"
svg:y1="-0cm"
xmlns:svg="urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0"
svg:y2="-0cm"
xmlns:svg="urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0"
svg:x1="-0cm"
xmlns:svg="urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0"
svg:x2="-2147475.552cm"
xmlns:svg="urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0"
draw:text-style-name="P19"
xmlns:draw="urn:oasis:names:tc:opendocument:xmlns:drawing:1.0"
draw:style-name="gr18"
xmlns:draw="urn:oasis:names:tc:opendocument:xmlns:drawing:1.0" >
    <text:p xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0"/>
  </draw:line>

The x2 coordinate of the line got a wrong and much to big value. 
I believe, if that happens, the rendered area becomes much to big to handle it. 

Another example is this:
  <draw:line xmlns:draw="urn:oasis:names:tc:opendocument:xmlns:drawing:1.0"
svg:y1="2147483.647cm"
xmlns:svg="urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0"
svg:y2="2147483.647cm"
xmlns:svg="urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0"
svg:x1="2147483.647cm"
xmlns:svg="urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0"
svg:x2="8.095cm"
xmlns:svg="urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0"
draw:text-style-name="P18"
xmlns:draw="urn:oasis:names:tc:opendocument:xmlns:drawing:1.0"
draw:style-name="gr18"
xmlns:draw="urn:oasis:names:tc:opendocument:xmlns:drawing:1.0" >
    <text:p xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0"/>
  </draw:line>

The number was always: 
"-2147475.552cm"
or
"2147483.647cm"

My way to fix it was to open content.xml and replace "2147483.647cm" by
"2.647cm". Then only the drawing was broken, but i could open the file. 

1.) This error should not happen in openoffice. 
2.) Openoffice should be able to open this broken document, maybe just remove
the drawing or the line. 

Thats a serious error, most people would loose their document and never use
openoffice again.

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to