このページはEtoJ逐語翻訳フィルタによって翻訳生成されました。

翻訳前ページへ


Interface XSimpleText
Language

The 解放する/自由な and Open 生産性 控訴
解放(する)d: Apache OpenOffice 4.1.15

API

SDK

Tips ‘n’ Tricks

Miscellaneous


:: com :: sun :: 星/主役にする :: text ::

interface XSimpleText
Base Interfaces
XSimpleTextXTextRange

XTextRange
(言及/関連d interface's 要約:)
述べるs the 反対する's position in a text.
Description
is the main interface for a 際立った text 部隊, i.e. the main text of a 文書, the text for headers and footers or for 選び出す/独身 独房s of a (米)棚上げする/(英)提議する.
See also
XText
Developers Guide
Text - Editing Text - Strings

Methods' 要約
createTextCursor  
createTextCursorByRange  
insertString 挿入するs a string of characters into the text.  
insertControlCharacter 挿入するs a 支配(する)/統制する character (like a paragraph break or a hard space) into the text. 
Methods' 詳細(に述べる)s
createTextCursor
XTextCursor
createTextCursor();

Returns
a new instance of a TextCursor service which can be used to travel in the given text 状況.
See also
TextCursor
createTextCursorByRange
XTextCursor
createTextCursorByRange( [in] XTextRange  aTextPosition );

Returns
a new instance of a TextCursor which is 位置を示すd at the 明示するd TextRange to travel in the given text 状況.

The 初期の position is 始める,決める to aTextPosition.

Parameter aTextPosition
明示するs the start position for the new TextCursor.
See also
TextCursor
insertString
[oneway] 無効の
insertString( [in] XTextRange  xRange,
[in] string  aString,
[in] boolean  bAbsorb );

Description
挿入するs a string of characters into the text.

The string may 含む/封じ込める the に引き続いて white spaces:

  • blank
  • tab
  • cr (which will 挿入する a paragraph break)
  • lf (which will 挿入する a line break)
Parameter xRange
明示するs the position of insertion. For example, XSimpleText::createTextCursor can be used to get an XTextRange for this argument.

If the parameter bAbsorb was true the text 範囲 will 含む/封じ込める the new 挿入するd string, さもなければ the 範囲 (and it's text) will remain 不変の.

Parameter aString
明示するs the string to 挿入する.
Parameter bAbsorb
明示するs whether the text spanned by xRange will be 取って代わるd. If true then the content of xRange will be 取って代わるd by aString, さもなければ aString will be 挿入するd at the beginning of xRange.
Example
 xText.insertString( xTextCursor, "Hello " + aName$ + ",", 誤った )
 
 xText.insertControlCharacter( xTextCursor,
 ControlCharacter_PARAGRAPH_BREAK, 誤った );
 
 xText.insertString( xTextCursor, "more text ...", 誤った )
 
insertControlCharacter
無効の
insertControlCharacter( [in] XTextRange  xRange,
[in] short  nControlCharacter,
[in] boolean  bAbsorb )
raises( ::com::sun::星/主役にする::lang::IllegalArgumentException );

Description
挿入するs a 支配(する)/統制する character (like a paragraph break or a hard space) into the text.
See also
ControlCharacter
最高の,を越す of Page

Apache Software Foundation

Copyright & License | Privacy | 接触する Us | 寄付する | Thanks

Apache, OpenOffice, OpenOffice.org and the seagull logo are 登録(する)d trademarks of The Apache ソフトウェア 創立/基礎. The Apache feather logo is a trademark of The Apache ソフトウェア 創立/基礎. Other 指名するs appearing on the 場所/位置 may be trademarks of their 各々の owners.