Re: [dev] Re: [cws-announce] SRC680_m126 ready for use.

2005-08-28 Thread Pavel Janík
   From: NAKATA Maho [EMAIL PROTECTED]
   Date: Sun, 28 Aug 2005 08:37:19 +0900 (JST)

have you already raised #IZ#? and do you think RE can do master fix?

No. Surely early tomorrow.
-- 
Pavel Janík

The name of the command, woman, is an acronym for w/o (without) man,
since it doesn't use the man program.
  -- An unknown author in GNU Emacs manual

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



Re: [dev] Speeding up generation of Calc document

2005-08-28 Thread Christian Junker
Hi Matthias,

also consider using css::document::XActionLockable to improve performance.
See 
http://api.openoffice.org/docs/common/ref/com/sun/star/document/XActionLockable.html

2005/8/22, Matthias Benkmann [EMAIL PROTECTED]:
 Hi,
 
 I need to create a large Calc document from scratch via UNO. Calling
 setFormula() for all the cells is pretty slow (about 1.5ms per Cell on
 my 2800MHz computer). By introducing un/lockControllers() calls I've
 managed to reduce the time to about 0.5ms, but when generating a large
 document this is still painfully slow.
 
 Does anyone have a suggestion for speeding the code up further?
 
 I've noticed that while lockControllers() disables the synchronous
 screen updates of the table itself, every call to setFormula() results
 in the formula being displayed in the Formula bar. So there still
 seems to be a lot of event processing going on. Is there anything else
 I can do aside from lockControllers() to reduce event processing even
 further? Note that disabling the Formula bar in View/Toolbars does not
 give a very significant speed up.
 
 Matthias
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 


-- 
Best Regards
Christian Junker

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



Re: [dev] inserting names from database in text document

2005-08-28 Thread Christian Junker
Hi Emmanouil,

basically you need to create a UNO component. The most important
information can be found on http://api.openoffice.org and
http://udk.openoffice.org . In order to create and register a UNO
component you need to download the OOo SDK (there are quite some Java
examples, the Developer's Guide also contains a lot of Java code, so
you should get enough information).
Further questions please to dev@api.openoffice.org .

2005/8/26, Emmanouil Batsis [EMAIL PROTECTED]:
 
 I would like to create some kind of add-on that will allow OOo 2.0
 Writer users insert names from a database table (probably MySQL via
 JDBC) in the document they edit (to avoid spelling mistakes etc) but i
 am not sure how i should try to do this between macros, add-ons and a
 huge unknown API. I will probably have to add a menu entry or button
 somewhere that will activate a popuo/dialog, or an inline dropdown
 control (maybe only available in forms?).
 
 I have used datasources while editing documents to copy  paste etc, but
 what is required is something that feels more well integrated and, if
 possible, only activates itself for a specific template (.odt).
 
 The next step could be that these inserted names should be some kind of
 text field that has a reference to the datasource but i can worry about
 that later.
 
 Any pointers on where i should start looking much appreciated,
 especially examples i can learn from... we use Java but i guess we can
 cope with other languages as well.
 
 Thanks,
 
 Manos
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 


-- 
Best Regards
Christian Junker

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



Re: [dev] dispatched command urls

2005-08-28 Thread Mathias Bauer
Pam Z wrote:
 Hi,
 when I intercept, as XDispatchInterceptor, a dispatched command url from 
 a OpenOffice.org Writer frame, how can I understand which object has 
 triggered it (menù item or toolbar button)?

You can't - why would you want to make a difference? The user expects
that the menu command works in the same way as the toolbar command, so
the code that is triggered by them should be the same.

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