dave-howard / vsdx

vsdx - A python library for processing .vsdx files
BSD 3-Clause "New" or "Revised" License
70 stars 25 forks source link

Mechanism to move/copy shape from one page to another using jinja #21

Open dave-howard opened 3 years ago

dave-howard commented 3 years ago

I would like to be able to have a tag like {% move_to_page <string> %} where is the page_name

Maybe needs some thought about the definition above, possibly add a {% move_to_page_index <int> %} also

Where this tag exists in shape or group shape text, the shape should be moved to page identified by page name /index

Same logic for copy methods which would leave the original shape in place