Hi Alexey,
Thanks for your quick support & reply.
We are using Aspose Word version 7.0.0.0.
We are facing one problem while creating a document in Aspose Word for bulleted text.
There are two approach for creating bulleted tags
1> Using Aspose API.
2> Using InsertHTML method where text contain HTML tags for Bullets (
- -
- tag combination.)
We are interested in 2 nd approach.
But while inserting the HTML Bulleted tags there is an extra space added at the end of last bulleted text ( please refer the attached image "Error_Image1.PNG" for furtehr reference).
We found that the pargraph setting for last bulleted text contain "Spacing After" property set as "Auto" by default.( please refer the attached image "Error_Image2.PNG" for further reference.)
Please refer the attched "Bulleted.doc" sample word document.
The sample code used to create this document is as follows.
private void button30_Click(object sender, EventArgs e)
{
Document doc = new Document();
DocumentBuilder documentBuilder = new DocumentBuilder(doc);
XmlDocument XmlDoc = new XmlDocument();
string path = Path.GetDirectoryName(System.Windows.Forms.Application.ExecutablePath);
Aspose.Words.License lic = new Aspose.Words.License();
lic.SetLicense(path + @"\Aspose.Total.lic");
Aspose.Pdf.License lic1 = new Aspose.Pdf.License();
lic1.SetLicense(path + @"\Aspose.Total.lic");
documentBuilder.InsertHtml("By using insert HTML Method:-");
string str = "
- A Verified result indicates that the original Ability Test score can be used with confidence.
- A Not Verified result indicates that the original Ability Test score could not be verified. Further action is recommended before using the original Ability Test score for decision-making.
documentBuilder.InsertHtml(str);
doc.Save("OK.doc");
StartWord("OK.doc");
}
But as far as origional fucntionality of MS-Word concern "no extra space get added after last bulleted text".
1>Why this Extra Space is getting added after the last bulleted text?
2> Is there is any way to remove that extra space?
3> Will you please suggest us any kind of HTML combination which can avoid addition of the extra space?
Waiting for your reply.......!!!!!!!
Thanks & Regards,
Dwarika