public final class DocumentAtom extends RecordAtom
Modifier and Type | Class and Description |
---|---|
static class |
DocumentAtom.SlideSize
Holds the different Slide Size values
(保存不同的幻灯片大小值)
|
Modifier and Type | Method and Description |
---|---|
int |
getFirstSlideNum() |
java.util.Map<java.lang.String,java.util.function.Supplier<?>> |
getGenericProperties() |
long |
getHandoutMasterPersist()
Returns a reference to the HandoutMaster, or 0 if none
(返回对 HandoutMaster 的引用,如果没有则返回 0)
|
long |
getNotesMasterPersist()
Returns a reference to the NotesMaster, or 0 if none
(返回对 NotesMaster 的引用,如果没有则返回 0)
|
long |
getNotesSizeX() |
long |
getNotesSizeY() |
boolean |
getOmitTitlePlace()
Have the placeholders on the title slide been omitted?
(是否省略了标题幻灯片上的占位符?)
|
long |
getRecordType()
We are of type 1001
(我们是1001型)
|
boolean |
getRightToLeft()
Is this a Bi-Directional PPT Doc?
(这是双向PPT文档吗?)
|
boolean |
getSaveWithFonts()
Was the document saved with True Type fonts embeded?
(保存的文档是否嵌入了 True Type 字体?)
|
long |
getServerZoomFrom() |
long |
getServerZoomTo() |
boolean |
getShowComments()
Are comment shapes visible?
(评论形状是否可见?)
|
int |
getSlideSizeType()
Deprecated.
to be replaced by enum
(已弃用。被枚举替换)
|
DocumentAtom.SlideSize |
getSlideSizeTypeEnum() |
long |
getSlideSizeX() |
long |
getSlideSizeY() |
void |
setNotesSizeX(long x) |
void |
setNotesSizeY(long y) |
void |
setSaveWithFonts(boolean saveWithFonts)
Set the font embedding state
(设置字体嵌入状态)
|
void |
setServerZoomFrom(long zoom) |
void |
setServerZoomTo(long zoom) |
void |
setSlideSize(DocumentAtom.SlideSize size) |
void |
setSlideSizeX(long x) |
void |
setSlideSizeY(long y) |
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
public long getSlideSizeX()
public long getSlideSizeY()
public long getNotesSizeX()
public long getNotesSizeY()
public void setSlideSizeX(long x)
public void setSlideSizeY(long y)
public void setNotesSizeX(long x)
public void setNotesSizeY(long y)
public long getServerZoomFrom()
public long getServerZoomTo()
public void setServerZoomFrom(long zoom)
public void setServerZoomTo(long zoom)
public long getNotesMasterPersist()
public long getHandoutMasterPersist()
public int getFirstSlideNum()
@Deprecated @Removal(version="5.0.0") public int getSlideSizeType()
public DocumentAtom.SlideSize getSlideSizeTypeEnum()
public void setSlideSize(DocumentAtom.SlideSize size)
public boolean getSaveWithFonts()
public void setSaveWithFonts(boolean saveWithFonts)
public boolean getOmitTitlePlace()
public boolean getRightToLeft()
public boolean getShowComments()
public long getRecordType()
getRecordType
in class
Record
(类 Record 中的 getRecordType)
public void writeOut(java.io.OutputStream out) throws java.io.IOException
public java.util.Map<java.lang.String,java.util.function.Supplier<?>> getGenericProperties()
Copyright 2021 The Apache Software Foundation or its licensors, as applicable.