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

Reporting

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


Joined: 30 May 2005
Posts: 11

PostPosted: Mon May 30, 2005 11:54 pm    Post subject: Reporting Reply with quote

Hi all,

I'm looking for a good solution to create reports from several programs. Can I use the openoffice sdk to do this?

What I need is a solution with which it is possible to create reports as editable and non-editable files.

Thanks in advance,

Alexander
Back to top
View user's profile Send private message
hol.sten
Super User
Super User


Joined: 14 Nov 2004
Posts: 3533
Location: Hamburg, Germany

PostPosted: Tue May 31, 2005 2:01 am    Post subject: Re: Reporting Reply with quote

Akhorahil wrote:
I'm looking for a good solution to create reports from several programs. Can I use the openoffice sdk to do this?

That should be possible.

Akhorahil wrote:
What I need is a solution with which it is possible to create reports as editable and non-editable files.

For non-editable files you can export the report as PDF.
For editable files you can export the report as OXW or DOC for example.
Both can be accomplished with Java without the sdk. In this case you need the sdk only for the very important OOo Development Guide http://api.openoffice.org/docs/DevelopersGuide/DevelopersGuide.htm.

Alternatively you can open the editable files directly with the so called OfficeBean. For this you find an example in the OOo sdk.

With kind regards
hol.sten
Back to top
View user's profile Send private message
Akhorahil
General User
General User


Joined: 30 May 2005
Posts: 11

PostPosted: Tue May 31, 2005 3:05 am    Post subject: Reply with quote

Hi,

Thx for the reply.

I'm trying to run some examples from the SDK but get the following error: com.sun.star.comp.helper.BootstrapException: no office executable found!

Where does this error come from?

Alexander
Back to top
View user's profile Send private message
hol.sten
Super User
Super User


Joined: 14 Nov 2004
Posts: 3533
Location: Hamburg, Germany

PostPosted: Tue May 31, 2005 3:43 am    Post subject: Reply with quote

Akhorahil wrote:
I'm trying to run some examples from the SDK but get the following error: com.sun.star.comp.helper.BootstrapException: no office executable found!

Where does this error come from?

No idea, because I don't use the SDK examples. Only guesses:
- You have OOo not installed?
- Something is wrong with your SDK installation?
- Your OOo was not start or it was not in listen mode?
- Your OOo (perhaps 1.9.104) and your SDK (perhaps 1.1.x) don't fit together? Which OOo version, SDK version, and operating system are you using?

With kind regards
hol.sten
Back to top
View user's profile Send private message
Akhorahil
General User
General User


Joined: 30 May 2005
Posts: 11

PostPosted: Tue May 31, 2005 4:26 am    Post subject: Reply with quote

hol.sten wrote:

No idea, because I don't use the SDK examples. Only guesses:
- You have OOo not installed?


If have installed version 1.9.104

hol.sten wrote:

- Something is wrong with your SDK installation?


Running some other examples from the sdk works, so I guess the sdk installation is ok.

hol.sten wrote:

- Your OOo was not start or it was not in listen mode?


When is OOo started? If the quickstart app is running is OOo started? And if not, how do I get it in listen mode?

hol.sten wrote:

- Your OOo (perhaps 1.9.104) and your SDK (perhaps 1.1.x) don't fit together? Which OOo version, SDK version, and operating system are you using?


Using OOo 1.9.104, the 2.0 SDK on WinXP-SP1

Thx for the help,

Alexander
Back to top
View user's profile Send private message
hol.sten
Super User
Super User


Joined: 14 Nov 2004
Posts: 3533
Location: Hamburg, Germany

PostPosted: Tue May 31, 2005 4:42 am    Post subject: Reply with quote

Akhorahil wrote:
When is OOo started? If the quickstart app is running is OOo started?

No. Then you have only the quickstarter running.

Akhorahil wrote:
And if not, how do I get it in listen mode?

Read http://api.openoffice.org/docs/DevelopersGuide/FirstSteps/FirstSteps.htm#1+3+Getting+Started Section 2.3.3 Configuration: Make the office listen.

Akhorahil wrote:
Using OOo 1.9.104, the 2.0 SDK

Have you tried OOo 1.1.4 with 1.0 SDK? The 2.0 branch is still beta...

With kind regards
hol.sten
Back to top
View user's profile Send private message
Akhorahil
General User
General User


Joined: 30 May 2005
Posts: 11

PostPosted: Tue May 31, 2005 4:52 am    Post subject: Reply with quote

hol.sten wrote:

Read http://api.openoffice.org/docs/DevelopersGuide/FirstSteps/FirstSteps.htm#1+3+Getting+Started Section 2.3.3 Configuration: Make the office listen.


Thx, this makes it work.

Now I will try to create some reports I need to have. Perhaps you can help me out with one more thing for now: I need to create reports that have an unknown/dynamic number of lines in it. Is using a bookmark the best way to insert these lines in the template? Or is there something that can handle recursion?

Again thx,

Alexander
Back to top
View user's profile Send private message
hol.sten
Super User
Super User


Joined: 14 Nov 2004
Posts: 3533
Location: Hamburg, Germany

PostPosted: Tue May 31, 2005 6:22 am    Post subject: Reply with quote

Akhorahil wrote:
I need to create reports that have an unknown/dynamic number of lines in it. Is using a bookmark the best way to insert these lines in the template? Or is there something that can handle recursion?

I myself use bookmarks and they suffice for what I need.

With kind regards
hol.sten
Back to top
View user's profile Send private message
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