Re: Document Text Fields

Bernard Marcelly <[email protected]> Wed, 15 Jun 2011 08:35:35 +0200
Newsgroups gmane.comp.openoffice.devel.api
Message-ID <[email protected]>
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.

    Bernard

-- 
-----------------------------------------------------------------
To unsubscribe send email to [email protected]
For additional commands send email to [email protected]
with Subject: help