Package org.apache.poi.hslf.record
Class DocumentAtom
java.lang.Object
org.apache.poi.hslf.record.Record
org.apache.poi.hslf.record.RecordAtom
org.apache.poi.hslf.record.DocumentAtom
- All Implemented Interfaces:
GenericRecord
A Document Atom (type 1001). Holds misc information on the PowerPoint
document, lots of them size and scale related.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumHolds the different Slide Size values -
Method Summary
Modifier and TypeMethodDescriptionintlongReturns a reference to the HandoutMaster, or 0 if nonelongReturns a reference to the NotesMaster, or 0 if nonelonglongbooleanHave the placeholders on the title slide been omitted?longWe are of type 1001booleanIs this a Bi-Directional PPT Doc?booleanWas the document saved with True Type fonts embedded?longlongbooleanAre comment shapes visible?The Size of the Document's slides,DocumentAtom.SlideSizefor values.Deprecated.longlongvoidsetNotesSizeX(long x) voidsetNotesSizeY(long y) voidsetSaveWithFonts(boolean saveWithFonts) Set the font embedding statevoidsetServerZoomFrom(long zoom) voidsetServerZoomTo(long zoom) voidvoidsetSlideSizeX(long x) voidsetSlideSizeY(long y) voidwriteOut(OutputStream out) Write the contents of the record back, so it can be written to diskMethods inherited from class org.apache.poi.hslf.record.RecordAtom
getChildRecords, getMaxRecordLength, isAnAtom, setMaxRecordLengthMethods inherited from class org.apache.poi.hslf.record.Record
buildRecordAtOffset, createRecordForType, findChildRecords, getGenericChildren, getGenericRecordType, writeLittleEndian, writeLittleEndian
-
Method Details
-
getSlideSizeX
public long getSlideSizeX() -
getSlideSizeY
public long getSlideSizeY() -
getNotesSizeX
public long getNotesSizeX() -
getNotesSizeY
public long getNotesSizeY() -
setSlideSizeX
public void setSlideSizeX(long x) -
setSlideSizeY
public void setSlideSizeY(long y) -
setNotesSizeX
public void setNotesSizeX(long x) -
setNotesSizeY
public void setNotesSizeY(long y) -
getServerZoomFrom
public long getServerZoomFrom() -
getServerZoomTo
public long getServerZoomTo() -
setServerZoomFrom
public void setServerZoomFrom(long zoom) -
setServerZoomTo
public void setServerZoomTo(long zoom) -
getNotesMasterPersist
public long getNotesMasterPersist()Returns a reference to the NotesMaster, or 0 if none -
getHandoutMasterPersist
public long getHandoutMasterPersist()Returns a reference to the HandoutMaster, or 0 if none -
getFirstSlideNum
public int getFirstSlideNum() -
getSlideSizeType
The Size of the Document's slides,DocumentAtom.SlideSizefor values. -
getSlideSizeTypeEnum
Deprecated.replaced bygetSlideSizeType()The Size of the Document's slides,DocumentAtom.SlideSizefor values. -
setSlideSize
-
getSaveWithFonts
public boolean getSaveWithFonts()Was the document saved with True Type fonts embedded? -
setSaveWithFonts
public void setSaveWithFonts(boolean saveWithFonts) Set the font embedding state -
getOmitTitlePlace
public boolean getOmitTitlePlace()Have the placeholders on the title slide been omitted? -
getRightToLeft
public boolean getRightToLeft()Is this a Bi-Directional PPT Doc? -
getShowComments
public boolean getShowComments()Are comment shapes visible? -
getRecordType
public long getRecordType()We are of type 1001- Specified by:
getRecordTypein classRecord
-
writeOut
Write the contents of the record back, so it can be written to disk- Specified by:
writeOutin classRecord- Throws:
IOException
-
getGenericProperties
-
getSlideSizeType()