Exempelfil placers.conf

<< Click to Display Table of Contents >>

Administration >

Exempelfil placers.conf

I tomcat-site\placers.conf går det att definierar egna placeringskommandon i ritningsramsredigeraren. Framförallt är det ritattributen som kan definieras här, men man kan även konfigurera placerare för attributlänkade texter.

 

Nedan följer ett exempel på hur konfigureringsfilen kan se ut:

 

# @author <a href="mailto:johan.winther@digpro.se">Johan Winther</a>, Digpro AB

#---

#--- Line, dp_otype=1130000, dp_ctype=21330
#---
[line_black_1px]
ctype=21330
title=Linje, svart, 1px
linecolor=0x000000
weight=1
style=0

 
[line_black_2px]
ctype=21330
title=Linje, svart, 2px
linecolor=0x000000
weight=2
style=0

 
#---
#--- Polygon, dp_otype=1130000, dp_ctype=21331
#---
[polygon_black_hole_1px]
ctype=21331
title=Yta med hål, svart, 1px
fillcolor=0xFFFFFF
linecolor=0x000000
fillstyle=1
weight=1
style=0

 
[polygon_black_hole_2px]
ctype=21331
title=Yta med hål, svart, 2px
fillcolor=0xFFFFFF
linecolor=0x000000
fillstyle=1
weight=2
style=0

 
#---
#--- Symbol, dp_otype=1130000, dp_ctype=21332
#---
[symbol_star_20mm]
ctype=21332
title=Symbol, star, grön med svart kant, 20mm
symbol_font=BASCEL
symbol_number=STAR
symbol_size=20
fillcolor=0x00FF000
linecolor=0xFFFFFF
weight=2

 
#---
#--- Raster, dp_otype=1130000, dp_ctype=21333
#--- Store images in: \tomcat-site\plot\frame\
#--- Supports jpg, png, gif
#---
[raster_fixedSize]
ctype=21333
title=Bild, fasta proportioner
file=T.png

 
[raster_freeSize]
ctype=21333
title=Bild, fri storlek
file=T.png
sizemode=free

 
[raster_size50x50]
ctype=21333
title=Bild, 50x50
file=T.png
height=50
width=50

 
#---
#--- Date text, dp_otype=1130001, dp_ctype=21334
#---
[Date_Edit_5mm]
otype=1130001
ctype=21334
subtype=1
title=Datum, 5mm, edit
linecolor=0x000000
font_size=5
style=0

 
[Date_EjEdit_Bold_5mm]
otype=1130001
ctype=21334
subtype=2
title=Datum, 5mm, fet, ej edit
linecolor=0x000000
font_size=5
style=10

 
#---
#--- Number text, dp_otype=1130002, dp_ctype=21335
#---
[Number_Edit_5mm]
otype=1130002
ctype=21335
subtype=1
title=Nummer, 5mm, edit
linecolor=0x000000
font_size=5
style=0

 
[Number_EjEdit_Bold_5mm]
otype=1130002
ctype=21335
subtype=2
title=Nummer, 5mm, fet, ej edit
linecolor=0x000000
font_size=5
style=10

 
#---
#--- Text, dp_otype=1130003, dp_ctype=21336
#---
[Text_Edit_5mm]
otype=1130003
ctype=21336
subtype=1
title=Text, 5mm, edit
linecolor=0x000000
font_size=5
style=0

 
[Text_EjEdit_Bold_5mm]
otype=1130003
ctype=21336
subtype=2
title=Text, 5mm, fet, ej edit
linecolor=0x000000
font_size=5
style=10

 
#---
#--- Plot text > Page number, dp_otype=1130000, dp_ctype=21338
#---
[plot_page_number]
ctype=21338
title=Sidnr, 5mm, fet, röd
linecolor=red
font_size=5
style=10

 
#--- Plot text > Scale, dp_otype=1130000, dp_ctype=21339

[plot_scale]
ctype=21339
title=Skala, 5mm, fet, röd
linecolor=red
font_size=5
style=10

 
#--- Plot text > Date, dp_otype=1130000, dp_ctype=21340
[plot_date]
ctype=21340
title=Datum, 5mm, fet, röd
linecolor=red
font_size=5
style=10

 
#--- Plot text > Paper size, dp_otype=1130000, dp_ctype=21341
[plot_paper_size]
ctype=21341
title=Papper, 5mm, fet, röd
linecolor=red
font_size=5
style=10

 
#--- Plot text > Coordinate system, dp_otype=1130000, dp_ctype=21342
[plot_coordinate_system]
ctype=21342
title=Ksys, 5mm, fet, röd
linecolor=red
font_size=5
style=10

 
#--- Plot text > Generated by, dp_otype=1130000, dp_ctype=21348
[plot_generated_by]
ctype=21348
title=Skapad av, 5mm, fet, röd
linecolor=red
font_size=5
style=10

 
#---
#--- Attribute text, dp_otype=1130004, dp_ctype=21337
#--- Organizer. Only Project(2500), Task(2501)
#--- Auto updated when save plot is linked to Task in Organizer.
#---
[Organizer_Project_5mm_SelectAttribute]
otype=1130004
ctype=21337
subtype=1
title=Organizer, Projekt, 5mm
ctype.allow=2500,*,*
font_size=5
linecolor=0x000000
style=0

 
[Organizer_Task_5mm_SelectAttribute]
otype=1130004
ctype=21337
subtype=1
title=Organizer, Uppdrag, 5mm
ctype.allow=2501,*,*
font_size=5
linecolor=0x000000
style=0

 
[Organizer_Project_5mm_LockedAttribute_EnterPrompt]
otype=1130004
ctype=21337
subtype=2
title=Organizer, Attribut Projektnamn, 5mm, Ange ledtext
linked_otype=2500
linked_ctype=20500
attribute=P_NAME
font_size=5
linecolor=0x000000
style=0

 
[Organizer_Project_5mm_LockedAttribute_Prompt]
otype=1130004
ctype=21337
subtype=2
title=Organizer, Attribut Projektnamn, 5mm, Ledtext
linked_otype=2500
linked_ctype=20500
attribute=P_NAME
font_size=5
linecolor=0x000000
style=0
prompt_text=LNKProjektnamn

 
#---
#--- Attribute text, dp_otype=1130004, dp_ctype=21337
#--- Any graphic object
#--- Link manually in freeplot preview.
#---
[Delivery_point_example_5mm_SelectAttribute]
otype=1130004
ctype=21337
subtype=1
title=EL Anslutningspunkt, 5mm
ctype.allow=703000,*,*
font_size=5
linecolor=0x000000
style=0

 
[All_Stations_example_5mm_SelectAttribute]
otype=1130004
ctype=21337
subtype=1
title=EL Stationer, 5mm
ctype.allow=702000-702999,*,*
font_size=5
linecolor=0x000000
style=0

 
[Delivery_point_example_5mm_LockedAttribute_EnterPrompt]
otype=1130004
ctype=21337
subtype=2
title=EL Anslutningspunkt, Attribut ID, 5mm, Ange ledtext
linked_otype=703000
linked_ctype=2000
attribute=OBJ_ID
font_size=5
linecolor=0x000000
style=0

 
[Delivery_point_example_5mm_LockedAttribute_Prompt]
otype=1130004
ctype=21337
subtype=2
title=EL Anslutningspunkt, Attribut ID, 5mm, Ledtext
linked_otype=703000
linked_ctype=2000
attribute=OBJ_ID
font_size=5
linecolor=0x000000
style=0
prompt_text=LNKAnslpunktID