To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=95329
                 Issue #|95329
                 Summary|Below-paragraph is not saved in HTML documents
               Component|Word processor
                 Version|OOO300m9
                Platform|PC
                     URL|
              OS/Version|Linux
                  Status|UNCONFIRMED
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P3
            Subcomponent|save-export
             Assigned to|mru
             Reported by|markusl





------- Additional comments from [EMAIL PROTECTED] Wed Oct 22 18:59:29 +0000 
2008 -------
I'm using OOO300m9 on Linux.  When I save an HTML document, OOo saves the
spacing above each paragraph but fails to save the spacing below each paragraph.

Steps to reproduce:

Create a new HTML document.  Insert a table with three rows and one column. 
Insert one word into each cell -- something like this:

One

Two

Three

Select all three cells.  Click Format|Paragraph.  Move to the Indents & Spacing
tab.  In the `Above paragraph' box, type `0.2cm'.  Do the same for the `Below
paragraph' box.  Click OK.

You should now see each paragraph centred vertically in its cell.

Save the document.  Inspect the HTML in a text editor.  See that the table looks
like this:


<TABLE WIDTH=100% BORDER=1 CELLPADDING=4 CELLSPACING=3 STYLE="page-break-before:
always">
        <COL WIDTH=256*>
        <TR>
                <TD WIDTH=100% VALIGN=TOP>
                        <P STYLE="margin-top: 0.2cm">One</P>
                </TD>

        </TR>
        <TR>
                <TD WIDTH=100% VALIGN=TOP>
                        <P STYLE="margin-top: 0.2cm">Two</P>
                </TD>
        </TR>
        <TR>
                <TD WIDTH=100% VALIGN=TOP>

                        <P STYLE="margin-top: 0.2cm">Three</P>
                </TD>
        </TR>
</TABLE>


The spacing above each paragraph is specified, but the spacing below the
paragraph is not.

Now reopen the document in OpenOffice.org.  Click inside any one of the
paragraphs.  Click Format|Paragraph.  See that the `Below paragraph' spacing has
reverted to 0.50cm.

If I add a "margin-bottom" field like this --

<TABLE WIDTH=100% BORDER=1 CELLPADDING=4 CELLSPACING=3 STYLE="page-break-before:
always">
        <COL WIDTH=256*>
        <TR>
                <TD WIDTH=100% VALIGN=TOP>
                        <P STYLE="margin-top: 0.2cm; margin-bottom: 
0.2cm">One</P>
                </TD>
        </TR>
        <TR>
                <TD WIDTH=100% VALIGN=TOP>
                        <P STYLE="margin-top: 0.2cm; margin-bottom: 
0.2cm">Two</P>
                </TD>
        </TR>
        <TR>
                <TD WIDTH=100% VALIGN=TOP>
                        <P STYLE="margin-top: 0.2cm; margin-bottom: 
0.2cm">Three</P>
                </TD>
        </TR>
</TABLE>

-- then OpenOffice.org loads the document and uses the correct spacing below the
paragraph.  So OOo is capable of reading a `margin-bottom' spec; it just doesn't
write one.

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