Forum Replies Created
-
AuthorPosts
-
in reply to: Image as a theme for pdf file April 10, 2013 at 11:39#29263
You need to nest
<pd4ml:header pageBackgroundImageUrl="..."/>to<pd4ml:transform>in reply to: How to add sent date in the header of the document April 10, 2013 at 11:49#29291You may add the missing fields to .XSL style condition statements of the following section: ( i.e. ” or ../@name=’Bcc'”). For sent date the correct field name, I guess, is ‘PostedDate’.
<xsl:for-each select="/d:document/d:item/d:rawitemdata[@type='502']"> <xsl:if test="../@name='From' or ../@name='SendTo' or ../@name='Subject' or ../@name='CopyTo'"> <tr> <td valign="top"><xsl:value-of select="../@name"/>:</td><td><span style="text-transform: base64"><xsl:copy-of select="text()"/></span></td> </tr> </xsl:if> </xsl:for-each> <xsl:for-each select="/d:document/d:item/d:text"> <xsl:if test="text() and (../@name='From' or ../@name='SendTo' or ../@name='Subject' or ../@name='CopyTo')"> <tr> <td valign="top"><xsl:value-of select="../@name"/>:</td><td><xsl:copy-of select="text()"/></td> </tr> </xsl:if> </xsl:for-each> <xsl:for-each select="/d:document/d:item/d:textlist/d:text"> <xsl:if test="text() and (../../@name='From' or ../../@name='SendTo' or ../../@name='Subject' or ../../@name='CopyTo')"> <tr> <td valign="top"><xsl:value-of select="../../@name"/>:</td><td><xsl:copy-of select="text()"/></td> </tr> </xsl:if> </xsl:for-each>
in reply to: Stop displaying dynamic data when user saves the document April 10, 2013 at 13:33#29303The first parameter (actionType) of the method accepts the following values:
“OpenAction”,
“DC” (document close),
“WS” (will save),
“DS” (did save),
“WP” (will print)
“DP” (did print)Obviously you are interested in “WS”. However, I suspect, it is going to be tricky to implement the needed functionality with it (or I overcomplicate the things).
You still may try to implement the feature with “OpenAction”. Just compare the document creation date and last modification date (if any and if possible), and display the last modification date if it is greater than the creation date.
in reply to: display current date every time the PDF is opened April 10, 2013 at 13:34#28801I replied to the question in the thread:
html-pdf-faq-f1/stop-displaying-dynamic-data-when-user-saves-the-document-t702.html
in reply to: Message on Footer April 10, 2013 at 15:17#29302It is possible with PD4ML Pro (and derived volume license binaries) like that:
line 1<br> line 2<br> line 3<br> line 4<br>
Actually in PD4ML Std it would work as well (I copied the below from our test suite):
<% String s = "$[title]nsecond line"; %> <pd4ml:header titleTemplate="" pageNumberTemplate="default" titleAlignment="left" fontSize="14" color="#008000" fontFace="Comic Sans MS" fontStyle="bolditalic" areaHeight="36"/>
What is exactly in {4lines Message}? Can it be JSP runtime “optimises” the code and substitutes ‘n’ with whitespace chars in-place.
in reply to: Extracted attachment from DXL says it is damaged April 15, 2013 at 11:18#29273Did you try to export DXL and to force to uncompress attachments? Did it help?
in reply to: Stop displaying dynamic data when user saves the document April 15, 2013 at 13:40#29304Hi, Thanks for the information. However i tried using “WS” (will save) and
“DS” (did save) option nothing worked. Below is the peace of code used to check the functionality.pd4ml.addDocumentActionHandler(“WS”, “this.getField(‘i1′).value =’kkkk’;”);
pd4ml.addDocumentActionHandler(“DS”, “this.getField(‘i1′).value =’datasaved’;”);When i tried saving pdf using file -> SaveasCopy menu option the form field is not populated with neither of the above mentioned values.
PLease let me know how can i accomplish this.
in reply to: Stop displaying dynamic data when user saves the document April 15, 2013 at 13:43#29305Do you use Acrobat Reader or Acrobat to save PDFs?
in reply to: HTML/CSS rendering issues April 15, 2013 at 17:55#26837First, I’m running:
pd4ml 3.8.1fx1 embedded jar
Windows 7 64 bit
java 1.6.0_38I’m having an issue with css styling when a span tag is right next to an a tag. Use this as an example:
<br /> <html><br /> <body><br /> <p>Hockey is among the<br /> <span style='background-color:yellow;'>oldest</span><br /> <a href='http://www.olympic.org'>Olympic</a><br /> sports, having made its first appearance at the 1908 London Games.<br /> </p><br /> </body><br /> </html><br />I’m seeing that the styles on the span tag will start at the right place, skip over the a tag as expected, but will continue right until the end of the p tag.
EDIT: I’ve attached the RTF output of the above example.
Has Anyone from pd4ml looked at this yet? It’s been 2 weeks with no response.
in reply to: How to add sent date in the header of the document April 16, 2013 at 11:54#29292I added as you suggested.But still the date is not displaying in the header.Kindly help.
<xsl:for-each select="//d:item/d:rawitemdata[@type='502']"> <xsl:if test="../@name='From' or ../@name='SendTo' or ../@name='Subject' or ../@name='CopyTo' or ../@name='PostedDate' or ../@name='Bcc'"> <tr> <td valign="top"><xsl:value-of select="../@name"/>:</td><td><span style="text-transform: base64"><xsl:copy-of select="text()"/></span></td> </tr> </xsl:if> </xsl:for-each> <xsl:for-each select="//d:item/d:text"> <xsl:if test="text() and (../@name='From' or ../@name='SendTo' or ../@name='Subject' or ../@name='CopyTo' or ../@name='PostedDate' or ../@name='Bcc')"> <tr> <td valign="top"><xsl:value-of select="../@name"/>:</td><td><xsl:copy-of select="text()"/></td> </tr> </xsl:if> </xsl:for-each> <xsl:for-each select="/d:document/d:item/d:textlist/d:text"> <xsl:if test="text() and (../../@name='From' or ../../@name='SendTo' or ../../@name='Subject' or ../../@name='CopyTo' or ../@name='PostedDate' or ../@name='Bcc')"> <tr> <td valign="top"><xsl:value-of select="../../@name"/>:</td><td><xsl:copy-of select="text()"/></td> </tr> </xsl:if> </xsl:for-each>
in reply to: How to add sent date in the header of the document April 16, 2013 at 12:05#29293I even tried ‘DisplayDate’ instead of posted date but that also not working.
in reply to: Extracted attachment from DXL says it is damaged April 16, 2013 at 12:34#29274I will check and let you know.But all the DXL files are already exported I think it would be difficult (probably not possible) to find the DXL files which are having compressed attachement and again re-exporting it by uncompressing the attachement.
It would be great if you can hadle it in code to uncompress this type of attachements.in reply to: MIME.HTM in the converted PDF April 16, 2013 at 12:43#29284Please update.
in reply to: Out of memory error while converting a dxl file April 16, 2013 at 12:45#29214Please update.
in reply to: Extracted attachment from DXL says it is damaged April 16, 2013 at 12:56#29275As I wrote, Lotus Notes LZ1 compression is undocumented, which turns the feature implementation into an untrivial task. On the other hand we already invested quite a lot of time to an analyse and the implementation seems to be doable now (however there are still few questionable issues there).
If your company ready to (partially) fund the development, please contact support pd4ml com by email.
-
AuthorPosts
