[api-dev] Typo in the Developer´s Guide?

2006-12-27 Thread Fabricio Lemos
In some places, the Developers guide, more specifically on section 7.3.5, named the service attached to a DataBaseTextField as com.sun.star.text.FieldMaster.Database. It does not correspond to the value returned when you get the FieldMaster, which returns com.sun.star.text.FieldMaster.DataBase,

[api-dev] Change the value of a DataBase TextField

2006-12-04 Thread Fabricio Lemos
Hi, I want to change the value of a collection of textfields. When the textfield is a User TextField, it works ok, but when it is a DataBase TextField I cannot obtain the field, even thought the field exists. How can I obtain a DataBase TextField of a document? Here is the code that I used: //

Re: [api-dev] Change the value of a DataBase TextField

2006-12-04 Thread Fabricio Lemos
, it returns false. On 12/4/06, Cor Nouws [EMAIL PROTECTED] wrote: Hi Fabricio, Fabricio Lemos wrote: I want to change the value of a collection of textfields. When the textfield is a User TextField, it works ok, but when it is a DataBase TextField I cannot obtain the field, even thought

[api-dev] Not editable TextField

2006-06-26 Thread Fabricio Lemos
Is there anyway to prevent a textfield from being edited? Is there a property or a listener for this kind of thing? thanks in advance, Fabrício Lemos - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

Re: [api-dev] Macro: revert changes.

2005-12-15 Thread Fabricio Lemos
the file is and the server get the file via java applet. 6. On the server side, I need to know how long the document stayed open. All transfer operations, between server and user, is done via http. On 12/15/05, Mathias Bauer [EMAIL PROTECTED] wrote: Fabricio Lemos wrote: I see. The best idea I

Re: [api-dev] Macro: revert changes.

2005-12-15 Thread Fabricio Lemos
the application would notice that the document was closed and load it in hidden mode. If there were a macro that re-open a document after it was closed, would solve this :) On 12/15/05, Mathias Bauer [EMAIL PROTECTED] wrote: Fabricio Lemos wrote: Here is the scenario for my application: 1. The user

Re: [api-dev] Macro: revert changes.

2005-12-14 Thread Fabricio Lemos
need to revert unsaved changes, update the user-field with the editing time information and save the document. Is there anyway to do that (with or without reloading the document)? On 12/13/05, Mathias Bauer [EMAIL PROTECTED] wrote: Fabricio Lemos wrote: Hello all, Is there anyway, with macros

Re: [api-dev] Macro: revert changes.

2005-12-14 Thread Fabricio Lemos
being edited. On 12/14/05, Mathias Bauer [EMAIL PROTECTED] wrote: Fabricio Lemos wrote: All I need to do is, given a document file to the user, know how long it kept the document open before he returned it to the server. To prenvent the user from dealing all the time with 2 files, I

Re: [api-dev] Macro: revert changes.

2005-12-14 Thread Fabricio Lemos
... On 12/14/05, Mathias Bauer [EMAIL PROTECTED] wrote: Fabricio Lemos wrote: Why don't you update the editing time when the document is stored by the user instead of waiting until he closes the document? In this case the correct time gets stored along with all the changes the user wants

[api-dev] Macro: revert changes.

2005-12-13 Thread Fabricio Lemos
Hello all, Is there anyway, with macros, to revert all changes made in a document since last time it was saved, without reloading it? thanks in advance, Fabrício Lemos - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: [api-dev] IsFieldDisplayed property

2005-11-28 Thread Fabricio Lemos
Is 2.0.1 version released? If so, where can I find it? thanks in advance... Fabrício Lemos On 11/1/05, Fabricio Lemos [EMAIL PROTECTED] wrote: Ok then. I just got lost because I saw the property at the api specification at [1], that doesn´t mention the 2.0.1 version; According to [2] , 2.0.1

Re: [api-dev] Incomplete stack trace

2005-11-08 Thread Fabricio Lemos
Yes I was. Just changed to 2.0.0 and it´s ok now. Thank you, Stephan. On 11/8/05, Stephan Bergmann [EMAIL PROTECTED] wrote: Fabricio Lemos wrote: Why doesn´t the stack trace of exceptions thrown by the api indicate which line of code that called the api method that threw the exception

Re: [api-dev] IsFieldDisplayed property

2005-11-01 Thread Fabricio Lemos
Ok then. I just got lost because I saw the property at the api specification at [1], that doesn´t mention the 2.0.1 version; According to [2] , 2.0.1 will be released on November, 28th. I think I can wait :) Thank you a lot Stephan :) [1]

[api-dev] IsFieldDisplayed property

2005-10-31 Thread Fabricio Lemos
Hello! How can I access the value of the IsFieldDisplayed property of a com.sun.star.text.TextField? It would be very nice if the XTextField interface had the isFieldDisplayed method. thanks in advance, Fabrício Lemos - To

Re: [api-dev] IsFieldDisplayed property

2005-10-31 Thread Fabricio Lemos
I tried that. The only properties that appeared were: AnchorType AnchorTypes IsFixedLanguage IsShowFormula IsVisible NumberFormat TextWrap On 10/31/05, Stephan Wunderlich - Sun Germany - ham02 - Hamburg [EMAIL PROTECTED] wrote: Hi Fabricio, How can I access the value of the IsFieldDisplayed

Re: [api-dev] Hiding a textField throught the API

2005-08-30 Thread Fabricio Lemos
Thank you again Stephan. Now it´s doing what I want. Just for curiosity and future needs: is there any reference where IsVisible property is specified for textfields? Did not find anything in the Developer's Guide (v1.1 from December 2003) and in the api specification (sdk v1.1). In the

Re: [api-dev] Hiding a textField throught the API

2005-08-29 Thread Fabricio Lemos
Worked just fine. Thank you, Stephan. But, in my application, I need to hide a textfield that has a given name. How would be the code for that? On 8/29/05, Stephan Wunderlich - Sun Germany - ham02 - Hamburg [EMAIL PROTECTED] wrote: Hi Fabricio, How can I hide a document text field using the