Language

The Free and Open Productivity Suite
Released: Apache OpenOffice 4.1.15

API

SDK

Tips ‘n’ Tricks

Miscellaneous


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

service TextSection
Description
A TextSection is a range of complete paragraphs within a text.

The content of the section may be the content of a link into another document, a link from the same document, or the result of a DDE operation.

TextSection instances can be linked from and to other texts.

Developers Guide
Text - Text Sections

Included Services - Summary
TextContent
(referenced entity's summary:)
is an object which can be anchored in a text, like instances of TextFrame or TextField.
::com::sun::star::xml::UserDefinedAttributesSupplier
Exported Interfaces - Summary
XTextSection
(referenced entity's summary:)
provide special data of a TextSection.
::com::sun::star::container::XNamed
(referenced entity's summary:)
specifies the name of the object.
::com::sun::star::beans::XPropertySet
(referenced entity's summary:)
provides information about and access to the properties from an implementation.
::com::sun::star::beans::XPropertyState
(referenced entity's summary:)
makes it possible to query information about the state of one or more properties.
Properties' Summary
string
Condition
This property contains a conditional expression.  
boolean
IsVisible
If this property is false, the text section is hidden.  
boolean
IsProtected
If this property is true, the text section is protected and cannot be modified from the user interface.  
SectionFileLink
FileLink
If this property is set, then the content of the section is read from the specified document.  
string
LinkRegion
specifies the source of a file link in the document that is specified in TextSection::FileLink.  
string
DDECommandType
specifies the type of the command string for a DDE operation.  
string
DDECommandFile
specifies the source file name of the command string for a DDE operation.  
string
DDECommandElement
specifies the source element of the command string for a DDE operation.  
string
BackGraphicURL
contains the URL for the background graphic.  
string
BackGraphicFilter
contains the name of the file filter for the background graphic.  
::com::sun::star::style::GraphicLocation
BackGraphicLocation
determines the position of the background graphic.  
boolean
FootnoteIsCollectAtTextEnd
determins whether footnotes inside the section are displayed at the end of the section text.  
boolean
FootnoteIsRestartNumbering
determins whether the footnotes numbering restarts within the section. This is only valid if FootnoteIsRestartNumbering is set.  
short
FootnoteRestartNumberingAt
determins at which number the footnote numbering inside of the section starts. This is only valid if FootnoteIsRestartNumbering is set.  
boolean
FootnoteIsOwnNumbering
determins whether the footnotes within the section use an own numbering format. This is only valid if FootnoteIsRestartNumbering is set.  
short
FootnoteNumberingType
determins the numbering type of the footnote numbering as a value of ::com::sun::star::style::NumberingType. This is only valid if FootnoteIsOwnNumbering is set.  
string
FootnoteNumberingPrefix
determins the prefix that is display before the footnote number. This is only valid if FootnoteIsOwnNumbering is set.  
string
FootnoteNumberingSuffix
determins the suffix that is display after of the footnote number. This is only valid if FootnoteIsOwnNumbering is set.  
boolean
EndnoteIsCollectAtTextEnd
determins whether endnotes inside the section are displayed at the end of the section text.  
boolean
EndnoteIsRestartNumbering
determins whether the endnotes numbering restarts within the section. This is only valid if EndnoteIsRestartNumbering is set.  
short
EndnoteRestartNumberingAt
determins at which number the endnote numbering inside of the section starts. This is only valid if EndnoteIsRestartNumbering is set.  
boolean
EndnoteIsOwnNumbering
determins whether the endnotes within the section use an own numbering format. This is only valid if EndnoteIsRestartNumbering is set.  
short
EndnoteNumberingType
determins the numbering type of the endnote numbering as a value of ::com::sun::star::style::NumberingType. This is only valid if EndoteIsOwnNumbering is set.  
string
EndnoteNumberingPrefix
determins the prefix that is display before the endnote number. This is only valid if EndnoteIsOwnNumbering is set.  
string
EndnoteNumberingSuffix
determins the suffix that is display after the endnote number. This is only valid if EndnoteIsOwnNumbering is set.  
boolean
IsAutomaticUpdate
determins if a DDE link is updated automatically.  
XTextColumns
TextColumns
allows columns to be set into the text section  
long
SectionLeftMargin
[ OPTIONAL ]
determins the left margin of the section  
long
SectionRightMargin
[ OPTIONAL ]
determins the left margin of the section  
Included Services - Details
TextContent
(referenced entity's summary:)
is an object which can be anchored in a text, like instances of TextFrame or TextField.
::com::sun::star::xml::UserDefinedAttributesSupplier
Usage Restrictions
optional
Exported Interfaces - Details
XTextSection
(referenced entity's summary:)
provide special data of a TextSection.
::com::sun::star::container::XNamed
(referenced entity's summary:)
specifies the name of the object.
::com::sun::star::beans::XPropertySet
(referenced entity's summary:)
provides information about and access to the properties from an implementation.
::com::sun::star::beans::XPropertyState
(referenced entity's summary:)
makes it possible to query information about the state of one or more properties.
Properties' Details
Condition
string Condition;
Description
This property contains a conditional expression.

If the result of the conditional expression is true and the property TextSection::IsVisible is false, then the section is hidden.

IsVisible
boolean IsVisible;
Description
If this property is false, the text section is hidden.
IsProtected
boolean IsProtected;
Description
If this property is true, the text section is protected and cannot be modified from the user interface.
FileLink
SectionFileLink FileLink;
Description
If this property is set, then the content of the section is read from the specified document.
LinkRegion
string LinkRegion;
Description
specifies the source of a file link in the document that is specified in TextSection::FileLink.

The source may be a text section or a bookmark. If TextSection::FileLink is empty, then the current document is searched for the source. If this property is empty and TextSection::FileLink is set, then the complete document content is linked into this section.

DDECommandType
string DDECommandType;
Description
specifies the type of the command string for a DDE operation.

The type can be the name of the application that provides a DDE source.

DDECommandFile
string DDECommandFile;
Description
specifies the source file name of the command string for a DDE operation.
DDECommandElement
string DDECommandElement;
Description
specifies the source element of the command string for a DDE operation.

The element can be i.e. a name of a cell in a sheet or a bookmark.

BackGraphicURL
string BackGraphicURL;
Description
contains the URL for the background graphic.
BackGraphicFilter
string BackGraphicFilter;
Description
contains the name of the file filter for the background graphic.
BackGraphicLocation
::com::sun::star::style::GraphicLocation BackGraphicLocation;
Description
determines the position of the background graphic.
See also
GraphicLocation
FootnoteIsCollectAtTextEnd
boolean FootnoteIsCollectAtTextEnd;
Description
determins whether footnotes inside the section are displayed at the end of the section text.
FootnoteIsRestartNumbering
boolean FootnoteIsRestartNumbering;
Description
determins whether the footnotes numbering restarts within the section. This is only valid if FootnoteIsRestartNumbering is set.
FootnoteRestartNumberingAt
short FootnoteRestartNumberingAt;
Description
determins at which number the footnote numbering inside of the section starts. This is only valid if FootnoteIsRestartNumbering is set.
FootnoteIsOwnNumbering
boolean FootnoteIsOwnNumbering;
Description
determins whether the footnotes within the section use an own numbering format. This is only valid if FootnoteIsRestartNumbering is set.
FootnoteNumberingType
short FootnoteNumberingType;
Description
determins the numbering type of the footnote numbering as a value of ::com::sun::star::style::NumberingType. This is only valid if FootnoteIsOwnNumbering is set.
FootnoteNumberingPrefix
string FootnoteNumberingPrefix;
Description
determins the prefix that is display before the footnote number. This is only valid if FootnoteIsOwnNumbering is set.
FootnoteNumberingSuffix
string FootnoteNumberingSuffix;
Description
determins the suffix that is display after of the footnote number. This is only valid if FootnoteIsOwnNumbering is set.
EndnoteIsCollectAtTextEnd
boolean EndnoteIsCollectAtTextEnd;
Description
determins whether endnotes inside the section are displayed at the end of the section text.
EndnoteIsRestartNumbering
boolean EndnoteIsRestartNumbering;
Description
determins whether the endnotes numbering restarts within the section. This is only valid if EndnoteIsRestartNumbering is set.
EndnoteRestartNumberingAt
short EndnoteRestartNumberingAt;
Description
determins at which number the endnote numbering inside of the section starts. This is only valid if EndnoteIsRestartNumbering is set.
EndnoteIsOwnNumbering
boolean EndnoteIsOwnNumbering;
Description
determins whether the endnotes within the section use an own numbering format. This is only valid if EndnoteIsRestartNumbering is set.
EndnoteNumberingType
short EndnoteNumberingType;
Description
determins the numbering type of the endnote numbering as a value of ::com::sun::star::style::NumberingType. This is only valid if EndoteIsOwnNumbering is set.
EndnoteNumberingPrefix
string EndnoteNumberingPrefix;
Description
determins the prefix that is display before the endnote number. This is only valid if EndnoteIsOwnNumbering is set.
EndnoteNumberingSuffix
string EndnoteNumberingSuffix;
Description
determins the suffix that is display after the endnote number. This is only valid if EndnoteIsOwnNumbering is set.
IsAutomaticUpdate
boolean IsAutomaticUpdate;
Description
determins if a DDE link is updated automatically.
TextColumns
XTextColumns TextColumns;
Description
allows columns to be set into the text section
SectionLeftMargin
long SectionLeftMargin;
Usage Restrictions
optional
Description
determins the left margin of the section
SectionRightMargin
long SectionRightMargin;
Usage Restrictions
optional
Description
determins the left margin of the section

 
Top of Page

Apache Software Foundation

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

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