Forum Replies Created
-
AuthorPosts
-
in reply to: Lotus Notes 8.5.3 troubles with ttf fonts January 29, 2013 at 11:27#29202
UnDecoding Base64 the string:
ev8iAAAABwAAAAAAAAAAAAAAAAAAAAAAAABiYXJjb2RlAA==gives:zÿ”����������������������barcode�
with the text “barcode” at the end (that comes from the final part of the string AABiYXJjb2RlAA==)
In fact that field is a BARCODE…
even though this doesn’t help me :-< -t-
in reply to: Lotus Notes 8.5.3 troubles with ttf fonts January 29, 2013 at 11:34#29203The garbage looks like UTF-8 wrongly interpreted as Latin-1. Should be solvable with an XSL adjustment. Could you please publish a DXL sample, which causes such problem?
in reply to: Lotus Notes 8.5.3 troubles with ttf fonts January 29, 2013 at 11:57#29204thanks for the quick answer
the code I use is:
Document tmp = db.createDocument(); RichTextItem rti = tmp.createRichTextItem("PD4MLBody"); doc.renderToRTItem(rti); DxlExporter dxl = session.createDxlExporter(); dxl.setConvertNotesBitmapsToGIF(true); => in this case il useless dxl.setOutputDOCTYPE(false); => tried with (true) but is the same
Stringxml= dxl.exportDxl(tmp);and the string “xml” contains
<tablecell borderwidth='0px 0px 2px 2px'> <pardef id='25' align='center' rightmargin='3.8229in' keepwithnext='true' keeptogether='true'/> <par def='25'><run><font size='36pt' name='IDAutomationHI25M' truetype='false' familyid='70'/>ÀU+!!$Ã</run>
<compositedata type='65402' prevtype='65413' nexttype='65413' afterparcount='4'> ev8iAAAABwAAAAAAAAAAAAAAAAAAAAAAAABiYXJjb2RlAA== </compositedata>
</par></tablecell>where the last part has something to do with the Base64 Encode of the Barcode.
I don’t know how to export a DXL in a different way … sorry
-t-
in reply to: Lotus Notes 8.5.3 troubles with ttf fonts January 29, 2013 at 15:03#29205Could you please send the entire DXL and its resulting PDF to support pd4ml com?
I tried to convert the snippet you sent with our actual XSL and it printed only “ÀU+!!$Ô (well, we do not have the needed barcode font to test). Base64 portion has been suppressed by
<xsl:template match="d:compositedata" />directive.in reply to: Lotus Notes 8.5.3 troubles with ttf fonts January 29, 2013 at 15:40#29206here you are
I attach PDF, xls, xml, html.
We had PD4ML 3.6.0, now we’re performing the test with 3.8.1
You are very kind :->
tommaso spazzali
in reply to: Lotus Notes 8.5.3 troubles with ttf fonts January 29, 2013 at 16:05#29207I converted the DXL with the actual XSL and as for me it seems to be correct (except a missing barcode font issue).
I have attached the conversion result and the XSL stylesheet (which can be also taken from the actual Dxl2Pdf package: https://pd4ml.com/command-line-dxl-to-pdf-converter.htm )
in reply to: Lotus Notes 8.5.3 troubles with ttf fonts January 29, 2013 at 17:35in reply to: Xhtml to pdf conversion January 30, 2013 at 14:07#29029<pd4ml:transform screenWidth="<%=screenWidth1 %>" pageFormat="<%=pageFormat %>" pageOrientation="<%=pageOrientation %>" pageInsets="1,1,1,1,points" enableImageSplit="false" fileName="c:report.pdf"> <jsp:include page="<%=clickUrl %>" > <jsp:param name="dbConnVar" value="<%=dbConnVar%>" /> </jsp:include> </pd4ml:transform>
in reply to: Xhtml to pdf conversion January 31, 2013 at 13:10#29030Could you please add enable=”false” attribute to
<pd4ml:transform>and to generate a HTML with the JSP placeholders substituted with a dynamic content. Save the HTML from a web browser and publish it here (or send to support pd4ml com)in reply to: Problem with P tag containing attribute text-align: justify January 31, 2013 at 21:11#29148I’ve tried with a new 381 version.
The problem appearly isn’t solved, according with hardcopies of PDF file.in reply to: Problem with P tag containing attribute text-align: justify January 31, 2013 at 21:12#29149I sent a email with all evidences and files.
in reply to: PDF page headers/footers definition options February 1, 2013 at 14:35#27277I’m trying to put header and footer put through java, how can I do this?
in reply to: PDF page headers/footers definition options February 1, 2013 at 14:58#27278With PD4ML Pro it can be done like that:
PD4PageMark footer = new PD4PageMark(); footer.setHtmlTemplate("<font color="red"><i>page $[page] of $[total]</i></font>"); footer.setAreaHeight(-1); pd4ml.setPageFooter(footer);Use pd4ml.setPageHeader() for headers.
in reply to: PDF page headers/footers definition options February 1, 2013 at 16:59#27279Hi Folks,
when I already tried this, but it no works.
When I put footer and header, only header appears.Thanks in advance.
in reply to: PDF page headers/footers definition options February 1, 2013 at 17:02#27280Which PD4ML version do you currently use? It can be checked in Document properties of any PDF, generated with the library.
-
AuthorPosts
