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

翻訳前ページへ


Interface XDependentTextField
Language

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

API

SDK

Tips ‘n’ Tricks

Miscellaneous


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

interface XDependentTextField
Base Interfaces
XDependentTextFieldXTextFieldXTextContent
      ┗ ::com::sun::星/主役にする::lang::XComponent

XTextField
(言及/関連d interface's 要約:)
is the base interface for all text fields.
Description
makes it possible to attach this TextField to a TextFieldMaster.

Methods' 要約
attachTextFieldMaster method must be called to attach the TextFieldMaster to this TextField.  
getTextFieldMaster  
Methods' 詳細(に述べる)s
attachTextFieldMaster
無効の
attachTextFieldMaster( [in] ::com::sun::星/主役にする::beans::XPropertySet  xFieldMaster )
raises( ::com::sun::星/主役にする::lang::IllegalArgumentException );

Description
method must be called to attach the TextFieldMaster to this TextField.

A TextFieldMaster can only be 割り当てるd once.

Example
Create and 挿入する a 使用者 field (with a UserField):
 // Create a fieldmaster for our newly created 使用者 Text field, and 接近 it's
 // XPropertySet interface
 XPropertySet xMasterPropSet = (XPropertySet) UnoRuntime.queryInterface( 
 XPropertySet.class, mxDocFactory.createInstance(
 "com.sun.星/主役にする.text.FieldMaster.使用者"));
 // 始める,決める the 指名する and value of the FieldMaster
 xMasterPropSet.setPropertyValue ("指名する", "UserEmperor");
 xMasterPropSet.setPropertyValue ("Value", new Integer(42));
 // Attach the field master to the 使用者 field
 xUserField.attachTextFieldMaster (xMasterPropSet);
 // Move the cursor to the end of the 文書
 mxDocCursor.gotoEnd(誤った);
 // 挿入する a paragraph break using the XSimpleText interface
 mxDocText.insertControlCharacter(
 mxDocCursor, ControlCharacter.PARAGRAPH_BREAK, 誤った);
 // 挿入する the 使用者 field at the end of the 文書
 mxDocText.insertTextContent(mxDocText.getEnd(), xUserField, 誤った);
 
getTextFieldMaster
::com::sun::星/主役にする::beans::XPropertySet
getTextFieldMaster();

Returns
the 以前 大(公)使館員d TextFieldMaster
最高の,を越す 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.