so i use getwordstyle but i cant find w:vertAlign tag.
did i do something wrong?
$docx = new CreateDocxFromTemplate('Test.docx');
$referenceNode = array(
'type' => 'paragraph',
);
$stylecontents = $docx->getWordStyles($referenceNode);
print_r($stylecontents);
and get:
Array ( [0] => Array ( [pPr] => Array ( [type] => w:pPr [val] => w:pPr [styles] => Array ( [0] => Array ( [tag] => w:pPr [type] => open [level] => 1 ) [1] => Array ( [tag] => w:jc [type] => complete [level] => 2 [attributes] => Array ( [w:val] => center ) ) [2] => Array ( [tag] => w:rPr [type] => open [level] => 2 ) [3] => Array ( [tag] => w:b [type] => complete [level] => 3 ) [4] => Array ( [tag] => w:rPr [type] => close [level] => 2 ) [5] => Array ( [tag] => w:pPr [type] => close [level] => 1 ) ) ) ) [2] => Array ( [pPr] => Array ( [type] => w:pPr [val] => w:pPr [styles] => Array ( [0] => Array ( [tag] => w:pPr [type] => open [level] => 1 ) [1] => Array ( [tag] => w:jc [type] => complete [level] => 2 [attributes] => Array ( [w:val] => center ) ) [2] => Array ( [tag] => w:rPr [type] => open [level] => 2 ) [3] => Array ( [tag] => w:b [type] => complete [level] => 3 ) [4] => Array ( [tag] => w:bCs [type] => complete [level] => 3 ) [5] => Array ( [tag] => w:lang [type] => complete [level] => 3 [attributes] => Array ( [w:eastAsia] => ko-KR ) ) [6] => Array ( [tag] => w:rPr [type] => close [level] => 2 ) [7] => Array ( [tag] => w:pPr [type] => close [level] => 1 ) ) ) ) [3] => Array ( [pPr] => Array ( [type] => w:pPr [val] => w:pPr [styles] => Array ( [0] => Array ( [tag] => w:pPr [type] => open [level] => 1 ) [1] => Array ( [tag] => w:rPr [type] => open [level] => 2 ) [2] => Array ( [tag] => w:lang [type] => complete [level] => 3 [attributes] => Array ( [w:eastAsia] => ko-KR ) ) [3] => Array ( [tag] => w:rPr [type] => close [level] => 2 ) [4] => Array ( [tag] => w:pPr [type] => close [level] => 1 ) ) ) ) [15] => Array ( [pPr] => Array ( [type] => w:pPr [val] => w:pPr [styles] => Array ( [0] => Array ( [tag] => w:pPr [type] => open [level] => 1 ) [1] => Array ( [tag] => w:jc [type] => complete [level] => 2 [attributes] => Array ( [w:val] => center ) ) [2] => Array ( [tag] => w:rPr [type] => open [level] => 2 ) [3] => Array ( [tag] => w:b [type] => complete [level] => 3 ) [4] => Array ( [tag] => w:bCs [type] => complete [level] => 3 ) [5] => Array ( [tag] => w:lang [type] => complete [level] => 3 [attributes] => Array ( [w:eastAsia] => ko-KR ) ) [6] => Array ( [tag] => w:rPr [type] => close [level] => 2 ) [7] => Array ( [tag] => w:pPr [type] => close [level] => 1 ) ) ) ) [62] => Array ( [pPr] => Array ( [type] => w:pPr [val] => w:pPr [styles] => Array ( [0] => Array ( [tag] => w:pPr [type] => open [level] => 1 ) [1] => Array ( [tag] => w:jc [type] => complete [level] => 2 [attributes] => Array ( [w:val] => center ) ) [2] => Array ( [tag] => w:rPr [type] => open [level] => 2 ) [3] => Array ( [tag] => w:b [type] => complete [level] => 3 ) [4] => Array ( [tag] => w:bCs [type] => complete [level] => 3 ) [5] => Array ( [tag] => w:rPr [type] => close [level] => 2 ) [6] => Array ( [tag] => w:pPr [type] => close [level] => 1 ) ) ) ) [63] => Array ( [pPr] => Array ( [type] => w:pPr [val] => w:pPr [styles] => Array ( [0] => Array ( [tag] => w:pPr [type] => open [level] => 1 ) [1] => Array ( [tag] => w:rPr [type] => open [level] => 2 ) [2] => Array ( [tag] => w:rFonts [type] => complete [level] => 3 [attributes] => Array ( [w:cs] => 굴림체 ) ) [3] => Array ( [tag] => w:szCs [type] => complete [level] => 3 [attributes] => Array ( [w:val] => 20 ) ) [4] => Array ( [tag] => w:rPr [type] => close [level] => 2 ) [5] => Array ( [tag] => w:pPr [type] => close [level] => 1 ) ) ) ) [96] => Array ( [pPr] => Array ( [type] => w:pPr [val] => w:pPr [styles] => Array ( [0] => Array ( [tag] => w:pPr [type] => open [level] => 1 ) [1] => Array ( [tag] => w:jc [type] => complete [level] => 2 [attributes] => Array ( [w:val] => center ) ) [2] => Array ( [tag] => w:rPr [type] => open [level] => 2 ) [3] => Array ( [tag] => w:b [type] => complete [level] => 3 ) [4] => Array ( [tag] => w:bCs [type] => complete [level] => 3 ) [5] => Array ( [tag] => w:rPr [type] => close [level] => 2 ) [6] => Array ( [tag] => w:pPr [type] => close [level] => 1 ) ) ) ) [575] => Array ( [pPr] => Array ( [type] => w:pPr [val] => w:pPr [styles] => Array ( [0] => Array ( [tag] => w:pPr [type] => open [level] => 1 ) [1] => Array ( [tag] => w:rPr [type] => open [level] => 2 ) [2] => Array ( [tag] => w:b [type] => complete [level] => 3 ) [3] => Array ( [tag] => w:bCs [type] => complete [level] => 3 ) [4] => Array ( [tag] => w:rPr [type] => close [level] => 2 ) [5] => Array ( [tag] => w:pPr [type] => close [level] => 1 ) ) ) ) [576] => Array ( [pPr] => Array ( [type] => w:pPr [val] => w:pPr [styles] => Array ( [0] => Array ( [tag] => w:pPr [type] => open [level] => 1 ) [1] => Array ( [tag] => w:rPr [type] => open [level] => 2 ) [2] => Array ( [tag] => w:lang [type] => complete [level] => 3 [attributes] => Array ( [w:eastAsia] => ko-KR ) ) [3] => Array ( [tag] => w:rPr [type] => close [level] => 2 ) [4] => Array ( [tag] => w:pPr [type] => close [level] => 1 ) ) ) ) [675] => Array ( [pPr] => Array ( [type] => w:pPr [val] => w:pPr [styles] => Array ( [0] => Array ( [tag] => w:pPr [type] => open [level] => 1 ) [1] => Array ( [tag] => w:jc [type] => complete [level] => 2 [attributes] => Array ( [w:val] => center ) ) [2] => Array ( [tag] => w:rPr [type] => open [level] => 2 ) [3] => Array ( [tag] => w:b [type] => complete [level] => 3 ) [4] => Array ( [tag] => w:rPr [type] => close [level] => 2 ) [5] => Array ( [tag] => w:pPr [type] => close [level] => 1 ) ) ) ) )