Customizing Stationery for Output Format-Specific Features : Customizations Specific to Oracle Help and Sun JavaHelp : Using Custom Windows in Oracle Help
Using Custom Windows in Oracle Help
By default, Oracle Help uses the standard Oracle Help viewer. You can modify the size, position, and other characteristics of the Oracle Help windows. You can also define and use custom windows in your Oracle Help project. To define custom windows, you need to override the template.hs file, which is used to create your helpset .hs file.
Once you have defined custom windows in a project, you can assign topics to them by adding the WindowType marker in specific topics in your source documents. When you assign a topic to a custom window, the topic is displayed in that window whenever users view the topic.
To override the template.hs file in Oracle Help
1. In your Stationery design project, on the View menu, click Project Directory. For more information about override files and locations, see “Understanding Stationery, Projects, and Overrides”.
2. If you want to override the default settings for all Oracle Help targets in the project, create the Formats\Oracle Help\Pages folder in your project folder.
3. If you want to override the default settings for a specific target, create the Targets\targetname\Pages folder in your project folder, where targetname is the name of the target you want to override.
4. Copy the template.hs file from the following folder to the override folder you created within your project folder:
Program Files\WebWorks\ePublisher Designer\Formats\Oracle Help\Pages
5. Open the template.hs file you copied to your project override folder.
6. Modify the template.hs file as needed. For more information about this file, see the Oracle Help documentation.
7. Save and close the template.hs file.
8. Regenerate your output and review the results.