PDF Generating Tool Support Forum

HOME   Login   Register    Search




  Subject: not working internal hyperlinks in RTF export
   PostPosted: 26 Oct 2018, 08:42 
Hello,
I'm evaluating the trial version of pd4ml but I'm having some troubles trying to convert a simple HTML with internal links.

If I convert HTML to PDF the result has working internal links.

If I convert HTML to RTF the result is a file with clickable links but they seem to be not working. I've tried to convert the RTF file to a new PDF file (using OpenOffice, LibreOffice) and the links are still not working.

In the zip attached there are the html source file and the rtf output, obtained running the following Java code:

Code:
private void generateRTF() throws Exception {
      FileOutputStream fos = new FileOutputStream(new File("data/output.rtf"));
      PD4ML pd4ml = new PD4ML();
      pd4ml.outputFormat(PD4Constants.RTF); 
      pd4ml.setPageSize(pd4ml.changePageOrientation(PD4Constants.A4));
      pd4ml.enableDebugInfo();
      pd4ml.render("file:data/test.html", fos);
      fos.flush();
      fos.close();
   }


Thanks,
M.


Attachments:
File comment: source html file and output rtf file
data.zip [1.03 KiB]
Downloaded 442 times
  Subject: Re: not working internal hyperlinks in RTF export
   PostPosted: 16 Nov 2018, 18:02 
The issue has been fixed in forthcoming v3.10.8. The feature always works correctly in PD4ML v4 snapshots



[Reply]     [ 2 posts ] 

cron
Copyright ©2004-10 zefer|org. All rights reserved. Bookmark and Share