WYSIWYG

WPTools 5 will always work in WYSIWYG mode, this means the printed output will always match the output you saw in the editor. Making this work is actually a quite complicated task and the editing engine has to be well prepared for it so the concept of WPTools5 was created from ground up to make this consequent WYSIWYG behavior possible.

WPTools supports several Layout modes


Normal: the page margins are not visible. Optionally the page breaks can be displayed as dotted lines.
"PageGap" and "Extended PageGap": Similar to normal, but space between pages is filled with the 'desktop' color. The page number any other text) can be displayed here, too.
Page Layout Mode: The complete page is displayed. This includes the header and footer text which can be edited, too.
Double Page: Display 2 pages side by side and adjust the zooming to make always the complete page or page width visible.
Thumbnail: Display thumnails of the pages in as many columns possible


Editor in Thumbnail mode

Of course there are further combinations of properties which are not listed here. i.e. the "AutoZoom" property which can have the following values:
wpAutoZoomOff : use custom zooming value
wpAutoZoomWidth : zoom to show full page width
wpAutoZoomFullPage : zoom to show full page (also works with double page)
wpAutoZoomAdjustColumnCount : arrange as many pages side by side as possible depending on custom zoom setting.

The property PageColumns can be set to the number of virtual pages which should be displayed side by side.

We have added the procedure SetZoomMode. It is used to set a number of properties with just one function call. This procedure makes it very easy to add provide combobox with a number of view options in the applications to impress the end user of your program.
Please note that in any layout mode the text stays editable!