<< Click to Display Table of Contents >> Example file placers.conf |
In the tomcat-site\placers.conf it is possible to define own location commands in the drawing frame editor. Especially the drawing attributes may be defined here, but it is also possible to configure placer for attribute linked texts.
Below is an example on how a config. file may look like:
# @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=Line, black, 1px
linecolor=0x000000
weight=1
style=0
[line_black_2px]
ctype=21330
title=Line, black, 2px
linecolor=0x000000
weight=2
style=0
#---
#--- Polygon, dp_otype=1130000, dp_ctype=21331
#---
[polygon_black_hole_1px]
ctype=21331
title=Surface with hål, black, 1px
fillcolor=0xFFFFFF
linecolor=0x000000
fillstyle=1
weight=1
style=0
[polygon_black_hole_2px]
ctype=21331
title=surface with hål, black, 2px
fillcolor=0xFFFFFF
linecolor=0x000000
fillstyle=1
weight=2
style=0
#---
#--- Symbol, dp_otype=1130000, dp_ctype=21332
#---
[symbol_star_20mm]
ctype=21332
title=Symbole, 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=Image, fixed size
file=T.png
[raster_freeSize]
ctype=21333
title=Image, free size
file=T.png
sizemode=free
[raster_size50x50]
ctype=21333
title=Image, 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=Date, 5mm, edit
linecolor=0x000000
font_size=5
style=0
[Date_EjEdit_Bold_5mm]
otype=1130001
ctype=21334
subtype=2
title=Date, 5mm, bold, non 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=Number, 5mm, edit
linecolor=0x000000
font_size=5
style=0
[Number_EjEdit_Bold_5mm]
otype=1130002
ctype=21335
subtype=2
title=Number, 5mm, bold, non 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, bold, non 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, bold, röd
linecolor=red
font_size=5
style=10
#--- Plot text > Scale, dp_otype=1130000, dp_ctype=21339
[plot_scale]
ctype=21339
title=Scale, 5mm, bold, röd
linecolor=red
font_size=5
style=10
#--- Plot text > Date, dp_otype=1130000, dp_ctype=21340
[plot_date]
ctype=21340
title=Date, 5mm, bold, 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=Paper, 5mm, bold, 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, bold, 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,bold, 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, Project, 5mm
ctype.allow=2500,*,*
font_size=5
linecolor=0x000000
style=0
[Organizer_Task_5mm_SelectAttribute]
otype=1130004
ctype=21337
subtype=1
title=Organizer,Mission, 5mm
ctype.allow=2501,*,*
font_size=5
linecolor=0x000000
style=0
[Organizer_Project_5mm_LockedAttribute_EnterPrompt]
otype=1130004
ctype=21337
subtype=2
title=Organizer, Attribute Projectname, 5mm, Enter leadtext
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, Attribute Projectname, 5mm, Leadtext
linked_otype=2500
linked_ctype=20500
attribute=P_NAME
font_size=5
linecolor=0x000000
style=0
prompt_text=LNKProjectname
#---
#--- 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 Deliverypoint, 5mm
ctype.allow=703000,*,*
font_size=5
linecolor=0x000000
style=0
[All_Stations_example_5mm_SelectAttribute]
otype=1130004
ctype=21337
subtype=1
title=EL Stations, 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 Deliverypoint, Attribute 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 Deliverypoint, Attribute ID, 5mm, Leadtext
linked_otype=703000
linked_ctype=2000
attribute=OBJ_ID
font_size=5
linecolor=0x000000
style=0
prompt_text=LNKAnslpunktID