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

        Issue Type: DEFECT
           Summary: Improper text alignment while exporting to html from
                    writer
    Classification: Application
           Product: Word processor
           Version: OOo 3.2.1
          Platform: PC
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: P3
         Component: formatting
        AssignedTo: [email protected]
        ReportedBy: [email protected]
         QAContact: [email protected]


When exporting to html from writer, I get a center alignment in html, while my
text in writer has a left alignment.

The problem is in the following code.

<STYLE TYPE="text/css">
    <!--
        @page { size: 21cm 29.7cm; margin-right: 2.5cm; margin-top: 1.25cm;
margin-bottom: 2cm }
        @page:first { margin-top: 2.5cm; margin-bottom: 2cm }
        P { margin-bottom: 0.64cm; direction: ltr; color: #000000; line-height:
150%; text-align: center; widows: 2; orphans: 2 }
        P.western { font-family: "Times New Roman", serif; font-size: 12pt;
so-language: en-GB; font-weight: bold }
        P.cjk { font-family: "Times New Roman", serif; font-size: 12pt;
font-weight: bold }
        P.ctl { font-family: "Times New Roman", serif; font-size: 12pt;
so-language: ar-SA; font-weight: bold }
    -->
    </STYLE>

I found a bypass solution to this problem. I have to open the resulting html
with a text editor and replace "text-align: center" with "text-align: left".
Now it is viewed in a proper way.

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