public final class HeadersFootersContainer extends RecordContainer
It contains:
HeadersFootersAtom
CString
, Instance UserDate (0), optional: Stores the user's date. This is the date that the user wants in the footers, instead of today's date. CString
, Instance Header (1), optional: Stores the Header's contents. CString
, Instance Footer (2), optional: Stores the Footer's contents. Modifier and Type | Field and Description |
---|---|
static int |
FOOTERATOM |
static int |
HEADERATOM |
static short |
NotesHeadersFootersContainer
"instance" field in the record header indicating that this HeadersFootersContaine is applied for notes and handouts
(记录头中的“instance”字段表明此 HeadersFootersContaine 应用于笔记和讲义)
|
static short |
SlideHeadersFootersContainer
"instance" field in the record header indicating that this HeadersFootersContaine is applied for slides
(记录头中的“instance”字段表示此 HeadersFootersContaine 应用于幻灯片)
|
static int |
USERDATEATOM |
_children
Modifier | Constructor and Description |
---|---|
protected |
HeadersFootersContainer(byte[] source, int start, int len) |
|
HeadersFootersContainer(short options) |
Modifier and Type | Method and Description |
---|---|
CString |
addFooterAtom()
Insert a
CString record that stores the user's date.
(插入存储用户日期的 CString 记录。)
|
CString |
addHeaderAtom()
Insert a
CString record that stores the user's date.
(插入存储用户日期的 CString 记录。)
|
CString |
addUserDateAtom()
Insert a
CString record that stores the user's date.
(插入存储用户日期的 CString 记录。)
|
CString |
getFooterAtom()
A
CString record that stores the Footers's contents.
(存储页脚内容的 CString 记录。)
|
CString |
getHeaderAtom()
A
CString record that stores the Header's contents.
(存储 Header 内容的 CString 记录。)
|
HeadersFootersAtom |
getHeadersFootersAtom()
HeadersFootersAtom stores the basic information of the header and footer structure.
(HeadersFootersAtom 存储页眉和页脚结构的基本信息。)
|
int |
getOptions()
Must be either
SlideHeadersFootersContainer or
NotesHeadersFootersContainer
(必须是 SlideHeadersFootersContainer 或 NotesHeadersFootersContainer)
|
long |
getRecordType()
Return the type, which is
(返回类型,即 RecordTypes.HeadersFooters)
|
CString |
getUserDateAtom()
A
CString record that stores the user's date.
(存储用户日期的 CString 记录。)
|
void |
writeOut(java.io.OutputStream out)
Write the contents of the record back, so it can be written to disk
(将记录的内容写回去,这样就可以写入磁盘了)
|
addChildAfter, addChildBefore, appendChildRecord, findFirstOfType, getChildRecords, getGenericProperties, handleParentAwareRecords, isAnAtom, removeChild, setChildRecord, writeOut
buildRecordAtOffset, createRecordForType, findChildRecords, getGenericChildren, getGenericRecordType, writeLittleEndian, writeLittleEndian
public static final short SlideHeadersFootersContainer
public static final short NotesHeadersFootersContainer
public static final int USERDATEATOM
public static final int HEADERATOM
public static final int FOOTERATOM
protected HeadersFootersContainer(byte[] source, int start, int len)
public HeadersFootersContainer(short options)
public long getRecordType()
RecordTypes.HeadersFooters
(返回类型,即 RecordTypes.HeadersFooters)
getRecordType
in class
Record
(类 Record 中的 getRecordType)
public int getOptions()
SlideHeadersFootersContainer
or
NotesHeadersFootersContainer
(必须是 SlideHeadersFootersContainer 或 NotesHeadersFootersContainer)
public void writeOut(java.io.OutputStream out) throws java.io.IOException
public HeadersFootersAtom getHeadersFootersAtom()
HeadersFootersAtom
(页眉页脚原子)
public CString getUserDateAtom()
CString
record that stores the user's date.
This is the date that the user wants in the footers, instead of today's date.
(存储用户日期的 CString 记录。这是用户希望在页脚中出现的日期,而不是今天的日期。)CString
record that stores the user's date or
null
(存储用户日期或 null 的 CString 记录)
public CString getHeaderAtom()
CString
record that stores the Header's contents.
(存储 Header 内容的 CString 记录。)
CString
record that stores the Header's contents or
null
(存储 Header 内容的 CString 记录或 null)
public CString getFooterAtom()
CString
record that stores the Footers's contents.
(存储页脚内容的 CString 记录。)
CString
record that stores the Footers's contents or
null
(存储页脚内容的 CString 记录或 null)
public CString addUserDateAtom()
CString
record that stores the user's date.
(插入存储用户日期的 CString 记录。)
CString
record that stores the user's date.
(创建的存储用户日期的 CString 记录。)
public CString addHeaderAtom()
CString
record that stores the user's date.
(插入存储用户日期的 CString 记录。)
CString
record that stores the user's date.
(创建的存储用户日期的 CString 记录。)
Copyright 2021 The Apache Software Foundation or its licensors, as applicable.