PHP Class PhpOffice\PhpPresentation\Reader\PowerPoint97

Inheritance: implements PhpOffice\PhpPresentation\Reader\ReaderInterface
Show file Open project: phpoffice/phppowerpoint Class Usage Examples

Public Methods

Method Description
canRead ( string $pFilename ) : boolean Can the current \PhpOffice\PhpPresentation\Reader\ReaderInterface read the file?
fileSupportsUnserializePhpPresentation ( string $pFilename = '' ) : boolean Does a file support UnserializePhpPresentation ?
getInt1d ( string $data, integer $pos ) : integer Read 8-bit unsigned integer
getInt2d ( string $data, integer $pos ) : integer Read 16-bit unsigned integer
getInt4d ( string $data, integer $pos ) : integer Read 32-bit signed integer
load ( string $pFilename ) : PhpPresentation Loads PhpPresentation Serialized file

Private Methods

Method Description
loadCurrentUserStream ( ) Stream Current User
loadFile ( string $pFilename ) : PhpPresentation Load PhpPresentation Serialized file
loadOLE ( string $pFilename ) Read OLE Part
loadPicturesStream ( ) Stream Pictures
loadPowerpointDocumentStream ( ) Stream Powerpoint Document
loadRecordHeader ( string $stream, integer $pos ) : multitype Read a record header
readRecordAnimationInfoContainer ( string $stream, integer $pos ) A container record that specifies the animation and sound information for a shape.
readRecordDocumentContainer ( string $stream, integer $pos ) A container record that specifies information about the document.
readRecordDrawingContainer ( string $stream, integer $pos ) An atom record that specifies information about a slide.
readRecordExObjRefAtom ( string $stream, integer $pos ) An atom record that specifies a reference to an external object.
readRecordInteractiveInfoAtom ( string $stream, integer $pos ) An atom record that specifies a type of action to be performed.
readRecordMacroNameAtom ( string $stream, integer $pos ) An atom record that specifies the name of a macro, a file name, or a named show.
readRecordMouseClickInteractiveInfoContainer ( string $stream, integer $pos ) A container record that specifies what actions to perform when interacting with an object by means of a mouse click.
readRecordMouseOverInteractiveInfoContainer ( string $stream, integer $pos ) A container record that specifies what actions to perform when interacting with an object by moving the mouse cursor over it.
readRecordOfficeArtBlip ( string $stream, integer $pos ) The OfficeArtBlip record specifies BLIP file data.
readRecordOfficeArtChildAnchor ( string $stream, integer $pos ) The OfficeArtChildAnchor record specifies four signed integers that specify the anchor for the shape that contains this record.
readRecordOfficeArtClientAnchor ( string $stream, integer $pos ) An atom record that specifies the location of a shape.
readRecordOfficeArtClientData ( string $stream, integer $pos ) A container record that specifies information about a shape.
readRecordOfficeArtClientTextbox ( string $stream, integer $pos ) A container record that specifies text related data for a shape.
readRecordOfficeArtDgContainer ( string $stream, integer $pos ) The OfficeArtDgContainer record specifies the container for all the file records for the objects in a drawing.
readRecordOfficeArtFDG ( string $stream, integer $pos ) The OfficeArtFDG record specifies the number of shapes, the drawing identifier, and the shape identifier of the last shape in a drawing.
readRecordOfficeArtFOPT ( string $stream, integer $pos ) The OfficeArtFOPT record specifies a table of OfficeArtRGFOPTE records.
readRecordOfficeArtFPSPL ( string $stream, integer $pos ) The OfficeArtFPSPL record specifies the former hierarchical position of the containing object that is either a shape or a group of shapes.
readRecordOfficeArtFSP ( string $stream, integer $pos ) The OfficeArtFSP record specifies an instance of a shape.
readRecordOfficeArtFSPGR ( string $stream, integer $pos ) The OfficeArtFSPGR record specifies the coordinate system of the group shape that the anchors of the child shape are expressed in.
readRecordOfficeArtSecondaryFOPT ( string $stream, integer $pos ) The OfficeArtSecondaryFOPT record specifies a table of OfficeArtRGFOPTE records.
readRecordOfficeArtSpContainer ( string $stream, integer $pos ) The OfficeArtSpContainer record specifies a shape container.
readRecordOfficeArtSpgrContainer ( string $stream, integer $pos, boolean $bInGroup = false ) The OfficeArtSpgrContainer record specifies a container for groups of shapes.
readRecordOfficeArtTertiaryFOPT ( string $stream, integer $pos ) The OfficeArtTertiaryFOPT record specifies a table of OfficeArtRGFOPTE records,.
readRecordPerSlideHeadersFootersContainer ( string $stream, integer $pos ) A container record that specifies information about the headers (1) and footers within a slide.
readRecordPersistDirectoryAtom ( string $stream, integer $pos ) An atom record that specifies a persist object directory. Each persist object identifier specified MUST be unique in that persist object directory.
readRecordPlaceholderAtom ( string $stream, integer $pos ) An atom record that specifies whether a shape is a placeholder shape.
readRecordRecolorInfoAtom ( string $stream, integer $pos ) An atom record that specifies a collection of re-color mappings for a metafile ([MS-WMF]).
readRecordRoundTripHFPlaceholder12Atom ( string $stream, integer $pos ) An atom record that specifies that a shape is a header or footerplaceholder shape.
readRecordRoundTripShapeId12Atom ( string $stream, integer $pos ) An atom record that specifies a shape identifier.
readRecordRoundTripSlideSyncInfo12Container ( string $stream, integer $pos ) A container record that specifies information about a slide that synchronizes to a slide in a slide library.
readRecordShapeFlags10Atom ( string $stream, integer $pos ) An atom record that specifies shape-level Boolean flags.
readRecordShapeFlagsAtom ( string $stream, integer $pos ) An atom record that specifies shape-level Boolean flags.
readRecordShapeProgBinaryTagContainer ( string $stream, integer $pos ) A container record that specifies programmable tags with additional binary shape data.
readRecordShapeProgTagsContainer ( string $stream, integer $pos ) A container record that specifies programmable tags with additional shape data.
readRecordSlideAtom ( string $stream, integer $pos ) An atom record that specifies information about a slide.
readRecordSlideContainer ( string $stream, integer $pos ) A container record that specifies a presentation slide or title master slide.
readRecordSlideNameAtom ( string $stream, integer $pos ) An atom record that specifies the name of a slide.
readRecordSlideNumberMCAtom ( string $stream, integer $pos ) An atom record that specifies a slide number metacharacter.
readRecordSlideProgTagsContainer ( string $stream, integer $pos ) A container record that specifies programmable tags with additional slide data.
readRecordSlideSchemeColorSchemeAtom ( string $stream, integer $pos ) A container record that specifies the color scheme used by a slide.
readRecordSlideShowSlideInfoAtom ( string $stream, integer $pos ) An atom record that specifies what transition effect to perform during a slide show, and how to advance to the next presentation slide.
readRecordUserEditAtom ( string $stream, integer $pos ) UserEditAtom
readStructureTextCFRun ( string $stream, integer $pos, integer $strLenRT ) A structure that specifies the character-level formatting of a run of text.
readStructureTextPFRun ( string $stream, integer $pos, $strLenRT ) A structure that specifies the paragraph-level formatting of a run of text.
readStructureTextRuler ( string $stream, integer $pos ) A structure that specifies tabbing, margins, and indentation for text.
readStructureTextSIRun ( string $stream, integer $pos, $strLenRT ) A structure that specifies language and spelling information for a run of text.

Method Details

canRead() public method

Can the current \PhpOffice\PhpPresentation\Reader\ReaderInterface read the file?
public canRead ( string $pFilename ) : boolean
$pFilename string
return boolean

fileSupportsUnserializePhpPresentation() public method

Does a file support UnserializePhpPresentation ?
public fileSupportsUnserializePhpPresentation ( string $pFilename = '' ) : boolean
$pFilename string
return boolean

getInt1d() public static method

Read 8-bit unsigned integer
public static getInt1d ( string $data, integer $pos ) : integer
$data string
$pos integer
return integer

getInt2d() public static method

Read 16-bit unsigned integer
public static getInt2d ( string $data, integer $pos ) : integer
$data string
$pos integer
return integer

getInt4d() public static method

Read 32-bit signed integer
public static getInt4d ( string $data, integer $pos ) : integer
$data string
$pos integer
return integer

load() public method

Loads PhpPresentation Serialized file
public load ( string $pFilename ) : PhpPresentation
$pFilename string
return PhpOffice\PhpPresentation\PhpPresentation