20 #ifndef __com_sun_star_text_XFlatParagraph_idl__
21 #define __com_sun_star_text_XFlatParagraph_idl__
30 module
com { module sun { module star { module text {
134 void changeText( [in]
long nPos, [in]
long nLen, [in]
string NewText,
135 [in] sequence<::com::sun::star::beans::PropertyValue> aAttributes )
153 [in] sequence<::com::sun::star::beans::PropertyValue> aAttributes )
This exception is thrown to indicate that a method has passed an illegal or inappropriate argument.
Definition: IllegalArgumentException.idl:31
provides functionality to ...
Definition: XFlatParagraph.idl:39
boolean isChecked([in] long nType)
returns whether the respective text node has already been processed
sequence< long > getLanguagePortions()
get a list of indexes that separate each two different languages
string getText()
get the content of the paragraph
com::sun::star::lang::Locale getLanguageOfText([in] long nPos, [in] long nLen)
get the language of the specific text
void changeAttributes([in] long nPos, [in] long nLen, [in] sequence<::com::sun::star::beans::PropertyValue > aAttributes)
replace the attributes of the specific text with the given set of attributes.
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"
void changeText([in] long nPos, [in] long nLen, [in] string NewText, [in] sequence<::com::sun::star::beans::PropertyValue > aAttributes)
replace the specific text with new text.
com::sun::star::lang::Locale getPrimaryLanguageOfText([in] long nPos, [in] long nLen)
get the single most probable language of the specific text, especially after getLanguageOfText fails
boolean isModified()
check whether the content has been modified
provides functionality to markup text.
Definition: XTextMarkup.idl:37
Definition: Ambiguous.idl:22
object represents a specific geographical, political, or cultural region.
Definition: Locale.idl:38