compares the positions of two TextRanges within a Text. More...
import "XTextRangeCompare.idl";
Public Member Functions | |
| short | compareRegionStarts ([in] XTextRange xR1, [in] XTextRange xR2) raises ( com::sun::star::lang::IllegalArgumentException ) |
| short | compareRegionEnds ([in] XTextRange xR1, [in] XTextRange xR2) raises ( com::sun::star::lang::IllegalArgumentException ) |
Public Member Functions inherited from XInterface | |
| any | queryInterface ([in] type aType) |
| queries for a new interface to an existing UNO object. | |
| void | acquire () |
| increases the reference counter by one. | |
| void | release () |
| decreases the reference counter by one. | |
compares the positions of two TextRanges within a Text.
Only TextRange instances within the same Text can be compared.
| short compareRegionEnds | ( | [in] XTextRange | xR1, | |||
| [in] XTextRange | xR2 ) | |||||
| raises | ( | com::sun::star::lang::IllegalArgumentException ) | ||||
| com::sun::star::lang::IllegalArgumentException | if either xR1 or xR2 is not within this text. |
| short compareRegionStarts | ( | [in] XTextRange | xR1, | |||
| [in] XTextRange | xR2 ) | |||||
| raises | ( | com::sun::star::lang::IllegalArgumentException ) | ||||
| com::sun::star::lang::IllegalArgumentException | if either xR1 or xR2 is not within this text. |