I want to generate report using FlowDocument.
Xaml:
<Table CellSpacing="0" BorderBrush="Black" BorderThickness="0.02cm" >
<Table.Columns>
<TableColumn Width="0.5*" />
<TableColumn Width="2*" />
<TableColumn Width="*" />
<TableColumn Width="0.5*" />
</Table.Columns>
<TableRowGroup Style="{StaticResource headerFooterRowStyle}">
<TableRow>
<TableCell>
<Paragraph TextAlignment="Center">
<Bold>Article No</Bold>
</Paragraph>
</TableCell>
<TableCell>
<Paragraph TextAlignment="Center">
<Bold>Article Name</Bold>
</Paragraph>
</TableCell>
<TableCell>
<Paragraph TextAlignment="Center">
<Bold>Article Price</Bold>
</Paragraph>
</TableCell>
</TableRow>
</TableRowGroup>
<TableRowGroup Style="{StaticResource dataRowStyle}">
<TableRow>
<TableCell>
<Paragraph>
<TextBlock Text="{Binding Path=Article_No}" />
</Paragraph>
</TableCell>
<TableCell>
<Paragraph>
<TextBlock Text="{Binding Path=ArticleType_Name}" />
</Paragraph>
</TableCell>
<TableCell>
<Paragraph>
<TextBlock Text="{Binding Path=Article_Price1}" />
</Paragraph>
</TableCell>
</TableRow>
</TableRowGroup>
</Table>
Please guide me