Re: OpenOffice does not produce HTML documents.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Aug 17, 2004 at 10:10:41AM -0400, Matt Morgan wrote:
> On 08/17/2004 09:57 AM, akonstam@xxxxxxxxxxx wrote:
> 
> >I have discovered that OpenOffice is unable to produce viewable HTML
> >pages from Word Documents.
> >
> >1. In FC1 the HTML document is unviewable because paragraphs come out
> >as just one big line that does not wrap arroung properly.
> > 
> >
> Let me ask three questions for clarity:
> 
> 1) I'm not 100% sure of what you're trying to do. It sounds like you 
> have a *.doc that you're opening in OOo and saving as HTML. Is that right?
That is exactly  right.
> 2) Have you looked at the resulting HTML code to see where the problem is?
Yes I have and can't really see a problem. The page size is set in the
<HEADER> to 8-1/2 by 11 which seems strange.
> 3) What browser are you using to view the results?

Mozilla 1.4., Internet Explorer. They all have the same problem.
> 
> Line wrapping is not set in HTML code but is handled by the browser, so 
> it normally works with arbitrary window size (the line wraps at the edge 
> of the window). So something non-standard is happening along the way, or 
> maybe you've inadvertently gotten some <pre> codes in there that are 
> forcing literal interpretation of the text.

I agree but it is not working here. I did not thing of looking for
<pre> code. Could you try to do it on your machine and let me know if
it works for you. The point is that the OOo is failing. If I have to
debug the code it proves it is not working.
> 
> >2. I have not spent as much time doing this conversion in FC2. But
> >what I got was an HTML page with just the header code and no body.
> >
> >Any one know how to make this work? It certainly works correctly in
> >Microsoft Word under XP.
> > 
> >
> I haven't tried it for a while, but historically MS-Word has produced 
> overly complicated and non-W3C-standard HTML code, that is only likely 
> to work in IE (a non-W3C-standard browser). That is, they're designed to 
> work together rather than aiming for a general standard (which is what 
> OOo is trying to do). So if that's what works correctly in Word, it's 
> not a really good basis for understanding what's happening.
The Microsoft Generated code woks fine under Mozilla, Konqueror and of
course Internet Explorer. There is no doubt in my mind it is OOo that
is failing, worse in FC2 then FC1. By the way they produce HTML 4
code.
-- 
-------------------------------------------
Aaron Konstam
Computer Science
Trinity University
One Trinity Place.
San Antonio, TX 78212-7200

telephone: (210)-999-7484
email:akonstam@xxxxxxxxxxx



[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux