Update character creation tool XML: standardize style names, add attribute-specific styles with border colors, and refine HeaderItem and ValueBoxChildren layouts

This commit is contained in:
Florian 2026-05-12 11:09:51 +02:00
parent 198368f64b
commit cc0817028b

View File

@ -1,12 +1,12 @@
<Pdf Name="charpdf">
<Styles>
<Style Name="HeaderItem">
<Padding>4</Padding>
<Padding>2</Padding>
</Style>
<Style Name="italic">
<Style Name="Italic">
<Italic>true</Italic>
</Style>
<Style Name="bold">
<Style Name="Bold">
<Bold>true</Bold>
</Style>
<Style Name="ValueBoxRow">
@ -25,13 +25,37 @@
<FontSize>16</FontSize>
<Bold>true</Bold>
</Style>
<Style Name="Courage">
<BorderColor>ff0000</BorderColor>
</Style>
<Style Name="Intelligence">
<BorderColor>9900cc</BorderColor>
</Style>
<Style Name="Intuition">
<BorderColor>33cc33</BorderColor>
</Style>
<Style Name="Charisma">
<BorderColor>000000</BorderColor>
</Style>
<Style Name="Dexterity">
<BorderColor>b3b300</BorderColor>
</Style>
<Style Name="Agility">
<BorderColor>0000ff</BorderColor>
</Style>
<Style Name="Physique">
<BorderColor>3deacb</BorderColor>
</Style>
<Style Name="Strength">
<BorderColor>ff6600</BorderColor>
</Style>
</Styles>
<Pages>
<Page>
<Header>
<RowLayout>
<Content>
<Label Styles="HeaderItem">
<Label Styles="HeaderItem;Italic">
<Text>"Heldenbogen"</Text>
</Label>
<Label Styles="HeaderItem">
@ -43,7 +67,7 @@
<Label Styles="HeaderItem">
<Text>"-"</Text>
</Label>
<Label Styles="HeaderItem">
<Label Styles="HeaderItem;Bold">
<Text>"Persönliche Daten"</Text>
</Label>
</Content>
@ -52,7 +76,7 @@
<Body>
<RowLayout Styles="ValueBoxRow">
<Content>
<ColumnLayout Styles="ValueBox;ValueBoxChildren">
<ColumnLayout Styles="ValueBox;ValueBoxChildren;Courage">
<Content>
<Label>
<Text>"MU"</Text>
@ -62,7 +86,7 @@
</Label>
</Content>
</ColumnLayout>
<ColumnLayout Styles="ValueBox;ValueBoxChildren">
<ColumnLayout Styles="ValueBox;ValueBoxChildren;Intelligence">
<Content>
<Label>
<Text>"KL"</Text>
@ -72,7 +96,7 @@
</Label>
</Content>
</ColumnLayout>
<ColumnLayout Styles="ValueBox;ValueBoxChildren">
<ColumnLayout Styles="ValueBox;ValueBoxChildren;Intuition">
<Content>
<Label>
<Text>"IN"</Text>
@ -82,8 +106,7 @@
</Label>
</Content>
</ColumnLayout>
<ColumnLayout Styles="ValueBox;ValueBoxChildren">
<ColumnLayout Styles="ValueBox;ValueBoxChildren;Charisma">
<Content>
<Label>
<Text>"CH"</Text>
@ -93,6 +116,46 @@
</Label>
</Content>
</ColumnLayout>
<ColumnLayout Styles="ValueBox;ValueBoxChildren;Dexterity">
<Content>
<Label>
<Text>"FF"</Text>
</Label>
<Label>
<Text>[data.character.attributes.dexterity]</Text>
</Label>
</Content>
</ColumnLayout>
<ColumnLayout Styles="ValueBox;ValueBoxChildren;Agility">
<Content>
<Label>
<Text>"GE"</Text>
</Label>
<Label>
<Text>[data.character.attributes.agility]</Text>
</Label>
</Content>
</ColumnLayout>
<ColumnLayout Styles="ValueBox;ValueBoxChildren;Physique">
<Content>
<Label>
<Text>"KO"</Text>
</Label>
<Label>
<Text>[data.character.attributes.physique]</Text>
</Label>
</Content>
</ColumnLayout>
<ColumnLayout Styles="ValueBox;ValueBoxChildren;Strength">
<Content>
<Label>
<Text>"KK"</Text>
</Label>
<Label>
<Text>[data.character.attributes.strength]</Text>
</Label>
</Content>
</ColumnLayout>
</Content>
</RowLayout>
</Body>