[dev] odf document looks different each time it is opened

2009-06-30 Thread Christoph Lutz
Hi, I just would like to call your attention to issue http://www.openoffice.org/issues/show_bug.cgi?id=103137 which is a very critical Issue as I think. The binary identical odf-document looks different each time it is opened in OOo 3. Each time different parts of the text are hidden. What

Re: [dev] why ist the size of user dictionaries limited to 2000 entries

2009-01-23 Thread Christoph Lutz
Hi Cor, Hi Marcin, Hi André, thanks for your answers. I'm happy to see that the limit of entries in the user dictionary has been increased in OOo 3.0.1 to 3. I also agree with Marcin and André that the dictionary extensions supported since OOo 3.0.0 would be a better solution for my problem.

[dev] why ist the size of user dictionaries limited to 2000 entries

2009-01-22 Thread Christoph Lutz
Hi, we want to import our word dictionaries into OOo. The test-macro below shows that user dictionaries in OOo seem to be limited to 2000 entries. This means we have to create 3 user dictionaries to cover all of the current 5000 entries in our word dictionary. And users have to import 3 OOo user

Re: [dev] Is broadcasting global events possible?

2007-11-19 Thread Christoph Lutz
Hi Matthias, On Nov 16, 2007 8:59 PM, Mathias Bauer [EMAIL PROTECTED] wrote: Did you consider to create your own broadcasting service? You are not restricted to the services provided by OOo, create your own ones! If your service provided the same API as the GlobalEventBroadcaster your

Re: [dev] Is broadcasting global events possible?

2007-11-16 Thread Christoph Lutz
Hi Andreas, I'm a colleague of Matthias and as he is not at office today, I will give you some details about the required global event: our component (let's call it A) processes TextDocuments. So it listens for OnNew-Events and starts the asynchron processing of the documents (in new Threads).

Re: [dev] deploying jdbc-drivers (.jar) on multiple hosts/OOo-Installations

2007-09-25 Thread Christoph Lutz
Hi Peter, In Issue #81899 there is a alternative described that works on system-level (editing the file ooo/program/jvmfwk3rc), not just on user-level. I think we will prefere this way. thanks and regards, Christoph - To

[dev] deploying jdbc-drivers (.jar) on multiple hosts/OOo-Installations

2007-09-21 Thread Christoph Lutz
Hi, for the connection to an oracle-db via OOo-Base, a jdbc-driver is required. This driver normally comes as a third-party jar-archive. Wich is the preferred way to deploy the jar-archive in a network with multiple hosts and multiple OOo-Installations? I already have got some possible ways for

Re: [dev] some questions about Addons.xcu - OfficeToolbar - Images

2007-09-05 Thread Christoph Lutz
Hi Oliver, i have some questions about the Addons.xcu: - - Is it correct, that one can only define *one* OfficeToolBar inside an Addons.xcu ? So if one needs more OfficeToolbars, he has to deploy another extension ? OfficeToolBarMerging can not help in this case ? we define

[dev] how to reset the text-property CharBackColor

2007-04-25 Thread Christoph Lutz
Hi, I've got a textportion with a set property CharBackColor and I would like to reset this setting (the same as the button Defaultsettings/Standardformatierung of the context menu does), so that CharBackColor is used from the current paragraph-style, but other properties are not effected. I

Re: [dev] how to reset the text-property CharBackColor

2007-04-25 Thread Christoph Lutz
Hi Cor, Hi Oliver, thanks for your replies! I didn't knew of the method setPropertyToDefault(...), so I learned something new now :-) setting a fixed value of -1 works also, but resetting the option with setPropertyToDefault(...) is better as the fixed value overwrites the setting of the

[dev] does .uno:PrinterSetup called via XNotifyingDispatch return whether Cancel was pressed?

2007-04-11 Thread Christoph Lutz
Hi, I call the dispatch .uno:PrinterSetup via a XNotifyingDispatch and would like to react different if the dialog was finished successfull (by pressing the OK-button) and if the dialog was finished unsuccessfull by pressing the cancel-button. Is this possible? I have already debugged the

[dev] Tooltips in Addons.xcu possible?

2007-03-23 Thread Christoph Lutz
Hi, I've got a addons.xcu that describes some customs menuitems. Is it possible to add a Tooltip for these menuitems, that is shown when I move the mousepointer over the menuitem? Here my example addons.xcu. ?xml version=1.0 encoding=UTF-8? oor:component-data

[dev] invoke a basic makro in a new (no-exclusive) thread

2006-11-22 Thread Christoph Lutz
Hi, it seems that running a basic macro using XScript.invoke(...) always starts the macro in a kind of syncronized block, that provides exclusive access to ThisComponent for the basic macro. In our Lettherhead system that is written in java, we have got an own event-queue that synchronizes the

Re: [dev] Re: How to create OOo Basic scripts via API

2006-11-18 Thread Christoph Lutz
Hi Matthias, On 11/17/06, Matthias B. [EMAIL PROTECTED] wrote: Thanks. I'm trying to do this from Java. I've checked the IDL docs and it seems that createLibrary() is provided by XStarBasicAccess, however the Use references of that interface are empty, so I have no idea what object/service

Re: [dev] is it possible to switch off auto-numbering via api for already opened documents

2006-11-16 Thread Christoph Lutz
Hi, Writing the configuration directly has no effect on already opened documents. Which entry did you change? in the node /org.openoffice.Office.Writer/AutoFunction/Format/ByInput/ApplyNumbering I set the property Enable to the new value Boolean.FALSE (in java). Does this setting have

Re: [dev] is it possible to switch off auto-numbering via api for already opened documents

2006-11-14 Thread Christoph Lutz
Hi, On 11/10/06, Mathias Bauer [EMAIL PROTECTED] wrote: Now I would like to know If I can switch off the autonumbering (Tools-AutoCorrect-Options/apply autonumbering) for an already opened document via api. Writing the configuration directly has no effect on already opened documents.

[dev] is it possible to switch off auto-numbering via api for already opened documents

2006-11-07 Thread Christoph Lutz
Hi, I just recently asked in another thread whether it is possible to set the option ShowHiddenChar for already opened textdocuments. The result was that setting this property via api is not possible at the moment (therefore I submitted a bugreport). Now I would like to know If I can switch off

Re: [dev] changing the OOo-Configuration via API has no effect during runtime

2006-11-06 Thread Christoph Lutz
Hi Matthias, Are you sure that it doesn't affect even new documents you create later? Then it would be a bug (Writer having a cached value that doesn't react on changes of the configuration) and you should create an issue. I checked this and it is a bug -- #71235 If it only doesn't affect

Re: [dev] changing the OOo-Configuration via API has no effect during runtime

2006-11-06 Thread Christoph Lutz
Hi, I don't know the API to change the corresponding setting at the document, sorry. Perhaps somebody else does. I will try to find how to change the view setting, but I still would be glad if somebody else could give me a hint. The Controller (ThisComponent.currentController) of the

Re: [dev] changing the OOo-Configuration via API has no effect during runtime

2006-11-06 Thread Christoph Lutz
Hi Frank, Hi Peter, thanks for your answers! I will try to find how to change the view setting, but I still would be glad if somebody else could give me a hint. viewsetting = thiscomponent.getCurrentController().getViewSettings() gives you the view settings. There is a ShowHiddenParagraphs

[dev] Re: how to show printerSetup-Dialog without Dispatches?

2006-10-27 Thread Christoph Lutz
is it possible to show the printerSetup-Dialog (File-Printer Setup...) using the api (and not the dispatch-framework)? just to add: I would like to use the dialog inside my code, so that I do not have to write a new own printSetup-Dialog (with the features of File-Printer Setup). When the

[dev] how to show printerSetup-Dialog without Dispatches?

2006-10-26 Thread Christoph Lutz
Hi, is it possible to show the printerSetup-Dialog (File-Printer Setup...) using the api (and not the dispatch-framework)? best regards, Christoph - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

Re: [dev] how to reduce memory usage of unopkg

2006-09-06 Thread Christoph Lutz
/libuno_sal.so.3 - ---Type return to continue, or q return to quit--- #13 0xa7a3ab63 in start_thread () from /lib/tls/libpthread.so.0 #14 0xa780a18a in clone () from /lib/tls/libc.so.6 ATB Christoph Lutz - To unsubscribe, e-mail

[dev] how to get TextField enclosed in a Bookmark in a cell of a TextTable

2006-07-28 Thread Christoph Lutz
Hi, I have got a TextField in a cell of a TextTable and the TextField is enclosed by a bookmark that should be used to access the TextField. How do I get access to the model of the TextField using the bookmark? Please note, that using a bookmark to access the model of the TextField works fine

Re: [dev] how to get TextField enclosed in a Bookmark in a cell of a TextTable

2006-07-28 Thread Christoph Lutz
Hi Oliver, thanks! this helped a lot! best Regards, Christoph - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

[dev] DocumentZoomType.PAGE_WIDTH_EXACT not accessible via UI

2006-07-27 Thread Christoph Lutz
Hi, ist there a special reason that DocumentZoomType.PAGE_WIDTH_EXACT is not accessible via the View-Zoom Dialog, or is this feature just not jet implemented? I only need to know whether PAGE_WIDTH_EXACT works correct when setting the ZoomType-Property via the API or it is not recommended to be

Re: [dev] Set default posSize for new created Windows

2006-07-18 Thread Christoph Lutz
Hi Carsten, On 7/14/06, Carsten Driesner [EMAIL PROTECTED] wrote: You can see that the configuration set Factories contains nodes for every appplication module, in the example com.sun.star.frame.StartModule and com.sun.star.text.TextDocument. The property called ooSetupFactoryWindowAttributes

Re: [dev] Set default posSize for new created Windows

2006-07-14 Thread Christoph Lutz
Hi Carsten, thanks for the detailed explanation! I will have a try and give you feedback if this worked! You can see that the configuration set Factories contains nodes for every appplication module, in the example com.sun.star.frame.StartModule and com.sun.star.text.TextDocument. The property

[dev] scrolling to a textRange without using the viewCursor possible?

2006-06-20 Thread Christoph Lutz
Hi, I want my document-view to scroll to a specific TextRange in the same way the document-view does when the ViewCursor is moved to this TextRange. This means for example if my current view shows page one and my textRange is at the bottom of page two, after the scrolling, the view shows the

Re: [dev] suppress popup of InputFields when opening a template

2006-06-01 Thread Christoph Lutz
called AFTER the automatic popup of inputFields. I am asking the above question, because I want my code to run without the automatic popup. Hope this helped to understand my point best regards, Christoph Lutz

Re: [dev] suppress popup of InputFields when opening a template

2006-05-29 Thread Christoph Lutz
Hi Mathias, On 5/25/06, Mathias Bauer [EMAIL PROTECTED] wrote: is there a way to suppress the popup of InputFields when I open a template that contains InputFields? I'm searching for a global configuration-option for OOo or even better for a way to place some kind of DONT POPUP-Flag into

[dev] delete the next charakter on cursor-position - join paragraphs

2006-05-03 Thread Christoph Lutz
Hi, I have got a simple collapsed TextCursor and I would like to delete the next charakter in a programmatic way without using the dispatch-framework(!). The function should behave exakt like pressing the DEL-Key in a writer-document. To do that, I tried the following basic code: REM the cursor

Re: [dev] Dynamic menus: with Java (Problem)

2005-12-09 Thread Christoph Lutz
Hi Carsten, sorry for the late answer, I was very busy during the last weeks... 2005/11/17, Carsten Driesner [EMAIL PROTECTED]: Please look at the following example in Basic. It uses the function CreatePopupMenu to create a new popup menu. The line of interest uses the factory (the

Re: [dev] Dynamic menus: with Java (Problem)

2005-11-17 Thread Christoph Lutz
Hi Carsten, thank you for answering the question of Andrej who is a colleague of mine. I am continuing the work with Andrej's code. I looked over your example and I am not sure what you want to do. Can you please explain what do you want to achieve? Create a new top-level menu or do you want

Re: [dev] selected text from the textdocument

2005-11-04 Thread Christoph Lutz
Hi, 2005/11/4, S Sridhar [EMAIL PROTECTED]: How to get the selected text from the TextDocument. Is there any way to get the selected text from all the components of the TextDocuments like TextTables Drawings and others? also how to identify where the selected component is ? like is the

Re: [dev] disable gui-interaction temporary for modal JFrame-dialog

2005-10-31 Thread Christoph Lutz
Hi Mathias, I know that someone successfully used a trick to achieve modality: when her started his Java dialog he created a 1 pixel sized modal dialog with the OOo toolkit with the current OOo window as parent and moved it to the upper left corner of the screen. This will create the desired

Re: [dev] Buggy insertDocumentFromURL

2005-10-31 Thread Christoph Lutz
Hi Mathias, I currently have no idea why you don't get the error message from Java. OTOH I think that the error message in an API call is a bug, so the behavior in Java is correct, why ever. A message box shouldn't be shown if no InteractionHandler set set. thats right, but OTOH a unresolved

Re: [dev] Buggy insertDocumentFromURL

2005-10-28 Thread Christoph Lutz
Hi Christian, 2005/10/27, Christian Junker [EMAIL PROTECTED]: I tested all the small examples on Mac OS X with OOo 2.0 using Starbasic and I can only reproduce Bug 1 (it's probably not a bug here). Bug 2: That's also my experience using Starbasic. In Starbasic the insertDocumentFromURL throws

[dev] disable gui-interaction temporary for modal JFrame-dialog

2005-10-27 Thread Christoph Lutz
Hi, in my own uno-component I use a JFrame-based dialog which I want to be modal. Therefore I want to lock the user-interaction (all gui-events?) on all background UNO-Frames temporary. How can I do that? ...I know that I can create a modal dialog using the com.sun.star.awt.Toolkit, but I don't

[dev] Buggy insertDocumentFromURL

2005-10-27 Thread Christoph Lutz
Hi, in the following example-code I found some bugs in the XDocumentInsertable.insertDocumentFromURL() method. Can you confirm these bugs, so I can report an issue? Are there known workarounds? import com.sun.star.beans.PropertyValue; import com.sun.star.comp.helper.Bootstrap; import

[dev] static classes in scripting framework / persistent data

2005-06-16 Thread Christoph Lutz
? best regards, Christoph Lutz __ Mit WEB.DE FreePhone mit hoechster Qualitaet ab 0 Ct./Min. weltweit telefonieren! http://freephone.web.de/?mc=021201 - To unsubscribe, e-mail