Language:

The Free and Open Productivity Suite
Apache OpenOffice 4.1.4 released

Developer's Guide

API

SDK

Tips 'n' Tricks

Miscellaneous


:: com :: sun :: star :: text :: textfield ::

service ConditionalText
Description
specifies service of a conditional text field.
See also
::com::sun::star::text::TextField

Included Services - Summary
::com::sun::star::text::TextField
(referenced entity's summary:)
A ::com::sun::star::text::TextField is a ::com::sun::star::text::TextContent which fades its textual representation into the text range to which it is anchored.
Properties' Summary
string
TrueContent
contains the text that is displayed if the condition evaluates to true.  
string
FalseContent
contains the text that is displayed if the condition evaluates to false.  
string
Condition
contains the condition.  
boolean
IsConditionTrue
contains the result of the last evaluation of the condition.  
string
CurrentPresentation
[ OPTIONAL ]
contains the current content of the text field.  
Included Services - Details
::com::sun::star::text::TextField
(referenced entity's summary:)
A ::com::sun::star::text::TextField is a ::com::sun::star::text::TextContent which fades its textual representation into the text range to which it is anchored.
Properties' Details
TrueContent
string TrueContent;
Description
contains the text that is displayed if the condition evaluates to true.
FalseContent
string FalseContent;
Description
contains the text that is displayed if the condition evaluates to false.
Condition
string Condition;
Description
contains the condition.
IsConditionTrue
boolean IsConditionTrue;
Description
contains the result of the last evaluation of the condition.

This property has to be read/written in file export/import to save and restore the result without initiation of a new evaluation.

CurrentPresentation
string CurrentPresentation;
Usage Restrictions
optional
Description
contains the current content of the text field.

This property is escpecially usefull for import/export purposes.


 
Top of Page

Apache Software Foundation

Copyright & License | Privacy | Contact Us | Donate | Thanks

Apache and the Apache feather logo are trademarks of The Apache Software Foundation. OpenOffice, OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.