Welcome Guest Search | Active Topics | Sign In | Register

HtmlToPdf Follow Table Alignment Options
David Compton
Posted: Sunday, November 17, 2013 11:51:36 PM
Rank: Newbie
Groups: Member

Joined: 7/4/2013
Posts: 9
We have an application that is combining multiple Google documents into a single document by downloading the Google documents in HTML format then merging with the other Google documents using HtmlToPdf conversion. In some instances one document follows directly on from the previous document using HtmlToPdf.Options.Follow. Where we have tables with identical columns in both the first and second document sometimes the column widths in the converted PDF do not match up. I have been over this extensively and can verify that the HTML and CSS used in both documents is identical, with identical column widths. I can provide examples of the HTML being combined and the resulting output. Is this a known issue? Is there something I can do to fix the problem.

Thanks,

David
eo_support
Posted: Monday, November 18, 2013 9:22:42 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,196
Hi,

This may have to do with automatic scaling. You can turn automatic scaling off and see if that solves the problem for you. You can find more information about scaling here:

http://www.essentialobjects.com/doc/4/htmltopdf/auto_fit.aspx

Please let us know if that solves the problem for you.

Thanks!
David Compton
Posted: Monday, November 18, 2013 3:48:24 PM
Rank: Newbie
Groups: Member

Joined: 7/4/2013
Posts: 9
I was already using:

HtmlToPdf.Options.AutoAdjustForDPI = false;

I added in the following:


HtmlToPdf.Options.AutoFitX = HtmlToPdfAutoFitMode.None;
HtmlToPdf.Options.AutoFitY = HtmlToPdfAutoFitMode.None;

None of which solves the problem.

Thanks,

David
eo_support
Posted: Monday, November 18, 2013 3:49:48 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,196
Hi,

In that case you can send the HTML to us and we will be happy to take a look. We will PM you as to where to send it.

Thanks!
David Compton
Posted: Monday, November 18, 2013 7:41:48 PM
Rank: Newbie
Groups: Member

Joined: 7/4/2013
Posts: 9
I've sent the files as requested.

David


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.