PANTHEON™ Help

 Toc
 PANTHEON Help - Welcome
[Collapse]PANTHEON
 [Collapse]Guides for PANTHEON
  [Expand]Guide for PANTHEON
  [Expand]Guide for PANTHEON Retail
  [Expand]Guide for PANTHEON Vet
  [Expand]Guide for PANTHEON Farming
 [Collapse]User Manuals for PANTHEON
  [Expand]User Manual for PANTHEON
  [Expand]User Manual for PANTHEON Retail
  [Expand]User manual for PANTHEON Vet
  [Expand]User Manual for PANTHEON Farming
[Collapse]PANTHEON Web
 [Collapse]Guides for PANTHEON Web
  [Expand]Guide for PANTHEON Web Light
  [Expand]Guide for PANTHEON Web Terminal
  [Expand]Guide for PANTHEON Web Legal
  [Expand]Old products Archive
 [Collapse]User Manuals for PANTHEON Web
  [Expand]Getting started PANTHEON Web
  [Expand]User Manual for PANTHEON Web Light
  [Expand]User Manual for PANTHEON Web Terminal
  [Expand]User Manual for PANTHEON Web Legal
  [Expand]Old products Archive
[Collapse]PANTHEON Granules
 [Collapse]Guides for PANTHEON Granules
  [Expand]Personnel Granule
  [Expand]Travel Orders Granule
  [Expand]Documents and Tasks Granule
  [Expand]Dashboard Granule
  [Expand]B2B Orders Granule
  [Expand]Field Service Granule
  [Expand]Fixed Assets Inventory Granule
  [Expand]Warehouse Inventory Granule
 [Collapse]User Manuals for PANTHEON Granules
  [Expand]Getting started
  [Expand]Personnel Granule
  [Expand]Travel Orders Granule
  [Expand]Documents and Tasks Granule
  [Expand]B2B Orders Granule
  [Expand]Dashboard Granule
  [Expand]Field Service Granule
  [Expand]Fixed Assets Inventory Granule
  [Expand]Warehouse Inventory Granule
  [Expand]Archive
[Expand]User Site

Load Time: 359.3797 ms
"
  6613 | 1 | |
Label


Objects



 

Basic object settings

The report consists of objects that are intended to display text and graphics. The objects are also bands, page and object itself.

The basic work is labeling, selecting, deleting, moving, resizing and setting up a new object.

Selecting an object

If you want to move the object, change the size or properties, we must first select it. Select the object by clicking on it with the mouse. The object gets the platter, which means it is currently selected. Simultaneously select multiple objects by holding down the Shift key and clicking objects. You can also select more objects by holding down the Ctrl key and pressing and holding the left mouse button. Drag the mouse over the work surface. A dashed rectangle appears. All objects, which are entirely or partially in this rectangle, are selected. When we have selected the desired objects, we release the mouse button.

Deleting an object

Delete the object by selecting it and pressing the Delete key.

Moving the object

To move the object, use the mouse to place on it. The pointer gets the shape of a hand. Press and hold the left mouse button and move the mouse to the new location. There, the left button is lowered and the object remains in that place. In case when we move an object which is connected to another object, this one also moves.

 
Resizing the object

First we select the object. Then we place ourselves in the corner of the object, where the mouse pointer changes the shape. The mouse pointer changes to the line with arrows at both ends. Press and hold the left mouse button and drag the mouse in the desired direction.

Hiding objects

We hide the objects by selecting a checkmark in the Visible properties in the context menu. If this setting has a band, all the objects on it are also hidden.

Setting up a new object

If we want to put a new object on a report, first click on the icon with the object type in the object toolbar. Move the mouse over the work surface and click on the place where we want to place it. We will review the process below - when creating a new custom report.

Setting up a network for mapping objects

When moving objects on the report, they are difficult to align, as the objects are moved in by a continuous form. Therefore, we can set up a network that allows you to move through certain steps. We set the network properties in the settings of the formatter. We can turn it on or off in the standard toolbar by clicking the button . By clicking the button , we allow objects to be automatically attached to the network.

 

 

 

Editing text and designing text objects



Editing text

Editing the text is usually in text fields, but it is possible to add text along the system fields.

In example, we will replace the text in the "Workers" field with a new "Preport of Workers and Their Titles".

We do this by double-clicking on the object. Replace the old text with a new one by deleting the old text and entering a new one.




Click the OK button in the Memo window, we confirm the new text. Expand the box with the new text if necessary.


Toolbar for editing objects


Text in text objects can be formatted in different ways. First, we need to select the object, then use the buttons in the toolbar to define the text format.

 

Icon

Name

Description

No style

Style

shows style of selected "Text" object

select from drop-down list to change style of selected object

define styles in “Report>Styles”

Arial

Font Name

shows font of selected “Text” object

select from drop-down list to change font of selected object

shows last five fonts used at head of list

10

Font Size

shows font size of selected “Text” object

select from drop-down list to change font size of

selected object

can also type digits directly into edit box

clip0096

Bold (toggle)

toggles font Bold style of “Text” object's content on/off

clip0097

Italic (toggle)

toggles font Italic style of “Text” object's content on/off

clip0098

Underline (toggle)

toggles font Underline style of “Text” object's content on/off

clip0018

Font Settings

opens Font settings dialogue

clip0099

Font Color

drops down font color selection grid

clip0100

Highlight

opens highlight dialogue

can set a condition for highlighting

clip0019

Text Rotation

changes text rotation from drop-down list

clip0101

Align Left

left aligns text within “Text” object's frame

clip0102

Align Center

centre aligns text within “Text” object's frame

clip0103

Align Right

right aligns text within “Text” object's frame

clip0104

Justify

justifies text within “Text” object's frame

clip0105

Align Top

top aligns (vertical) text within “Text” object's frame

clip0106

Align Middle

middle aligns (vertical) text within “Text” object's frame

clip0107

Align Bottom

bottom aligns (vertical) text within “Text” object's frame

 

Transcription of design from one object to another


If we want to transfer the design of an object (alignment, font, color ...) from one object to another, first we mark the object from which we will transfer the properties. Then press the button  on the object toolbar to get the shape of the brush. Then we click on an object whose shape we want to change. When done, click on the arrow at the top of the Toolbar.


 

Hiding the objects


We can hide the objects by using right click menu on the object and use the Visible propertie in the context menu. If this setting has a band, all the objects on it are also hidden.





 


Oglejte primer skrivanja objektov v Uporabniškem priročniku!


 

 

Deleting objects

Objects on the printouts can be deleted. However, some objects also have a program code on a report that determines their properties. If we delete such an object, we must also delete all the program code that applies to it. If we move such an object to another band, we must also move the corresponding code there. Otherwise, a window with an error message will appear.

 


 

Changing of properties of objects

 

We access the properties of objects by selecting the object. In the View menu, select the Toolbars | Object Inspector. In the window that appears, we can determine the properties mentioned in the tables below.

An important feature of objects within the band, which can be set only in the object inspector, is Align.



Before moving objects, it is advisable to change the property Align to the baNone in the object inspector, and then change it again to its own needs.
The vast majority of objects on system reports have the Align property different from baNone, which means they are tied to either on the edge of the band or to each other.

 

Parameter Description
baNone Object is not aligned.
baLeft Object is aligned to the left.
baRight Object is aligned to the right.
baWidth Object is aligned to the left and right.
baCenter Object is aligned in the center.
baBottom Object is aligned to the lower side.
baClient Object is aligned across the object.

 

Other important features

Other important features of the text object are:

Parameter Description
GapX Defines the text offset from the left and right edge of the object.
GapY Defines the text offset from the upper and lower edge of the object.
LineSpacing Defines line spacing.
AutoWidth Defines whether the width of the object is automatically changed. This setting must be turned off in tables.
WordWrap Specifies whether the long text will be split into a new line. If AutoWidth is enabled, this feature has no meaning.

 

 

 

Frame editing





Description of the buttons from left to right (in the table below):

 

 

Name Description
Top line Display/hide top line of the frame.
Bottom line Display/hide bottom line of the frame.
Left line Display/hide left line of the frame.
Right line Display/hide right line of the frame.
All frame lines Display all frame lines.
No frame Hide all frame lines.
Edit frame Allows you to choose a line style. Only one row type can be selected for each object.

 

 

Object types


All elements that are placed on a report are called objects. There are several types of objects, depending on the type of data they are displaying: text, image, barcode ... Objects are also band, page and whole report. The objects may contain one another, they are bound together or stand on the report not bound. Each object has its own properties, which we can change with the help of quick buttons, convenient menus or in the object controller.

The toolbar for placing objects is located on the left side of the report window. Its characteristics are described in the table below.




Button description top-down:

 

Name Description
Band Omogoča prikaz vrednosti na različnih delih izpisa.
Text Prikaže neoblikovano besedilo.
Rich text Prikaže besedilo, oblikovano v formatu RTF.
Picture Prikaže sliko.
Draw object Odpre meni, iz katerega izberemo prikaz različnih črt in likov.
System text Prikaže sistemske podatke in agregatne vrednosti.
Barcode Prikaže podatke v obliki črtne kode.

 

 

Nastavitev lastnosti z nadzornikom objektov


Vse lastnosti objektov lahko nastavimo v nadzorniku objektov, ki ga prikažemo oz. skrijemo v meniju View | Toolbars | Object Inspector. Bližnjica s tipkovnico je F11.



Okno ima dva zavihka: Properties (lastnosti) in Events (dogodki). Na levi strani so lastnosti ali dogodki, na desni pa njihove vrednosti. V spodnjem delu okna so v angleščini kratki opisi posameznih lastnosti. Tudi nadzornik objektov je za vsako vrsto objekta drugačen.

Vrednost True  v nadzorniku objektov ustreza prikazani kljukici v priročnem meniju in pomeni,  da je lastnost »vključena«, vrednost False pa ustreza skriti kljukici in pomeni, da je lastnost »izključena«. 

 

Lastnosti grafičnih objektov


Grafični objekti so objekti, namenjeni prikazu slik, likov, črt in črtne kode. Najpomembnejši je objekt, namenjen prikazu slik. Njegove najpomembnejše lastnosti so:

 

 

Lastnost Opis
AutoSize Določa, ali se slika razteza čez cel objekt.
Center Določa, ali se slika prikaže na sredi objekta ali v zgornjem levem kotu objekta.
KeepAspectRatio Določa, ali se ohranja izvirno razmerje višine in širine slike.
Stretched Določa, ali se slika raztegne čez ves objekt.

 

 

 

Lastnosti objektov za besedilo


Objekt, ki ga največ uporabljamo za prikazovanje besedila, je memo  . Vanj vpisujemo eno ali več vrstic besedila. Njegove najpomembnejše lastnosti so:

Text Text je najpomembnejša lastnost objekta, v kateri definiramo besedilo ali izraz. Do nje pridemo tako, da dvokliknemo na objekt ali z izbiro lastnosti Memo v nadzorniku objektov ali z menijsko izbiro Edit v priročnem meniju.
GapX Določa odmik besedila od levega in desnega roba objekta.
GapY Določa odmik besedila od zgornjega in spodnjega roba objekta.
LineSpacing Določa razmik med vrsticami besedila.
Rotation        Določa smer izpisovanja besedila. 0 - vodoravno, 90 – navzgor... Izpisujemo lahko tudi poševno.
AutoWidth Določa, ali naj objekt prilagodi širino glede na dolžino besedila. V tabelah mora biti ta nastavitev izključena.
WordWrap Določa, ali se bo predolgo besedilo prelivalo v novo vrstico. Če je lastnost AutoWidth vključena, nima pomena.
StretchMode

Določa, kako naj objekt prilagodi višino glede na dolžino besedila. Na voljo so vrednosti: smDontStretched – višina se na spreminja, smActualHeight – višina se prilagodi višini besedila ali slike, smMaxHeight – višina se prilagodi višini pasu.

DisplayFormat Določa format podatka v objektu (besedilo, število, datum/ čas).
Font Določa nastavitve pisave, ki so podobne kot v urejevalnikih besedila.
Color Določa nastavitve barve ozadja. Posebnost je prosojna (transparentna) barva clNone.
HideZeros Določa, ali se izpisuje vrednost nič. To nastavitev je priporočljivo imeti vključeno pri datumih.
AllowExpression Omogoča izpisovanje izrazov.
AllowHTMLTags Omogoča oblikovanje besedila z oznakami HTML. Na voljo so oznake <b>, <i>, <u>, <sub>, <sup> in <font color>. Velikosti in vrste pisave ne moremo spreminjati.

Za zahtevnejše oblikovanje besedila uporabljamo objekt RichText (obogateno besedilo)  .

 
 

Formatiranje podatkov v objektov



Za formatiranje izpisa v tekstovnih objektih se uporablja lastnost DisplayFormat. Prikličemo jo tako, da objekt izberemo ter preko desnega gumba na miški izberemo to lastnost. Odpre se nam  pogovorno okno na sliki.



Na voljo so naslednje vrste formatov:

  • Text (besedilo),

  • Number (število),

  • DateTime (datum in čas) in

  • Boolean (logična vrednost).

Tu izberemo vrsto podatkov (podlastnost Kind)  in njihov format (podlastnost FormatStr). Uporabljamo lahko tako formatna določila iz urejevalnika preglednic Excel kot tudi tista iz programskega jezika C.
 
Podlastnosti lahko določamo tudi v nadzorniku objektov.


 

Če zapišemo datum v tekstovnem formatu, se izpiše v taki obliki, kot je določen v nastavitvah Windows okolja.

Za formatiranje lahko uporabljamo tudi funkcije, ki jih pišemo v kodi. Za formatiranje števil na primer uporabljamo funkcijo FormatFloat.

Spodnja izraza izpišeta celi del števila in njegovi prvi dve decimalni mesti:

[FormatFloat('#0', Int(n)]
[FormatFloat('00', Round(100 * Frac(n))))]


Formatiranje podatkov je mogoče tudi znotraj izraza (inline formatting), kot je prikazano v spodnjem primeru

Danes je [NOW #d dddd], [NOW #d d.m.yyyy], ura je [NOW #d hh.mm.ss].

Formatna določila ne vplivajo na format podatkov, ki se vpisujejo v programski kodi na izpisu ali kodi v programu.


Nekaj uporabnejših formatov:

Števila

 

 

Format Primer izpisa
#0.00  1234,56
#,##0.00 1.234,56
#0 1235


Datum in čas

 

 

 

 

Format Primer izpisa
dd.mm.yyyy  05.06.2008
d.m.yy 5.6.08
dd. mmm yyyy 05. jun 2008
dd. mmmm yyyy 05. junij 2008
ddd Čet
dddd Četrtek
hh:mm 08:07
hh:mm:ss 08:07:06


Pri datumskih poljih je potrebno v primeru, ko je mogoče, da podatek ni vnesen, vključiti lastnost HideZeros, sicer se izpisujejo »čudne« vrednosti. To lastnost lahko tudi sicer vključimo pri vseh datumskih poljih.

 

 

 

 

 

 

 

 

 

 

Posebni objekti

Črtna koda


Odpremo izpis 02A, ki je v programu v meniju Nastavitve | Identi, kliknemo na gumb Izpisi (Šifranta) ter v oknu Izpis identov odpremo želeni izpis ter ga shranimo z novim imenom.

Z orodne vrstice z objekti dodamo na izpis v pas MasterData objekt s črtno kodo   . Odpre se nam spodnje pogovorno okno.



Izberemo vrednosti na sliki. Če ne vemo, kateri tip kode naj izberemo, izberemo tip kode Code128A, ker se lahko bere s čitalcem črtne kode.

Objekt še postavimo na želeno mesto in raztegnemo. Opredelimo mu lastnosti DataField in DataSet (kot prikazuje slika). Vedno izberemo poizvedbo, ki je določena za pas, na katerem leži objekt, in polje iz iste poizvedbe.

 


Slika identa iz šifranta identov


Na izpis damo komponento za prikaz slike in ji v oknu Object Inspector nastavimo lastnost DataSet  (podatkovni vir) na qMSIzpisSif in lastnost DataField (podatkovno polje) na acPicture.



 

Pogojno barvanje


S pogojnim barvanjem lahko v izpisih poudarimo vrednosti v določenih objektih, seveda pod določenimi pogoji, ki jih mi definiramo.

To storimo tako, da označimo objekt. Izberemo gumb  na orodni vrstici  za oblikovanje besedila. Vpišemo pogoj v polje Condition (kot prikazuje slika) ter ostale atribute za oblikovanje.



 


Oglejte si zanimive primere v uporabniškem priročniku, ki vam bodo pomagali razumeti področje pogojnega barvanja.


 

Objekt Engine


Objekt Engine upravlja tiskanje izpisa. Z njegovo uporabo je mogoče natisniti izpise zelo posebnih oblik. 



Slika - objekt Engine

Lastnosti in metode objekta Engine so:

 

 

CurX Vrne odmik pozicije tiskanja od levega roba.
CurY Vrne odmik pozicije tiskanja od zgornjega roba.
Height Vrne višino strani za tiskanje.
NewPage Procedura za začetek tiskanja na novo stran.
FreeSpace Vrne višino preostalega prostora na strani.
DoublePass Če izberemo to nastavitev, se izpis najprej ustvari v pomnilniku, v drugem prehodu pa se natisne. Takrat se lahko izračunajo količine, ki se v prvem prehodu niso mogle.
FinalPass Določa, ali je pri nastavitvi DoublePass izpis pri drugem prehodu.

 

 


Oglejte si primer objekta Engine v uporabniškem priročniku!



 

  

     


Rate this topic
Was this topic usefull?
Comments
Comment will also bo visible in forum!