PptxPath
PptxPath
PptxPath is available in Advanced and Premium licenses. This feature facilitates the low level work with PPTX presentations through easy but powerful methods that allow you to delete, clone, move and return almost any PowerPoint content.
This feature benefits from the flexibility that a set of options adds. This set allows to filter by content type, position, text, parents, attributes or dynamic queries.
For example, it is possible to move an image to another slide, get elements information, remove paragraphs that contains a certain text, delete one or more rows from a table, clone and move slides... The possibilities of PptxPath are almost endless.
PptxPath is compatible with new presentations and templates.
moveElement: this method moves existing elements in the presentation to another slide.
If you need to obtain information about the data the XPath query returns, you can run the getPptxPathQueryInfo method. Thanks to this new method it is possible to get the elements and the string of the query.
- If the option occurrence is not set all references of the query will be changed.
- When setting a referenceNode it is mandatory to employ at least one of the available options.
- If you need to set the last occurrence of an element you can use the value -1. The first element is always 1, unlike PHP arrays, in which the first element is 0.