utilities
[ class tree: utilities ] [ index: utilities ] [ all elements ]

Class: MergeDocx

Source Location: /MergeDocx.inc

Class Overview




Methods



Class Details

[line 19]


[ Top ]


Class Methods


constructor __construct [line 350]

MergeDocx __construct( )

Class constructor



Tags:

access:  public


[ Top ]

destructor __destruct [line 412]

void __destruct( )

Class destructor



Tags:

access:  public


[ Top ]

method getDocxStructuralData [line 818]

array getDocxStructuralData( &$docDOM, &$relsDOM, &$contentTypesDOM, [string $relabel = false], DOMDocument $docDOM, DOMDocument $relsDOM, DOMDocument $contentTypesDOM)

This is the method that extarcts all the sttructural info of a given docx



Tags:

access:  public


Parameters:

DOMDocument   $docDOM  
DOMDocument   $relsDOM  
DOMDocument   $contentTypesDOM  
string   $relabel   this variable controls if we have to reset the ids of the relevant DOMDocuments
   &$docDOM  
   &$relsDOM  
   &$contentTypesDOM  

[ Top ]

method merge [line 425]

void merge( string $firstDocument, string $secondDocument, string $finalDocument, array $options)

This is the main method that does all the needed manipulation to merge

both docx documents




Tags:

access:  public


Parameters:

string   $firstDocument   path to the first document
string   $secondDocument   path to the second document
string   $finalDocument   path to the final merged document
array   $options  

[ Top ]

method uniqueDecimal [line 1231]

int uniqueDecimal( [ &$takenIds = array()], [int $min = 9999], [int $max = 0])

Generates a unique Decimal number



Tags:

access:  public


Parameters:

int   $min  
int   $max  
   &$takenIds  

[ Top ]


Documentation generated on Mon, 13 Jan 2014 13:44:24 +0100 by phpDocumentor 1.4.4