[dev] Re: SDBC

2011-03-01 Thread Peter Eberlein
Hi, Am 01.03.2011 06:51, schrieb Ocke Janssen: Hello Rohit, On 22.02.2011 16:16, Rohit Kulkarni wrote: Hello, We are students studying in Pune University. We are group of 3 students. We are developing the SDBC driver for LDAP directories. We are using OpenOffice 3.2.1 source code for this (

Re: [dev] Re: API to clone a row in a writer's table - ViewCursor positioning

2011-01-04 Thread Peter Eberlein
Hi Sandro, I tried it without a XTextViewCursor. Don't know, if the XSelection interface is supported in headless mode, if no, then maybe someone of the writer team has an idea. I didn't find a way to span a XTextRange over more then one cell to get the selection at a whole, so try the

Re: [dev] API to clone a row in a writer's table

2011-01-03 Thread Peter Eberlein
Hi Sandro Am 03.01.2011 12:16, schrieb Sandro: Hi, I'm writing to the dev list after spending many days trying hard to understand the best way and asking in user lists and forums. I really hope someone can help me or point me in the correct direction/reading. I need to programmatically

Re: [dev] Copy text table between docs?

2010-02-19 Thread Peter Eberlein
Hi j, Am 19.02.2010 15:52, schrieb j philoon: Can someone show me how to programatically copy a text table from one document to a different document? The reason I ask is that I want to use the text table format/structure of the source template to define a new table in the destination document.

Re: [dev] How to find table given range

2010-02-18 Thread Peter Eberlein
Hi j, Am 17.02.2010 21:53, schrieb j philoon: I need to navigate to the next table after or coinciding with a certain bookmark in a MS Word doc. Ideally I would like to determine that the range of the bookmark and a table intersect, but if I can get to a bookmark and then navigate forward to

Re: [dev] Making Jdialog Modal in Java Extension

2009-04-30 Thread Peter Eberlein
Hi Dinesh, Am 30.04.2009 12:03, schrieb Dinesh Chothe: Hii Marcin, thanks a lot. In our case its not a simple swing dialog, we are providing one JFrame dialog which consists of radioButtons,check-Boxes,some buttons etc. By using this

Re: [dev] OOo BASIC Calc extension - sheet functions in library other than Standard - how ?

2009-03-17 Thread Peter Eberlein
Hi, Jan Holst Jensen schrieb: Ariel Constenla-Haile wrote: Hello Jan, On Sunday 15 March 2009, 21:15, Jan Holst Jensen wrote: I can add OOo Basic functions to the Standard library and use those as sheet functions without problems. Now, when I want to deploy the functions packaged as an

Re: [dev] OOo BASIC Calc extension - sheet functions in library other than Standard - how ?

2009-03-17 Thread Peter Eberlein
Jan Holst Jensen schrieb: Peter Eberlein wrote: no, you cannot add functions to the Standard library using an extension. You'll have to develop an Add-in (in C++, Java or Python). if issue http://qa.openoffice.org/issues/show_bug.cgi?id=53615 (allow other libraries) is solved, things

Re: [dev] no-break space in user fields

2009-03-12 Thread Peter Eberlein
Hi Martin, Martin Dvořák schrieb: Hi, I've noticed that OOo Writer treats no-break space in text values of user fields like normal space, i.e. it does wrap at it. Is there some particular reason for this behavior? How would one prevent text wrapping between two words in user field text?

Re: [dev] Sections and appending documents

2009-03-04 Thread Peter Eberlein
Hi, inserting Sections: http://wiki.services.openoffice.org/wiki/Documentation/DevGuide/Text/Text_Sections inserting Documents at a cursors position: http://wiki.services.openoffice.org/wiki/Documentation/DevGuide/Text/Inserting_Text_Files Please be aware that instead of using a file-URL you can

Re: [dev] Sections and appending documents

2009-03-04 Thread Peter Eberlein
Grover Blue schrieb: I found examples of inserting via a file, but I'm confused on how I would go from a XTextDocument to an input stream. I guess I'd need to use an XInputStream object (assuming that is the interface I want to use when passing the InputStream property to XDocumentInsertable),

Re: [dev] Saving Documents

2008-04-04 Thread Peter Eberlein
Hi yaungmin, yaungmin schrieb: Hi Mikhail, I did not get any exception when I tried to save the document. As you can see in the saveDocument method, I was basically able to load a document and save it as another document with a different name. All I am trying to do is like say, I have an

Re: [dev] Could I use the property Help of css.text.TextField.Input to store additional metadata

2007-11-30 Thread Peter Eberlein
Mathias Bauer schrieb: Peter Eberlein wrote: Mathias Bauer schrieb: Christoph Lutz wrote: snip OOo3.0 hopefully will support ODF 1.2 meta data. I don't remember exactly what this Help property is about. IIRC it's a popup help text that is displayed when the user moves the mouse cursor

[dev] QuickLauncher: how to configure

2007-11-19 Thread Peter Eberlein
Hi, we intercepted the open/save commands because of restricted access to the file system (documents are stored in a database). Is there a way to configure the context menu of the QuickStarter and if not: how do I deactivate it in the OptionsDialog.xcu without hiding the whole Memory page?

Re: [dev] QuickLauncher: how to configure

2007-11-19 Thread Peter Eberlein
Hi Mathias, Mathias Bauer schrieb: Peter Eberlein wrote: Or can it be started without appearing in the Systray? What is the point in having the QuickLauncher running but not being visible? You can achieve the same result (faster start of the first Office instance called by the user

Re: [dev] Security: how to avoid to pop up the Basic IDE?

2007-11-19 Thread Peter Eberlein
Hi Mathias, Mathias Bauer schrieb: Peter Eberlein wrote: Macro security is about macro execution, not about availability of the BasicIDE. And that's the point. You cannot forbid the execution of internal non-document-bound macros with the security settings. Regards Peter

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

2007-09-21 Thread Peter Eberlein
Hi Christoph, Christoph Lutz schrieb: 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?

Re: [dev] Read-only textfield

2007-09-05 Thread Peter Eberlein
Hi Juan, Juan Emilio Gabito schrieb: I've done that already, but the thing is that the protected section takes the whole line or paragraph, and I just want the text field, cause the text that it's next to it it's not going to be read realonly. Perhaps you should try the

Re: AW: [dev] Re: Disable automatic field updating

2007-08-16 Thread Peter Eberlein
Thullner, Robert schrieb: I just saw, that the attachment was blocked by the list. How can I provide you a sample document? As Mathias said, please file an issue (and put the number to this thread please). http://qa.openoffice.org/issue_handling/pre_submission.html Regards Peter

Re: [dev] Disable automatic field updating

2007-08-13 Thread Peter Eberlein
Hi Robert, Thullner, Robert schrieb: Hello So my question is, if there is a way to disable the auto updating function, using Java and the OOo API? Perhaps take a look at http://api.openoffice.org/docs/common/ref/com/sun/star/document/UpdateDocMode.html Peter

Re: [dev] How to get singleton in OOo Basic?

2007-07-03 Thread Peter Eberlein
Hi Matthias, Matthias B. schrieb: I want to convert a Java program that causes OOo to crash into Basic to make it easier to reproduce for filing a bug report. Can someone tell me how to get /singletons/com.sun.star.script.browse.theBrowseNodeFactory in OOo Basic? In Java I get it via

Re: [dev] OpenOffice SDK

2006-12-05 Thread Peter Eberlein
Hi Dyego, Dyego Souza Dantas Leal schrieb: The com.sun.star.beans.XPropertyContainer add variable as a TEXT in document ? ex MY_VARIABLE or a property in document to view in propertys window ? Not as text, it's an additional property, not visible by the user. Please take a look at the service

Re: [dev] Loading an unregistered CSV-database in OOo-Basic

2006-11-13 Thread Peter Eberlein
Hi Daniel, Daniel Albuschat schrieb: Hello, my goal is to load an unregistered CSV-database in an OOo-Basic script, but so far I failed with my attempts. According to the AndrewBase.odt document, Listings 29 and 30, it should be easily possible to load a database without registering it

Re: [dev] Loading an unregistered CSV-database in OOo-Basic

2006-11-13 Thread Peter Eberlein
Peter Eberlein schrieb: Hi Daniel, Daniel Albuschat schrieb: Hello, Here's the script-snippet: Service = createUnoService(com.sun.star.sdb.DatabaseContext) you have to use the com.sun.star.sdbc.DriverManager for those purposes. In the Dev-Guide you will found how to connect with flat

Re: [dev] Loading an unregistered CSV-database in OOo-Basic

2006-11-13 Thread Peter Eberlein
Daniel Albuschat schrieb: I'm very sorry I have to ask another -- this time more stupid -- question :-) A CSV-files has no tables, so how do I create an SQL-statement to select from? Or - what's the way to iterate thru the datasets, if not using createStatement/ executeQuery? Of course you

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

2006-11-06 Thread Peter Eberlein
Hi Christoph, Christoph Lutz schrieb: Hi, So I would expect an option like ShowHiddenCharacters, in the ViewSettings, but there is no such option. I can remember that the support of HiddenCharacters is a feature that is much younger than other features in ViewSettings. So could it be that

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

2006-11-06 Thread Peter Eberlein
Peter Eberlein schrieb: Hi Christoph, There are some single properties, e.g. ShowBreaks, ShowParaBreaks, ShowSpaces you can turn on or off. There is no one for all property. Sorry, misunderstood, Frank has answered it yet. Peter

[dev] Broken Links in Deleveloper News

2006-09-11 Thread Peter Eberlein
Hi, EIS is subscribed at http://planet.go-ooo.org/ It seems, that the URL's refer to internal pages (http://so-web.germany.sun.com/). Is there a chance to restore the old behavior? Regards Peter - To unsubscribe, e-mail:

Re: [dev] Changing the default Java for OOo from command line

2006-06-08 Thread Peter Eberlein
Hi Tobias, http://en.wikipedia.org/wiki/Sed Regards Peter Tobias Krais schrieb: Hi Tom, Well if you are on linux a simple sed command could change the used JDK or am I missing something. This could surely done also on win32 but I have no idea on win32-scripting. The information is stored on

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

2006-06-02 Thread Peter Eberlein
Hi Christoph, Christoph Lutz schrieb: Hi Mathias, is there a way to suppress the popup of InputFields when I open a template that contains InputFields? No. If a document or a template is opened via UI all dialogs are allowed by default. Suppressing them needs dispatch interception but

Re: [dev] Encrypted Basic modules can't be modified?

2005-12-13 Thread PETER EBERLEIN
Hi Jürgen, thx for the fast answer, Peter Jürgen Schmidt schrieb: Hi Peter, Peter Eberlein wrote: Hi, can somebody reproduce the three following bugs: 1. Create a new basic library and encrypt it with a password. 2. Close the office and restart it. 3. Modify the macro in your encrypted

[dev] Encrypted Basic modules can't be modified?

2005-12-12 Thread Peter Eberlein
Hi, can somebody reproduce the three following bugs: 1. Create a new basic library and encrypt it with a password. 2. Close the office and restart it. 3. Modify the macro in your encrypted module, push the save-button and close the office. 4. Restart the office. Changes are not saved. It

Re: [dev] Bug? Creating document based on template locks template file

2005-09-15 Thread Peter Eberlein
Hi Matthias, I can confirm this (for m125 and Windows), you should file an issue. It's a rc-stopper too, I think. Peter Matthias Benkmann schrieb: I've noticed that when I create a document based on a template (e.g. double-click the .ott file which creates a new Untitled1 document) the

[dev] Options-Dialog, MacroSecurityLevel 3 , subfolders and http://

2005-09-05 Thread Peter Eberlein
Hi, adding http://MyServer/* and/or file:///v:/* to the string list of the SecureURL in the common.xcu seems not to work. Most of our templates reside on dozens of subfolders on our http-server. Is there a way to work with subfolders on the highest security level? Regards Peter

Re: [dev] starbasic strcmp function

2005-08-29 Thread Peter Eberlein
Hi Sven, So where did you find the info on the StarBasic runtime functions? F1 in the Basic IDE is your friend here... Regards, Peter - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: [dev] Basic Libraries and security

2005-08-22 Thread Peter Eberlein
Christian Junker schrieb: Hi Peter, you're right, there seems to be no way to call a macro that is not located in the Standard library, even if that library has been loaded. I could reproduce this behavior with src680_m121 . I propose you file a report at Issuezilla, thanks. Done, #53615

Re: [dev] Basic Libraries and security

2005-08-19 Thread Peter Eberlein
Hi Eike, Eike Rathke schrieb: Hi Peter, On Wed, Aug 17, 2005 at 14:36:28 +0200, Peter Eberlein wrote: Type a three line function MyFunction() in any module of the Standard library. Open a calc document and type the function in a cell. You will get as result the return of the function. Now

Re: [dev] Basic Libraries and security

2005-08-17 Thread Peter Eberlein
Hi Christian, Christian Junker schrieb: Hi Peter, actually I am not sure about your statement: I've written some global macros as calc functions, and calc functions must be located in the standard library. Where did you get to hear that and what are the services and interfaces you use? I have

Re: [dev] Basic Libraries and security

2005-08-16 Thread Peter Eberlein
Hi Mathias, Did you try to change the path for Basic in the share/.../Common.xcu (remove user part) *before* you create any user directory (doing this afterwards seems to confuse OOo)? I didn't test if this works but you could give this a try. I gave it a try, but it did'nt work. Per

Re: [dev] Basic Libraries and security

2005-08-15 Thread Peter Eberlein
Hi Andrew, Andrew Douglas Pitonyak schrieb: Peter Eberlein wrote: Hi, is there a way to move the standard library from the userprofile to the shared folder? The reason (please correct me, if I'm wrong): I've written some global macros as calc functions, and calc functions must be located

[dev] Basic Libraries and security

2005-08-12 Thread Peter Eberlein
Hi, is there a way to move the standard library from the userprofile to the shared folder? The reason (please correct me, if I'm wrong): I've written some global macros as calc functions, and calc functions must be located in the standard library. But I want to encrypt the code or make it

Re: [dev] How to integrate Javamail for MailMerge.

2005-05-26 Thread Peter Eberlein
Hi Roderick, you can install the javamail correctly, but you can't use it. Even if you copy the files from the staroffice 8 Beta (email.jar and *.xcu IIRC) to your OpenOffice, it will not work as long as SUN blocks. Please take a look at the issues 44253 and 11244, Regards Peter G.