On Jun 15, 2011, at 2:35 AM, Bernard Marcelly wrote:
> Hi,
>
> Message de Hal Vaughan date 2011-06-15 07:23 :
>>
>> While looking through the reference, I can find info on getting and storing
>> text fields in a document in com.sun.star.text.FieldMaster.User, where I can
>> name a text field and save the data.
>>
>> I don't find anything telling me if there is a limit to how long such a
>> field can be. I think I remember them being unlimited. Is that correct?
>> (I want to use them for storing notes about a document.)
>>
> You store the text as a String into property Content of the service
> com.sun.star.text.fieldmaster.User.
> In Basic a String is limited to 65536 characters.
Thanks -- that's certainly a workable limit! It's likely to never be reached,
but since it is a limit, it's worth noting it when I document this for others.
Hal--
-
To unsubscribe send email to dev-unsubscr...@api.openoffice.org
For additional commands send email to sy...@api.openoffice.org
with Subject: help