Software Design
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming Languages - MoreSoftware Design

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old October 16th, 2005, 07:01 PM
prika prika is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2005
Posts: 1 prika User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 12 m 40 sec
Reputation Power: 0
MS word file specification

Can anybody tell me where I can find specification for MS word file making. I want to make DOC TO HTML script, but I don't have specification how it making .doc files.

Reply With Quote
  #2  
Old October 16th, 2005, 11:15 PM
codergeek42's Avatar
codergeek42 codergeek42 is offline
[Insert clever comment here.]
Dev Shed God 2nd Plane (6000 - 6499 posts)
 
Join Date: Jul 2003
Location: Anaheim, CA (USA)
Posts: 6,459 codergeek42 User rank is General 4th Grade (Above 100000 Reputation Level)codergeek42 User rank is General 4th Grade (Above 100000 Reputation Level)codergeek42 User rank is General 4th Grade (Above 100000 Reputation Level)codergeek42 User rank is General 4th Grade (Above 100000 Reputation Level)codergeek42 User rank is General 4th Grade (Above 100000 Reputation Level)codergeek42 User rank is General 4th Grade (Above 100000 Reputation Level)codergeek42 User rank is General 4th Grade (Above 100000 Reputation Level)codergeek42 User rank is General 4th Grade (Above 100000 Reputation Level)codergeek42 User rank is General 4th Grade (Above 100000 Reputation Level)codergeek42 User rank is General 4th Grade (Above 100000 Reputation Level)codergeek42 User rank is General 4th Grade (Above 100000 Reputation Level)codergeek42 User rank is General 4th Grade (Above 100000 Reputation Level)codergeek42 User rank is General 4th Grade (Above 100000 Reputation Level)codergeek42 User rank is General 4th Grade (Above 100000 Reputation Level)codergeek42 User rank is General 4th Grade (Above 100000 Reputation Level)codergeek42 User rank is General 4th Grade (Above 100000 Reputation Level)  Folding Points: 39542 Folding Title: Starter FolderFolding Points: 39542 Folding Title: Starter Folder
Time spent in forums: 1 Month 1 Week 6 Days 21 h 42 m 24 sec
Reputation Power: 1231
Send a message via ICQ to codergeek42 Send a message via AIM to codergeek42 Send a message via Yahoo to codergeek42 Send a message via Google Talk to codergeek42
Quote:
Originally Posted by prika
Can anybody tell me where I can find specification for MS word file making. I want to make DOC TO HTML script, but I don't have specification how it making .doc files.
Microsoft's .doc file format is proprietary: only they know its internals completely. Projects such OpenOffice.org and wvWare have succeeded in reverse-engineering a large portion of the format, but much of it still remains hindered and encumbered by Microsoft. You could take a look at their respective .doc importer code to see how they do it. Hope that helps!
__________________
~~ Peter ~~
( My Blog: It's exactly like normal nerdiness, but completely different. ) :: ( Supporter of the EFF & FSF ) :: ( I'm a GNU/Linux addict and Free Software Advocate. ) :: ( How to Ask Questions the Smart Way ) :: ( The Fedora Project, sponsored by Red Hat ) :: ( GNOME: The Free Software Desktop Project ) :: ( GnuPG Public Key )

Reply With Quote
  #3  
Old December 27th, 2005, 01:18 PM
techMonster techMonster is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2005
Posts: 96 techMonster User rank is Lance Corporal (50 - 100 Reputation Level)techMonster User rank is Lance Corporal (50 - 100 Reputation Level)techMonster User rank is Lance Corporal (50 - 100 Reputation Level) 
Time spent in forums: 16 h 6 m 21 sec
Reputation Power: 4
I think you should try CZ-Doc2Htm
http://www.convertzone.com/doc2htm/help.htm

Reply With Quote
  #4  
Old January 12th, 2006, 03:23 PM
mateoc15's Avatar
mateoc15 mateoc15 is offline
C A R D S
Dev Shed Novice (500 - 999 posts)
 
Join Date: Mar 2004
Location: The 'Ville
Posts: 783 mateoc15 User rank is Sergeant (500 - 2000 Reputation Level)mateoc15 User rank is Sergeant (500 - 2000 Reputation Level)mateoc15 User rank is Sergeant (500 - 2000 Reputation Level)mateoc15 User rank is Sergeant (500 - 2000 Reputation Level)mateoc15 User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 2 Days 9 h 53 m 52 sec
Reputation Power: 12
Isn't there a Microsoft Office SDK out there somewhere? My company generates DOC files dynamically but I've never directly worked with it. I'm pretty sure something exists, at least for the .NET framework.
__________________
Reinventing the wheel again

Reply With Quote
  #5  
Old January 12th, 2006, 03:37 PM
medialint's Avatar
medialint medialint is offline
Type Cast Exception
Click here for more information.
 
Join Date: Apr 2004
Location: The Comfy Chair
Posts: 12,928 medialint User rank is General 32nd Grade (Above 100000 Reputation Level)medialint User rank is General 32nd Grade (Above 100000 Reputation Level)medialint User rank is General 32nd Grade (Above 100000 Reputation Level)medialint User rank is General 32nd Grade (Above 100000 Reputation Level)medialint User rank is General 32nd Grade (Above 100000 Reputation Level)medialint User rank is General 32nd Grade (Above 100000 Reputation Level)medialint User rank is General 32nd Grade (Above 100000 Reputation Level)medialint User rank is General 32nd Grade (Above 100000 Reputation Level)medialint User rank is General 32nd Grade (Above 100000 Reputation Level)medialint User rank is General 32nd Grade (Above 100000 Reputation Level)medialint User rank is General 32nd Grade (Above 100000 Reputation Level)medialint User rank is General 32nd Grade (Above 100000 Reputation Level)medialint User rank is General 32nd Grade (Above 100000 Reputation Level)medialint User rank is General 32nd Grade (Above 100000 Reputation Level)medialint User rank is General 32nd Grade (Above 100000 Reputation Level)medialint User rank is General 32nd Grade (Above 100000 Reputation Level)  Folding Points: 260297 Folding Title: Super Ultimate Folder - Level 1Folding Points: 260297 Folding Title: Super Ultimate Folder - Level 1Folding Points: 260297 Folding Title: Super Ultimate Folder - Level 1Folding Points: 260297 Folding Title: Super Ultimate Folder - Level 1Folding Points: 260297 Folding Title: Super Ultimate Folder - Level 1Folding Points: 260297 Folding Title: Super Ultimate Folder - Level 1
Time spent in forums: 5 Months 1 Day 4 h 17 m 14 sec
Reputation Power: 3094
Quote:
Originally Posted by prika
I want to make DOC TO HTML script, but I don't have specification how it making .doc files.


This is almost trivial in visual basic. Since VBA is in Word, that is theoretically about all you need. You can reference the word object from other programs and programatically manipulate word documents.
__________________
medialint.com


"Beware of the man who works hard to learn something, learns it, and finds himself no wiser than before. He is full of murderous resentment of people who are ignorant without having come by their ignorance the hard way."
- Vonnegut - Cat's Cradle, 1963

Reply With Quote
  #6  
Old January 15th, 2006, 02:37 PM
dotancohen's Avatar
dotancohen dotancohen is offline
המבין יבין
Dev Shed Regular (2000 - 2499 posts)
 
Join Date: Jul 2001
Location: Haifa
Posts: 2,032 dotancohen User rank is General 5th Grade (Above 100000 Reputation Level)dotancohen User rank is General 5th Grade (Above 100000 Reputation Level)dotancohen User rank is General 5th Grade (Above 100000 Reputation Level)dotancohen User rank is General 5th Grade (Above 100000 Reputation Level)dotancohen User rank is General 5th Grade (Above 100000 Reputation Level)dotancohen User rank is General 5th Grade (Above 100000 Reputation Level)dotancohen User rank is General 5th Grade (Above 100000 Reputation Level)dotancohen User rank is General 5th Grade (Above 100000 Reputation Level)dotancohen User rank is General 5th Grade (Above 100000 Reputation Level)dotancohen User rank is General 5th Grade (Above 100000 Reputation Level)dotancohen User rank is General 5th Grade (Above 100000 Reputation Level)dotancohen User rank is General 5th Grade (Above 100000 Reputation Level)dotancohen User rank is General 5th Grade (Above 100000 Reputation Level)dotancohen User rank is General 5th Grade (Above 100000 Reputation Level)dotancohen User rank is General 5th Grade (Above 100000 Reputation Level)dotancohen User rank is General 5th Grade (Above 100000 Reputation Level) 
Time spent in forums: 2 Weeks 2 Days 1 h 53 m 49 sec
Reputation Power: 1301
Send a message via ICQ to dotancohen Send a message via AIM to dotancohen Send a message via MSN to dotancohen Send a message via Yahoo to dotancohen
Quote:
Originally Posted by codergeek42
Microsoft's .doc file format is proprietary: only they know its internals completely. Projects such OpenOffice.org and wvWare have succeeded in reverse-engineering a large portion of the format, but much of it still remains hindered and encumbered by Microsoft.


Isn't that all the more reason to just ditch the .doc format?!? Write a parser for the Open Document standard (which is _suprise_ open source, so you CAN view the specifications) and encourage others to use it. It will make your life a lot easier (and more productive).

Why would you want to waste time reverse engineering Microsoft's flaws?

Reply With Quote
  #7  
Old January 15th, 2006, 04:02 PM
mateoc15's Avatar
mateoc15 mateoc15 is offline
C A R D S
Dev Shed Novice (500 - 999 posts)
 
Join Date: Mar 2004
Location: The 'Ville
Posts: 783 mateoc15 User rank is Sergeant (500 - 2000 Reputation Level)mateoc15 User rank is Sergeant (500 - 2000 Reputation Level)mateoc15 User rank is Sergeant (500 - 2000 Reputation Level)mateoc15 User rank is Sergeant (500 - 2000 Reputation Level)mateoc15 User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 2 Days 9 h 53 m 52 sec
Reputation Power: 12
Cool

Quote:
Originally Posted by dotancohen
Why would you want to waste time reverse engineering Microsoft's flaws?


Because the world doesn't like or even know what the hell OpenSource is. 99% of the world is owned by Micro$oft. Their format is the most dominant and they have no reason to change it. Developers like ourselves see the reason to change, but if Micro$oft can squeeze some bucks out of their proprietary format then they have no reason to change. Users don't care, as long as it works.

In a perfect world, right? Only in a perfect world...

Reply With Quote
  #8  
Old January 15th, 2006, 05:39 PM
dotancohen's Avatar
dotancohen dotancohen is offline
המבין יבין
Dev Shed Regular (2000 - 2499 posts)
 
Join Date: Jul 2001
Location: Haifa
Posts: 2,032 dotancohen User rank is General 5th Grade (Above 100000 Reputation Level)dotancohen User rank is General 5th Grade (Above 100000 Reputation Level)dotancohen User rank is General 5th Grade (Above 100000 Reputation Level)dotancohen User rank is General 5th Grade (Above 100000 Reputation Level)dotancohen User rank is General 5th Grade (Above 100000 Reputation Level)dotancohen User rank is General 5th Grade (Above 100000 Reputation Level)dotancohen User rank is General 5th Grade (Above 100000 Reputation Level)dotancohen User rank is General 5th Grade (Above 100000 Reputation Level)dotancohen User rank is General 5th Grade (Above 100000 Reputation Level)dotancohen User rank is General 5th Grade (Above 100000 Reputation Level)dotancohen User rank is General 5th Grade (Above 100000 Reputation Level)dotancohen User rank is General 5th Grade (Above 100000 Reputation Level)dotancohen User rank is General 5th Grade (Above 100000 Reputation Level)dotancohen User rank is General 5th Grade (Above 100000 Reputation Level)dotancohen User rank is General 5th Grade (Above 100000 Reputation Level)dotancohen User rank is General 5th Grade (Above 100000 Reputation Level) 
Time spent in forums: 2 Weeks 2 Days 1 h 53 m 49 sec
Reputation Power: 1301
Send a message via ICQ to dotancohen Send a message via AIM to dotancohen Send a message via MSN to dotancohen Send a message via Yahoo to dotancohen
Quote:
Originally Posted by mateoc15
In a perfect world, right? Only in a perfect world...


The world is only as perfect as you make it.

Reply With Quote
  #9  
Old January 15th, 2006, 06:08 PM
mateoc15's Avatar
mateoc15 mateoc15 is offline
C A R D S
Dev Shed Novice (500 - 999 posts)
 
Join Date: Mar 2004
Location: The 'Ville
Posts: 783 mateoc15 User rank is Sergeant (500 - 2000 Reputation Level)mateoc15 User rank is Sergeant (500 - 2000 Reputation Level)mateoc15 User rank is Sergeant (500 - 2000 Reputation Level)mateoc15 User rank is Sergeant (500 - 2000 Reputation Level)mateoc15 User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 2 Days 9 h 53 m 52 sec
Reputation Power: 12
Quote:
Originally Posted by dotancohen
The world is only as perfect as you make it.

That's deep I hate Micro$oft as much as the rest of us but it's just the way things are.

Reply With Quote
  #10  
Old January 18th, 2006, 03:50 AM
dotancohen's Avatar
dotancohen dotancohen is offline
המבין יבין
Dev Shed Regular (2000 - 2499 posts)
 
Join Date: Jul 2001
Location: Haifa
Posts: 2,032 dotancohen User rank is General 5th Grade (Above 100000 Reputation Level)dotancohen User rank is General 5th Grade (Above 100000 Reputation Level)dotancohen User rank is General 5th Grade (Above 100000 Reputation Level)dotancohen User rank is General 5th Grade (Above 100000 Reputation Level)dotancohen User rank is General 5th Grade (Above 100000 Reputation Level)dotancohen User rank is General 5th Grade (Above 100000 Reputation Level)dotancohen User rank is General 5th Grade (Above 100000 Reputation Level)dotancohen User rank is General 5th Grade (Above 100000 Reputation Level)dotancohen User rank is General 5th Grade (Above 100000 Reputation Level)dotancohen User rank is General 5th Grade (Above 100000 Reputation Level)dotancohen User rank is General 5th Grade (Above 100000 Reputation Level)dotancohen User rank is General 5th Grade (Above 100000 Reputation Level)dotancohen User rank is General 5th Grade (Above 100000 Reputation Level)dotancohen User rank is General 5th Grade (Above 100000 Reputation Level)dotancohen User rank is General 5th Grade (Above 100000 Reputation Level)dotancohen User rank is General 5th Grade (Above 100000 Reputation Level) 
Time spent in forums: 2 Weeks 2 Days 1 h 53 m 49 sec
Reputation Power: 1301
Send a message via ICQ to dotancohen Send a message via AIM to dotancohen Send a message via MSN to dotancohen Send a message via Yahoo to dotancohen
Quote:
Originally Posted by mateoc15
That's deep I hate Micro$oft as much as the rest of us but it's just the way things are.

I don't hate microsoft. I just dislike most of thier products, such as their operating system, their web browser, and their web server. Others, such as Media Player and (bloat notwithstanding) Office, are pretty good.

My main problem with the company is their focus on ease-of-use at the cost of security. Also, I believe that they engage in questionable business practices. But any other company would do the same thing to protect it's market.

Reply With Quote
  #11  
Old January 19th, 2006, 10:44 AM
xlordt's Avatar
xlordt xlordt is offline
Only the strong survives!!.
Dev Shed God 1st Plane (5500 - 5999 posts)
 
Join Date: Feb 2003
Location: A World of wonders.
Posts: 5,553 xlordt User rank is Major (30000 - 40000 Reputation Level)xlordt User rank is Major (30000 - 40000 Reputation Level)xlordt User rank is Major (30000 - 40000 Reputation Level)xlordt User rank is Major (30000 - 40000 Reputation Level)xlordt User rank is Major (30000 - 40000 Reputation Level)xlordt User rank is Major (30000 - 40000 Reputation Level)xlordt User rank is Major (30000 - 40000 Reputation Level)xlordt User rank is Major (30000 - 40000 Reputation Level)xlordt User rank is Major (30000 - 40000 Reputation Level)xlordt User rank is Major (30000 - 40000 Reputation Level)  Folding Points: 110977 Folding Title: Super Ultimate Folder - Level 1Folding Points: 110977 Folding Title: Super Ultimate Folder - Level 1Folding Points: 110977 Folding Title: Super Ultimate Folder - Level 1Folding Points: 110977 Folding Title: Super Ultimate Folder - Level 1Folding Points: 110977 Folding Title: Super Ultimate Folder - Level 1Folding Points: 110977 Folding Title: Super Ultimate Folder - Level 1
Time spent in forums: 1 Month 3 h 36 m 8 sec
Reputation Power: 378
Send a message via ICQ to xlordt Send a message via AIM to xlordt Send a message via MSN to xlordt Send a message via Yahoo to xlordt Send a message via Google Talk to xlordt Send a message via Skype to xlordt
Facebook MySpace
Quote:
Originally Posted by dotancohen
I don't hate microsoft. I just dislike most of thier products, such as their operating system, their web browser, and their web server. Others, such as Media Player and (bloat notwithstanding) Office, are pretty good.

My main problem with the company is their focus on ease-of-use at the cost of security. Also, I believe that they engage in questionable business practices. But any other company would do the same thing to protect it's market.
chill out... cant you see that im a M$ ghetto lover *wink*... when you say most... how many exactly are we talking about say... 10% 20% or 90% in my case... it would be 95%

Reply With Quote
  #12  
Old January 19th, 2006, 11:17 AM