Table row height miscalculated after page break

In some situations the height of the first table row is wrongly calculated after a page break (see attached screenshot or output.pdf).

We use the following code to produce the PDF:

Pdf document = new Pdf();

document.PageSetup.PageWidth = PageSize.A4Height;
document.PageSetup.PageHeight = PageSize.A4Width;
document.PageSetup.Margin = new MarginInfo();

TextInfo defaultTextInfo = new TextInfo();
defaultTextInfo.FontName = DefaultFontName;
defaultTextInfo.IsUnicode = true;
defaultTextInfo.IsFontEmbedded = true;
defaultTextInfo.FontSize = DefaultFontSizeStandard;

document.TextInfo = defaultTextInfo;

Section contentSection = document.Sections.Add();

contentSection.PageInfo.Margin = new MarginInfo() { Left = 30, Top = 72, Right = 30, Bottom = 72 };

TextInfo headTextInfo = (TextInfo)contentSection.TextInfo.Clone();
headTextInfo.Color = TitleColor;

TextInfo tableTextInfo = (TextInfo)contentSection.TextInfo.Clone();
tableTextInfo.FontSize = DefaultFontSizeStandard;

// HEAD
TextInfo dateHeadTextInfo = (TextInfo)contentSection.TextInfo.Clone();
dateHeadTextInfo.IsTrueTypeFontBold = true;

Text dateHeadText = new Text(DateTime.Now.ToString("D", System.Globalization.CultureInfo.InvariantCulture));
dateHeadText.TextInfo = dateHeadTextInfo;
dateHeadText.Margin = new MarginInfo() { Top = 72 };

contentSection.Paragraphs.Add(dateHeadText);

// PRODUCTS
Table table = new Table();
table.ColumnWidths = "190 65 103 30 30 25 40 50 60 40 40 40 70";
table.DefaultCellTextInfo = tableTextInfo;
table.IsFirstRowRepeated = true;
table.RepeatingRows = 2;
table.DefaultCellPadding = new MarginInfo() { Left = 2, Top = 2, Bottom = 2, Right = 2 };
table.DefaultCellBorder = new BorderInfo() { Top = new GraphInfo() { LineWidth = 0.5f, LineJoinMode = 1 }, Bottom = new GraphInfo() { LineWidth = 0.5f, LineJoinMode = 1 } };

TextInfo headerTextInfo = (TextInfo)tableTextInfo.Clone();
headerTextInfo.IsTrueTypeFontBold = false;
headerTextInfo.Color = new Color("white");

TextInfo rightAlignedHeaderTextInfo = (TextInfo)headerTextInfo.Clone();
rightAlignedHeaderTextInfo.Alignment = AlignmentType.Right;

//
Row headerRow1 = table.Rows.Add();
headerRow1.BackgroundColor = TitleBackgroundColor;
headerRow1.DefaultCellTextInfo = headerTextInfo;
//headerRow1.DefaultRowCellPadding = new MarginInfo() { Left = 2, Top = 2, Right = 2, Bottom = 1 };
headerRow1.DefaultCellBorder = new BorderInfo();

headerRow1.Cells.Add("Fund Name");
headerRow1.Cells.Add("ISIN");
headerRow1.Cells.Add("Julius Baer");
headerRow1.Cells.Add("Type");
headerRow1.Cells.Add("CCY");
headerRow1.Cells.Add("Distr.", rightAlignedHeaderTextInfo);
headerRow1.Cells.Add("NAV", rightAlignedHeaderTextInfo);
headerRow1.Cells.Add("NAV Date", rightAlignedHeaderTextInfo);
headerRow1.Cells.Add("Year to Date", rightAlignedHeaderTextInfo);

Cell annualisedReturn = headerRow1.Cells.Add("Annualised Return");
annualisedReturn.ColumnsSpan = 3;

TextInfo annualisedReturnTextInfo = (TextInfo)headerTextInfo.Clone();
annualisedReturnTextInfo.Alignment = AlignmentType.Center;

annualisedReturn.DefaultCellTextInfo = annualisedReturnTextInfo;

headerRow1.Cells.Add("Volatility", rightAlignedHeaderTextInfo);

//
Row headerRow2 = table.Rows.Add();
headerRow2.BackgroundColor = TitleBackgroundColor;
headerRow2.DefaultCellTextInfo = headerTextInfo;
//headerRow2.DefaultRowCellPadding = new MarginInfo() { Left = 2, Top = 1, Right = 2, Bottom = 1 };
headerRow2.DefaultCellBorder = new BorderInfo();

headerRow2.Cells.Add(string.Empty);
headerRow2.Cells.Add(string.Empty);
headerRow2.Cells.Add("Recommendation");
headerRow2.Cells.Add(string.Empty);
headerRow2.Cells.Add(string.Empty);
headerRow2.Cells.Add(string.Empty);
headerRow2.Cells.Add(string.Empty);
headerRow2.Cells.Add(string.Empty);
headerRow2.Cells.Add(string.Empty);
headerRow2.Cells.Add("1 Year", rightAlignedHeaderTextInfo);
headerRow2.Cells.Add("3 Years*", rightAlignedHeaderTextInfo);
headerRow2.Cells.Add("5 Years*", rightAlignedHeaderTextInfo);
headerRow2.Cells.Add("3 Years**", rightAlignedHeaderTextInfo);

TextInfo titleRowTextInfo = (TextInfo)tableTextInfo.Clone();
titleRowTextInfo.IsTrueTypeFontBold = true;

if (classifications != null)
{
foreach (FundCategory classification in classifications)
{
Row titleRow = table.Rows.Add();
titleRow.DefaultCellTextInfo = titleRowTextInfo;
titleRow.BackgroundColor = SubtitleBackgroundColor;

Cell titleCell = titleRow.Cells.Add(string.Format("Asset Class: {0} / Region: {1} / Share Class Currency: {2}", classification.AssetClass, classification.Region, classification.Currency));
titleCell.ColumnsSpan = 13;

foreach (Fund product in classification.Products)
{
Row productRow = table.Rows.Add();

productRow.DefaultCellBorder = new BorderInfo() { Bottom = new GraphInfo() { LineWidth = 0.5f } };

productRow.Cells.Add(product.Name);
productRow.Cells.Add(product.Isin);
productRow.Cells.Add(product.Recommendation.Length == 0 ? "-" : product.Recommendation).IsWordWrapped = true;
productRow.Cells.Add(product.FundType);
productRow.Cells.Add(product.Currency);
productRow.Cells.Add(product.Distribution);

productRow.Cells.Add(string.Empty);
productRow.Cells.Add(string.Empty);
productRow.Cells.Add(string.Empty);
productRow.Cells.Add(string.Empty);
productRow.Cells.Add(string.Empty);
productRow.Cells.Add(string.Empty);
productRow.Cells.Add(string.Empty);
}
}
}

contentSection.Paragraphs.Add(table);

document.Save(stream);

Hi Luca,


Thanks for contacting support.

I have tried testing the scenario using the code snippet which you have shared earlier and as per my observations, you are trying to use the data present in some classifications i.e foreach (FundCategory classification in classifications)

For the sake of testing, I have replaced the above code line with for(int temp_count = 0; temp_count<=100;
temp_count++)
and as per my observations, the output PDF is quite different from the image which you have shared in your earlier post. Can you please help us in replicating the issue, so that we can further investigate. We are sorry for this inconvenience.

PS, I have also commented out the following code line so that I can execute the code. foreach (Fund product in
classification.Products)

<o:p></o:p>

<o:p></o:p>

Hi Nayyer

Thank you for looking into my issue!

I've corrected the code to fit your needs (sorry for that):


protected const string DefaultFontName = "CorpoS";
protected const int DefaultFontSizeStandard = 8;
protected const int DefaultFontSizeSmall = 7;
protected const int DefaultFontSizeTiny = 6;
protected static readonly Color TitleBackgroundColor = new Color(138, 155, 183);
protected static readonly Color SubtitleBackgroundColor = new Color(231, 234, 240);
protected static readonly Color TitleColor = new Color(0, 28, 140);

using (MemoryStream stream = new MemoryStream())
{
Pdf document = new Pdf();

document.PageSetup.PageWidth = PageSize.A4Height;
document.PageSetup.PageHeight = PageSize.A4Width;
document.PageSetup.Margin = new MarginInfo();

TextInfo defaultTextInfo = new TextInfo();
defaultTextInfo.FontName = DefaultFontName;
defaultTextInfo.IsUnicode = true;
defaultTextInfo.IsFontEmbedded = true;
defaultTextInfo.FontSize = DefaultFontSizeStandard;

document.TextInfo = defaultTextInfo;

Section contentSection = document.Sections.Add();

contentSection.PageInfo.Margin = new MarginInfo() { Left = 30, Top = 72, Right = 30, Bottom = 72 };

TextInfo headTextInfo = (TextInfo)contentSection.TextInfo.Clone();
headTextInfo.Color = TitleColor;

TextInfo tableTextInfo = (TextInfo)contentSection.TextInfo.Clone();
tableTextInfo.FontSize = DefaultFontSizeStandard;

// HEAD
TextInfo dateHeadTextInfo = (TextInfo)contentSection.TextInfo.Clone();
dateHeadTextInfo.IsTrueTypeFontBold = true;

Text dateHeadText = new Text(DateTime.Now.ToString("D", System.Globalization.CultureInfo.InvariantCulture));
dateHeadText.TextInfo = dateHeadTextInfo;
dateHeadText.Margin = new MarginInfo() { Top = 72 };

contentSection.Paragraphs.Add(dateHeadText);

// PRODUCTS
Table table = new Table();
table.ColumnWidths = "190 65 103 30 30 25 40 50 60 40 40 40 70";
table.DefaultCellTextInfo = tableTextInfo;
table.IsFirstRowRepeated = true;
table.RepeatingRows = 2;
table.DefaultCellPadding = new MarginInfo() { Left = 2, Top = 2, Bottom = 2, Right = 2 };
table.DefaultCellBorder = new BorderInfo() { Top = new GraphInfo() { LineWidth = 0.5f, LineJoinMode = 1 }, Bottom = new GraphInfo() { LineWidth = 0.5f, LineJoinMode = 1 } };

TextInfo headerTextInfo = (TextInfo)tableTextInfo.Clone();
headerTextInfo.IsTrueTypeFontBold = false;
headerTextInfo.Color = new Color("white");

TextInfo rightAlignedHeaderTextInfo = (TextInfo)headerTextInfo.Clone();
rightAlignedHeaderTextInfo.Alignment = AlignmentType.Right;

//
Row headerRow1 = table.Rows.Add();
headerRow1.BackgroundColor = TitleBackgroundColor;
headerRow1.DefaultCellTextInfo = headerTextInfo;
//headerRow1.DefaultRowCellPadding = new MarginInfo() { Left = 2, Top = 2, Right = 2, Bottom = 1 };
headerRow1.DefaultCellBorder = new BorderInfo();

headerRow1.Cells.Add("Fund Name");
headerRow1.Cells.Add("ISIN");
headerRow1.Cells.Add("Julius Baer");
headerRow1.Cells.Add("Type");
headerRow1.Cells.Add("CCY");
headerRow1.Cells.Add("Distr.", rightAlignedHeaderTextInfo);
headerRow1.Cells.Add("NAV", rightAlignedHeaderTextInfo);
headerRow1.Cells.Add("NAV Date", rightAlignedHeaderTextInfo);
headerRow1.Cells.Add("Year to Date", rightAlignedHeaderTextInfo);

Cell annualisedReturn = headerRow1.Cells.Add("Annualised Return");
annualisedReturn.ColumnsSpan = 3;

TextInfo annualisedReturnTextInfo = (TextInfo)headerTextInfo.Clone();
annualisedReturnTextInfo.Alignment = AlignmentType.Center;

annualisedReturn.DefaultCellTextInfo = annualisedReturnTextInfo;

headerRow1.Cells.Add("Volatility", rightAlignedHeaderTextInfo);

//
Row headerRow2 = table.Rows.Add();
headerRow2.BackgroundColor = TitleBackgroundColor;
headerRow2.DefaultCellTextInfo = headerTextInfo;
//headerRow2.DefaultRowCellPadding = new MarginInfo() { Left = 2, Top = 1, Right = 2, Bottom = 1 };
headerRow2.DefaultCellBorder = new BorderInfo();

headerRow2.Cells.Add(string.Empty);
headerRow2.Cells.Add(string.Empty);
headerRow2.Cells.Add("Recommendation");
headerRow2.Cells.Add(string.Empty);
headerRow2.Cells.Add(string.Empty);
headerRow2.Cells.Add(string.Empty);
headerRow2.Cells.Add(string.Empty);
headerRow2.Cells.Add(string.Empty);
headerRow2.Cells.Add(string.Empty);
headerRow2.Cells.Add("1 Year", rightAlignedHeaderTextInfo);
headerRow2.Cells.Add("3 Years*", rightAlignedHeaderTextInfo);
headerRow2.Cells.Add("5 Years*", rightAlignedHeaderTextInfo);
headerRow2.Cells.Add("3 Years**", rightAlignedHeaderTextInfo);

TextInfo titleRowTextInfo = (TextInfo)tableTextInfo.Clone();
titleRowTextInfo.IsTrueTypeFontBold = true;

if (classifications != null)
{
for (int i = 0; i < 3; i++)
//foreach (FundCategory classification in classifications)
{
Row titleRow = table.Rows.Add();
titleRow.DefaultCellTextInfo = titleRowTextInfo;
titleRow.BackgroundColor = SubtitleBackgroundColor;

//Cell titleCell = titleRow.Cells.Add(string.Format("Asset Class: {0} / Region: {1} / Share Class Currency: {2}", classification.AssetClass, classification.Region, classification.Currency));
Cell titleCell = titleRow.Cells.Add(string.Format("Asset Class: {0} / Region: {1} / Share Class Currency: {2}", "A", "B", "C"));
titleCell.ColumnsSpan = 13;

for (int j = 0; j < 30; j++)
//foreach (Fund product in classification.Products)
{
Row productRow = table.Rows.Add();

productRow.DefaultCellBorder = new BorderInfo() { Bottom = new GraphInfo() { LineWidth = 0.5f } };

//productRow.Cells.Add(product.Name);
//productRow.Cells.Add(product.Isin);
//productRow.Cells.Add(product.Recommendation.Length == 0 ? "-" : product.Recommendation).IsWordWrapped = true;
//productRow.Cells.Add(product.FundType);
//productRow.Cells.Add(product.Currency);
//productRow.Cells.Add(product.Distribution);

productRow.Cells.Add(j.ToString());
productRow.Cells.Add("AB123456789");
productRow.Cells.Add("Recommended Watch").IsWordWrapped = true;
productRow.Cells.Add("ETF");
productRow.Cells.Add("USD");
productRow.Cells.Add(string.Empty);

productRow.Cells.Add(string.Empty);
productRow.Cells.Add(string.Empty);
productRow.Cells.Add(string.Empty);
productRow.Cells.Add(string.Empty);
productRow.Cells.Add(string.Empty);
productRow.Cells.Add(string.Empty);
productRow.Cells.Add(string.Empty);
}
}
}

contentSection.Paragraphs.Add(table);

document.Save(stream);
}

Please find attached our TTF fonts (CorpoS).

Kind regards,

Luca

Hi Luca,


Thank you for sharing additional information. I’ve tested the scenario with lates version of Aspose.Pdf for .NET 8.4 API and managed to reproduce the issue. I’ve logged it as PDFNEWNET-35853 in our issuee tracking for further investigation and resolution. We will upate you as soon as its resolved.

We are sorry for the inconvenince caused.

Best Regards.

Hi Luca,


Thanks for your patience.

In order to generate the correct output, please try using the new DOM approach of Aspose.Pdf namespace. Please take a look over following code snippet and for your referencen, I have also attached the resultant PDF generated over my end.

Furthermore, please note that we have recently introduced some new methods and properties in Table, TextFragment, TextState classes so its recommend to use the following code with upcoming release of Aspose.Pdf for .NET 8.5.0.

[C#]

string outFile = “c:/pdftest/ChrysanthemumBIG.pdf”;<o:p></o:p>

Document doc = new Document();

Page page = doc.Pages.Add();

String DefaultFontName = "Arial";

int DefaultFontSizeStandard = 8;

int DefaultFontSizeSmall = 7;

int DefaultFontSizeTiny = 6;

Aspose.Pdf.Color TitleBackgroundColor = Aspose.Pdf.Color.FromArgb(138, 155, 183);

Aspose.Pdf.Color SubtitleBackgroundColor = Aspose.Pdf.Color.FromArgb(231, 234, 240);

Aspose.Pdf.Color TitleColor = Aspose.Pdf.Color.FromArgb(0, 28, 140);

page.PageInfo.IsLandscape = true;

TextState defaultTextState = new TextState();

defaultTextState.Font = FontRepository.FindFont(DefaultFontName);

defaultTextState.Font.IsEmbedded = true;

defaultTextState.FontSize = DefaultFontSizeStandard;

page.PageInfo.Margin = new Aspose.Pdf.MarginInfo() { Left = 30, Top = 72, Bottom = 72, Right = 30 };

TextState headTextState = new TextState();

headTextState.ApplyChangesFrom(defaultTextState);

headTextState.ForegroundColor = TitleColor;

TextState tableTextState = new TextState();

tableTextState.ApplyChangesFrom(defaultTextState);

tableTextState.FontSize = DefaultFontSizeStandard;

// HEAD

TextState dateHeadTextState = new TextState();

dateHeadTextState.ApplyChangesFrom(dateHeadTextState);

dateHeadTextState.FontStyle = FontStyles.Bold;

TextFragment dateHeadText =

new TextFragment(DateTime.Now.ToString("D",

System.Globalization.CultureInfo.InvariantCulture));

dateHeadText.TextState.ApplyChangesFrom(dateHeadTextState);

dateHeadText.Margin = new Aspose.Pdf.MarginInfo() { Top = 72 };

page.Paragraphs.Add(dateHeadText);

// PRODUCTS

Aspose.Pdf.Table table = new Aspose.Pdf.Table();

table.ColumnWidths = "190 65 103 30 30 25 40 50 60 40 40 40 70";

table.DefaultCellTextState = tableTextState;

table.RepeatingRowsCount = 2;

table.DefaultCellPadding = new Aspose.Pdf.MarginInfo() { Left = 2, Top = 2, Bottom = 2, Right = 2 };

table.DefaultCellBorder = new Aspose.Pdf.BorderInfo(Aspose.Pdf.BorderSide.Bottom, 0.5F);

TextState headerTextState = new TextState();

headerTextState.ApplyChangesFrom(tableTextState);

headerTextState.FontStyle = FontStyles.Regular;

headerTextState.ForegroundColor = Aspose.Pdf.Color.White;

//

Aspose.Pdf.Row headerRow1 = table.Rows.Add();

headerRow1.BackgroundColor = TitleBackgroundColor;

headerRow1.DefaultCellTextState = headerTextState;

headerRow1.DefaultCellBorder = new Aspose.Pdf.BorderInfo();

headerRow1.Cells.Add("Fund Name");

headerRow1.Cells.Add("ISIN");

headerRow1.Cells.Add("Julius Baer");

headerRow1.Cells.Add("Type");

headerRow1.Cells.Add("CCY");

headerRow1.Cells.Add("Distr.").Alignment = Aspose.Pdf.HorizontalAlignment.Right;

headerRow1.Cells.Add("NAV").Alignment = Aspose.Pdf.HorizontalAlignment.Right;

headerRow1.Cells.Add("NAV Date").Alignment = Aspose.Pdf.HorizontalAlignment.Right;

headerRow1.Cells.Add("Year to Date").Alignment = Aspose.Pdf.HorizontalAlignment.Right;

Aspose.Pdf.Cell annualisedReturn = headerRow1.Cells.Add("Annualised Return");

annualisedReturn.ColSpan = 3;

annualisedReturn.DefaultCellTextState = headerTextState;

annualisedReturn.Alignment = Aspose.Pdf.HorizontalAlignment.Center;

headerRow1.Cells.Add("Volatility").Alignment = Aspose.Pdf.HorizontalAlignment.Right;

Aspose.Pdf.Row headerRow2 = table.Rows.Add();

headerRow2.BackgroundColor = TitleBackgroundColor;

headerRow2.DefaultCellTextState = headerTextState;

headerRow2.DefaultCellBorder = new Aspose.Pdf.BorderInfo();

headerRow2.Cells.Add(string.Empty);

headerRow2.Cells.Add(string.Empty);

headerRow2.Cells.Add("Recommendation");

headerRow2.Cells.Add(string.Empty);

headerRow2.Cells.Add(string.Empty);

headerRow2.Cells.Add(string.Empty);

headerRow2.Cells.Add(string.Empty);

headerRow2.Cells.Add(string.Empty);

headerRow2.Cells.Add(string.Empty);

headerRow2.Cells.Add("1 Year").Alignment = Aspose.Pdf.HorizontalAlignment.Right;

headerRow2.Cells.Add("3 Years*").Alignment = Aspose.Pdf.HorizontalAlignment.Right;

headerRow2.Cells.Add("5 Years*").Alignment = Aspose.Pdf.HorizontalAlignment.Right;

headerRow2.Cells.Add("3 Years**").Alignment = Aspose.Pdf.HorizontalAlignment.Right;

TextState titleRowTextState = new TextState();

titleRowTextState.ApplyChangesFrom(tableTextState);

titleRowTextState.FontStyle = FontStyles.Bold;

for (int i = 0; i < 3; i++)

{

Aspose.Pdf.Row titleRow = table.Rows.Add();

titleRow.DefaultCellTextState = titleRowTextState;

titleRow.BackgroundColor = SubtitleBackgroundColor;

Aspose.Pdf.Cell titleCell = titleRow.Cells.Add(string.Format("Asset Class: {0} / Region: {1} / Share Class Currency: {2}", "A", "B", "C"));

titleCell.ColSpan = 13;

for (int j = 0; j < 30; j++)

{

Aspose.Pdf.Row productRow = table.Rows.Add();

productRow.Cells.Add(j.ToString()); productRow.Cells.Add("AB123456789"); productRow.Cells.Add("Recommended Watch").IsWordWrapped = true; productRow.Cells.Add("ETF"); productRow.Cells.Add("USD"); productRow.Cells.Add(string.Empty); productRow.Cells.Add(string.Empty); productRow.Cells.Add(string.Empty); productRow.Cells.Add(string.Empty); productRow.Cells.Add(string.Empty); productRow.Cells.Add(string.Empty); productRow.Cells.Add(string.Empty); productRow.Cells.Add(string.Empty);

}

}

page.Paragraphs.Add(table);

doc.Save(outFile);

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


This message was posted using Notification2Forum from Downloads module by Aspose Notifier.

Hi

If I use the CorpoS font instead of Arial it looks like the bug does still exist.

Moving to the DOM approach I encountered the following issue: How do I include HTML content?

Kind regards,

Luca

Hi Luca,


Thanks for your inquiry. I’m afraid we are unable to notice the reported row height issue, while testing the scenario with Corpos font using above code snippet of DOM approach, sample output is enclosed here.

Moreover, I’m afraid currently in DOM HTML contents are not supported but HTML to PDF is supported. We’ve already logged a similar feature request as PDFNEWNET-35804 in our issue tracking system. We will notify you as soon as it’s resolved.

We are sorry for the inconvenience caused.

Best Regards,

Hi,

Sorry for not being precise; the DOM approach works as described in the older post, but using the Generator still causes the issue. I was referring to the later.

As HTML is not supported yet by the DOM approach we have to stick currently with the Generator. Do you know when HTML will be supported by the DOM?

Kind regards,

Luca

Hi Luca,

luca.marinucci:

Hi,

Sorry for not being precise; the DOM approach works as described in the older post, but using the Generator still causes the issue. I was referring to the later.

Thanks for your feedback. I would like to update you that now we are making improvements/enhancements in new DOM and not working over Aspose.Pdf.Generator, as its obsolete now.

luca.marinucci:

As HTML is not supported yet by the DOM approach we have to stick currently with the Generator. Do you know when HTML will be supported by the DOM?

Kind regards,

Luca


We've requested the development team to share an ETA at their earliest. We will update you as soon as we get a feedback.

Best Regards,
luca.marinucci:
Sorry for not being precise; the DOM approach works as described in the older post, but using the Generator still causes the issue. I was referring to the later.
Hi Luca,

Adding more to Tilal's comments, Aspose.Pdf.Generator is legacy approach and I am afraid due to complexity and its structure, it's getting difficult to introduce corrections in older approach. However the new Document Object Model of Aspose.Pdf namespace enables us to fix any occurring issues, as well as introduce new features. Currently I am not entirely certain, but sometimes later, the Aspose.Pdf.Generator approach will be deprecated. Therefore we recommend you to please try migrating to new DOM approach.

We are sorry for your inconvenience.

Hi Nayyer

I understand your position and we are willing to move to DOM but we really require support for HTML fragments and as long as this is not available in DOM we are not able to migrate away from Generator.

Can you please tell us when you estimate to implement this feature in DOM as well?

Kind regards,

Luca

Hi Luca,


Thanks for your inquiry. We have further discussed the issue with development team and would like to update you that currently we are testing HTML to PDF new engine and IsHtmlSupported property to support HTML content inclusion planned in first quarter of 2014. However, we will update you as soon as it’s implemented.

Thanks for your patience and cooperation.

Best Regards,

Hi

As we are reaching end of Q1 I was wondering about the status of this issue; do you have any updates on this or do we have to move to other products?

Kind regards,

Luca

Hi Luca,


Thanks for your patience.

Due to some other priority issues, I am afraid the problem PDFNEWNET-35804 is not yet resolved. Nevertheless, I have asked the development team to share the possible ETA. As soon as we have some further updates, we could be more than happy to update you with the status of correction. Please be patient and spare us little time.

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


This message was posted using Notification2Forum from Downloads module by Aspose Notifier.
(4)

Hi Luca,


Thanks for your patience. As stated above PDFNEWNET-35804 is also resolved and now you can add HTML string in new/existing document using new DOM approach. Please check following documentation link for the purpose. It will help you to accomplish your requirements.


Please feel free to contact us for any further assistance.

Best Regards,