Re: [dev] StarOffice3.1 executing macros from the command line

2010-02-02 Thread Markus Daniel
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hello Mathias,

thanks a lot for your help.

I will try to execute the macro as you mentioned.

Kind regards

Markus

Mathias Bauer schrieb:
 Markus Daniel wrote:
 
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 Hello Mathias,

 Markus Daniel schrieb:
 In case that doesn't work, please ask again.
 It does not work. Better: It works but SO5.2 interprets the layout not
 like SO3.1. E.g. page breaks are different and while SO31 shows ? SO52
 sorry, encoding goes wrong, not ?, the EURO-Sign should be there
 since no other version of staroffice or openoffice can handle the layout
 like staroffice 3.1 I tried to print pdfs by using a macro which is
 called on the command prompt.
 The command prompt call of a maro doesn't seemed to work in stareoffice3.1.
 Is there any other way to load and print a few thousand documents with
 staroffice 3.1?
 
 You could try to bind your macro to the StartApplication event (this
 should work in 3.1 IIRC) so that SO automatically starts it when SO
 starts. If you wanted to pass arguments to it you could try to pass them
 via environment variables, in case SO Basic supported access to the
 program's environment (I don't recall that). Another alternative would
 be passing these arguments via a text file that the SO Basic macro reads
 in before doing its work.
 
 Regards,
 Mathias
 


- --
/**
 * Markus Daniel
 * Bachelor of Science
 *
 * Synyx GmbH  Co. KG
 * OpenSource Solutions
 * Karlstr. 68
 * 76137 Karlsruhe
 *
 * phone +49(0)721 66 48 79 31
 * fax   +49(0)721 66 48 877
 * eMail markus.dan...@synyx.de
 * www   http://www.synyx.de
 * skype synyx_daniel
 * irc   irc.synyx.de
 *
 * Sitz der Gesellschaft: Karlsruhe
 * Registergericht: Mannheim
 * Handelsregisternummer: HRA 4793
 * USt-IdNr.: DE249264296
 *
 * Komplementärin: Elatech Verwaltungs GmbH
 * Sitz der Gesellschaft: Karlsruhe
 * Geschäftsführer: Markus Daniel
 * Registergericht: Mannheim
 * Handelsregisternummer: HRB 7250
 */
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFLaDC3A6KmbVkuXQkRAtHqAKCRHgisowS+e5yANZcKhVI+BixVBwCgtxkU
3499q7bwYf6UlJXRGuR4v1A=
=1DPu
-END PGP SIGNATURE-

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



Re: [dev] StarOffice3.1 executing macros from the command line

2010-01-04 Thread Mathias Bauer
Markus Daniel wrote:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 Hello Mathias,
 
 Markus Daniel schrieb:
 
 In case that doesn't work, please ask again.
 It does not work. Better: It works but SO5.2 interprets the layout not
 like SO3.1. E.g. page breaks are different and while SO31 shows ? SO52
 
 sorry, encoding goes wrong, not ?, the EURO-Sign should be there
 
 since no other version of staroffice or openoffice can handle the layout
 like staroffice 3.1 I tried to print pdfs by using a macro which is
 called on the command prompt.
 The command prompt call of a maro doesn't seemed to work in stareoffice3.1.
 Is there any other way to load and print a few thousand documents with
 staroffice 3.1?

You could try to bind your macro to the StartApplication event (this
should work in 3.1 IIRC) so that SO automatically starts it when SO
starts. If you wanted to pass arguments to it you could try to pass them
via environment variables, in case SO Basic supported access to the
program's environment (I don't recall that). Another alternative would
be passing these arguments via a text file that the SO Basic macro reads
in before doing its work.

Regards,
Mathias

-- 
Mathias Bauer (mba) - Project Lead OpenOffice.org Writer
OpenOffice.org Engineering at Sun: http://blogs.sun.com/GullFOSS
Please don't reply to nospamfor...@gmx.de.
I use it for the OOo lists and only rarely read other mails sent to it.


-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



Re: [dev] StarOffice3.1 executing macros from the command line

2009-12-19 Thread Markus Daniel
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hello Mathias,

Markus Daniel schrieb:
 
 In case that doesn't work, please ask again.
 It does not work. Better: It works but SO5.2 interprets the layout not
 like SO3.1. E.g. page breaks are different and while SO31 shows ? SO52
 
 sorry, encoding goes wrong, not ?, the EURO-Sign should be there

since no other version of staroffice or openoffice can handle the layout
like staroffice 3.1 I tried to print pdfs by using a macro which is
called on the command prompt.
The command prompt call of a maro doesn't seemed to work in stareoffice3.1.
Is there any other way to load and print a few thousand documents with
staroffice 3.1?

Thanks in advance
Markus


- --
/**
 * Markus Daniel
 * Bachelor of Science
 *
 * Synyx GmbH  Co. KG
 * OpenSource Solutions
 * Karlstr. 68
 * 76137 Karlsruhe
 *
 * phone +49(0)721 66 48 79 31
 * fax   +49(0)721 66 48 877
 * eMail markus.dan...@synyx.de
 * www   http://www.synyx.de
 * skype synyx_daniel
 * irc   irc.synyx.de
 *
 * Sitz der Gesellschaft: Karlsruhe
 * Registergericht: Mannheim
 * Handelsregisternummer: HRA 4793
 * USt-IdNr.: DE249264296
 *
 * Komplementärin: Elatech Verwaltungs GmbH
 * Sitz der Gesellschaft: Karlsruhe
 * Geschäftsführer: Markus Daniel
 * Registergericht: Mannheim
 * Handelsregisternummer: HRB 7250
 */
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFLK5veA6KmbVkuXQkRAvbtAJ464CxLC5VUkzZXzzqcDLF4f1px7gCbBAWT
eRjtSptpd9lBOH4pdRaHPbU=
=Gz0F
-END PGP SIGNATURE-

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



Re: [dev] StarOffice3.1 executing macros from the command line

2009-12-16 Thread Markus Daniel
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Markus Daniel schrieb:
 Hiho,
 
 Mathias Bauer schrieb:
 Markus Daniel wrote:
 
 I tried to load the documents with OpenOffice, this works fine, but the
 layout was not like the original sdw-Files and the pdf-export in early
 OpenOffice-Versions is not so good as needed.

 Perhaps you can find an SO5 copy somewhere (as this was available as a
 free download at some point in time) and - if you are lucky - this
 version handles your SO3 documents properly.
 I will try this approach, thank you for the tipp.

 Can you tell me if the command promt call of a macro works or not?
 soffice3.exe macro:///lib.module.macro1
 Sorry, I don't remember. My recommendation would be to use SO5 (if you
 can find one) for conversion to the latest sdw format (that OOo can
 hopefully import better) and then use OOo1 and your macro to export to PDF.
 
 I found SO5, installed it and tried to open the SO3-Documents in SO5 but
 the layout of the Documents in SO5 is broken, looks like the documents
 look in OpenOffice103.
 
 In case that doesn't work, please ask again.
 
 It does not work. Better: It works but SO5.2 interprets the layout not
 like SO3.1. E.g. page breaks are different and while SO31 shows ? SO52

sorry, encoding goes wrong, not ?, the EURO-Sign should be there

 and OpenOffice103 shows DM.
 
 Any ideas?
 
 Thanks in advance
 Markus
 

- -
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



- --
/**
 * Markus Daniel
 * Bachelor of Science
 *
 * Synyx GmbH  Co. KG
 * OpenSource Solutions
 * Karlstr. 68
 * 76137 Karlsruhe
 *
 * phone +49(0)721 66 48 79 31
 * fax   +49(0)721 66 48 877
 * eMail markus.dan...@synyx.de
 * www   http://www.synyx.de
 * skype synyx_daniel
 * irc   irc.synyx.de
 *
 * Sitz der Gesellschaft: Karlsruhe
 * Registergericht: Mannheim
 * Handelsregisternummer: HRA 4793
 * USt-IdNr.: DE249264296
 *
 * Komplementärin: Elatech Verwaltungs GmbH
 * Sitz der Gesellschaft: Karlsruhe
 * Geschäftsführer: Markus Daniel
 * Registergericht: Mannheim
 * Handelsregisternummer: HRB 7250
 */
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFLKLLAA6KmbVkuXQkRAlCFAJ4nG03YWaz/uSV9mqJjpOckzqHzCQCfSb+x
erkfbTbXD1DFvAB0uUcBLmA=
=j0RF
-END PGP SIGNATURE-

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



Re: [dev] StarOffice3.1 executing macros from the command line

2009-12-14 Thread Markus Daniel
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hiho,

Mathias Bauer schrieb:
 Markus Daniel wrote:
 
 I tried to load the documents with OpenOffice, this works fine, but the
 layout was not like the original sdw-Files and the pdf-export in early
 OpenOffice-Versions is not so good as needed.

 Perhaps you can find an SO5 copy somewhere (as this was available as a
 free download at some point in time) and - if you are lucky - this
 version handles your SO3 documents properly.
 I will try this approach, thank you for the tipp.

 Can you tell me if the command promt call of a macro works or not?
 soffice3.exe macro:///lib.module.macro1
 
 Sorry, I don't remember. My recommendation would be to use SO5 (if you
 can find one) for conversion to the latest sdw format (that OOo can
 hopefully import better) and then use OOo1 and your macro to export to PDF.

I found SO5, installed it and tried to open the SO3-Documents in SO5 but
the layout of the Documents in SO5 is broken, looks like the documents
look in OpenOffice103.

 In case that doesn't work, please ask again.

It does not work. Better: It works but SO5.2 interprets the layout not
like SO3.1. E.g. page breaks are different and while SO31 shows ? SO52
and OpenOffice103 shows DM.

Any ideas?

Thanks in advance
Markus

- --
/**
 * Markus Daniel
 * Bachelor of Science
 *
 * Synyx GmbH  Co. KG
 * OpenSource Solutions
 * Karlstr. 68
 * 76137 Karlsruhe
 *
 * phone +49(0)721 66 48 79 31
 * fax   +49(0)721 66 48 877
 * eMail markus.dan...@synyx.de
 * www   http://www.synyx.de
 * skype synyx_daniel
 * irc   irc.synyx.de
 *
 * Sitz der Gesellschaft: Karlsruhe
 * Registergericht: Mannheim
 * Handelsregisternummer: HRA 4793
 * USt-IdNr.: DE249264296
 *
 * Komplementärin: Elatech Verwaltungs GmbH
 * Sitz der Gesellschaft: Karlsruhe
 * Geschäftsführer: Markus Daniel
 * Registergericht: Mannheim
 * Handelsregisternummer: HRB 7250
 */
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFLJmC/A6KmbVkuXQkRApchAKDQKrm1vdNXTaDABfMNOzwk7HB6WgCgmIEh
jjgwcalmD5eewQQnGVj5fxc=
=odHv
-END PGP SIGNATURE-

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



Re: [dev] StarOffice3.1 executing macros from the command line

2009-12-12 Thread Mathias Bauer
Markus Daniel wrote:

 I tried to load the documents with OpenOffice, this works fine, but the
 layout was not like the original sdw-Files and the pdf-export in early
 OpenOffice-Versions is not so good as needed.
 
 Perhaps you can find an SO5 copy somewhere (as this was available as a
 free download at some point in time) and - if you are lucky - this
 version handles your SO3 documents properly.
 
 I will try this approach, thank you for the tipp.
 
 Can you tell me if the command promt call of a macro works or not?
 soffice3.exe macro:///lib.module.macro1

Sorry, I don't remember. My recommendation would be to use SO5 (if you
can find one) for conversion to the latest sdw format (that OOo can
hopefully import better) and then use OOo1 and your macro to export to PDF.

In case that doesn't work, please ask again.

Regards.
Mathias

-- 
Mathias Bauer (mba) - Project Lead OpenOffice.org Writer
OpenOffice.org Engineering at Sun: http://blogs.sun.com/GullFOSS
Please don't reply to nospamfor...@gmx.de.
I use it for the OOo lists and only rarely read other mails sent to it.

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



Re: [dev] StarOffice3.1 executing macros from the command line

2009-12-11 Thread Markus Daniel
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hello Matthias,

thank you for the quick response.

Mathias Bauer schrieb:
 Markus Daniel wrote:
 
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 Hello,

 this is not really an OpenOffice-Issue but I am running out of ideas...

 I am trying to convert old StarOffice3.1 Documents in PDFs.

 I cannot use OpenOffice because the formatting of the documents will be
 destroid (tested with OpenOffice 1.0.3).

 With OpenOffice I called a macro from the commandline like (all on Windows)
 soffice.exe macro:///lib.module.macro1
 this works fine but
 soffice3.exe macro:///lib.module.macro1 with StarOffice3.1 doesn't work

 I tried a lot of possibilities nothing works.
 It looks like StarOffice3 was not able to execute macros from the
 commandline.
 Is this true?

 Is a install version of StarOffice3.1 somewhere available?
 
 I don't think so, at least not if you want to avoid illegal copies.
 Besides that, AFAIR there was no PDF export in SO3, so all you can do
 with it is converting the documents into SO5 binary format.
 
 This can be done in batch processing using the built-in document
 converter. Then you can use OOo1.x to load the SO5 documents and export
 to PDF. OOo1.x is the closest match for the SO binary format.

I tried to load the documents with OpenOffice, this works fine, but the
layout was not like the original sdw-Files and the pdf-export in early
OpenOffice-Versions is not so good as needed.

 Perhaps you can find an SO5 copy somewhere (as this was available as a
 free download at some point in time) and - if you are lucky - this
 version handles your SO3 documents properly.

I will try this approach, thank you for the tipp.

Can you tell me if the command promt call of a macro works or not?
soffice3.exe macro:///lib.module.macro1

Thanks a lot.

Kind regards
Markus

- --
/**
 * Markus Daniel
 * Bachelor of Science
 *
 * Synyx GmbH  Co. KG
 * OpenSource Solutions
 * Karlstr. 68
 * 76137 Karlsruhe
 *
 * phone +49(0)721 66 48 79 31
 * fax   +49(0)721 66 48 877
 * eMail markus.dan...@synyx.de
 * www   http://www.synyx.de
 * skype synyx_daniel
 * irc   irc.synyx.de
 *
 * Sitz der Gesellschaft: Karlsruhe
 * Registergericht: Mannheim
 * Handelsregisternummer: HRA 4793
 * USt-IdNr.: DE249264296
 *
 * Komplementärin: Elatech Verwaltungs GmbH
 * Sitz der Gesellschaft: Karlsruhe
 * Geschäftsführer: Markus Daniel
 * Registergericht: Mannheim
 * Handelsregisternummer: HRB 7250
 */
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFLInl7A6KmbVkuXQkRAgWsAJ9aeZuOX+3l1gveWjF7BGH6zys06gCfXuMe
TBkY5gFJ/xSK5KEeEFj9Ggk=
=vYgI
-END PGP SIGNATURE-

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



Re: [dev] StarOffice3.1 executing macros from the command line

2009-12-10 Thread Mathias Bauer
Markus Daniel wrote:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 Hello,
 
 this is not really an OpenOffice-Issue but I am running out of ideas...
 
 I am trying to convert old StarOffice3.1 Documents in PDFs.
 
 I cannot use OpenOffice because the formatting of the documents will be
 destroid (tested with OpenOffice 1.0.3).
 
 With OpenOffice I called a macro from the commandline like (all on Windows)
 soffice.exe macro:///lib.module.macro1
 this works fine but
 soffice3.exe macro:///lib.module.macro1 with StarOffice3.1 doesn't work
 
 I tried a lot of possibilities nothing works.
 It looks like StarOffice3 was not able to execute macros from the
 commandline.
 Is this true?
 
 Is a install version of StarOffice3.1 somewhere available?

I don't think so, at least not if you want to avoid illegal copies.
Besides that, AFAIR there was no PDF export in SO3, so all you can do
with it is converting the documents into SO5 binary format.

This can be done in batch processing using the built-in document
converter. Then you can use OOo1.x to load the SO5 documents and export
to PDF. OOo1.x is the closest match for the SO binary format.

Perhaps you can find an SO5 copy somewhere (as this was available as a
free download at some point in time) and - if you are lucky - this
version handles your SO3 documents properly.

Regards,
Mathias

-- 
Mathias Bauer (mba) - Project Lead OpenOffice.org Writer
OpenOffice.org Engineering at Sun: http://blogs.sun.com/GullFOSS
Please don't reply to nospamfor...@gmx.de.
I use it for the OOo lists and only rarely read other mails sent to it.


-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



[dev] StarOffice3.1 executing macros from the command line

2009-12-09 Thread Markus Daniel
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hello,

this is not really an OpenOffice-Issue but I am running out of ideas...

I am trying to convert old StarOffice3.1 Documents in PDFs.

I cannot use OpenOffice because the formatting of the documents will be
destroid (tested with OpenOffice 1.0.3).

With OpenOffice I called a macro from the commandline like (all on Windows)
soffice.exe macro:///lib.module.macro1
this works fine but
soffice3.exe macro:///lib.module.macro1 with StarOffice3.1 doesn't work

I tried a lot of possibilities nothing works.
It looks like StarOffice3 was not able to execute macros from the
commandline.
Is this true?

Is a install version of StarOffice3.1 somewhere available?

Thanks a lot.

Kind regards.

Markus

- --
/**
 * Markus Daniel
 * Bachelor of Science
 *
 * Synyx GmbH  Co. KG
 * OpenSource Solutions
 * Karlstr. 68
 * 76137 Karlsruhe
 *
 * phone +49(0)721 66 48 79 31
 * fax   +49(0)721 66 48 877
 * eMail markus.dan...@synyx.de
 * www   http://www.synyx.de
 * skype synyx_daniel
 * irc   irc.synyx.de
 *
 * Sitz der Gesellschaft: Karlsruhe
 * Registergericht: Mannheim
 * Handelsregisternummer: HRA 4793
 * USt-IdNr.: DE249264296
 *
 * Komplementärin: Elatech Verwaltungs GmbH
 * Sitz der Gesellschaft: Karlsruhe
 * Geschäftsführer: Markus Daniel
 * Registergericht: Mannheim
 * Handelsregisternummer: HRB 7250
 */
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFLH9GzA6KmbVkuXQkRAis1AJ4zJdXG9CPoENs471f9CrBcgWFC/wCdGroR
1hFMSmSyhj98364PLjtvhxw=
=Zenc
-END PGP SIGNATURE-

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org