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

        Issue Type: DEFECT
           Summary: Export to Word 97 results in wrong frame size and
                    alignment
    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=76087)
 --> (http://openoffice.org/bugzilla/attachment.cgi?id=76087)
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 attached .odt was produced by
a program I wrote that automatically adds annotations to text and outputs the
result in OpenOffice.org's XML; I based this XML on what OpenOffice.org itself
produced when I inserted a frame manually.

The document opens fine in OpenOffice.org, but when I then (1) save it in Word
97/2000/XP format, (2) close OpenOffice.org, (3) restart OpenOffice.org, (4)
open the Word 97/2000/XP .doc file, I find that:

(1) some of the frames become too narrow to show all their text (such as the
4th frame in the example).

(2) instead of the frames' bottom edge being aligned to the baseline, the
frames hang down from the top.

Viewing in MS Word Viewer 2003 (under WINE) also shows these problems.

If I make my program set svg:width to an explicit width in cm, instead of just
setting fo:min-width, then the frames no longer become too narrow when
exporting to Word 97.  However, setting svg:width from my program would require
my program to figure out the exact width of each word, which is difficult for a
program that only writes XML and doesn't know anything about the display fonts.
 It would be nice if OpenOffice.org's fo:min-width feature would work correctly
when exporting to Word 97.  It would also be nice if the alignment could be
fixed.

-- 
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