http://openoffice.org/bugzilla/show_bug.cgi?id=117345

        Issue Type: DEFECT
           Summary: Export to Word XML crashes or overprints when document
                    has frames
    Classification: Application
           Product: Word processor
           Version: OOo 3.3
          Platform: PC
        OS/Version: Linux
            Status: UNCONFIRMED
          Priority: P3
         Component: save-export
        AssignedTo: [email protected]
        ReportedBy: [email protected]
         QAContact: [email protected]


Created an attachment (id=76088)
 --> (http://openoffice.org/bugzilla/attachment.cgi?id=76088)
Document that demonstrates the bug

In the attached document, I have used a series of frames (anchored as
character) to annotate some text with pronunciation aids.  Each frame contains
2 centred lines, the bottom line being the text itself and the top line being
the annotation I'm adding to it.  This "stacked" format is quite common as a
way to briefly annotate each word of a text.

The document opens fine in OpenOffice.org, but when I try to save the result as
Microsoft Word 2003 XML, I get this error on the console:

Warning: at xsl:stylesheet on line 28 of
file:///opt/openoffice.org/basis3.3/share/xslt/export/wordml/ooo2wordml.xsl:
  Running an XSLT 1.0 stylesheet with an XSLT 2.0 processor
Warning: at xsl:variable on line 1869 of
file:/opt/openoffice.org/basis3.3/share/xslt/export/wordml/ooo2wordml_draw.xsl:
  SXWN9001: A variable with no following sibling instructions has no effect
measure_conversion.xsl: Find no conversion for  to 'twip'!
Error on line 1038 of
file:/opt/openoffice.org/basis3.3/share/xslt/export/wordml/ooo2wordml_draw.xsl:
  XPTY0004: A sequence of more than one item is not allowed as the first
argument of
  string-length() ("Nǐ hǎo", "你好") 

It seems the "sequence of more than one item" is because there are 2 paragraphs
in the frame, and the XSL wasn't expecting this.  So I tried replacing the new
paragraph with a line break (Insert / Manual break); after I did this, the Word
XML was successfully written, but, after I quit OpenOffice.org and restarted
OpenOffice.org and tried to open the Word XML file, all of the frames were
printed on top of each other at the same horizontal position.

-- 
Configure bugmail: http://openoffice.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

---------------------------------------------------------------------
Please do not reply to this automatically generated notification
from Bugzilla. Please log into the website and enter your comments.
-----------------------------------------------------------------------
-----------------------------------------------------------------
To unsubscribe send email to [email protected]
For additional commands send email to [email protected]
with Subject: help
--
-----------------------------------------------------------------
To unsubscribe send email to [email protected]
For additional commands send email to [email protected]
with Subject: help

Reply via email to