Am 01/19/10 14:22, Abhishek_ schrieb:
Hi Everyone,

I see following property supported by com.sun.star.text.XTextField

        TextUserDefinedAttributes =
Any[Type[com.sun.star.container.XNameContainer],
com.sun.star.bridges.jni_uno.jni_pr...@1b5a5cf
[oid=13c95f3c;msci[0];36c0424ef45c46afbba5de7ad1284ff,
type=com.sun.star.container.XNameContainer]]

And the XDependentTextField supports the following properties:
       AnchorType = com.sun.star.text.textcontentanchort...@c8570c
       AnchorTypes = [Lcom.sun.star.text.TextContentAnchorType;@caf0ed
       IsFieldDisplayed = false
       IsFieldUsed = false
       IsFixedLanguage = true
       IsShowFormula = false
       IsVisible = false
       NumberFormat = 0
       TextWrap = com.sun.star.text.wraptextm...@146b6db

Now i have a few questions related to this!

Isn't XDependentTextField a type of XTextField ? Can't we set "TextUserDefinedattributes" on a XDependendentTextField ? (This
is what i want to achieve)

Hi,
XDependentTextField inherits from XTextField as you can see here:
http://svn.services.openoffice.org/opengrok/xref/DEV300_m69/offapi/com/sun/star/text/XDependentTextField.idl#55

None if the fields supports the (Text)UserDefinedAttributes property.

Regards,
Oliver

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org

Reply via email to