Forum


Replies: 4   Views: 2480
Get margins from template?
Topic closed:
Please note this is an old forum thread. Information in this post may be out-to-date and/or erroneous.
Every phpdocx version includes new features and improvements. Previously unsupported features may have been added to newer releases, or past issues may have been corrected.
We encourage you to download the current phpdocx version and check the Documentation available.

Posted by kobbe  · 11-12-2018 - 08:18

Thank you for fast reply.

I am not understandig what type to use.

$queryInfo = $docx->getDocxPathQueryInfo(null);
var_dump($queryInfo);

Result:

array(3) {
  ["elements"]=>
  object(DOMNodeList)#271 (1) {
    ["length"]=>
    int(1)
  }
  ["length"]=>
  int(1)
  ["query"]=>
  string(15) "//w:body/*[1=1]"
}
 

What parameters should I use? :o