Forum Replies Created
-
AuthorPosts
-
in reply to: Is it possible to toggle multicolumn from page to page March 1, 2012 at 17:34#28050
Is there a character limit on this facility? For some reason it cuts a long description off half way.
Thanks, Lee
in reply to: display current date every time the PDF is opened March 1, 2012 at 22:04#28799The trick with dynamic date utilizes PDF form fields. Currently PD4ML has no impact to the fields style (except box size). There are also other known issues – for example if the text to be shown in the field is too long, Acroread decreases its font size to make the text fit the space, which may appear unexpected.
We plan to investigate into the issue next week on Thursday. Hopefully we’ll find a solution.
in reply to: Java PDF Generation page-specific footers March 1, 2012 at 22:28#28909You may implement PD4PageMark.getHtmlTemplate(int) method, to return different footer definitions depending on a page number. See the last code sample on
http://pd4ml.com/cookbook/pdf_header_footer_generation.htm
PD4PageMark.setInitialPageNumber(-2) should (in theory) set page number 1 to the third page.
There is no way to reset page numbering. But you may generate two PDF documents with independent page numbering and to merge them. As far as I remember your PD4ML version supports PD4ML.merge()
in reply to: General questions / FAQ March 2, 2012 at 10:57#26692Good morning,
I am using the layoutbox feature for a bedrooms list on a brochure, because it varies in size it always needs to fit one page hence using it, however it seems to cut the content half way if the rooms list is really long..
Is there a character limit on it? Because it always reaches a certain point then will just stop adding any more text. Below is the exact tag I am using;
Content here
Can I either set the characters limit, or is there anything I have done wrong?
Thanks,
Leein reply to: HTML/CSS rendering issues March 2, 2012 at 14:21#26693I have read about the repeating table header feature.
We have a section (DIV) that is printed on bottom of one page and then repeated on the next page (on top).
Source HTML doesn’t have that duplicated DIV. Unfortunately I cannot attach source here.
Has anybody else experienced this problem?
in reply to: using <pd4ml-layoutbox> March 5, 2012 at 10:56#28910Good morning, any news on this yet? I am really keen to get the page working.
Or if there is any other way I can get flowing columns working on a single page?
Kind regards,
Lee – Domus Softwarein reply to: using <pd4ml-layoutbox> March 5, 2012 at 11:03#28911Did you try to reduce scalelimit attribute value?
in reply to: using <pd4ml-layoutbox> March 5, 2012 at 11:30#28912Yes I put it right down to 0.20 to test that and it still cut the text off at the same point even though the text now fitted easily with lots of extra space for the remainder of the text, Lee
in reply to: General questions / FAQ March 6, 2012 at 10:29#26694Hello,
We are facing a strange problem with the pd4ml product. We run out of memory when we try to generate pdf from the HTML page having image of specific dimension and css.
HTML page has an image of dimension around 414 X 233 and some css is getting applied on it. Below is the html code snippet
The css which is getting applied on the image is:
#main-col .article .inline-left-image-wrapper {
float: left;
margin: 0 10px 0 0;
}img.inline-left-image {
float: left;
clear: left;
margin: 0 10px 5px 0;
}When either “float: left;” is removed from css (highlighted above in red) or if we change the dimensions of the image, pdf is generated without any problem but when we generate pdf keeping the same css and dimension of the image, we run out of memory.
In our error log we get the exception:
Uncaught Throwable java.lang.OutOfMemoryError: Java heap spaceIn stdout.log file which shows the progress of the pdf generation seems to get stuck at generation pdf step:
0 progress conversion begin
15 progress html parsed
93 progress document tree structure built
93 progress layouting…
93 progress layouting…
93 progress layouting…
93 progress layouting…
93 progress layouting…
93 progress layouting…
93 progress layouting…
93 progress layouting…
93 progress layouting…
93 progress layouting…
93 progress layouting…
93 progress layouting…
93 progress layouting…
93 progress layouting…
93 progress layouting…
93 progress layouting…
93 progress layouting…
93 progress layouting…
93 progress layouting…
93 progress layouting…
93 progress layouting…
109 progress layouting…
109 progress layouting…
109 progress layouting…
109 progress layouting…
109 progress layouting…
109 progress layouting…
109 progress layouting…
109 progress layouting…
109 progress layouting…
109 progress layouting…
109 progress layouting…
109 progress layouting…
109 progress layouting…
109 progress layouting…
109 progress layouting…
109 progress layouting…
109 progress layouting…
109 progress layouting…
109 progress layouting…
109 progress layouting…
109 progress layouting…
109 progress layouting…
158313 progress layouting…
158313 progress layouting…
158313 progress layouting…
158313 progress layouting…
158313 progress layouting…
158313 progress layouting…
158313 progress layouting…
158313 progress layouting…
158313 progress layouting…
158313 progress layouting…
347783 progress layouting…
347783 progress layouting…
347783 progress layouting…
348986 progress layouting…
348986 progress layouting…
348986 progress layouting…
348986 progress layouting…
348986 progress layouting…
348986 progress layouting…
348986 progress layouting…
348986 progress layouting…
350205 progress layouting…
350205 progress layouting…
350205 progress layouting…
350205 progress layouting…
350205 progress layouting…
350205 progress layouting…
350205 progress layouting…
350205 progress layouting…
351408 progress layouting…
353064 progress layouting…
353064 progress layout done
356674 progress generating PDF… 1
Please suggest what could be the cause of the issue. We can share our HTML file and css and other required resources to debug this issue. We are currently using the latest licensed version of pd4ml.
in reply to: using <pd4ml-layoutbox> March 6, 2012 at 10:31#28913We’ve got a couple of reports, that the layoutbox and multi-column layout feature work not always stable. We plan to address the issues and fix with the new maintenance release.
I would estimate 2-3 weeks for that.
in reply to: PD4ml take lots of memory in special scenerio March 6, 2012 at 10:36#28916Please send the source HTML document (+resources, logs and may be some comments) to support pd4ml com. We’ll address the issue on Friday.
in reply to: RTF features March 6, 2012 at 10:54#28771We’ll check what could be done there.
It looks like a mismatch of dimentions, calculated during HTML layouting, and factual dimensions in RTF documents.A fix can take 1-1.5 weeks.
in reply to: RTF features March 6, 2012 at 11:05in reply to: using <pd4ml-layoutbox> March 6, 2012 at 12:18#28914OK, have there been any similar reports about the amount of characters it allows or could that be something at my end?
Also just to clarify…multicolumn is for use on all pages and it cannot be used on a single page I am guessing?
Kind regards,
Lee – Domusin reply to: URI is not hierarchical March 6, 2012 at 16:10#28900I changed a file URL to an html URL. It tests properly on my site but when it is run on the customer site a 401 Forbidden error occurs. They are using https and port 443 on JBoss 5.1 Is this configuration a problem?
Best,
Clifton Sothoron
-
AuthorPosts