ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
PHPExcel_Writer_Excel2007_WriterPart Class Reference
+ Inheritance diagram for PHPExcel_Writer_Excel2007_WriterPart:
+ Collaboration diagram for PHPExcel_Writer_Excel2007_WriterPart:

Public Member Functions

 setParentWriter (PHPExcel_Writer_IWriter $pWriter=null)
 Set parent IWriter object. More...
 
 getParentWriter ()
 Get parent IWriter object. More...
 
 __construct (PHPExcel_Writer_IWriter $pWriter=null)
 Set parent IWriter object. More...
 

Private Attributes

 $_parentWriter
 

Detailed Description

Definition at line 36 of file WriterPart.php.

Constructor & Destructor Documentation

◆ __construct()

PHPExcel_Writer_Excel2007_WriterPart::__construct ( PHPExcel_Writer_IWriter  $pWriter = null)

Set parent IWriter object.

Parameters
PHPExcel_Writer_IWriter$pWriter
Exceptions
PHPExcel_Writer_Exception

Definition at line 75 of file WriterPart.php.

75  {
76  if (!is_null($pWriter)) {
77  $this->_parentWriter = $pWriter;
78  }
79  }

Member Function Documentation

◆ getParentWriter()

PHPExcel_Writer_Excel2007_WriterPart::getParentWriter ( )

Get parent IWriter object.

Returns
PHPExcel_Writer_IWriter
Exceptions
PHPExcel_Writer_Exception

Definition at line 61 of file WriterPart.php.

References $_parentWriter.

Referenced by PHPExcel_Writer_Excel2007_Worksheet\_writeCell(), PHPExcel_Writer_Excel2007_Style\_writeCellStyleXf(), PHPExcel_Writer_Excel2007_Comments\_writeComment(), PHPExcel_Writer_Excel2007_Worksheet\_writeConditionalFormatting(), PHPExcel_Writer_Excel2007_Worksheet\_writeSheetData(), PHPExcel_Writer_OpenDocument_Content\_writeSheets(), PHPExcel_Writer_Excel2007_Worksheet\_writeSheetViews(), PHPExcel_Writer_Excel2007_Chart\_writeTitle(), PHPExcel_Writer_OpenDocument_Settings\write(), PHPExcel_Writer_OpenDocument_Meta\write(), PHPExcel_Writer_OpenDocument_Styles\write(), PHPExcel_Writer_OpenDocument_Content\write(), PHPExcel_Writer_Excel2007_Chart\writeChart(), PHPExcel_Writer_Excel2007_Comments\writeComments(), PHPExcel_Writer_Excel2007_ContentTypes\writeContentTypes(), PHPExcel_Writer_Excel2007_DocProps\writeDocPropsApp(), PHPExcel_Writer_Excel2007_DocProps\writeDocPropsCore(), PHPExcel_Writer_Excel2007_DocProps\writeDocPropsCustom(), PHPExcel_Writer_Excel2007_Rels\writeDrawingRelationships(), PHPExcel_Writer_Excel2007_Drawing\writeDrawings(), PHPExcel_Writer_Excel2007_Rels\writeHeaderFooterDrawingRelationships(), PHPExcel_Writer_OpenDocument_MetaInf\writeManifest(), PHPExcel_Writer_Excel2007_Rels\writeRelationships(), PHPExcel_Writer_Excel2007_RelsRibbon\writeRibbonRelationships(), PHPExcel_Writer_Excel2007_StringTable\writeStringTable(), PHPExcel_Writer_Excel2007_Style\writeStyles(), PHPExcel_Writer_Excel2007_Theme\writeTheme(), PHPExcel_Writer_Excel2007_RelsVBA\writeVBARelationships(), PHPExcel_Writer_Excel2007_Comments\writeVMLComments(), PHPExcel_Writer_Excel2007_Drawing\writeVMLHeaderFooterImages(), PHPExcel_Writer_Excel2007_Workbook\writeWorkbook(), PHPExcel_Writer_Excel2007_Rels\writeWorkbookRelationships(), PHPExcel_Writer_Excel2007_Worksheet\writeWorksheet(), and PHPExcel_Writer_Excel2007_Rels\writeWorksheetRelationships().

61  {
62  if (!is_null($this->_parentWriter)) {
63  return $this->_parentWriter;
64  } else {
65  throw new PHPExcel_Writer_Exception("No parent PHPExcel_Writer_IWriter assigned.");
66  }
67  }
+ Here is the caller graph for this function:

◆ setParentWriter()

PHPExcel_Writer_Excel2007_WriterPart::setParentWriter ( PHPExcel_Writer_IWriter  $pWriter = null)

Set parent IWriter object.

Parameters
PHPExcel_Writer_IWriter$pWriter
Exceptions
PHPExcel_Writer_Exception

Definition at line 51 of file WriterPart.php.

51  {
52  $this->_parentWriter = $pWriter;
53  }

Field Documentation

◆ $_parentWriter

PHPExcel_Writer_Excel2007_WriterPart::$_parentWriter
private

Definition at line 43 of file WriterPart.php.

Referenced by getParentWriter().


The documentation for this class was generated from the following file: