Class OdfIndexTemplateBuilder
Builds index entry templates. 用於建構索引專案範本的建立器。
public class OdfIndexTemplateBuilder
- Inheritance
-
OdfIndexTemplateBuilder
- Inherited Members
Constructors
OdfIndexTemplateBuilder(OdfNode)
Builds index entry templates. 用於建構索引專案範本的建立器。
public OdfIndexTemplateBuilder(OdfNode template)
Parameters
templateOdfNodeThe target template OdfNode. / 目標範本 OdfNode 節點。
Methods
AddPageNumber()
Adds a page number entry to the template. 在範本中新增頁碼專案。
public OdfIndexTemplateBuilder AddPageNumber()
Returns
- OdfIndexTemplateBuilder
The current builder instance, to support chained calls. / 目前的建立器執行個體,以支援鏈結呼叫。
AddSpan(string)
Adds a custom text string entry to the template. 在範本中新增自訂文字字串專案。
public OdfIndexTemplateBuilder AddSpan(string text)
Parameters
textstringThe custom text content. / 自訂的文字內容。
Returns
- OdfIndexTemplateBuilder
The current builder instance, to support chained calls. / 目前的建立器執行個體,以支援鏈結呼叫。
AddTabStop()
Short overload of AddTabStop that uses default values for all optional parameters and forwards to the full overload. 便利多載:AddTabStop 的所有可選參數使用預設值並轉呼叫最長多載。
public OdfIndexTemplateBuilder AddTabStop()
Returns
AddTabStop(string)
Short overload of AddTabStop that accepts type; remaining optional parameters use defaults and forward to the full overload. 便利多載:提供 type;其餘可選參數使用預設值並轉呼叫最長 AddTabStop 多載。
public OdfIndexTemplateBuilder AddTabStop(string type)
Parameters
typestring
Returns
AddTabStop(string, char)
Adds a tab stop entry to the template. 在範本中新增定位點專案。
public OdfIndexTemplateBuilder AddTabStop(string type, char leaderChar)
Parameters
Returns
- OdfIndexTemplateBuilder
The current builder instance, to support chained calls. / 目前的建立器執行個體,以支援鏈結呼叫。
AddText()
Adds a text field entry to the template. 在範本中新增文字欄位專案。
public OdfIndexTemplateBuilder AddText()
Returns
- OdfIndexTemplateBuilder
The current builder instance, to support chained calls. / 目前的建立器執行個體,以支援鏈結呼叫。