Problem with IsFirstParagraph in XML Template and CompleteClone

I have sample pdf XML Template:

<?xml version="1.0" encoding="utf-8" ?>
<Pdf
xmlns="Aspose.Pdf">
<Section
ID="Section1">
<Segment
ID="Item1">item 1
<Text
IsFirstParagraph="true">
<Segment
ID="Item2">some content

and sample c# program code:


Aspose.Pdf.Generator.Pdf pdf1 = new Aspose.Pdf.Generator.Pdf();
pdf1.BindXML("sample.xml", null);

int pc = pdf1.PageCount;

Aspose.Pdf.Generator.Section sec1 = pdf1.Sections["Section1"];
var copy = sec1.CompleteClone() as Aspose.Pdf.Generator.Section;
pdf1.Sections.Add(copy);

pdf1.Save("XmlTemp.pdf");

Section1 after CompleteClone renders two Text Segments on one page (page number 3). Orginal Section1 is generated on two pages - valid (page number 1 and 2).

Why IsFirstParagraph attribute after CompleteClone doesn't work ?

Hi Podlaski Urzad,


Thanks
for using our products.
<o:p></o:p>

I have tested the scenario and I am able to notice the same problem. For the sake of correction, I have logged this issue as PDFNEWNET-35076 in our issue tracking system. We will further look into the details of this problem and will keep you updated on the status of correction. Please be patient and spare us little time. We are sorry for this inconvenience.

The issues you have found earlier (filed as PDFNEWNET-35076) have been fixed in Aspose.Pdf for .NET 7.9.0.


This message was posted using Notification2Forum from Downloads module by aspose.notifier.