The ProgrammersTalk Community
Forum Register Search Today's Posts Mark Forums Read
Register

Go Back   The ProgrammersTalk Community > Web Programming > DHTML > HTML


Welcome to the The ProgrammersTalk Community forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact us.
Tags:

Closed Thread
 
LinkBack Thread Tools    Display Modes   
  #1 (permalink)  
Old 06-10-2007, 04:18 PM
Gopinath M
Posts: n/a
[SOLVED] i want a C program to convert .doc files to .html files?

But for this i want to know the format of .doc files and picture files(.bmp,jpeg,gif..). IF any one know the formats of these file please help me so that i can do the program myself.
actually i dont have enough space in my drive for MS Office.

And i am in holiday now. So i thought i can do some useful programming.

Even if am not successful, i can get to know the formats of some files.

Thanks

__________________

Digg this Post! Del.Icio.Us this Post! Technorati this Post! Furl this Post! Mister Wong this Post! Newsvine this Post! Spurl this Post! Reddit this Post! Netscape this Post!
  #2 (permalink)  
Old 06-10-2007, 04:18 PM
Amanda H
Posts: n/a
There are numerous existing tools to do this already, buuuuut, if you want to go through the exercise...

For DOC,
You can contact microsoft, and request the specifications. You will need to sign an NDA, but they should be freely available.

For the other file formats, look for each type and SDK in a search engine.

__________________

Digg this Post! Del.Icio.Us this Post! Technorati this Post! Furl this Post! Mister Wong this Post! Newsvine this Post! Spurl this Post! Reddit this Post! Netscape this Post!
  #3 (permalink)  
Old 06-10-2007, 04:19 PM
blessed_thang
Posts: n/a
Whether you know it or not, you are asking for a lot. MS Windoze .doc format is binary with embedded bitmaps for the graphics. MSWord embeds a bitmap for positioning the graphics on the computer monitor and then other code within MSWord will convert that bitmap, if need be, for high-quality output.

On the other hand, .html files are ascii or unicode text with either .gif, .jpg or .png graphics. To write a program, especially in C, to read a MS binary file stream until EOF, and anticipate every possible page, whether it be 2 column, 1 column, a document with multiple pages, a document with formats, a document with no formats, a document with headers, page numbers and footers, etc., etc. That, my friend, would be a long-time project.

If you are determined to do it in C, you might see if you can read the binary .doc file and put it into >cout terminal.

Java would save you years of developing such a program vs. C. If you are willing to look at other possibilities you might investigate SourceForge.org, and OpenOffice.org for open source programs with source code you can look at.

__________________

Digg this Post! Del.Icio.Us this Post! Technorati this Post! Furl this Post! Mister Wong this Post! Newsvine this Post! Spurl this Post! Reddit this Post! Netscape this Post!
Closed Thread


Thread Tools
Display Modes

   Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -7. The time now is 03:45 PM. Powered by vBulletin
Copyright © 2000 - 2007, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO © 2007 ProgrammersTalk Sedo - Buy and Sell Domain Names and Websites project info: programmerstalk.net Statistics for project programmerstalk.net etracker® web controlling instead of log file analysis


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50