tvplanit: Add loading of saved print formats to FullDemo.

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5047 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
wp_xxyyzz
2016-07-29 15:56:52 +00:00
parent 2daef0ba4a
commit ccf954454a
7 changed files with 833 additions and 1 deletions

View File

@@ -0,0 +1,746 @@
<?xml version="1.0" encoding="UTF-8"?>
<VpPrintFormats
Version = "0.0.1">
<PrintFormat
Name="DayView Format Test (portrait)"
Description=""
DayIncrement="0"
Visble="True"
DayIncrementUnits="Day">
<Element
Name="Element 1"
Visible="True"
Rotation="0"
Item="DayView"
Measurement="Inches"
Left="1"
Top="1"
Width="8"
Height="11"
DayOffset="0"
DayOffsetUnits="Day">
</Element>
</PrintFormat>
<PrintFormat
Name="DayView Format Test (landscape)"
Description=""
DayIncrement="0"
Visble="True"
DayIncrementUnits="Day">
<Element
Name="Element 1"
Visible="True"
Rotation="270"
Item="DayView"
Measurement="Percent"
Left="0"
Top="0"
Width="100"
Height="100"
DayOffset="0"
DayOffsetUnits="Day">
</Element>
</PrintFormat>
<PrintFormat
Name="WeekView Format Test (portrait)"
Description=""
DayIncrement="0"
Visble="True"
DayIncrementUnits="Day">
<Element
Name="Element 1"
Visible="True"
Rotation="0"
Item="WeekView"
Measurement="Percent"
Left="0"
Top="0"
Width="100"
Height="100"
DayOffset="0"
DayOffsetUnits="Day">
</Element>
</PrintFormat>
<PrintFormat
Name="WeekView Format Test (landscape)"
Description=""
DayIncrement="0"
Visble="True"
DayIncrementUnits="Day">
<Element
Name="Element 1"
Visible="True"
Rotation="270"
Item="WeekView"
Measurement="Percent"
Left="0"
Top="0"
Width="100"
Height="100"
DayOffset="0"
DayOffsetUnits="Day">
</Element>
</PrintFormat>
<PrintFormat
Name="MonthView Format Test (portrait)"
Description=""
DayIncrement="0"
Visble="True"
DayIncrementUnits="Day">
<Element
Name="Element 1"
Visible="True"
Rotation="0"
Item="MonthView"
Measurement="Percent"
Left="0"
Top="0"
Width="100"
Height="100"
DayOffset="0"
DayOffsetUnits="Day">
</Element>
</PrintFormat>
<PrintFormat
Name="MonthView Format Test (landscape)"
Description=""
DayIncrement="0"
Visble="True"
DayIncrementUnits="Day">
<Element
Name="Element 1"
Visible="True"
Rotation="270"
Item="Shape"
Measurement="Percent"
Left="0"
Top="0"
Width="100"
Height="100"
DayOffset="0"
DayOffsetUnits="Day">
<Shape
Type="Rectangle">
<Brush
Color="16777215"
Style="Solid"/>
<Pen
Color="0"
Style="Solid"
Width="1"/>
</Shape>
</Element>
</PrintFormat>
<PrintFormat
Name="Calendar Format Test (portrait)"
Description=""
DayIncrement="0"
Visble="True"
DayIncrementUnits="Day">
<Element
Name="Element 1"
Visible="True"
Rotation="0"
Item="Calendar"
Measurement="Percent"
Left="0"
Top="0"
Width="100"
Height="100"
DayOffset="0"
DayOffsetUnits="Day">
</Element>
</PrintFormat>
<PrintFormat
Name="Calendar Format Test (landscape)"
Description=""
DayIncrement="0"
Visble="True"
DayIncrementUnits="Day">
<Element
Name="Element 1"
Visible="True"
Rotation="270"
Item="Calendar"
Measurement="Percent"
Left="0"
Top="0"
Width="100"
Height="100"
DayOffset="0"
DayOffsetUnits="Day">
</Element>
</PrintFormat>
<PrintFormat
Name="Shape Format Test (portrait)"
Description=""
DayIncrement="0"
Visble="True"
DayIncrementUnits="Day">
<Element
Name="Element 1"
Visible="True"
Rotation="0"
Item="Shape"
Measurement="Percent"
Left="10"
Top="50"
Width="50"
Height="50"
DayOffset="0"
DayOffsetUnits="Day">
<Shape
Type="Ellipse">
<Brush
Color="16777215"
Style="Solid"/>
<Pen
Color="0"
Style="Solid"
Width="10"/>
</Shape>
</Element>
</PrintFormat>
<PrintFormat
Name="Shape Format Test (landscape)"
Description=""
DayIncrement="0"
Visble="True"
DayIncrementUnits="Day">
<Element
Name="Element 1"
Visible="True"
Rotation="270"
Item="Shape"
Measurement="Percent"
Left="20"
Top="50"
Width="40"
Height="100"
DayOffset="0"
DayOffsetUnits="Day">
<Shape
Type="Rectangle">
<Brush
Color="16777215"
Style="Solid"/>
<Pen
Color="0"
Style="Solid"
Width="4"/>
</Shape>
</Element>
</PrintFormat>
<PrintFormat
Name="Caption Format Test (portrait)"
Description=""
DayIncrement="0"
Visble="True"
DayIncrementUnits="Day">
<Element
Name="Element 1"
Visible="True"
Rotation="0"
Item="Caption"
Measurement="Percent"
Left="50"
Top="50"
Width="100"
Height="100"
DayOffset="0"
DayOffsetUnits="Day">
<Caption
Caption="Hello World!">
<Font
CharSet="ANSI"
Color="-16777208"
Height="-21"
Name="Arial"
Pitch="Default"
Bold="False"
Italic="True"
Underline="False"
Strikeout="False"/>
</Caption>
</Element>
</PrintFormat>
<PrintFormat
Name="Caption Format Test (landscape)"
Description=""
DayIncrement="0"
Visble="True"
DayIncrementUnits="Day">
<Element
Name="Element 1"
Visible="True"
Rotation="270"
Item="Caption"
Measurement="Percent"
Left="0"
Top="0"
Width="100"
Height="100"
DayOffset="0"
DayOffsetUnits="Day">
<Caption
Caption="">
<Font
CharSet="Default"
Color="-16777208"
Height="-11"
Name="MS Sans Serif"
Pitch="Default"
Bold="False"
Italic="False"
Underline="False"
Strikeout="False"/>
</Caption>
</Element>
</PrintFormat>
<PrintFormat
Name="Tasks Format Test (portrait)"
Description=""
DayIncrement="0"
Visble="True"
DayIncrementUnits="Day">
<Element
Name="Element 1"
Visible="True"
Rotation="0"
Item="Tasks"
Measurement="Percent"
Left="0"
Top="0"
Width="100"
Height="100"
DayOffset="0"
DayOffsetUnits="Day">
</Element>
</PrintFormat>
<PrintFormat
Name="Tasks Format Test (landscape)"
Description=""
DayIncrement="0"
Visble="True"
DayIncrementUnits="Day">
<Element
Name="Element 1"
Visible="True"
Rotation="270"
Item="Tasks"
Measurement="Percent"
Left="0"
Top="0"
Width="100"
Height="100"
DayOffset="0"
DayOffsetUnits="Day">
</Element>
</PrintFormat>
<PrintFormat
Name="Contacts Format Test (portrait)"
Description=""
DayIncrement="0"
Visble="True"
DayIncrementUnits="Day">
<Element
Name="Element 1"
Visible="True"
Rotation="0"
Item="Contacts"
Measurement="Percent"
Left="0"
Top="0"
Width="100"
Height="100"
DayOffset="0"
DayOffsetUnits="Day">
</Element>
</PrintFormat>
<PrintFormat
Name="Contacts Format Test (landscape)"
Description=""
DayIncrement="0"
Visble="True"
DayIncrementUnits="Day">
<Element
Name="Element 1"
Visible="True"
Rotation="270"
Item="Contacts"
Measurement="Percent"
Left="0"
Top="0"
Width="100"
Height="100"
DayOffset="0"
DayOffsetUnits="Day">
</Element>
</PrintFormat>
<PrintFormat
Name="DayView Format Test (portrait)"
Description=""
DayIncrement="0"
Visble="True"
DayIncrementUnits="Day">
<Element
Name="Element 1"
Visible="True"
Rotation="0"
Item="DayView"
Measurement="Percent"
Left="0"
Top="0"
Width="100"
Height="100"
DayOffset="0"
DayOffsetUnits="Day">
</Element>
</PrintFormat>
<PrintFormat
Name="DayView Format Test (landscape)"
Description=""
DayIncrement="0"
Visble="True"
DayIncrementUnits="Day">
<Element
Name="Element 1"
Visible="True"
Rotation="270"
Item="DayView"
Measurement="Percent"
Left="0"
Top="0"
Width="100"
Height="100"
DayOffset="0"
DayOffsetUnits="Day">
</Element>
</PrintFormat>
<PrintFormat
Name="WeekView Format Test (portrait)"
Description=""
DayIncrement="0"
Visble="True"
DayIncrementUnits="Day">
<Element
Name="Element 1"
Visible="True"
Rotation="0"
Item="WeekView"
Measurement="Percent"
Left="0"
Top="0"
Width="100"
Height="100"
DayOffset="0"
DayOffsetUnits="Day">
</Element>
</PrintFormat>
<PrintFormat
Name="WeekView Format Test (landscape)"
Description=""
DayIncrement="0"
Visble="True"
DayIncrementUnits="Day">
<Element
Name="Element 1"
Visible="True"
Rotation="270"
Item="WeekView"
Measurement="Percent"
Left="0"
Top="0"
Width="100"
Height="100"
DayOffset="0"
DayOffsetUnits="Day">
</Element>
</PrintFormat>
<PrintFormat
Name="MonthView Format Test (portrait)"
Description=""
DayIncrement="0"
Visble="True"
DayIncrementUnits="Day">
<Element
Name="Element 1"
Visible="True"
Rotation="0"
Item="MonthView"
Measurement="Percent"
Left="0"
Top="0"
Width="100"
Height="100"
DayOffset="0"
DayOffsetUnits="Day">
</Element>
</PrintFormat>
<PrintFormat
Name="MonthView Format Test (landscape)"
Description=""
DayIncrement="0"
Visble="True"
DayIncrementUnits="Day">
<Element
Name="Element 1"
Visible="True"
Rotation="270"
Item="MonthView"
Measurement="Percent"
Left="0"
Top="0"
Width="100"
Height="100"
DayOffset="0"
DayOffsetUnits="Day">
</Element>
</PrintFormat>
<PrintFormat
Name="Calendar Format Test (portrait)"
Description=""
DayIncrement="0"
Visble="True"
DayIncrementUnits="Day">
<Element
Name="Element 1"
Visible="True"
Rotation="0"
Item="Calendar"
Measurement="Percent"
Left="0"
Top="0"
Width="100"
Height="100"
DayOffset="0"
DayOffsetUnits="Day">
</Element>
</PrintFormat>
<PrintFormat
Name="Calendar Format Test (landscape)"
Description=""
DayIncrement="0"
Visble="True"
DayIncrementUnits="Day">
<Element
Name="Element 1"
Visible="True"
Rotation="270"
Item="Calendar"
Measurement="Percent"
Left="0"
Top="0"
Width="100"
Height="100"
DayOffset="0"
DayOffsetUnits="Day">
</Element>
</PrintFormat>
<PrintFormat
Name="Shape Format Test (portrait)"
Description=""
DayIncrement="0"
Visble="True"
DayIncrementUnits="Day">
<Element
Name="Element 1"
Visible="True"
Rotation="0"
Item="Shape"
Measurement="Percent"
Left="0"
Top="0"
Width="100"
Height="100"
DayOffset="0"
DayOffsetUnits="Day">
<Shape
Type="Rectangle">
<Brush
Color="16777215"
Style="Solid"/>
<Pen
Color="0"
Style="Solid"
Width="1"/>
</Shape>
</Element>
</PrintFormat>
<PrintFormat
Name="Shape Format Test (landscape)"
Description=""
DayIncrement="0"
Visble="True"
DayIncrementUnits="Day">
<Element
Name="Element 1"
Visible="True"
Rotation="270"
Item="Shape"
Measurement="Percent"
Left="0"
Top="0"
Width="100"
Height="100"
DayOffset="0"
DayOffsetUnits="Day">
<Shape
Type="Rectangle">
<Brush
Color="16777215"
Style="Solid"/>
<Pen
Color="0"
Style="Solid"
Width="1"/>
</Shape>
</Element>
</PrintFormat>
<PrintFormat
Name="Caption Format Test (portrait)"
Description=""
DayIncrement="0"
Visble="True"
DayIncrementUnits="Day">
<Element
Name="Element 1"
Visible="True"
Rotation="0"
Item="Caption"
Measurement="Percent"
Left="0"
Top="0"
Width="100"
Height="100"
DayOffset="0"
DayOffsetUnits="Day">
<Caption
Caption="">
<Font
CharSet="Default"
Color="-16777208"
Height="-11"
Name="MS Sans Serif"
Pitch="Default"
Bold="False"
Italic="False"
Underline="False"
Strikeout="False"/>
</Caption>
</Element>
</PrintFormat>
<PrintFormat
Name="Caption Format Test (landscape)"
Description=""
DayIncrement="0"
Visble="True"
DayIncrementUnits="Day">
<Element
Name="Element 1"
Visible="True"
Rotation="270"
Item="Caption"
Measurement="Percent"
Left="0"
Top="0"
Width="100"
Height="100"
DayOffset="0"
DayOffsetUnits="Day">
<Caption
Caption="">
<Font
CharSet="Default"
Color="-16777208"
Height="-11"
Name="MS Sans Serif"
Pitch="Default"
Bold="False"
Italic="False"
Underline="False"
Strikeout="False"/>
</Caption>
</Element>
</PrintFormat>
<PrintFormat
Name="Tasks Format Test (portrait)"
Description=""
DayIncrement="0"
Visble="True"
DayIncrementUnits="Day">
<Element
Name="Element 1"
Visible="True"
Rotation="0"
Item="Tasks"
Measurement="Percent"
Left="0"
Top="0"
Width="100"
Height="100"
DayOffset="0"
DayOffsetUnits="Day">
</Element>
</PrintFormat>
<PrintFormat
Name="Tasks Format Test (landscape)"
Description=""
DayIncrement="0"
Visble="True"
DayIncrementUnits="Day">
<Element
Name="Element 1"
Visible="True"
Rotation="270"
Item="Tasks"
Measurement="Percent"
Left="0"
Top="0"
Width="100"
Height="100"
DayOffset="0"
DayOffsetUnits="Day">
</Element>
</PrintFormat>
<PrintFormat
Name="Contacts Format Test (portrait)"
Description=""
DayIncrement="0"
Visble="True"
DayIncrementUnits="Day">
<Element
Name="Element 1"
Visible="True"
Rotation="0"
Item="Contacts"
Measurement="Percent"
Left="0"
Top="0"
Width="100"
Height="100"
DayOffset="0"
DayOffsetUnits="Day">
</Element>
</PrintFormat>
<PrintFormat
Name="Contacts Format Test (landscape)"
Description=""
DayIncrement="0"
Visble="True"
DayIncrementUnits="Day">
<Element
Name="Element 1"
Visible="True"
Rotation="270"
Item="Contacts"
Measurement="Percent"
Left="0"
Top="0"
Width="100"
Height="100"
DayOffset="0"
DayOffsetUnits="Day">
</Element>
</PrintFormat>
</VpPrintFormats>