I can successfully manipulate fileds on a master slide of a PPTX document with this code:
$TBS->PlugIn(OPENTBS_SELECT_SLIDE, '1', true); // select master slide
$TBS->MergeField('abk', 'ainfo', true); // merge field 'abk.ainfo'
However, I fail trying to do the same with an ODG file that is just the PPTX file saved in a different format through LibreOffice.
Any clues?
With OpenTBS last version (1.10.0), the argument for opening the master slide is simply ignored. This is a bug and it will be fixed in the next version.
Waiting for the fix, here is a workaround: in an ODP, the master slide is saved in the
styles.xml
sub-file. So you can open it with the command: