Hi Senthil,
just to make sure yout got it right. The shapes as described in the devguide are for adding shapes to a document, not for drawing lines, circles and stuff directly on a canvas.
For questions regarding using the API in general you should ask on the [email protected] mailing list.
Regards, Christian
Senthilkumar Mehalingam wrote:
Hi Christian,
Thanks for the reply.
I am trying to find how to draw lines, ovals, rectangles, arrows and text boxes using a Java API for the drawing tool.
As you suggested I looked at http://api.openoffice.org/ and found good references.
I looked at http://api.openoffice.org/docs/DevelopersGuide/Drawing/Drawing.htm
and in that Section 9.3.2 Shapes which explained how to do that.
Can you please let me know if I am in the correct direction?
I am following the Developers guide cookbook at http://api.openoffice.org/docs/DevelopersGuide/DevelopersGuide.pdf
but am confused in 2.3.3 Configuration part of Use Java UNO class files.
The method explained I cannot follow in Netbeans 4.0. I cannot find anything for mouting the OO.org/program/jar files to my project. Can you please guide me how can I do that using Netbeans 4.0.
My apologies if my question is too elementary for this group but being a beginner I dont know much.
Thanks a lot.
Sincerely Senthil
Hi Senthil,
Basic itself is documented in the office help. For using the OpenOffice.org API you should consult the devguides and the developers cookbook. There are also examples in it how to create shapes.
Have a look at api.openoffice.org
Regards, Christian
Senthilkumar Mehalingam wrote:
Hi Christian,
Thanks for the reply.
It is only vaguely like an organization diagram(orgchart application) but it is a starting
point to see how that wizard(I presume there is a wizard in OpenOffice to create an Organisation Chart. I need to see how the steps work in creating the chart to get ideas for
how to build a graphic of a graph or tree) works.
Can you please guide me more if Openoffice basic and the method I talked about in last mail are the right way?
Thanks a lot.
Senthil
From: "Senthilkumar Mehalingam" <[EMAIL PROTECTED]> To: [email protected] CC: [EMAIL PROTECTED] Subject: RE: OpenOffice.org GUI builder Date: Wed, 20 Apr 2005 15:14:35 -0400
Hi Christian,
Thanks for the reply.
It is only vaguely like an organization diagram(orgchart application) but it is a starting
point to see how that wizard(I presume there is a wizard in OpenOffice to create an Organisation Chart. I need to see how the steps work in creating the chart to get ideas for
how to build a graphic of a graph or tree) works.
Can you please guide me more if Openoffice basic and the method I talked about in last mail are the right way?
Thanks a lot.
Senthil
Hi Senthil,
I also only can guess what you are asking for. Do you want to implement something like an orgchart application? Please give more details.
Regards, Christian
Christof Pintaske wrote:
Hello Senthil,
sorry, I do not completely understand how a GUI builder comes into play here. Could you elaborate that a little bit more ?
AFAIR shapes are implemented in svx project (SvxShapes in unoshapes.cxx ?) but I'm not quite sure that this is what you are referring to. The [EMAIL PROTECTED] group is probably far better suited for questions about shapes.
best regards Christof
Senthilkumar Mehalingam wrote:
Hi All,
I am trying to do something similar to OpenOffice.org GUI builder.
I am trying to implement a macro by which a user can choose the number and shapes(say 3 rectangles) and their hierarchy. One on top as parent having two children. I am trying to look for the source code of shapes. I want to see the source code of how an ellipse(or a similar shape is drawn) in the Draw document so I can use OpenOffice Basic to get the user parameters of number and hierarchy.
I read the todo list and found that this needs to be done for the GUI builder.
Is my thinking correct that my task is similar to the GUI builder and if yes is the approach I am taking right.
Can anybody please suggest me the correct direction.
Thanks a lot. Senthil
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
