When adding textboxes to my document the positioning gets all messed up.
But if I do this:
$docx->addText('my label);
$docx->addTextBox('myval);
The my label appears either above, under or after the textbox. I want it above. I have experimented with
'relativeToHorizontal' 'relativeToVertical'
and
'position'
If I set a textbox to be displayed in line with text like this-> https://pasteboard.co/p733q4sfbTJ8.png it works perfect. Sorry, I only have Word in Swedish.
How do I make this setting when creating the text box in phpdocx?