Dan Lewis typed the following on 6/13/2006 2:38 PM:
On Tuesday June 13 2006 11:17 am, Pete Holsberg wrote:
I have a Word DOC file that is formatted in legal style and
the most recent OOo.
Writer is not entirely successful converting it to HTML.
1) It adds the "type=1" to the first level OL tag and
"type=i" to the third level, but doesn't add "type=a" to the
second level OLs.
2) It adds some styles that I think are redundant:
@page { size: 8.5in 11in; margin-right: 0.94in; margin-top:
0.6in; margin-bottom: 0.8in }
P.cjk { font-family: "Times New Roman", serif; font-size:
12pt }
P.ctl { font-family: "Times New Roman", serif; font-size:
12pt; so-language: ar-SA }
3) For no reason that I can see, it begins emboldening text
at a particular place in the file:
<LI><P STYLE="margin-right: -0.06in; line-height:
150%"><U>Guidelines for the Imposition of Fines </U>—
The Board may assess reasonable fines in relation and in
proportion to those fines assessed for prior similar
violations beginning on the date of the first adjudication
and the fines may continue to accrue each day until the
violation is abated.</P>
Would anyone who is comfortable with OOo's conversion to
HTML be will to look at the DOC and HTML files?
Or is there something better that will convert a file to
HTML?
Thanks.
-- Pete Holsberg Columbus, NJ
It sounds like you have opened a MS Word file (.doc) and tried
to convert that to HTML. I would recommend you first save it
as an open document format (.odt) first.
OK
Then you might consider going through the document assigning
styles to the paragraphs (and characters if necessary). After
getting the .odt file exactly how you want it, saving it as a
HTML file should be a little cleaner. But it will not be
perfect.
The ODT version of the DOC looked just like the DOC. No changes
were necessary.
Finally, access the HTML code to make any additional changes
you need. To do this, you might need an HTML editor or a text
editor. Any WYSIWYG (what you see is what you get) HTML
program (such as Writer) will give you the things which you
have seen. However, I am thinking that the problems under #1
are more likely caused by using a .doc file as the original
rather than an .odt file.
I was using Dreamweaver to edit the HTML and its WYSIWYG was
rendering certain things incorrectly. When I viewed the results
with a browser, things looked much better with respect to 3 above.
It still adds the "bogus" styles and fails to insert type="a"
where appropriate.
--
Pete Holsberg
Columbus, NJ
"Always acknowledge a fault. This will throw those in authority
off their guard and give you an opportunity to commit more."
-- Mark Twain
--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.394 / Virus Database: 268.8.4/363 - Release Date: 6/13/2006
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]