Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Copying table to new documents with styles intact #6

Closed
s3nn opened this issue Mar 2, 2019 · 1 comment
Closed

Copying table to new documents with styles intact #6

s3nn opened this issue Mar 2, 2019 · 1 comment

Comments

@s3nn
Copy link

s3nn commented Mar 2, 2019

Hey jdum,

I'm trying to copy multiple tables from multiple documents to one final single document. The problem is the tables have styles and sub-elements (such as images / tables) which are not being copied as they should to the new document.

I have tried merging all styles into the final document and then copying over the tables but this seems to cause some conflict. I have also just tried cloning the tables and appending them to the new document but this doesn't work either.

Could you suggest the best way of attempting to do this ?

Thanks in advance,
s3nn

@jdum
Copy link
Owner

jdum commented Mar 7, 2019

Hi,
It depends a lot of the structure of your data. Note that for complex structures like table in tables, you may need to look the way table are created (in frames? in text document or spread sheet?).
Basically, tables are lists of rows, so reading them and recreating a table should work. The top-down approach also work, but "appending tables" can require to create frames before.

@jdum jdum closed this as completed Feb 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants