|
LibreOffice
LibreOffice 24.2 SDK API Reference
|
provides functionality to ... More...
import"XFlatParagraph.idl";
Public Member Functions | |
| string | getText () |
| get the content of the paragraph More... | |
| boolean | isModified () |
| check whether the content has been modified More... | |
| void | setChecked ([in] long nType, [in] boolean bVal) |
| change the "checked" flag of the respective text node, i.e., mark the text node as "processed" More... | |
| boolean | isChecked ([in] long nType) |
| returns whether the respective text node has already been processed More... | |
| com::sun::star::lang::Locale | getLanguageOfText ([in] long nPos, [in] long nLen) raises ( com::sun::star::lang::IllegalArgumentException ) |
| get the language of the specific text More... | |
| com::sun::star::lang::Locale | getPrimaryLanguageOfText ([in] long nPos, [in] long nLen) raises ( com::sun::star::lang::IllegalArgumentException ) |
| get the single most probable language of the specific text, especially after getLanguageOfText fails More... | |
| void | changeText ([in] long nPos, [in] long nLen, [in] string NewText, [in] sequence<::com::sun::star::beans::PropertyValue > aAttributes) raises ( com::sun::star::lang::IllegalArgumentException ) |
| replace the specific text with new text. More... | |
| void | changeAttributes ([in] long nPos, [in] long nLen, [in] sequence<::com::sun::star::beans::PropertyValue > aAttributes) raises ( com::sun::star::lang::IllegalArgumentException ) |
| replace the attributes of the specific text with the given set of attributes. More... | |
| sequence< long > | getLanguagePortions () |
| get a list of indexes that separate each two different languages More... | |
Public Member Functions inherited from XTextMarkup | |
| com::sun::star::container::XStringKeyMap | getMarkupInfoContainer () |
| obtains a container to store additional user defined text markup information. More... | |
| void | commitStringMarkup ([in] long nType, [in] string aIdentifier, [in] long nStart, [in] long nLength, [in] com::sun::star::container::XStringKeyMap xMarkupInfoContainer) |
| submits a new markup range. More... | |
| void | commitTextRangeMarkup ([in] long nType, [in] string aIdentifier, [in] com::sun::star::text::XTextRange xRange, [in] com::sun::star::container::XStringKeyMap xMarkupInfoContainer) |
provides functionality to ...
| void changeAttributes | ( | [in] long | nPos, |
| [in] long | nLen, | ||
| [in] sequence<::com::sun::star::beans::PropertyValue > | aAttributes | ||
| ) | |||
| raises | ( | com::sun::star::lang::IllegalArgumentException | |
| ) | |||
replace the attributes of the specific text with the given set of attributes.
| nPos | start index of the text. |
| nLen | the length of the text. |
| aAttributes | the given set of attributes e.g. Language. |
| IllegalArgumentException | when any argument is wrong. |
| void changeText | ( | [in] long | nPos, |
| [in] long | nLen, | ||
| [in] string | NewText, | ||
| [in] sequence<::com::sun::star::beans::PropertyValue > | aAttributes | ||
| ) | |||
| raises | ( | com::sun::star::lang::IllegalArgumentException | |
| ) | |||
replace the specific text with new text.
| nPos | start index of the text. |
| nLen | the length of the text. |
| NewText | new text. |
| aAttributes | the given set of attributes e.g. Language |
| IllegalArgumentException | when any argument is wrong. |
| com::sun::star::lang::Locale getLanguageOfText | ( | [in] long | nPos, |
| [in] long | nLen | ||
| ) | |||
| raises | ( | com::sun::star::lang::IllegalArgumentException | |
| ) | |||
get the language of the specific text
| nPos | start index of the text. |
| nLen | the length of the text. |
| IllegalArgumentException | when any argument is wrong. |
| sequence< long > getLanguagePortions | ( | ) |
get a list of indexes that separate each two different languages
| com::sun::star::lang::Locale getPrimaryLanguageOfText | ( | [in] long | nPos, |
| [in] long | nLen | ||
| ) | |||
| raises | ( | com::sun::star::lang::IllegalArgumentException | |
| ) | |||
get the single most probable language of the specific text, especially after getLanguageOfText fails
| nPos | start index of the text. |
| nLen | the length of the text. |
| IllegalArgumentException | when any argument is wrong. |
| string getText | ( | ) |
get the content of the paragraph
| boolean isChecked | ( | [in] long | nType | ) |
returns whether the respective text node has already been processed
| nType | type, see TextMarkupType. |
TRUE if the respective text node has been checked FALSE otherwise. | boolean isModified | ( | ) |
check whether the content has been modified
TRUE if the content has been modified, FALSE otherwise. | void setChecked | ( | [in] long | nType, |
| [in] boolean | bVal | ||
| ) |
change the "checked" flag of the respective text node, i.e., mark the text node as "processed"
| nType | type, see TextMarkupType. |
| bVal | TRUE the respective text node has been processed FALSE the respective text node needs to be processed again later |
1.8.14