[api-dev] New document type information

2005-11-04 Thread Paolo Lacatena

Hi All,

We are going to develop an open source application to design and run business 
workflow and we are going to use OpenOffice.org suite as document editor.
We belive that maybe interesting to develop our application as an extension of 
OOo suite; so we could create a new document type to do this.
We have a look to Developer's guide, but we didn't find all information we 
need. We need to have more information about the development of a new document 
type, how to add new command in the framework layer and in the chain of 
responsability and how to deploy the new application, like Writer, Calc etc , 
in the OOo environment. We need more information about the system architecture 
too.

Can you tell us where find more information?

Thanks in advance

Paolo Lacatena

---
Paolo Lacatena, Software Engineer
SP-Process SpA, Via Giovene Marinelli 11
70045 Bari - Torre a Mare, Italy


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[api-dev] CSV file opens a write document

2005-11-04 Thread Andrew Douglas Pitonyak


I am writing an extensive database and macro document here:
http://www.pitonyak.org/database/OOoBaseBinaryFields.odt

I have a macro that demonstrates how to connect to flat files using 
macros. My macro generates the data, loads the data into a Calc document 
using the scalc: Text - txt - csv (StarCalc) filter, and then connects 
to the flat file and the Calc document as a data source. This is all for 
learning, of course. On Windows, a Calc document is opened, and on my 
Linux box, a Write document is opened. Does this make any sense at all?


If you download the document listed above, search for Read Fixed Width 
File, which is listing 31 on page 65. There is a button that you can 
click on, which will automatically run the macro, which is also 
displayed in the text



--
Andrew Pitonyak
My Macro Document: http://www.pitonyak.org/AndrewMacro.sxw
My Book: http://www.hentzenwerke.com/catalog/oome.htm
Info:  http://www.pitonyak.org/oo.php
See Also: http://documentation.openoffice.org/HOW_TO/index.html


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [api-dev] SDK 2.0

2005-11-04 Thread Jürgen Schmidt


[EMAIL PROTECTED] wrote:

Thanks, Jürgen!

The best I could get is http://download.openoffice.org/680/sdk.html, but by
means of the search mechanism only ;o) There seems to be no link from the main
page.


i hope this sides will be updated soon. The whole navigation to the SDK 
is bad. I will create new release notes for the new SDK and will try to 
redesign this pages. At least i will add a link at a prominent place to 
find the SDK easily.


Juergen



Anyway, the ftp sites don't provide a version for Windows (yet). Or are we
supposed to use the linuxIntel version?

Cheers,

Jorge.

Selon Jürgen Schmidt [EMAIL PROTECTED]:



Hi Jorge,

yes there should be a new SDK for OO.org2.0 available on
www.openOffice.org (i am currently don't know the exact link)
The new SDK introduce a lot of new interfaces, the Developers Guide is
updated, most of the exmapes use the new simple UNO bootstrap mechanism.
In a few weeks we will provide a native installer for the SDK as well.
This new version of the SDK has the same content as the currently
available zip file. But it comes with a new implicit configuration
mechanism when you try to use the SDK the frist time.
Future versions for windows will probably configure the SDK during the
setup.
For more information see the release notes and the sdk/install.html
page inside the SDK.

Juergen


[EMAIL PROTECTED] wrote:


Hi, all!

I am new to OOo 2.0 and would like to know if there is a specific SDK for


this


version or we should keep using SDK 1.1. In any case, are there


undocumented


new features? Where one could learn about those?

Thanks in advance. Cheers,

Jorge.



-
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]








-
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]



Re: [api-dev] New document type information

2005-11-04 Thread Mathias Bauer
Paolo Lacatena wrote:
 Hi All,
 
 We are going to develop an open source application to design and run
 business workflow and we are going to use OpenOffice.org suite as
 document editor. We belive that maybe interesting to develop our
 application as an extension of OOo suite; so we could create a new
 document type to do this. We have a look to Developer's guide, but we
 didn't find all information we need. We need to have more information
 about the development of a new document type, how to add new command
 in the framework layer and in the chain of responsability and how to
 deploy the new application, like Writer, Calc etc , in the OOo
 environment. We need more information about the system architecture
 too.

You must develop a UNO component that implements the service
com.sun.star.document.OfficeDocument and a second UNO component that
implements the com.sun.star.frame.Controller service. Both are described
in the IDL reference and the Developers Guide.

Additionally you have to provide a window together with your controller
that either must be implemented using VCL directly or indirectly
(through our com.sun.star.awt.Toolkit). This window is used for drawing
output and user interaction. While parts of it are possible using our
Toolkit or (as I assume) our new Canvas API I'm afraid that currently it
would be too cumbersome and so you will need to use the VCL library
directly.

As an alternative you could try to do your drawing and user interaction
in an own native window and plug this into the window of your
controller, but I have only a limited experience with this, but I know
that it works because the same is done when plugins are embedded into an
OOo document, like e.g. the Acrobat Reader. Inside the native window you
can use any toolkit you like that allows you to get access to its window
handle for reparenting or that allows you to create a window as a child
of an arbitrary native window (that you again know by its window handle).

So as a start I recommend to study and understand the mentioned services
and think wether using VCL is an option or if you want to try the
native window approach. Then we can talk again. :-)

Best regards,
Mathias

-- 
Mathias Bauer - OpenOffice.org Application Framework Project Lead
Please reply to the list only, [EMAIL PROTECTED] is a spam sink.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [api-dev] SDK 2.0

2005-11-04 Thread Mathias Bauer
[EMAIL PROTECTED] wrote:
 Thanks, Jürgen!
 
 The best I could get is http://download.openoffice.org/680/sdk.html, but by
 means of the search mechanism only ;o) There seems to be no link from the main
 page.
 
 Anyway, the ftp sites don't provide a version for Windows (yet). Or are we
 supposed to use the linuxIntel version?

Did you try to go over api.openoffice.org? On the left side of this page
is a link to the SDK and from there you should find the download site
where an SDK for the milestone m2 can be found. It's identical with the
final version.

Best regards,
Mathias

-- 
Mathias Bauer - OpenOffice.org Application Framework Project Lead
Please reply to the list only, [EMAIL PROTECTED] is a spam sink.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]