$docx = new CreateDocxFromTemplate('wordUpload/0hwkiexKKE22-00723_up.docx');
$asd = array(
'type' => 'paragraph',
'contains' => '上記回動軸ã¯ã€ä¸Šè¨˜å…‰è»¸ã¨ãã˜ã‚Œã®é–¢ä¿‚ã«ã‚ã‚‹ã€å…‰å¦ç³»ã€‚'
);
$queryInfo = $docx->getDocxPathQueryInfo($asd);
foreach ($queryInfo['elements'] as $element) {
$attributes = $element->attributes;
if(!is_null($attributes))
{
foreach ($attributes as $index=>$attr)
{
echo $attr->name."=\"".$attr->value."\"";
}
}
}
paraId="2C1EECD0"textId="77777777"rsidR="004F0C7A"rsidRPr="004F0C7A"rsidRDefault="004F0C7A"rsidP="004F0C7A"
i only get that.
<w:p w14:paraId="2C1EECD0" w14:textId="77777777" w:rsidR="004F0C7A" w:rsidRPr="004F0C7A" w:rsidRDefault="004F0C7A" w:rsidP="004F0C7A">
<w:r w:rsidRPr="004F0C7A">
<w:tab/>
</w:r>
<w:r w:rsidRPr="004F0C7A">
<w:t>上記回動軸ã¯ã€ä¸Šè¨˜å…‰è»¸ã¨ãã˜ã‚Œã®é–¢ä¿‚ã«ã‚ã‚‹ã€å…‰å¦ç³»ã€‚</w:t>
</w:r>
</w:p>
i want to get if this sentence has <w:lastRenderedPageBreak/>, <w:tab/>,<w:t xml:space="preserve">;
how can i?