Jump to content
xisto Community
Sign in to follow this  
jlhaslip

Word.doc Or Pdf Formatted File To Display In A Web How to maintain the formatting???

Recommended Posts

I have a document which was originally created using ms office word processing with very strict formatting requirements. It is a high level academic paper which I would like to make viewable within a web page complete with the original formatting. I also have it available as a pdf file with the same formatting.Regardless of the format, is there a way to convert this highly formatted document into an html page and retain the formatting without major work?The only way I have been able to do this so far is with the use of a table layout , an iframe, and the client having a copy of the document's format software (either ms office or acrobat reader). None of these are desirable alternatives because the iframe forces the document to open with either the word processor and the iframe is (I think) a deprecated element in html according to w3 standards. Or am I mistaken?And to recode the document into html/css is a nightmare due to the volume and complexity of the document.Any suggestions would be welcome. Thanks.

Share this post


Link to post
Share on other sites

How's that done? (please provide an example.) And doesn't that require the client to have the same software? Not everyone has ms office word processing. Acrobat reader is probably more readily available, but it requires that the reader gets "fired up" and is a resource burden, (the file is about 600K),so I was just curious to see if there might be another way to do it.

Share this post


Link to post
Share on other sites

How's that done? (please provide an example.) And doesn't that require the client to have the same software?

You just put the link to your file, so instead of http://ww38.yoursite.com/index.html, you'd have http://ww38.yoursite.com/your.pdf. Yes, the user will need to have the software installed. If your PDF is 600k then you're probably looking at something similar file size-wise in HTML so I wouldn't be too worried about being a resource burden. If, as you say, it's going to take a lot of work to convert, then maybe it's best not to.
If it's a high level academic paper, it's more than likely your user base will a) be used to viewing/downloading PDFs online; and :P have reasonably fast internet connections (and 600k is nothing really).

Share this post


Link to post
Share on other sites

Okay, thanks for the input. That is pretty much what I have been doing with this file. Using the pdf version, and linking to it with an anchor tag, so I guess I'll keep on doing it that way. Just checking to see if anyone knew of a better way.Thanks for your time and assistance. :P

Share this post


Link to post
Share on other sites

Ms Office documents have a "save as" function that allows you to save as html (and even xml). Ive used this in excel, but the code is a little bit messy, though it keeps to the design well. If the design is too complex maybe it wont hold it, and I don?t remember how obsolete the code was (according to w3 standars), but it might be a nice start for coding it all into css hehe? Maybe you can post a link of the file and if I have the time I could give it a look, or you could get some other good old trap seventeen member to help ya sort this out.-10730

Share this post


Link to post
Share on other sites

Ms Office documents have a "save as" function that allows you to save as html

 

If the design is too complex maybe it wont hold it, .... but it might be a nice start for coding it all into css hehe

187602[/snapback]


Tried it using Ms office 2000 and it was a disaster... Maybe a newer version would do better, but I don't have it, so...

 

Okay, I'll find a spot to upload it to and let you know... thanks.

Share this post


Link to post
Share on other sites

Tried it using Ms office 2000 and it was a disaster... Maybe a newer version would do better, but I don't have it, so...

All Microsoft products produce disastrous HTML code and while Microsoft continues to flout standards, I wouldn't bet any of their future products will be any better.

Share this post


Link to post
Share on other sites

Well i wouldnt dare to say something like that Tyssen (about microsoft), becouse you never know... i mean i dont like lots of things about microsoft software, but after all, where they are at, they have the resources to produce quality stuff, so let us hope (for the sake of us all) that ALL industry gets better and better with each development.And deadlytedly thanks for the link of the rtf to xhtml converter! sounds very promising, ill give it a look.And about jlhaslip, have you done this? Did anything helped out? If you dont have a later version of office, maybe you could download a trial version and do your stuff... You said you were going to post the file somewhere...

Share this post


Link to post
Share on other sites

And about jlhaslip, have you done this? Did anything helped out?  If you dont have a later version of office, maybe you could download a trial version and do your stuff... You said you were going to post the file somewhere...

193329[/snapback]


Sorry about the delay getting back to you on this issue. I am currently having some computer difficulties and can't access the Internet on my own computer, so I have not been able to upload the file to a server. I will definately let you know when and where the file is located when the computer issue gets resolved.

 

Thanks to all for helping out so far.

Share this post


Link to post
Share on other sites

In my project I want to mke an online editor which will provide me with features of any window based editor on web like google docs how to do it

-reply by subhasis ghosh

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.