Apache OpenOffice (AOO) Bugzilla – Full Text Issue Listing |
Summary: | redundent <font> tags when saving Hebrew doc as HTML | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | Writer | Reporter: | sforbes <xslf> | ||||||
Component: | code | Assignee: | AOO issues mailing list <issues> | ||||||
Status: | ACCEPTED --- | QA Contact: | |||||||
Severity: | Trivial | ||||||||
Priority: | P4 | CC: | issues | ||||||
Version: | OOo 1.1 RC3 | ||||||||
Target Milestone: | --- | ||||||||
Hardware: | PC | ||||||||
OS: | Windows XP | ||||||||
Issue Type: | DEFECT | Latest Confirmation in: | --- | ||||||
Developer Difficulty: | --- | ||||||||
Attachments: |
|
Description
sforbes
2003-08-26 08:45:58 UTC
Created attachment 8761 [details]
original oo document
Created attachment 8762 [details]
resulting HTML document
DL->MIB: Would you please takeover? Your original and resulting documents seem not to match. However, in the <style> section all used paragarph and text styles are exported. This is done to be able to restore the styles with the original settings on import. Since OOo has three sets of font attributes, one for latin, one for CJK and one for CTL languages, up to four CSS classes are exported for a single style. One contains the common attributes, the three others the font attributes. In the <body>, these styles are referenced. Dependent on the locale specified for OOo itself, either, the latin, the CJK or the CTL class is referenced here. This happens without looking into the text that actually is exported. If the class does not match to the font attributes that are actually applied to the text, additional font attributes are exported. Indeed, this looks very complicated, but it has the advantage that all style sttings are preserved without any non-standard HTML extensions. The only optimization that might be done is to check the contents of a paragraph, so that the class can be choosen that is applies to most of the characters. I will accept this issue as a possible oiptimization to the HTML code exported. . adding dina as cc |