class DocProps extends WriterPart (View source)

Methods

getParentWriter()

Get parent Xlsx object.

__construct(Xlsx $pWriter)

Set parent Xlsx object.

string
writeDocPropsApp(Spreadsheet $spreadsheet)

Write docProps/app.xml to XML format.

string
writeDocPropsCore(Spreadsheet $spreadsheet)

Write docProps/core.xml to XML format.

string
writeDocPropsCustom(Spreadsheet $spreadsheet)

Write docProps/custom.xml to XML format.

Details

Xlsx getParentWriter()

Get parent Xlsx object.

Return Value

Xlsx

__construct(Xlsx $pWriter)

Set parent Xlsx object.

Parameters

Xlsx $pWriter

string writeDocPropsApp(Spreadsheet $spreadsheet)

Write docProps/app.xml to XML format.

Parameters

Spreadsheet $spreadsheet

Return Value

string XML Output

Exceptions

Exception

string writeDocPropsCore(Spreadsheet $spreadsheet)

Write docProps/core.xml to XML format.

Parameters

Spreadsheet $spreadsheet

Return Value

string XML Output

Exceptions

Exception

string writeDocPropsCustom(Spreadsheet $spreadsheet)

Write docProps/custom.xml to XML format.

Parameters

Spreadsheet $spreadsheet

Return Value

string XML Output

Exceptions

Exception