Batch change table format
Moderators: Alexander Halser, Tim Green
Batch change table format
Is it possible to batch change the styles of all tables in a selection of topics?
- Tim Green
- Site Admin
- Posts: 23181
- Joined: Mon Jun 24, 2002 9:11 am
- Location: Bruehl, Germany
- Contact:
Re: Batch change table format
Hi Gareth,
You can't do a global operation like this from within Help+Manual, but you can do it on the XML code of the topic files using a code editor with multi-file search and replace facilities, like the free Notepad++. For changing the style assignment of tables this is particularly easy. You just need to search for:
<table styleclass="StyleName"
and replace it with the name of the style you want to use. You need to use the uncompressed HMXP format so that you can access the topic files in the \Topics folder directly for editing.
Always make a backup before doing something like this. Mistakes can be far-reaching...
You can't do a global operation like this from within Help+Manual, but you can do it on the XML code of the topic files using a code editor with multi-file search and replace facilities, like the free Notepad++. For changing the style assignment of tables this is particularly easy. You just need to search for:
<table styleclass="StyleName"
and replace it with the name of the style you want to use. You need to use the uncompressed HMXP format so that you can access the topic files in the \Topics folder directly for editing.
Always make a backup before doing something like this. Mistakes can be far-reaching...
Regards,
Tim (EC Software Documentation & User Support)
Private support:
Please do not email or PM me with private support requests -- post to the forum directly.
Tim (EC Software Documentation & User Support)
Private support:
Please do not email or PM me with private support requests -- post to the forum directly.