I load docx file to know the size of margin for each section. I use this code
$phpWord = \PhpOffice\PhpWord\IOFactory::load('test.docx');
$sections = $phpword->getSections();
foreach($sections as $key=>$section) {
$style = $section->getStyle();
$marginTop = $style->getMarginTop();
}
The var_dump() give me always 1400 twips regardless of the size of docx margin. I don't understand why.