Preprocessing Tab
Use 'Pre-processing' tab settings to perform custom processing
of all help system pages during conversion.
To activate pre-processing of online help system pages check the
'Use page pre-processing' box and set the following options:
- Delete all data before given sub-string - set this
option if you would like to delete all text from the beginning of
html file to the first sub-string occurrence in the text. If you
check the 'Use regular expressions' box then instead of specifying
a sub-string you should enter a regular expression. Regular
expressions syntax can be found in 'Regular Expressions' section of help. Set the
'Including sub-string' option to make chm2web delete text from the
beginning to the first occurrence of a sub-string including the
sub-string itself. There are several common use typical elements
removal presets available. To choose a preset, click the 'Preset'
button.
- Delete all data after given sub-string - set this option
if you would like to delete all text from the last sub-string
occurrence in the text to the end of html file. If you check the
'Use regular expressions' box then instead of specifying a
sub-string you should enter a regular expression. Regular
expressions syntax can be found in 'Regular Expressions' section of help. Set the
'Including sub-string' option to make chm2web delete text from the
last occurrence of a sub-string to the end of html file including
the sub-string itself. There are several common use typical
elements removal presets available. To choose a preset, click the
'Preset' button.
- Add page header - check this option to include your
custom html code header into each help system page. Html code will
be inserted right after the <BODY> tag of a page.
- Add page footer - check this option to include your
custom html code footer into each help system page. Html code will
be inserted right before the </BODY> tag of a page. You can
use this option to add a page hit counter to each of your online
help system pages.
You can add your own presets. An example illustrating how to do
that is available in chm2web installation folder
(chm2web\Examples\Preset).
|