Recent News
|
InnPlanner 2010 Released
New faster database engine, more customization features, weekly tariffs, full multi-user work support and much more...
| |
InnPlanner 2010 RC1
InnPlanner 2010 Release Candidate 1 is ready for downloading and testing. You can download it from the "Downloads" section.
|
|
|
Hotel Software Documentation
Report Style Editor
Introduction
Report styles allow you to create any visual representation form when making a
printout like Catalogs, Photo albums, Envelopes, Mails, Labels,
Reports, Business Cards, etc.
Also report styles can be also used to show report windows.
To open Report Style Editor use Designer->Edit Report Styles... menu command.
You can also open Report Style Editor directly from the preview window:
This method is more preferable as it allows to see right away what the report
being edited will look like when printed.
Report Areas
 |
It is common practice that a report is divided into several areas.
This software presumes that a report consists of the following areas:
Header is printed on top of each page and usually contains the
company name and logo.
Title is printed on the first page only, right next to the header, and usually
contains the report name. The title area can also be used as a title page
(see the records layout section for more information).
Sub-Header is printed on each page, right after the title or the header.
As a rule, it is used to print tables, namely, field headers.
Records represents the data areas and forms the report's
body. The number of data areas is defined by the number of records used to
form the report. Each data area represents only one record. Records can also
be displayed in several columns and
grouped.
Summary is printed after all record data areas. It usually contains
information based on records included into the report (number of records,
number of pages, average cost, etc.)
Footer is printed at the bottom of each page and usually contains the page
number and the printout date.
|
Report Style Editor Interface
Report Style main window is visually divided into 4 parts:
1 - List of existing report styles. Use the list to select a report
style for editing. 2 - Area Editor Pane. Use this window to modify
areas and elements properties (positions, sizes, colors, fonts, etc.). 3 -
Toolbars. Contains report style management toolbar, edit toolbar and set of
elements. 4 - The selected element properties windows.
Report Style Management
Use the first panel to manage report styles:
Buttons description (from left to right):
- Create. Use the button to create a new report style. You can create
a blank report style or use a wizard.
- Clone. Use the button to clone the selected report style.
- Delete. Use the button to delete the selected report style.
- Move the report style in the list (Up/Down). Use the button to change
the report style position in the report style list (1).
- Modify Properties. Allows you to configure report style properties (such as name,
number of columns, records layout, printer, etc). Learn more about report style properties...
Editing Area
Click an area of the selected report style to select it. The selected area
is marked by color, all other areas are black-and-white:
You can select elements in the same way as you select an object in Windows.
To select a single element, click it with the left mouse button. To select multiple
elements, select them by moving the mouse while holding the left mouse button
down. The selected element is marked with eight blue handles on its sides and
corners of the element. In case of multiple selection, the first property tab
changes to Arrange and contains element alignment tools.
Move elements in the same way you move an object in Windows, i.e. via
drag-and-drop.
You can adjust the grid spacing and measurement units by selecting the
"Tools->Options..." menu item.
To copy/cut/paste/delete elements use the edit toolbar:

Element Creation Panel. Description
of Elements.
An area comprises a set of elements. The following elements are supported
(from left to right):
- Database Field is used to print the value of the record field. The main
parameter of this field is the name of the record field that contains the value to print.
Database Fields may be created on areas used for record data output
only.
- Formula Field is used to print the processed report data (e.g.
total product cost, product year fall of price, average age, etc.). The main
parameter of this field is a formula used to calculate the field value. For
example,
we know the product quantity and its price. The formula to calculate the total
consignment cost will be as follows: [Cost]*[Quantity].
The formula to calculate the average consignment cost will be as follows:
repMathOp(|Cost|,|SimpleAverage|). See the
Formula Editor section for more information.
Formula Fields may be created on areas of any type.
- Special Field is used to print special information, such as page
number, current date, number of pages , user input,
text formulas, math formulas etc.
Special Fields may be
created on areas of any type.
Know more about Special Field....
-
Chart is used to print charts (vertical/horizontal bars, pie charts). To create a chart, specify the field to be used as its argument (for example, time, the name of a town or a person) and the fields to be used as
the source of its values (for example, sales volume, population, height and weight of a person). Learn more about charts... Charts can be created
only on those areas that are not used for record data output (header, title, summary, footer).
- Static Text. This element is used to add static texts
on the report style (e.g. table header, company name, comments, etc.). The
content of the static information does not depend on the data to be printed and remains
constant. The main parameter of this element is the text. Static Text elements
may be created on areas of any type.
- Static Image. This element is used to add static
images on the report style (e.g. company logo). The
content of the static information does not depend on the data to be printed and remains
constant. The main parameter of this element is the picture. Static Image elements
may be created on areas of any type.
- Static Shape. This element is used to add static
shapes on the report style (e.g. lines, stars, etc.). The
content of the static information does not depend on the data to be printed and remains
constant. The main parameter of this element is the type of the shape. Static
Shape elements
may be created on areas of any type.
Element Properties Window.
Properties of the elements are grouped in five sheets.
Individual
This sheet varies
depending on the type of the edited field.
- For Database Field - sets the record fields used for output.
- For Formula Field - sets the formula to calculate the value of this
element.
- For Special Field - sets the information used for output (e.g. number
of pages, date, etc.).
- For Static Text Field - sets the field text.
- For Static Image Field - sets the field image.
- For Static Shape Field - sets the field shape and its properties.
Text Style
This tab allows setting the following visual properties of the text style:
- Text Alignment.
- Font.
- Line Spacing.
- Text Color.
Background
This tab assigns a frame, a background color or an image to the selected
element. The following parameters may be set:
- Background Color
- Background Picture
- Background Picture Scale and Position
Lines (Border)
This tab assigns borders (lines for shapes) to the selected
element. The following parameters may be set:
- Border Width
- Border Color
- Border Parts
Position
This tab sets the element behavior when the size of its contents changes as
well as the element positioning:
- Bring To Front, Send To Back - defines whether
the element overlaps the other ones or other elements overlap it.
- Auto-size Width/Height - if this box is checked, the element will
be resized automatically when the size of its contents changes.
- Absolute position on a page...
- defines the precise position of the element when it's printed out.
The position is measured from the top left corner of the sheet.
The position will be fixed and won't change depending of the number
of records, the size of the print area, etc. The position of an
element on paper doesn't depend on its position in the area when you edit the report.
- Snap Horizontal/Vertical Position to... - makes the distance
between the two elements constant, regardless of any changes in their sizes.
The following figure shows an example of the area with properties Auto-size
and Snap Position to... .

Below is the printout view of the area:
In this example, "Item Name"
and "Location" elements
change their sizes automatically, the "is located"
field is docked to the "Item Name"
field, whereas the "Location"
field is docked to the "is located"
field. The following figure displays the same area without docking:

Obviously, "is located" does not change its position and overlaps the
titles in three cases. If we turn the auto-size feature off, the text will be cut
off according to the element length:

The same rules are applied when setting the vertical position and the size of
the element.
Margins
This tab allows to set up margins for the element text. For example, this picture shows an element with the following margins:
- Top: 0.5 cm
- Bottom: 0.5 cm
- Left: 1 cm
- Right: 1 cm
See Also:
Report Style Properties (sort, group, columns, printer)
Report Style - Special Field
Printing
|
|
|
|
Today"s Poll
What software do use for your inn/b&b/hotel/etc?
|