The Golden Section labs GoldenSection Notes Online Help   Prev Page Prev Page
General information
About GSNotes
Overview of features
Installation and system requirements
What's new in this version?
History of changes
Year 2000 compliance
Working with program
Adding and editing notes
Inserting hyperlinks
Paragraph formatting
Inserting tables
Table properties
Search in comments
Attaching files
View image
Graphic formats
Recycle Bin
User interface
System tray icon
Toolbar and menus
File menu
Edit menu
View menu
Document menu
Record menu
Insert menu
Format menu
Table menu
Tools menu
Help menu
Working with files
Database manager
Search in file
Working with documents
Document properties
Protecting documents by password
Working with records
Printing documents
Print preview
Print report options
Sections and keywords
Example of template
Program options
Additional options
User interface
Creating documents
Font settings
Interface language
Dialog box options
Converting files of 1.xx format
Technical support
You've lost a key?
E-mail address has been changed?
License and registration
Limitations of unregistered version

Example of template

Example of creating and using a template

To create a new template, open a file with the .rep extension in any available text editor (for example, Notepad) and make some changes. This gives you an opportunity to customize output reports to suit all your needs.
For example, on printing notes, to output information about the note creation time, you need to open the notes.rep file (C:\Program files\GoldenSection Notes\Reports\notes.rep).

Contents of the source file:


<META http-equiv=Content-Type content="text/html; charset=%%Charset%%">
<BODY bgcolor=#FFFFFF leftmargin=5 topmargin=5 rightmargin=5 bottommargin=5>
<FONT size=2 color=#000000 face="Arial">

%%ImgCaption%% <STRONG>%%Caption%%</STRONG>


<TABLE border=1 cellpadding=3 width="100%" cellspacing=0>
  <tr bgcolor="%%BGColor%%"> <td>%%IgnoreHtmlTitle%%</td> </tr>


<TABLE border=0 cellpadding=0 cellspacing=0 width="100%" bgcolor="%%BGColor%%">


The corresponding report looks like this:

First of all, you must assign the report a new name and description. To do this, modify text in quotations marks in the [%%ReportCaption="Notes"%%] and [%%ReportDescription=""%%] sections.
For example:

[%%ReportCaption="Notes with the date"%%]
[%%ReportDescription="A date of creation is output near the note title"%%]

(Here and further in the text, the red font color indicates our modifications and additions made).
Let's modify the source file by adding a value (date and time of creation) to the Created field in the [%%ROWTABLE%%] section. To do this, we add a cell with a width of 140 and the value of $$Created$$.


<TABLE border=1 cellpadding=3 width="100%" cellspacing=0>
  <tr bgcolor="%%BGColor%%"> <td>%%IgnoreHtmlTitle%%</td>
  <td width=140>$$Created$$</td>


Let's rename the file, for example, to notesdate.rep
At the same time, the Notes with the date value will appear in the Report template dropdown list of the Report options dialog box.
In result, the report will have the following appearance:

If you make a mistake in spelling a keyword or entering a field value, the following error message appears upon printing:
%!. . .!%    error in a keyword
@!. . .!@ error in a field name
$!. . .!$ error in a field value

where ". . ." is substituted by incorrectly entered data.

Copyright (c) 1999-2011 TGS Labs
Converted from CHM to HTML with chm2web Standard 2.85 (unicode)