| View previous topic :: View next topic |
| Author |
Message |
SyNo Newbie

Joined: 08 Dec 2005 Posts: 3 Location: Bochum
|
Posted: Mon Dec 12, 2005 6:27 am Post subject: Automated Converting of Documents |
|
|
Hi everybody,
i´m 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.
I´m happy with every peace of information so please answer. _________________ If god says no, i´ll ask the devil  |
|
| Back to top |
|
 |
Laurent Godard General User


Joined: 16 Mar 2003 Posts: 47 Location: Grenoble (France)
|
|
| Back to top |
|
 |
LarsB OOo Advocate


Joined: 31 Aug 2005 Posts: 445 Location: Hamburg, Germany
|
Posted: Mon Dec 12, 2005 6:53 am Post subject: Dectecting document types |
|
|
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 |
|
 |
SyNo Newbie

Joined: 08 Dec 2005 Posts: 3 Location: Bochum
|
Posted: Mon Dec 12, 2005 6:53 am Post subject: |
|
|
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  _________________ If god says no, i´ll ask the devil  |
|
| Back to top |
|
 |
SyNo Newbie

Joined: 08 Dec 2005 Posts: 3 Location: Bochum
|
Posted: Mon Dec 12, 2005 7:05 am Post subject: |
|
|
Thx Lars,
i´ll use the project from Laurent. As he can connect to the OO instance via php
it´s all that I need. Just some more Options to add.
And isn´t there a "library" for all those definitons ? _________________ If god says no, i´ll ask the devil  |
|
| Back to top |
|
 |
LarsB OOo Advocate


Joined: 31 Aug 2005 Posts: 445 Location: Hamburg, Germany
|
Posted: Mon Dec 12, 2005 7:22 am Post subject: No library |
|
|
Hi,
| Quote: | | And isn´t 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 |
|
 |
|