Forum Replies Created
-
AuthorPosts
-
in reply to: Images Not Displaying March 6, 2013 at 12:25#29240
If you use PD4ML API it is obvious: you trigger the method of PD4ML instance.
In a case of PD4ML taglib, you can switch debug output on with debug=”true” attribute of
In command-line scenario it can be done with -debug parameter.
in reply to: Images not working March 6, 2013 at 13:36#27450Hi,
I have added pd4ml.useServletContext( ctx );or
pd4ml.useHttpRequest(httpRequest, httpResponse);
Till now also, images are not displaying in pdf file.
Please, it is very urgent.
Thanks inadvance.
-satyaprasad
in reply to: Images not working March 6, 2013 at 15:29#27451what does it print to STDOUT/server’s log if you enable debug info?
in reply to: PDF Styling Problems March 6, 2013 at 19:14#29228Just publish a sample of your docs here or send to support pd4ml com – we’ll check what is wrong with it.
in reply to: PDF Styling Problems March 6, 2013 at 19:24#29229What exactly do you want me to publish? HTML? PDF?
I tried sending an email to support@pd4ml.com before posting here, but the mail bounced…
in reply to: PDF Styling Problems March 6, 2013 at 19:32in reply to: PDF Styling Problems March 6, 2013 at 20:11in reply to: General questions / FAQ March 7, 2013 at 06:28in reply to: Mutiple page creation March 7, 2013 at 09:38#29246PD4ML will start new page automatically, when document content does not fit current one.
If you need to force a page break, you may either use our proprietary tag
or to use CSS style
page-break-before: always
applied to a block element (i.e.) or to
.in reply to: PDF Styling Problems March 7, 2013 at 10:43#29232I would suspect the following stylesheets does not load:
[language=java:1tfbau9i] [/language:1tfbau9i]In order to analyze a reason of that, try to enable debug info (pd4ml.enableDebugInfo()) and inspect STDOUT/server’s log
in reply to: Images not working March 7, 2013 at 13:28in reply to: PDF Styling Problems March 11, 2013 at 07:28#29233The only thing I’m getting regarding the CSS files in debug is the following lines:
version: PD4ML 371b15 Pro
new parse attempt with: UTF8
loading CSS file http://localhost:30303/logeye/css/mainproduct.css?buildNumber=3500
not yet in cache: http://localhost:30303/logeye/css/mainproduct.css?buildNumber=3500
loading CSS file http://localhost:30303/logeye/css/components.css?buildNumber=3500
not yet in cache: http://localhost:30303/logeye/css/components.css?buildNumber=3500
loading CSS file http://localhost:30303/logeye/css/search.css?buildNumber=3500
not yet in cache: http://localhost:30303/logeye/css/search.css?buildNumber=3500Keep in mind that I do have formatting from the CSS present in the PDF (colors for example). Most of my problems are related to padding and positioning.
Is there an option to hold a short WebEx session to try and isolate the problem?
Thanks.
in reply to: PDF Styling Problems March 11, 2013 at 08:00#29234Without the styles the HTML appears as a number of text portions, placed to cells of a borderless table. There is no easy way to analyse a correctness of positioning and paddings.
As I see you use a relatively old version of PD4ML. Give a try to the most recent v381 – probably the issues, you faced with, are already solved.
in reply to: HTML/CSS rendering issues March 14, 2013 at 07:36#26823The format of the pdf generated does not look the same as seen in the browser. Here is the sample code.
<font style="font-size:12px"><br /> 0123456789abcdefghijklmnopqrstuvwxyz0123456789abcdefghijklmnopqrstuvwxyz0123456789abcdefghi<br /> <table style="width: 500px" border="1"><br /> <tbody><br /> <tr><br /> <td> </td><br /> <td> </td><br /> </tr><br /> </tbody><br /> </table><br /> </font>
As seen in the attachment, the table displayed in the browser looks bigger than the table in the pdf. How to adjust that?
in reply to: Problem relating to formatting March 15, 2013 at 18:54#29247Do you use “TTF Embedding” feature of PD4ML? If not, Acroread uses its built-in PostScript Type 1 fonts, whose metrics may slightly differ from TTFs.
-
AuthorPosts