OpenOffice.org Forum at OOoForum.orgThe OpenOffice.org Forum
 
 [Home]   [FAQ]   [Search]   [Memberlist]   [Usergroups]   [Register
 [Profile]   [Log in to check your private messages]   [Log in

Automated Converting of Documents

 
Post new topic   Reply to topic    OOoForum.org Forum Index -> OpenOffice.org Macros and API
View previous topic :: View next topic  
Author Message
SyNo
Newbie
Newbie


Joined: 08 Dec 2005
Posts: 3
Location: Bochum

PostPosted: Mon Dec 12, 2005 6:27 am    Post subject: Automated Converting of Documents Reply with quote

Hi everybody,

im very new in devoloping OO. I read a lot of posts here
and a problem which allways comes up is the conversion
of different formats.

Most of them are XLS , PDF , DOC questions.

I would like to know if theres a tool that can realize that
without an open office running.
a "simple" standalone with an OO Base.

Or is there a macro for each Convert ? Can u tell me the Names of the Macros.
Or a project ?
I will try to build an application which handles every doc typ
and converts them automaticly.

Im happy with every peace of information so please answer.
_________________
If god says no, ill ask the devil Wink
Back to top
View user's profile Send private message Visit poster's website
Laurent Godard
General User
General User


Joined: 16 Mar 2003
Posts: 47
Location: Grenoble (France)

PostPosted: Mon Dec 12, 2005 6:31 am    Post subject: Reply with quote

Hi

handling all the formats, i think you'll need OOo. i'm not aware of such a standalone program (but may be wrong)

For some macros, you may have a look at
http://oooconv.free.fr/oooconv/oooconv_en.html
http://oooconv.free.fr/batchconv/batchconv_en.html

only deals with OOo 1.1 as i do not have time to upgrade them right now

Laurent
Back to top
View user's profile Send private message Visit poster's website
LarsB
OOo Advocate
OOo Advocate


Joined: 31 Aug 2005
Posts: 445
Location: Hamburg, Germany

PostPosted: Mon Dec 12, 2005 6:53 am    Post subject: Dectecting document types Reply with quote

Hi,

as Laurent mentioned before, there's no tool that will
convert all document types without using a running OO
instance in the background.
You should read the Macro document by Andre Pitonyak
http://www.pitonyak.org/AndrewMacro.odt there's
a macro which detect the format of the current document.
I think this will be a good starting point.

If you plan to write a converter application without using
OO you would have to implement the whole Xml definitions
of all supported and on XML based document formats.
e. g. OpenDocument and the OpenOffice format are based
on such Xml definitions. The OpenDocument definiton
is about ~17000 lines!

Cheers
LarsB
_________________
AODC - A free OpenDocument Converter
AODL - An independent OpenDocument Library C#
EmbeddedOpenOffice .net UserControl C#
EmbeddedOpenOffice Visual Studio .net Add In

http://www.OpenDocument4all.com/
Back to top
View user's profile Send private message Visit poster's website
SyNo
Newbie
Newbie


Joined: 08 Dec 2005
Posts: 3
Location: Bochum

PostPosted: Mon Dec 12, 2005 6:53 am    Post subject: Reply with quote

Great Work !
The Batch also works with OO 2.0.
If there are any problems i will tell you. Or i will add some options
to your project.

Thanks anyway Smile
_________________
If god says no, ill ask the devil Wink
Back to top
View user's profile Send private message Visit poster's website
SyNo
Newbie
Newbie


Joined: 08 Dec 2005
Posts: 3
Location: Bochum

PostPosted: Mon Dec 12, 2005 7:05 am    Post subject: Reply with quote

Thx Lars,

ill use the project from Laurent. As he can connect to the OO instance via php
its all that I need. Just some more Options to add.


And isnt there a "library" for all those definitons ?
_________________
If god says no, ill ask the devil Wink
Back to top
View user's profile Send private message Visit poster's website
LarsB
OOo Advocate
OOo Advocate


Joined: 31 Aug 2005
Posts: 445
Location: Hamburg, Germany

PostPosted: Mon Dec 12, 2005 7:22 am    Post subject: No library Reply with quote

Hi,

Quote:
And isnt there a "library" for all those definitons ?


No, there's no library with support for all Xml definitions. As i know,
my AODL library is e.g. the only available OpenDocument
library for C# resp. .net.

Cheers
LarsB
_________________
AODC - A free OpenDocument Converter
AODL - An independent OpenDocument Library C#
EmbeddedOpenOffice .net UserControl C#
EmbeddedOpenOffice Visual Studio .net Add In

http://www.OpenDocument4all.com/
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    OOoForum.org Forum Index -> OpenOffice.org Macros and API All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group