Applies to HTML Viewer publications.
The “HTML Viewer” component is the most important one in your ebooks made with HTML Executable: it displays one or more HTML documents in the main window (subdivided if working with frames). The default HTML properties and other things can be configured as you want.
AllowToolbarForPDF: enables or disables the toolbar of Adobe Reader for viewing PDF files.
DefBackground: sets the viewer’s default background color. This is the background color when no background information is present in the HTML document file. Either clBtnFace or clWindow are appropriate values.
DefFontColor: sets the viewer’s default text color. This is the color used when no text attribute information is present in the HTML document file.
DefFontName: sets the viewer’s font name.
DefFontSize: sets the default font size for the viewer’s normal text. The value entered is the point size. Headings, spacing, and other various sizes are scaled appropriately.
DefHotSpotColor: sets the viewer’s default color for links. This is the color used if the link color is not otherwise specified in the HTML document file.
DefOverLinkColor: sets the default color for links when the mouse is over the link and the OverLinksActive option is set. This is the color used if the active link color is not otherwise specified in the HTML document file.
DefVisitedLinkColor: sets the default color for links which have been previously visited. This is the color used if the VLink attribute is absent from thetag in the HTML document file.
MarginHeight, MarginWidth: These two properties determine the margins around the HTML Viewer display. Values are in pixels. The default vertical margin is 5 and the default horizontal margin is 10.
MetaRefresh: handles the Refresh meta tag in HTML pages or not. Not really useful however.
NoLinksUnderline: turns off underlines on links, even with the
OverLinksActive: when set, link color will change when the mouse is over the link. Color is determined by the special
olink attribute of the
<body> tag, if present. If this attribute is absent, the DefOverLinkColor property determines the color.
StopMediaOnNewPage: if True, when a media file (WAV, MIDI) is played by the internal media player (for example, if an HTML page has a
<bgsound> tag), the latter is stopped if the user navigates to another page.
ViewImages: decides whether the HTML Viewer displays images or not.
Copyright G.D.G. Software 2018. All rights reserved