Bullets in PDF


#1

Hi

I am using XML as a source for my PDF file. I have a table with four rows of text. I want to have bullets to the four rows. Please provide me the sample code for that. My code is here

<Row>

<Cell FitWidth="550" PaddingLeft="10" PaddingRight="10" PaddingBottom="5">

<Text MarginLeft='20'>

<Segment FontName='Arial' FontSize='12' Color='rgb 0 0 0'>

Row 1

</Segment>

</Text>

</Cell>

</Row>

<Row>

<Cell FitWidth="550" PaddingLeft="10" PaddingRight="10" PaddingBottom="5">

<Text MarginLeft='20'>

<Segment FontName='Arial' FontSize='12' Color='rgb 0 0 0'>

Row 2

</Segment>

</Text>

</Cell>

</Row>

<Row>

<Cell FitWidth="550" PaddingLeft="10" PaddingRight="10" PaddingBottom="5">

<Text MarginLeft='20'>

<Segment FontName='Arial' FontSize='12' Color='rgb 0 0 0'>

Row 3

</Segment>

</Text>

</Cell>

</Row>

<Row>

<Cell FitWidth="550" PaddingLeft="10" PaddingRight="10" PaddingBottom="5">

<Text MarginLeft='20'>

<Segment FontName='Arial' FontSize='12' Color='rgb 0 0 0'>

Row 4

</Segment>

</Text>

</Cell>

</Row>


#2

Thanks for consideing Aspose.

The XML sample is attached, it may do some help for you.

BTW, if you are wandering of how to write the extact xml code, there is a way to get through. Please read the following wiki page for details.

http://www.aspose.com/wiki/default.aspx/Aspose.Pdf/UsingAsposeWordtoCreateXMLTemplate.html


#3

Hi

Thanks for the email. But, the attachement is not available for me to download. Please help.

Jai


#4

Thanks for considering Aspose. Here it is the complete content of sample xml template file. I created it through the process of Word2PDF.

<?xml version="1.0" encoding="UTF-8"?>



This is a test for Bullets














Row 1












Row 2












Row 3












Row 4