Re: [api-dev] Interface XPrinterServer

2008-08-21 Thread Carsten Driesner

Thomas Krumbein wrote:

Hey,

I just found the Interface com.sun.star.awt.XPrinterServer which
provides a method getPrinterNames.

But: which service supports this Interface? I cannot find one?

Can somebody give me an advice?


com.sun.star.awt.PrinterServer

Regards,
Carsten

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



Re: [api-dev] Error while writing a OOCalc-Addin with Java

2008-08-21 Thread Stephan Bergmann

On 08/20/08 17:48, Thomas wrote:

hi,

i write a OOCalc Addin with Java and got the following error when i want
to create the java-classes with javamaker:

 [EMAIL PROTECTED]:~$ javamaker  -nD -Gc -BUCR -O ./build/classes/
build/idl/rdb/types.rdb 
/usr/lib/openoffice/sdk/linux/bin/javamaker.bin ERROR: Bad type

information: com/sun/star/uno/XComponentContext


You also need to specify an rdb file that contains information about 
XComponentContext and other OOo types, see the javamaker example at 
http://wiki.services.openoffice.org/wiki/Documentation/DevGuide/WritingUNO/Generating_Source_Code_from_UNOIDL_Definitions 
(i.e., for OOo 2, office-path/program/types.rdb, and for OOo 3 both 
office-path/openoffice.org/ure/share/misc/types.rdb and 
office-path/openoffice.org/basis3.0/program/offapi.rdb).


-Stephan

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



Re: [api-dev] Interface XPrinterServer

2008-08-21 Thread Thomas Krumbein
Hey Carsten,

Carsten Driesner schrieb:

 I just found the Interface com.sun.star.awt.XPrinterServer which
 provides a method getPrinterNames.

 But: which service supports this Interface? I cannot find one?

 Can somebody give me an advice?

 com.sun.star.awt.PrinterServer

Ahh, thank you. But it is still not ready, isn't it?

I can create an service css.awt.PrinterServer, but using xray there is
nearly nothing in.

And calling the method getPrinterNames() say: No such method.

Best regards
Thomas


-- 
## Marketing deutschsprachiges Projekt
## http://de.openoffice.org  - www.openoffice.org
## Vorstand OpenOffice.org Deutschland e.V.
## Mitglieder willkommen: www.OOoDeV.org

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



Re: [api-dev] Interface XPrinterServer

2008-08-21 Thread Fernand Vanrie

Thomas Krumbein wrote:

Thomas, find this really  old topic on the forum 
http://www.oooforum.org/forum/viewtopic.phtml?t=5228


Fernand

Hey Carsten,

Carsten Driesner schrieb:

  

I just found the Interface com.sun.star.awt.XPrinterServer which
provides a method getPrinterNames.

But: which service supports this Interface? I cannot find one?

Can somebody give me an advice?

  

com.sun.star.awt.PrinterServer



Ahh, thank you. But it is still not ready, isn't it?

I can create an service css.awt.PrinterServer, but using xray there is
nearly nothing in.

And calling the method getPrinterNames() say: No such method.

Best regards
Thomas


  



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



[api-dev] Adding a keyboard shortcut to an uno CommandURL

2008-08-21 Thread Tobias Krais
Hi together,

I developed a OpenOffice.org Addon with a new toolbar. Now I would like
to add a keyboard shortcut to one of these buttons. When pressing the
button, the CommandURL .Judas:Print is called.

I did not succeed adding a keyboard shortcut for this CommandURL using
the normal dialog in the Extra menu. How can I add a keyboard shortcut
to call the CommandURL directly? Is the only way writing a macro
dispatching the CommandURL? Or can I do the trick in the Addons.xcu file?

Greetings, Tobias

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



Re: [api-dev] combined chart type using com:sun:star:chart2

2008-08-21 Thread othman

Sorry, i hope you bare with me  be patient answering my questions about the
chart2 API.
i wrote a java code to change the type of my chart from default LineType to
candlestick type.
However this code doesn't work with chart2 .but if i change to standar
com.sun.star.chart and use type com.sun.star.StockDiagram it does work
perfectly.
what is wrong with the chart2 code (or how to change my chart2 type to
candlestick )?

thanks.

code :

XEmbeddedObjectSupplier xEmbeddedObjSupplier = (XEmbeddedObjectSupplier)
UnoRuntime.queryInterface(XEmbeddedObjectSupplier.class,
xtablechart);
XInterface xInterface = xEmbeddedObjSupplier.getEmbeddedObject();

com.sun.star.chart2.XChartDocument xChartDoc =
(com.sun.star.chart2.XChartDocument)UnoRuntime.queryInterface(
com.sun.star.chart2.XChartDocument.class, xInterface);
com.sun.star.chart2.XDiagram xDiagram =
(com.sun.star.chart2.XDiagram) xChartDoc.getFirstDiagram();
XMultiServiceFactory xMSF = (XMultiServiceFactory)
UnoRuntime.queryInterface( XMultiServiceFactory.class, xChartDoc
);
Object object = xMSF.createInstance(
com.sun.star.chart2.CandleStickChartType );
xDiagram = (com.sun.star.chart2.XDiagram)
UnoRuntime.queryInterface(com.sun.star.chart2.XDiagram.class, object);

XPropertySet xPropSet = (XPropertySet) UnoRuntime.queryInterface(
XPropertySet.class, xDiagram );  

xChartDoc.setFirstDiagram(xDiagram);


-- 
View this message in context: 
http://www.nabble.com/combined-chart-type-using-com%3Asun%3Astar%3Achart2-tp19003238p19085781.html
Sent from the openoffice - api dev mailing list archive at Nabble.com.


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



Re: [api-dev] Interface XPrinterServer

2008-08-21 Thread Thomas Krumbein
Hey Fernand,

Fernand Vanrie schrieb:
[..]
 Thomas, find this really  old topic on the forum 
 http://www.oooforum.org/forum/viewtopic.phtml?t=5228

Ahh, sorry, your are right ...

I know a lot of these old topics regarding getting list of printers -
not special this one - but I cheched all the other ones...
Then I looked through the IDL - maybe there is something new - and find
this Interface. I never recognise this before so I thought, it was new :-(

OK, my fauld, sorry again...

Thomas

-- 
## Marketing deutschsprachiges Projekt
## http://de.openoffice.org  - www.openoffice.org
## Vorstand OpenOffice.org Deutschland e.V.
## Mitglieder willkommen: www.OOoDeV.org

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



Re: [api-dev] combined chart type using com:sun:star:chart2

2008-08-21 Thread Ingrid Halama

Hi othman,

othman wrote:

Sorry, i hope you bare with me  be patient answering my questions about the
chart2 API.
i wrote a java code to change the type of my chart from default LineType to
candlestick type.
However this code doesn't work with chart2 .but if i change to standar
com.sun.star.chart and use type com.sun.star.StockDiagram it does work
perfectly.
what is wrong with the chart2 code (or how to change my chart2 type to
candlestick )?

Instances of chart2 chart types (e.g. 
com.sun.star.chart2.CandleStickChartType) do support service 
com::sun::star::chart2::ChartType. Look at the corresponding idl file. 
They do not support the interface com::sun::star::chart2::XDiagram, but 
instead they support interface com::sun::star::chart2::XChartType. They 
need to be added to the com::sun::star::chart2::XChartTypeContainer as 
shown in my mail from August 18th.


In general both APIs do not have the same structure. The only touch 
point is the chart document itself which does support both interfaces 
com::sun::star::chart2::XChartDocument and 
com::sun::star::chart::XChartDocument. Starting from there both APIs 
from different object trees.


Kind regards,
Ingrid


thanks.

code :

XEmbeddedObjectSupplier xEmbeddedObjSupplier = (XEmbeddedObjectSupplier)
UnoRuntime.queryInterface(XEmbeddedObjectSupplier.class,
xtablechart);
XInterface xInterface = xEmbeddedObjSupplier.getEmbeddedObject();

com.sun.star.chart2.XChartDocument xChartDoc =

(com.sun.star.chart2.XChartDocument)UnoRuntime.queryInterface(
com.sun.star.chart2.XChartDocument.class, xInterface);
com.sun.star.chart2.XDiagram xDiagram =
(com.sun.star.chart2.XDiagram) xChartDoc.getFirstDiagram();
XMultiServiceFactory xMSF = (XMultiServiceFactory)
UnoRuntime.queryInterface( XMultiServiceFactory.class, xChartDoc
);
Object object = xMSF.createInstance(
com.sun.star.chart2.CandleStickChartType );
xDiagram = (com.sun.star.chart2.XDiagram)
UnoRuntime.queryInterface(com.sun.star.chart2.XDiagram.class, object);

XPropertySet xPropSet = (XPropertySet) UnoRuntime.queryInterface(
XPropertySet.class, xDiagram );  

xChartDoc.setFirstDiagram(xDiagram);






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



Re: [api-dev] Using / defining own types in UNOIDL

2008-08-21 Thread Tobias Krais
Hi together,

sorry for my silly question. I solved it:

[snip]
IDL name: XSpringLoader
Java Implementation: SpringLaoderImpl
[snip]

I solved it this way: I created initialize methods for the attributes I
need in the XSpringLoader class. Additionally I created some
getInitialized...() methods in my SpringLoaderImpl class. After I
initialized everything I need, I cast the XSpringLoader object to an
SpringLoaderImpl object and was able to retrieve the needed attributes.

Greetings, Tobias

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



Re: [api-dev] Bootstrap and Performance

2008-08-21 Thread Tobias Krais
Hi again,

 Thus my question: has using this parameter a very positive impact on
 bootstrap performance? My machine seems to be too fast for testing this...

I now found it out: it does not boost the bootstrap. Do you know other
ways to speed up the bootstrap mechanism?

Greetings, Tobias

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



Re: [api-dev] Bootstrap and Performance

2008-08-21 Thread Juergen Schmidt

Tobias Krais wrote:

Hi again,


Thus my question: has using this parameter a very positive impact on
bootstrap performance? My machine seems to be too fast for testing this...


I now found it out: it does not boost the bootstrap. Do you know other
ways to speed up the bootstrap mechanism?
well the office has to start and it depends on the office start. Keep an 
office running should be faster. Improving the office start should help 
here as well ;-)


I know that it is no satisfying answer but i have no other :-(

Juergen




Greetings, Tobias

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

2008-08-21 Thread Juergen Schmidt

Carsten Driesner wrote:

Thomas Krumbein wrote:

Hey,

I just found the Interface com.sun.star.awt.XPrinterServer which
provides a method getPrinterNames.

But: which service supports this Interface? I cannot find one?

Can somebody give me an advice?


com.sun.star.awt.PrinterServer

which of course is not documented :-(


Juergen



Regards,
Carsten

-
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] combined chart type using com:sun:star:chart2

2008-08-21 Thread othman

Hi Ingrid,
I wrote below java code to change chart type with chart2 API. However this
code doesn't work !
can you please look at it and tell me what I'm doing wrong ?

thanks.
othman


Code:
XMultiComponentFactory xMCF = null;
   XEmbeddedObjectSupplier xEmbeddedObjSupplier =
(XEmbeddedObjectSupplier)
UnoRuntime.queryInterface(XEmbeddedObjectSupplier.class, xtablechart);
XInterface xInterface =
xEmbeddedObjSupplier.getEmbeddedObject();

com.sun.star.chart2.XChartDocument oChart =
(com.sun.star.chart2.XChartDocument) UnoRuntime.queryInterface(
com.sun.star.chart2.XChartDocument.class, xInterface);

   
System.out.println(com.sun.star.chart2.XChartDocument=+oChart);
/* let the Calc document create a data provider, set it at the
chart*/
com.sun.star.chart2.data.XDataProvider oDataProv =
oChart.getDataProvider();

   com.sun.star.chart2.XDiagram oDiagram=oChart.getFirstDiagram();
 
System.out.println(com.sun.star.chart2.XDiagram=+oDiagram.toString());
   //insert a coordinate system into the diagram
   
   com.sun.star.chart2.XCoordinateSystemContainer oCoordSysCnt=
  
(com.sun.star.chart2.XCoordinateSystemContainer)UnoRuntime.queryInterface(com.sun.star.chart2.XCoordinateSystemContainer.class,
oDiagram);
   com.sun.star.chart2.XCoordinateSystem[] oCoordSys=
oCoordSysCnt.getCoordinateSystems();
  
System.out.println(com.sun.star.chart2.XCoordinateSystem[0]=+oCoordSys[0].toString());
  com.sun.star.chart2.XChartTypeContainer oChartTypeCnt=
  
(com.sun.star.chart2.XChartTypeContainer)UnoRuntime.queryInterface(com.sun.star.chart2.XChartTypeContainer.class,
oCoordSys[0]);
   
   
// get the service manager from the office
xMCF = xContext.getServiceManager();
   
Object object = xMCF.createInstanceWithContext(
com.sun.star.chart2.CandleStickChartType, xContext);
   com.sun.star.chart2.XChartType
oChartType=(com.sun.star.chart2.XChartType) UnoRuntime.queryInterface(
com.sun.star.chart2.XChartType.class, object);
   
System.out.println(com.sun.star.chart2.XChartType=+oChartType.toString());
   oChartTypeCnt.addChartType(oChartType);


Ingrid Halama wrote:
 
 Hi othman,
 
 othman wrote:
 Sorry, i hope you bare with me  be patient answering my questions about
 the
 chart2 API.
 i wrote a java code to change the type of my chart from default LineType
 to
 candlestick type.
 However this code doesn't work with chart2 .but if i change to standar
 com.sun.star.chart and use type com.sun.star.StockDiagram it does work
 perfectly.
 what is wrong with the chart2 code (or how to change my chart2 type to
 candlestick )?
 
 Instances of chart2 chart types (e.g. 
 com.sun.star.chart2.CandleStickChartType) do support service 
 com::sun::star::chart2::ChartType. Look at the corresponding idl file. 
 They do not support the interface com::sun::star::chart2::XDiagram, but 
 instead they support interface com::sun::star::chart2::XChartType. They 
 need to be added to the com::sun::star::chart2::XChartTypeContainer as 
 shown in my mail from August 18th.
 
 In general both APIs do not have the same structure. The only touch 
 point is the chart document itself which does support both interfaces 
 com::sun::star::chart2::XChartDocument and 
 com::sun::star::chart::XChartDocument. Starting from there both APIs 
 from different object trees.
 
 Kind regards,
 Ingrid
 
 thanks.
 
 code :
 
 XEmbeddedObjectSupplier xEmbeddedObjSupplier = (XEmbeddedObjectSupplier)
 UnoRuntime.queryInterface(XEmbeddedObjectSupplier.class,
 xtablechart);
 XInterface xInterface = xEmbeddedObjSupplier.getEmbeddedObject();
 
 com.sun.star.chart2.XChartDocument xChartDoc =
 (com.sun.star.chart2.XChartDocument)UnoRuntime.queryInterface(
 com.sun.star.chart2.XChartDocument.class, xInterface);
 com.sun.star.chart2.XDiagram xDiagram =
 (com.sun.star.chart2.XDiagram) xChartDoc.getFirstDiagram();
 XMultiServiceFactory xMSF = (XMultiServiceFactory)
 UnoRuntime.queryInterface( XMultiServiceFactory.class,
 xChartDoc
 );
 Object object = xMSF.createInstance(
 com.sun.star.chart2.CandleStickChartType );
 xDiagram = (com.sun.star.chart2.XDiagram)
 UnoRuntime.queryInterface(com.sun.star.chart2.XDiagram.class, object);
 
 XPropertySet xPropSet = (XPropertySet) UnoRuntime.queryInterface(
 XPropertySet.class, xDiagram );  
 
 xChartDoc.setFirstDiagram(xDiagram);
 
 
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 

-- 
View this message in context: 

Re: [api-dev] Adding a keyboard shortcut to an uno CommandURL

2008-08-21 Thread Carsten Driesner

Tobias Krais wrote:

Hi together,

I developed a OpenOffice.org Addon with a new toolbar. Now I would like
to add a keyboard shortcut to one of these buttons. When pressing the
button, the CommandURL .Judas:Print is called.

I did not succeed adding a keyboard shortcut for this CommandURL using
the normal dialog in the Extra menu. How can I add a keyboard shortcut
to call the CommandURL directly? Is the only way writing a macro
dispatching the CommandURL? Or can I do the trick in the Addons.xcu file?


Hi Tobias,

We are working on a solution for extension which is based on XCU files, 
hopefully that will be available for OOo 3.1. Currently you can only use 
the UI configuration manager to define a shortcut. For example see the 
Basic code below which defines a shortcut to a Basic macro.


REM  *  BASIC  *

Sub Main
REM *** Retrieve the global accelerator configuration service
oGlobalAccelCfg = 
createUnoService(com.sun.star.ui.GlobalAcceleratorConfiguration)


Dim aKeyEvent as new com.sun.star.awt.KeyEvent
aKeyEvent.KeyCode = 779 REM F12 see IDL com.sun.star.awt.Key
	aKeyEvent.Modifiers = 1 + 2 REM SHIFT + MOD1 (CTRL) see IDL 
com.sun.star.awt.KeyModifier
oGlobalAccelCfg.setKeyEvent(aKeyEvent, 
vnd.sun.star.script:Standard.Module1.ShowMsgBox?language=Basiclocation=application 
)

oGlobalAccelCfg.store()
End Sub

Sub ShowMsgBox
 MsgBox(Test)
End Sub

Regards,
Carsten

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



Re: [api-dev] Interface XPrinterServer

2008-08-21 Thread Ariel Constenla-Haile

Hi Carsten,

Carsten Driesner escribió:

Thomas Krumbein wrote:

Hey,

I just found the Interface com.sun.star.awt.XPrinterServer which
provides a method getPrinterNames.

But: which service supports this Interface? I cannot find one?

Can somebody give me an advice?


com.sun.star.awt.PrinterServer


getting the available printer names is one of the most wanted things by
extension developers.

It seemed that there was no API for getting the available printers'
names, nor the tray, etc. see issues 87883 and 87495

http://www.openoffice.org/issues/show_bug.cgi?id=87883
http://www.openoffice.org/issues/show_bug.cgi?id=87495

As I said somewhere else
(http://dba.openoffice.org/servlets/ReadMsg?listName=usersmsgNo=6097)

IMHO, the one that developed the printing API was too lazy: internally 
all these is available cf. the Printer class in /vcl/inc/vcl/print.hxx


For 87883
static const std::vector rtl::OUString  GetPrinterQueues();

For 87495
USHORT  GetPaperBin() const;
BOOLSetPaper( Paper ePaper );
et al.

How many month can take to wrap this into a new or existing 
interface/service?


well, it seems that the one that developed VCLXPrinterServer was...
let's say not much careful:

com.sun.star.awt.PrinterServer can *NOT* be used from OOo Basic, because
  com::sun::star::lang::XTypeProvider is not declared to be inherited by
that class (although it is implemented in the class). So for OOo Basic,
createUnoService(com.sun.star.awt.PrinterServer) returns indeed an
object not null, but that implements no interfaces, so it has no methods.

And to the printer names issue: there *is* an API for that, in
com.sun.star.awt.XPrinterServer, as we all thought in first time but
couldn't see it from Basic: VCLXPrinterServer::getPrinterNames()
implements what I suggested above to solve i87883, that is
Printer::GetPrinterQueues()

::com::sun::star::uno::Sequence ::rtl::OUString 
VCLXPrinterServer::getPrinterNames(  )
throw(::com::sun::star::uno::RuntimeException)
{
 const std::vectorrtl::OUString rQueues =
Printer::GetPrinterQueues();
sal_uInt32 nPrinters = rQueues.size();

::com::sun::star::uno::Sequence ::rtl::OUString aNames( 
nPrinters );
for ( sal_uInt32 n = 0; n  nPrinters; n++ )
aNames.getArray()[n] = rQueues[n];

return aNames;
}


Besides this, css.lang.XserviceInfo is not implemented.
I created a patch (attached here), and re-builded the toolkit module:
now XPrinterServer.getPrinterNames() returns the available printers in
OOo Basic.

I still wonder if what I quoted in
http://www.openoffice.org/servlets/ReadMsg?list=devmsgNo=22097 is still
true:

According to 
http://api.openoffice.org/servlets/ReadMsg?listName=devmsgNo=6496 (from 
2003 but still applies)


the interface was designed for an OOo/SO
running on a server where the printers are connected at the client.
Thus. for printing the client is a print server.

So if Cor is looking for something he can use in OOoBasic with a normal 
printer, c.s.s.awt.XPrinterServer won't work (at least in my notebook 
where I have no printer server, 
createUnoService(com.sun.star.awt.PrinterServer) instantiates an 
object only supporting com.sun.star.uno.XInterface , that is, 
c.s.s.awt.XPrinterServer is not available)


at *least* XPrinterServer.getPrinterNames() *does* work, I will have to
check the other methods.


Regards
Ariel

PS: Carsten, don't think I forgot the Menu API enhancement, I'm still
working on it, it happened that it took me more time to implement than I
thought (I had to debug vcl, etc.) . I'll try to finish something this
weekend and write a wiki page about the API enhacement proposal in order
to discuss here.


--
Ariel Constenla-Haile
La Plata, Argentina

[EMAIL PROTECTED]
[EMAIL PROTECTED]

http://www.ArielConstenlaHaile.com.ar/ooo/



Aus der Kriegsschule des Lebens
- Was mich nicht umbringt,
macht mich härter.
Nietzsche Götzendämmerung, Sprüche und Pfeile, 8.


Index: inc/toolkit/awt/vclxprinter.hxx
===
RCS file: /cvs/gsl/toolkit/inc/toolkit/awt/vclxprinter.hxx,v
retrieving revision 1.5
diff -b -w -U 3 -r1.5 vclxprinter.hxx
--- inc/toolkit/awt/vclxprinter.hxx 11 Apr 2008 08:47:32 -  1.5
+++ inc/toolkit/awt/vclxprinter.hxx 21 Aug 2008 18:36:31 -
@@ -37,10 +37,14 @@
 #include com/sun/star/awt/XPrinterServer.hpp
 #include com/sun/star/awt/XInfoPrinter.hpp
 #include com/sun/star/lang/XTypeProvider.hpp
+#include com/sun/star/lang/XServiceInfo.hpp
 #include cppuhelper/weak.hxx
+#include cppuhelper/implbase2.hxx
 #include osl/mutex.hxx
 
+#include toolkit/helper/macros.hxx
 #include toolkit/helper/mutexandbroadcasthelper.hxx
+#include toolkit/helper/servicenames.hxx
 #include cppuhelper/propshlp.hxx
 
 class Printer;
@@ -203,12 +207,14 @@
 // 
 // class VCLXPrinterServer
 // 

Re: [api-dev] Bootstrap and Performance

2008-08-21 Thread Tobias Krais
Hi Juergen,

 Thus my question: has using this parameter a very positive impact on
 bootstrap performance? My machine seems to be too fast for testing
 this...

 I now found it out: it does not boost the bootstrap. Do you know other
 ways to speed up the bootstrap mechanism?
 well the office has to start and it depends on the office start. Keep an
 office running should be faster. Improving the office start should help
 here as well ;-)
 
 I know that it is no satisfying answer but i have no other :-(

thanks for your answer. It is a satisfying answer, because now I know
that there is no need to continue searching.

But one question: on Windows machines, I use the quickstarter. Klicking
on documents in the explorer opens the documents extremely fast. But
bootstraping OOo is slower. Can you explain why?

Greetings, Tobias

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



[api-dev] Howto create CalcAddin and then a .oxt File?

2008-08-21 Thread Thomas
Hi all,

i developed already some Calc-Addins with Java and Netbeans and the
OO-Netbeans-Plugin. Now i want to know the steps what i have to do to
develop a Addin without Netbeans because the OO-Netbeans-Plugin doesn't
work any longer (i already send a bug report).
I already have:
1) a working plugin (CentralRegistrationClass.java,
OOCalcAddin_Solar.java, XOOCalcAddin_Solar.java,
OOCalcAddin_SolarImpl.java, CalcAddins.xcu, description.xml)
2) i can compile the idl-files to urd-files
3) i can merge the urd files to types.rdb
4) i can use javamaker to create the java classes

My question ist, what i should do next? At the end, i want to have a
working package (.oxt) which i can install with the Extension Manager.


Best regards,

Tom



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