Forum Replies Created

Viewing 15 posts - 2,131 through 2,145 (of 4,243 total)
  • Author
    Posts
  • in reply to: General questions / FAQ
    #26791

    Is it possible to club multiple PDF into a single Using PD4ML. The HTMLs are rendered and PDFs are generated in a single folder. The constraint is I can’t merge the PDF while rendering the HTML. The requirement is after generating the PDF some business logic has to be executed and depending on the Business logic the PDF are selected for merging. So Let’s say I have the list of PDFs in the Array List.
    Can I club them all in a single PDF? Can I iterate through the ArrayList(Which contains the PDF location information with PDF name) and generate the single PDF?

    in reply to: HTML/CSS rendering issues
    #26792

    Does PD4ML support right-to-left Arabic text in unicode?

    in reply to: General questions / FAQ
    #26793

    When I’ve been printing my PDF, the plugin do the flatten page by page and becouse of that, this processes seems slowly to our costumers.
    How can I flatten all “layers” and watermark images after or during pdf generation. Is it possible?

    in reply to: How can I flatten my generated PDF?
    #29154

    I think, the term “flatten” is mostly applicable to raster media, when PDF is a vector format. I have no idea what would mean to flatten, for example, two line drawling commands line(0,0,100,100) and line(0,100,100,0)…

    PD4ML allows to convert source HTML to “flatten’ raster images, but in print scenarios the approach would make not much sense, because of print quality losses and bulky files.

    I would suspect the slow print is caused by an exceeding of printer memory with big PDF print jobs. How big an average PDF file in the problem cases?

    in reply to: Arabic support?
    #29153

    Yes, with some minor limitations.

    in reply to: PD4ML Tips & Tricks
    #26794

    Hello,

    is it possible to add footer (with page number and total page number) only if document has more than 1 page ?

    The setPagesToSkip(1) function isn’t a good solution for me because it always hides page number on first page ; i need to display page number also on first page if document contains multiple pages.
    The pd4ml.getLastRenderInfo(PD4Constants.PD4ML_TOTAL_PAGES) method might be the solution (in order to get document’s total page number) but the renderer isn’t initialised yet when defining footer. Is it possible to “prepare renderer” before generating PDF document ?

    Note : I use the lastest PD4ML version (pd4ml.volume.380fx7)

    Thanks

    in reply to: HTML/CSS rendering issues
    #26795

    Hello PD4ML…

    I’ve a question about the “disabled” parameter in an input tag (for example a text field). This field is renderized or painted Grayed as it is disabled, but I don’t need to do it this way, because in Google Chrome and Firefox, the HTML is displayed normally without graying out the component. This means that the PDF generated using the library differs a bit on the Style displayed in the browser.

    Do you have a solution for this?

    We have tried to replace the “disabled=’true'” and disabled=’disabled’ of the HTML String to empty, or readonly so it is not rendered this way. But in Internet Explorer, the tag generated for disabled, doesn’t have the equals.. its just “disabled”, and this text cannot be replaced manually as is very possible that a user writes it in a text field of the HTML itself.

    Thanks in advanced

    in reply to: "Broken" PNG image file hangs PD4ML generator forever
    #29142

    I can confirm that this bug has been fixed in PD4ML 380fx9. Thanks.

    in reply to: Disabled Component
    #29157

    We cannot change the “legacy behaviour”, some customer may rely on.

    A workaround would be to apply the style
    [language=css:kh8uwqqk]@media pdf {
    INPUT[disabled=”true”] {
    disabled: false;
    }
    }[/language:kh8uwqqk]
    either regular way or via pd4ml.addStyle() API call.

    in reply to: Conditionnal footer page number
    #29156

    Hmm… PD4ML cannot estimate a number of resulting PDF pages before a render() call.

    I would recommend to run a first fake conversion procedure to an ignored ByteArrayOutputStream, just to let pd4ml.getLastRenderInfo() return a number of pages. After that you can make a decision either to specify a footer or not.

    A feature you need requires a test conversion pass. It makes not much difference if you run it explicitly in your code, or we hide it somewhere in PD4ML logic.

    in reply to: Disabled Component
    #29158

    Thank you very much. It actually worked.

    I used the addStyle(String, boolean) to accomplish it.

    Problem solved.

    in reply to: same content repeating while converting dxl to pdf
    #29151

    Currently available v380fx9 does not suffer of the problem.

    in reply to: General questions / FAQ
    #26796

    I am using below css class in my page:
    .rotateClass1
    {
    display : block;
    z-index : 10;
    position : absolute;
    top : 170px;
    left : 9px;
    }

    When PD4ML tries to convert HTML to PDF. It doesn’t load an image because of above css. But once I remove absolute position from css, Image gets loaded in PDF with wrong format.I need to load the image in PDF with correct format.

    Please advice me.

    Thanks in advance.

    in reply to: loading verdana and georgia ttf not working
    #28835

    First, make sure you use PD4ML Pro.

    pd4ml.enableDebugInfo() API call forces PD4ML to output diagnostic info to STDOUT or server’s log. Please publish here what it writes or send to support pd4ml com

    in reply to: HTML/CSS rendering issues
    #26790

    Hi, I’ve been troubleshooting a problem with a document that was made in MS Word and then exported to HTML. I know it’s impossible to know for sure what will come out of programs that proclaim to do HTML exports, but I narrowed this particular problem down to something simple.

    I have a div:
    <br /> <div style="border:3px solid green;background-color:#3C71A5;padding:0in 5.4pt 0in 5.4pt 0in 5.4pt 0in 5.4pt !msorm; height:.7in"><br /> <p align="center" style="margin-bottom:0in;margin-bottom:.0001pt;text-align:center;line-height:normal"><br /> <b><br /> <span style="font-size:9.0pt;color:red">Filing & Date</span><br /> </b><br /> </p><br /> </div><br />

    pd4ml does not render the green border or the blue background. When you remove the !msorm declaration, it does get rendered. Browsers don’t choke on it at all, and will render it the same regardless of the msorm declaration. The “simple” problem would be to just remove the msorm declaration, but our team doesn’t have control over the document production, and finding this String in the html and stripping it out isn’t exactly the cleanest solution.

    Testing Environment:
    PD4ML 3.8.0fx9 pro – Java
    Windows 7 / Linux 2.6.18-238.1.1.el5
    No special Options, just new PD4ML().render

Viewing 15 posts - 2,131 through 2,145 (of 4,243 total)