public final class OutlineTextRefAtom extends RecordAtom
OutlineTextRefAtom
:
Appears in a slide to indicate a text that is already contained in the document, in a SlideListWithText containter. Sometimes slide texts are not contained within the slide container to be able to delay loading a slide and still display the title and body text in outline view.
(OEPlaceholderAtom (3998)。 MSDN 关于 OutlineTextRefAtom 的说明: 出现在幻灯片中以指示文档中已包含的文本,在 SlideListWithText 容器中。有时幻灯片文本不包含在幻灯片容器中,以便能够延迟加载幻灯片并仍然在大纲视图中显示标题和正文。)Modifier | Constructor and Description |
---|---|
protected |
OutlineTextRefAtom()
Create a new instance of
FontEntityAtom
(创建一个新的 FontEntityAtom 实例)
|
protected |
OutlineTextRefAtom(byte[] source, int start, int len)
Build an instance of
OutlineTextRefAtom from on-disk data
(从磁盘数据构建 OutlineTextRefAtom 的实例)
|
Modifier and Type | Method and Description |
---|---|
java.util.Map<java.lang.String,java.util.function.Supplier<?>> |
getGenericProperties() |
long |
getRecordType()
Returns the type (held as a little endian in bytes 3 and 4) that this class handles
(返回此类处理的类型(在字节 3 和 4 中保持为小端序))
|
int |
getTextIndex()
Return text's index within the SlideListWithText container (0 for title, 1..n for the nth body).
(在 SlideListWithText 容器中返回文本的索引(0 表示标题,1..n 表示第 n 个正文)。)
|
void |
setTextIndex(int idx)
Sets text's index within the SlideListWithText container (0 for title, 1..n for the nth body).
(在 SlideListWithText 容器中设置文本的索引(0 表示标题,1..n 表示第 n 个正文)。)
|
void |
writeOut(java.io.OutputStream out)
Write the contents of the record back, so it can be written to disk
(将记录的内容写回去,这样就可以写入磁盘了)
|
getChildRecords, isAnAtom
buildRecordAtOffset, createRecordForType, findChildRecords, getGenericChildren, getGenericRecordType, writeLittleEndian, writeLittleEndian
protected OutlineTextRefAtom(byte[] source, int start, int len)
OutlineTextRefAtom
from on-disk data
(从磁盘数据构建 OutlineTextRefAtom 的实例)
protected OutlineTextRefAtom()
FontEntityAtom
(创建一个新的 FontEntityAtom 实例)
public long getRecordType()
Record
getRecordType
in class
Record
(类 Record 中的 getRecordType)
public void writeOut(java.io.OutputStream out) throws java.io.IOException
public void setTextIndex(int idx)
idx
- 0-based text's index
(idx - 基于 0 的文本索引)
public int getTextIndex()
public java.util.Map<java.lang.String,java.util.function.Supplier<?>> getGenericProperties()
Copyright 2021 The Apache Software Foundation or its licensors, as applicable.