Forum Replies Created

Viewing 15 posts - 2,866 through 2,880 (of 4,243 total)
in reply to: HTML/CSS rendering issues
#27015

When I am printing the below HTML content using pd4ml 385 jar some data is missing in PDF while page break of PDF. But the same is working fine when I am using 361 jar. Below the HTML code snippet which I am using


HTML Code Snippet :


Confidentiality

CONFIDENTIAL THIS INFORMATION IS PROVIDED BY MOHAN POGALA SUBJECT TO THE TERMS AND CONDITIONS OF YOUR SUBSCRIPTION CONTRACT AND IS NOT TO BE DISCLOSED.

Copyright © Mohan Pogala: All Rights Reserved. This data, which is authorized for the exclusive use of Pogala Customers, through a contract, and to be used as an instrument of business decision, contains information compiled from different sources on which Mohan Pogala has no control and have not been verified unless otherwise specified in this data. Mohan does not assume any of the user's business risks; does not guarantee the accuracy, integrity and timeliness of the information and shall not be liable in tort, contract or otherwise for any loss, damage or injury resulting from the use of this information, even if caused by Mohan's negligence.


COPYRIGHT © Mohan Pogala: ALL RIGHTS RESERVED. THIS DATA MAY NOT BE REPRODUCED IN WHOLE OR IN PART IN ANY FORM OR MANNER WHAT SO EVER.

385 Jar Screen Shot from PDF:
[attachment=1:dw26tbjr]PD4ML_385.jpg[/attachment:dw26tbjr]
361 Jar ScreenShot from PDF:
[attachment=2:dw26tbjr]PD4ML_361.jpg[/attachment:dw26tbjr]

Original HTML Data:


[attachment=0:dw26tbjr]Original_HTML.jpg[/attachment:dw26tbjr]

Is there any issue in 385.jar, and suggest me if any possibility to get it resolved in 385.jar itself

Thanks,
Mohan Krishna

in reply to: page-break-inside:avoid; on divs
#27384

The style is supported by the mentioned tags starting from v3.8.5fx5.

#29731

Unfortunately it is not possible. You may place a header on the top of a content, or a footer below a content.

Starting with v396 it is possible to achieve the needed layout a tricky way. The most recent PD4ML version support a page overlay.

http://pd4ml.com/cookbook/pdf-overlay-underlay.htm

You may create a main PDF with some space reserved left side (using a left margin/inset etc). The second document should render only content, goes to the left side. After the docs are ready, you may combine the docs into a resulting one (by a placing of the second doc content over the first doc’s content).

in reply to: Failure to render font-variant
#29729

The feature is available since just-released v396

in reply to: pd4ml:page.footer Inline tag not rendering
#28200

pd4ml:page.footer and header Inline tag not rendering in Colffusion
I have code below to generate pdf, but why the header and footer is not display?
please help
thanks

test header


test body page 1

test body page 2

test body page 3

test body page 4

in reply to: pd4ml:page.footer Inline tag not rendering
#28201

Yes I have this problem too in coldfusion, when I try to use

in coldfusion this generated error

so I update the tld file page_header to add the scope attribbutes like page.header

but after that, the header and footer still not show, anyone can help about this ??

in reply to: pd4ml:page.footer Inline tag not rendering
#28202

A synonym for for strict environments is . Give a try to it. And make sure you use PD4ML Pro, as PD4ML Std does not support inline headers/footers.

#29732

Please give a try to just-released v396. Is the issue reproducible with it?

#29733

Yeah. It is working very fine in 396. But in 396 explicitly I have to give the style
p{page-break-inside:avoid;} to make to work perfectly. But in 361 I hasn’t provided that styles even though it is working fine.

Any ways thanks for your help

in reply to: HTML/CSS rendering issues
#27016

Hi,
I want to use Noto Sans font to convert my html page with chinese characters into pdf, but Noto Sans is in .otf format.
When I try to execute pd4ml, it says (obviously) to me that:

java.io.IOException: file:chinese_ttf/fonts/NotoSansCJKtc-Regular.otf does not seem to be TTF<br />

How can I do it?
Thanks

in reply to: Troubleshooting
#27017

Hi there,

we have been testing pd4ml for exporting into RTF and PDF and are quite impressed. However we see some serious issues when exporting arabic script to RTF. For example, when Text and Numbers are mixed in arabic, numbers are in general from left to right, which is correct.

However, when the numbers are complemented by e.g. an equals sign, the equals sign is moved to the beginning of line. Likewise, when a dot is made to end a sentence, the dot is also rendered at the right end of line, not on the left end, as would be correct for right-to-left script.

I try to copy and past a simple arabic line from our content base

الولايات المتحدة تواجه لحظات ملحمية في الصين خلال بكين 2008 =

We have verified that the text is rendered correctly if arabic paragraphs are enclosed by the unicode sequences u8235? and u8236? respectively which are used to signify “right-to-left” embedding and pop-directional-formatting.

A snippet from the RTF paragraph that renders correctly, representing the above line.

u8235?u1575?u1604?u1608?u1604?u1575?u1610?u1575?u1578? u1575?u1604?u1605?u1578?u1581?u1583?u1577? u1578?u1608?u1575?u1580?u1607? u1604?u1581?u1592?u1575?u1578? u1605?u1604?u1581?u1605?u1610?u1577? u1601?u1610? u1575?u1604?u1589?u1610?u1606? u1582?u1604?u1575?u1604? u1576?u1603?u1610?u1606? 2008 =u8236?

in reply to: Arabic Paragraphs not rendering correctly in RTF output
#29735

Hmm… We’ll address the issue this week.

The issue may come from a difference in a preparing of text to output to PDF and to RTF. By RTF the Arabic or mixed script should be printed “as is”, letting MS Word to ligaturise and to render it correctly. For PDF output the text should be pre-processed to appear as a correct sequence of glyphs.

I suspect in some situations it uses the PDF preprocessing for RTF output, which is wrong. But it is only a guess, we need to analyze that in details.

in reply to: HTML/CSS rendering issues
#27018

We are using pd4ml library pro v396 to save html content in pdf and rtf format.
The html content comes from an external source and cant be changed.

While table formatting works perfekt in most cases some of the table cells in the html input may contain empty tags.
They seem to mess up the calculation of column/table width by extremely stretching the containing column.

Is there any workaround for this behaviour besides of fixing the html input?

I have attached the html source file and the resulting pdf.

Thanks in advance for your help.

Viewing 15 posts - 2,866 through 2,880 (of 4,243 total)