Forum Replies Created

Viewing 15 posts - 1,516 through 1,530 (of 4,234 total)
  • Author
    Posts
  • in reply to: Page-break cutting accent when page breaks
    #28700

    I have the same problem. You Could help?

    in reply to: Troubleshooting
    #26626

    Have you way to use getResourceAsBytes to load a image to set watermark without a tag?

    in reply to: Page-break cutting accent when page breaks
    #28701

    @rbburattini@hotmail.com wrote:

    I have the same problem. Could you help?

    in reply to: HTML/CSS rendering issues
    #26625

    hi
    i am trying to generate pdf for my html page while generating it wil gives a warning message that is
    Warning: Invalid syntax in CSS declaration. “background-color:” .
    How can i solve this issue.

    in reply to: background-color not supported in pdf generation
    #28714

    Obviously the property has an invalid or no value. Check the style definition.

    in reply to: Page-break cutting accent when page breaks
    #28702

    Please attach an HTML sample and its PDF result – it should help us to reproduce the issue. Or send the files to support pd4ml com

    Thank you.

    in reply to: .Net compared to Java
    #28710

    We never noticed any significant performance difference between Java and .NET PD4ML implementations. Most probably your HTML documents have some structures, whose rendering has been optimized in the recent Java versions: as you may see the actual .NET version is quite older than the most recent Java version.

    Currently we’ve been working hard on the version synchronization and we plan to release a .NET port of v380 in about one week. Hopefully it will resolve the issue you faced with.

    in reply to: Page-break cutting accent when page breaks
    #28703

    Ok.
    I sended evidences by email support@pd4ml.com, attenting your request.
    Thank you.

    @PD4ML wrote:

    Please attach an HTML sample and its PDF result – it should help us to reproduce the issue. Or send the files to support pd4ml com

    Thank you.

    in reply to: Different Header / Footer based on page number
    #28711

    You can find general info regarding PD4ML headers/footers by the link:
    html-pdf-faq-f1/pdf-page-headers-footers-definition-options-t41.html

    The third option allows you to define with scope attribute where a particular header/footer should appear. You may define multiple tags with different scopes.

    If you prefer to define headers/footers via API, you need to override corresponding methods of PD4PageMark. For example:
    [language=java:2gds8h30]PD4PageMark footer = new PD4PageMark() {
    public String getHtmlTemplate(int pageNumber) {
    if ( pageNumber % 2 == 0 ) {
    return “some left aligned stuff…”;
    } else {
    return “some right aligned stuff…”;
    }
    }
    };
    pd4ml.setPageFooter(footer);[/language:2gds8h30]

    The above example defines page-specific HTML footer. Such type of footers is not supported by PD4ML Std. For the Std verison you may override:

    PD4PageMark.getPageNumberTemplate(int pageNr);
    PD4PageMark.getPageNumberAlignment(int pageNr);
    PD4PageMark.getTitleTemplate(int pageNr);

    etc

    in reply to: Reading Watermark image with getResourceAsBytes
    #28715

    I am not sure if I understand you correctly.

    Normally a watermark is defined with API calls like the following:

    [language=java:3pa5cvkc]PD4PageMark footer = new PD4PageMark();
    footer.setWatermark(“http://server/image.jpg”, new Rectangle(10,10,200,200), 30);
    pd4ml.setPageFooter(footer);[/language:3pa5cvkc]
    (It is a bit confusing as it uses footer or header API and actually defines no footer or header)

    So as you see there is no tag, you just specify image URL.

    The URL may also be of the following protocols “file:” – to read local image file, “java:” – to read a watermark image from JAR and “data:image/png;base64,” – to pass base64 encoded images (png, jpeg or gif).

    in reply to: Page-break cutting accent when page breaks
    #28704

    We reproduced the issue – it seems to be a bug with header height computations.
    We plan to find a solution till the next beta release.

    As a workaround I would recommend to use inline header definitions with ; however there are some scenarios, where it is quite tricky to use the tag – for example if your source documents are read-only and cannot be modified.

    in reply to: CSS and PHP to PDF
    #28374

    try to use full URL for your css

    in reply to: Progress Monitor/Feedback mechanism during PDF generation
    #28683

    I noticed the new 3.8.0 version allows for progress monitoring. Is there a simple example somewhere of how to use the API for this feature?

    in reply to: Troubleshooting
    #26628

    Hi,
    our server has ISO-8859-15 encoding (-Dfile.encoding=ISO-8859-15) but PD4ML only supports ISO-8859-1 so it is generating empty PDFs.

    Is there any solution?

    Thank you.

    (P.D.: I’m the same person who posted this other topic and contacted with Igor Repinetski via e-mail some months ago. This time is not the same project/server.)

    in reply to: Trouble with server encoding (ISO-8859-15)
    #28716

    The server log says:
    new parse attempt with: ISO8859_1

Viewing 15 posts - 1,516 through 1,530 (of 4,234 total)