Forum Replies Created
-
AuthorPosts
-
in reply to: disabling image caching does not work October 5, 2011 at 13:58#28681
/product-images/imageName.jpg points to a local file system resource. A dummy suffix makes the path invalid. So first I would recommend to remove it.
Also please check my recent reply to post1898.html#p1898
Did you get anything like cache disabled. (re-)reading printed to the log or STDOUT?
in reply to: A definition of custom resource loaders October 5, 2011 at 14:19#27265In general you cannot place images to particular places of document layout via PD4ML API or with resource loaders.
You define your document layout using HTML and the images positions are defined by a locations of tags.
If you plan to load images from a database, you may define your own image loading protocol. For example:
Your custom resource loader should parse the string “database:table=images;key=4711” and perform a corresponding request to the database (using the key value to locate a proper image) via JDBC (or similar).
in reply to: TTF embedding October 5, 2011 at 14:24#27298Im using the pro version and with domino server 8.5.1
pd4ml.render(new StringReader(inputHTML), fos, new URL(“file:.”), “iso-8859-1”);The notesdocument is grabbed by java agent
Document usrDoc = db.getDocumentByID(strUNID);I can’t get it to display danish characters properly
i have tried this also
pd4ml.render(new StringReader(inputHTML), fos, new URL(“file:.”), “utf-8”);Eksample:
Kære = Kære
pÃ¥ første = på førstein reply to: Support to colgroup October 5, 2011 at 14:32#28678No. In the nearest future we do not plan to support colgroups.
Closer to the beginning of the next year we plan to start a complete PD4ML’s HTML renderer refactoring – most probably the feature will be supported. However it is difficult to say how long the refactoring will take.
in reply to: TTF embedding October 5, 2011 at 14:37#27299I guess inputHTML is a String object.
What does the following code print to Java console?
System.out.println(inputHTML);Is it “Kære” or “Kære”?
in reply to: Problem with image cache October 7, 2011 at 10:33#28675Thanks for your reply.
I add the tag to my page and I can see the log message:
cache disabled. (re-)reading file:/util/images/logo.png|#]But inside pdf I see alway the wrong image.
Every night I restart glassfish and the first time i create a pdf the logo is ok. But from that moment I see always that image even if i’m on another sitein reply to: HTML/CSS rendering issues October 9, 2011 at 11:55#26614Hi,
I am having an issue regarding positioning of 2 div elements.
<br /> <div style="height: 100px; width: 100; display: block; position: relative; background: blue; "><br /> <div style="height: 50px; width: 50px; bottom: 0px; left: 20px; position: absolute; background-color: green;"><br /> </div><br /> </div><br />
This code will in a browser show a blue box of 100×100 that contains a green box (50×50). The green box is placed at the bottom line off the blue box.
However, when I generate the pdf, the “bottom: 0px” is ignored, and the blue box is at the top.
The “left: 20px” is not ignored.I hope someone can give me a hint how to solve this issue.
(I am using the newest version (trial))
Best regards
Mads Wermelinin reply to: HTML/CSS rendering issues October 10, 2011 at 06:56#26615Hi, problem I am facing is converting RTL languages to PDF. The letter are being displayed in the reversed order…for example:
hello שלום
shows: םולש
Did anyone sort this one out?
in reply to: PD4ML Tips & Tricks October 11, 2011 at 12:46#26616Hi All,
I am looking for a library which can convert the HTML pages/word documents to PDF files. While searching on internet, we got reference for pd4ml libraries and have tried using it but major ssues as –
1. Arabic Character representation, rather handling of –
dir=”rtl” lang=”ar”>.It would be better if someone can help in resolving this issue.
Regards,
Pratibhin reply to: RTL with UNICODE displays characters in a reversed direction October 12, 2011 at 14:18#28698The forthcoming version (expected till end of the month) should resolve a number of RTF issues. I expect to see the RTL text issue resolved as well.
in reply to: Arabic Representation October 12, 2011 at 14:24#28699Try to define dir=”rtl” in tag.
And also make sure you use a relatively recent version of PD4ML Pro and TTF Embedding feature is enabled.
in reply to: Problem with image cache October 12, 2011 at 14:30#28676It looks like there is an implicit caching on JDK level. We’ll investigate if it is possible at all.
in reply to: Positioning – bottom ignored October 12, 2011 at 15:36#28687Currently PD4ML supports only “left” and “top” CSS properties. See: http://pd4ml.com/css.htm
We could add the missing properties support in one of the forthcoming releases.
in reply to: background-position October 12, 2011 at 18:33#28579any updates!
I’m facing exactly same issue in following version:
Created-By: yGuard Bytecode Obfuscator 2.3.0.1<br /> Implementation-Title: PD4ML Pro<br /> Implementation-Version: 371b9
Thanks,
Waqasin reply to: HTML/CSS rendering issues October 17, 2011 at 08:28#26618This problem occurs on version 350b1.
After updated to latest Version 3.8 no header was shown anymore. We do not know why. With Version 3.5 it works. So: are there any changes in using page:header tag?
The other question is: Is there a bug in displaying headers on skipped pages on version 3.5 or can we solve the problem by setting special attributes.
If tehre is a bug: Is it solved in version 3.8?Thank you for your help.
Best regards:
Stefan -
AuthorPosts