Re: Document Text Fields
Hal Vaughan <[email protected]> Wed, 15 Jun 2011 03:12:21 -0400
| Newsgroups | gmane.comp.openoffice.devel.api |
|---|---|
| Message-ID | <[email protected]> |
On Jun 15, 2011, at 2:35 AM, Bernard Marcelly wrote: > Hi, >=20 > Message de Hal Vaughan date 2011-06-15 07:23 : >>=20 >> While looking through the reference, I can find info on getting and stor= ing text fields in a document in com.sun.star.text.FieldMaster.User, where = I can name a text field and save the data. >>=20 >> 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.) >>=20 > You store the text as a String into property Content of the service com.s= un.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 reach= ed, but since it is a limit, it's worth noting it when I document this for = others. Hal--=20 ----------------------------------------------------------------- To unsubscribe send email to [email protected] For additional commands send email to [email protected] with Subject: help