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

Setting placeholder text in list of tables via field code 'TOC \\h \\z \\c "Table"' #1418

Open
banagale opened this issue Jul 26, 2024 · 0 comments

Comments

@banagale
Copy link

I have a list of tables I'm populating using a field code like this:

        instrText.text = 'TOC \\h \\z \\c "Table"'  

It works well, but if there are no tables, Microsoft Word will use the placeholder text:

No table of figures entries found.

That looks a bit weird, since the heading directly above it is "List of Tables"

I tried this but it didn't take:

        instrText.text = 'TOC \\h \\z \\c "Table" \\* MERGEFORMAT \* \\z "No tables found in the document."'
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

1 participant