Reputation: 2503
<div>
<p>Heading 1</p>
<div>
<p>Heading 1.1</p>
<div>
<p>Heading 1.1.1</p>
</div>
</div>
<div>
<p>Heading 1.2</p>
</div>
</div>
Jut trying to have each block contained in within any other block to have some more margin (indentation). I am trying to show this in a FlowDocumentReader, convert it to XPS (and/or print it), but that it is just extra info and you may suggest smarter ways of achieving the same result.
Upvotes: 0
Views: 773
Reputation: 102793
Edited:
<FlowDocumentReader>
<FlowDocument>
<Paragraph FontSize="20">Heading 1</Paragraph>
<Section>
<Paragraph FontSize="18">Heading 1.1</Paragraph>
<Section>
<Paragraph FontSize="16">Heading 1.1.1</Paragraph>
</Section>
</Section>
<Section>
<Paragraph FontSize="20">Heading 1.2</Paragraph>
</Section>
</FlowDocument>
</FlowDocumentReader>
Upvotes: 3