Language
	
	
  
  
    
    
The Free and Open Productivity Suite
   
      
      
 
:: com :: sun :: star :: text ::  
 | 
| unpublished  | 
interface XFlatParagraph | 
 |  
 
 | 
- Base Interfaces
 
XFlatParagraph
┗ XTextMarkup
  
| XTextMarkup | 
- (referenced interface's summary:)
 
- provides functionality to markup text.
 
 
 
 | 
 
 
 
 
 | 
- Usage Restrictions
 
- not published
 
- Description
 
- provides functionality to ...
 
 
- Since 
 
- OOo 3.0 
 
 
 | 
| Methods' Summary | 
| getText | 
get the content of the paragraph
   | 
| isModified | 
check whether the content has been modified
   | 
| setChecked | 
change the 'checked' flag of the respective text node, i.e., mark the
 text node as 'processed'
   | 
| isChecked | 
returns whether the respective text node has already been processed
   | 
| getLanguageOfText | 
get the language of the specific text
   | 
| getPrimaryLanguageOfText | 
get the single most probable language of the specific text,
 especially after getLanguageOfText fails
   | 
| changeText | 
replace the specific text with new text.
   | 
| changeAttributes | 
replace the attributes of the specific text with the given set of attributes.
   | 
| getLanguagePortions | 
get a list of indexes that separate each two different languages
   | 
| Methods' Details | 
getText
 
- Description
 
- get the content of the paragraph
 
 
- Returns
 
- the content of the paragraph.
 
 
 
 | 
 
 
 | 
isModified
 
- Description
 
- check whether the content has been modified
 
 
- Returns
 
- true if the content has been modified,
 false otherwise.
 
 
 
 | 
 
 
 | 
setChecked
| void | 
 
| setChecked( | 
[in] long | 
 nType, | 
 
 | [in] boolean | 
 bVal ); | 
 
 
 
- Description
 
- change the 'checked' flag of the respective text node, i.e., mark the
 text node as 'processed'
 
 
- Parameter nType
 
- type, see TextMarkupType.
 
 
- Parameter bVal
 
- true the respective text node has been processed
 false the respective text node needs to be processed again
 later
 
 
 
 | 
 
 
 | 
isChecked
| boolean | 
 
| isChecked( | 
[in] long | 
 nType ); | 
 
 
 
- Description
 
- returns whether the respective text node has already been processed
 
 
- Parameter nType
 
- type, see TextMarkupType.
 
 
- Returns
 
- true if the respective text node has been checked
 false otherwise.
 
 
 
 | 
 
 
 | 
getLanguageOfText
 
- Description
 
- get the language of the specific text
 
 
- Parameter nPos
 
- start index of the text.
 
 
- Parameter nLen
 
- the length of the text.
 
 
- Returns
 
- the locale for the language identified.
 If no language could be identified, the locale will be empty.
 
 
- Throws
 
- IllegalArgumentException
 when any argument is wrong.
 
 
 
 | 
 
 
 | 
getPrimaryLanguageOfText
 
- Description
 
- get the single most probable language of the specific text,
 especially after getLanguageOfText fails
 
 
- Parameter nPos
 
- start index of the text.
 
 
- Parameter nLen
 
- the length of the text.
 
 
- Returns
 
- the locale for the language identified.
 
 
- Throws
 
- IllegalArgumentException
 when any argument is wrong.
 
 
 
 | 
 
 
 | 
changeText
 
- Description
 
- replace the specific text with new text.
 
 
- Parameter nPos
 
- start index of the text.
 
 
- Parameter nLen
 
- the length of the text.
 
 
- Parameter nNewText
 
- new text.
 
 
- Parameter aAttributes
 
- the given set of attributes e.g. Language
 
 
- Throws
 
- IllegalArgumentException
 when any argument is wrong.
 
 
 
 | 
 
 
 | 
changeAttributes
 
- Description
 
- replace the attributes of the specific text with the given set of attributes.
 
 
- Parameter nPos
 
- start index of the text.
 
 
- Parameter nLen
 
- the length of the text.
 
 
- Parameter aAttributes
 
- the given set of attributes e.g. Language.
 
 
- Throws
 
- IllegalArgumentException
 when any argument is wrong.
 
 
 
 | 
 
 
 | 
getLanguagePortions
| sequence< long > | 
 
| getLanguagePortions(); | 
 
 
 
- Description
 
- get a list of indexes that separate each two different languages
 
 
- Returns
 
- a list of indices.
 
 
 
 | 
 
 
 | 
Top of Page
Copyright © 2013, The Apache Software Foundation, Licensed under the Apache License, Version 2.0. Apache, the Apache feather logo, Apache OpenOffice and OpenOffice.org are trademarks of The Apache Software Foundation. Other names may be trademarks of their respective owners.