Class VsWord
Class VsWord. The main class is responsible for creating the document.
Methods summary
public
|
|
public
WordDirDocumentStructureDocFile
|
#
getDocument( )
Get the object responsible for the construction of DOM model document.
Get the object responsible for the construction of DOM model document.
Returns
|
public
WordDirRelsDirDocumentStructureDocFile
|
#
getRels( )
Get the object responsible for the relationship in the document.
Get the object responsible for the relationship in the document.
Returns
|
public
WordDirStylesStructureDocFile
|
#
getStyle( )
Get the object responsible for the style in the document.
Get the object responsible for the style in the document.
Returns
|
public
AttachVsWord
|
#
getAttachImage( string $fileName )
Snap a picture file to the document.
Snap a picture file to the document.
Parameters
- $fileName
string $fileName
Returns
Throws
|
public
|
#
load( string $from )
No implementation.
Parameters
- $from
string $from filename
Throws
|
public
|
#
saveAs( string $to = 'document.docx' )
Save current object to docx file.
Save current object to docx file.
Parameters
|
protected
|
|
protected
array
|
|
public static
|
#
autoLoad( )
Registers autoload class handler.
Registers autoload class handler.
|
public static
boolean
|
#
handler( string $className )
Handler autoload classes.
Handler autoload classes.
Parameters
- $className
string $className
Returns
boolean
|