Viewing 1 post (of 1 total)
  • Author
    Posts
  • #26743

    For our RTF file generation, We added a footer, which includes a image(logo), the footer is displayed, however the image is missing … Please advice.

    Note: Same code generates the image in PDF file, but the image is missing in RTF

    Following is the snippet of the code

    private PD4PageMark buildFooter(String docHyperlink) {
    try {
    ...
    
    PD4PageMark footer = new PD4PageMark();
    
    
    
    footer.setHtmlTemplate(
    "<table width='100%'><tbody><tr>" +
    "<td width='90px'>"
    + "  <img src='"+FOOTER_LOGO_PATH+"' width='153.5px' height='25px'/></td>" +
    "<td align='right'>"
    + "Some txt "</td></tr></tbody></table>");
    
    return footer;
    } catch (Exception e) {
    log.error(e.getMessage(),e);
    log.error("Error in building the footer.");
    throw new IllegalStateException(e);
    }
    }
    
    
    ...
    
    pd4ml.setPageFooter(buildFooter(itemUrl));

    …

Viewing 1 post (of 1 total)

The forum ‘General questions / FAQ’ is closed to new topics and replies.