Forum Replies Created
-
AuthorPosts
-
in reply to: problem with questionmarks (???)in pdf files June 4, 2013 at 12:21#29347
By default PD4ML converts to PDF characters, belong to Latin-1 charset only using built-in Adobe fonts (Helvetica, Times New Roman and Courier New). In order to output national or special characters you would need to configure and utilize TTF embedding feature of PD4ML *Pro* (or derived PD4ML Volume and Src licenses). See:
https://pd4ml.com/reference.htm#7.1
pd4ml-html-css-pdf-tips-tricks-f7/ttf-embedding-t42.html
https://pd4ml.com/cookbook/pd4ml_pdf_true_type_fonts.htmin reply to: Not able to extract a PDF attachment from DXL File May 29, 2013 at 09:14#29326The attached implements the missing functionality.
in reply to: Different Header / Footer based on page number May 28, 2013 at 07:48#28713It is a functional limitation of the header/footer type. PD4ML supports 3 header/footer types – see https://pd4ml.com/cookbook/pdf_header_footer_generation.htm
An inline header should solve the issue.
in reply to: How can I convert a dynamic values in html to pdf May 27, 2013 at 10:44#29345After the checkbox is unchecked, you need to send the state to the serverside, to generate an updated HTML without checked=”checked”:
in reply to: handle special character May 23, 2013 at 13:24#29344Here is a good starting point to resolve the issue:
https://pd4ml.com/cookbook/pd4ml_pdf_true_type_fonts.htmin reply to: Different Result (there’s gap between line) May 16, 2013 at 15:32#29332Why do you think it does not work?
Generate PDFs with different pageSize parameters and compare the PDF document properties.in reply to: Different Result (there’s gap between line) May 16, 2013 at 14:10#29330Actually there is no free version of PD4ML. There are fully functional evaluation versions: they watermark generated PDFs, but the rest of the functionality is identical to commercial versions of PD4ML.
in reply to: Font size is increased in the generated PDF May 16, 2013 at 13:02#29072By the link you may find a general info regarding content scaling in PD4ML:
https://pd4ml.com/cookbook/pdf_page_formatting.htmin reply to: Different Result (there’s gap between line) May 16, 2013 at 12:59#29328First, please take a look to the general info, regarding content scaling in PD4ML: https://pd4ml.com/cookbook/pdf_page_formatting.htm
So to scale the content down, you would need to slightly increase htmlWidth conversion parameter value.
If gaps between lines are higher than expected, use CSS property “line-height” to adjust.
in reply to: How to add sent date in the header of the document May 15, 2013 at 17:24#29301Obviously you may use substring() function for the removal. The following is an XSL date string processing example from our stylesheet.
<xsl:template name="format-date-time"> <!-- 20130328T163613,18-05 --> <xsl:param name="date" select="'%Y%m%dT%H%M%S,%z'"/> <xsl:value-of select="substring($date, 5, 2)"/> <xsl:text>/</xsl:text> <xsl:value-of select="substring($date, 7, 2)"/> <xsl:text>/</xsl:text> <xsl:value-of select="substring($date, 1, 4)"/> <xsl:text> </xsl:text> <xsl:value-of select="substring($date, 10, 2)"/> <xsl:text>:</xsl:text> <xsl:value-of select="substring($date, 12, 2)"/> <xsl:text>:</xsl:text> <xsl:value-of select="substring($date, 14, 2)"/> </xsl:template>
in reply to: Out of memory error while converting a dxl file May 15, 2013 at 17:05#29222Dxl2Pdf.java can be found in the package:
https://pd4ml.com/dxl2pdf.2013.03.zipPdfAgentR7.java
https://pd4ml.com/i/PdfAgentR7.javain reply to: Stop displaying dynamic data when user saves the document May 8, 2013 at 18:09#29312I created an HTML with 3 text input fields: t1, t2 and t3.
<html> <body> Hockey is among the <span style='background-color:yellow;'>oldest</span> <a href='http://www.olympic.org'>Olympic</a> sports, having made its first appearance at the 1908 London Games. <form> <input name=t1> <input name=t2> <input name=t3> </form> </body> </html>
Added 3 PD4ML API calls:
pd4ml.addDocumentActionHandler("OpenAction", "this.getField('t1').value ='OpenAction'; app.alert('OpenAction');"); pd4ml.addDocumentActionHandler("WS", "this.getField('t2').value ='WS'; app.alert('WS');"); pd4ml.addDocumentActionHandler("DS", "this.getField('t3').value ='DS'; app.alert('DS');");Result of a saving of the document is predictable: only t1 and t2 fields are filled. See attached.
However it is some strange: both WS and DS alerts are popped up after I pressed Save of a SaveFile dialog.
in reply to: RTF issue with <span> and <a> tags May 8, 2013 at 17:32#29315The problem is resolved in the development build. A fix will be available with the forthcoming beta release in ~1 week.
in reply to: Background-color: transparent not rendering correctly May 8, 2013 at 16:55#29131We fixed the problem in the dev build. A fix will be available with forthcoming beta release.
in reply to: Background-color: transparent not rendering correctly May 7, 2013 at 16:43#29130We reproduced the problem with the most recent version. Hmm… something strange happens. I assigned the top priority to the issue – to be fixed with the forthcoming beta.
-
AuthorPosts
