Forum Replies Created

Viewing 15 posts - 121 through 135 (of 583 total)
  • Author
    Posts
  • in reply to: css parsing issues
    in reply to: could no create pdf correctly
    #29258

    Hello :

    Finally we have talk to our ISP. He has said that the problem is with the user-agent and we have made a change in the calll to Java

    $cmdline = "$java -Xmx512m -Djava.awt.headless=true -Dhttp.agent=certi

    It works.

    Thanks

    Alberto Mozo

    in reply to: How to define custom page size for HTML to PDF
    #29350

    @PD4ML wrote:

    pd4ml.setPageSize() API call takes page dimensions in typographic points as a parameter.

    public static final int POINTS_PER_INCH = 72;
    ...
    pd4ml.setPageSize( new java.awt.Dimension(15 * POINTS_PER_INCH, 11 * POINTS_PER_INCH) );

    in reply to: org/w3c/dom/* classes in ss_css2.jar
    #28102

    @DurgaPrasad wrote:

    Hi,
    I used Zurich font in my pdf. It is displaying in html but not in pdf. In pdf, the default font is appearing.

    fonts folder contains all type of font files and properties file with code:
    Zurich BT=Zurich.ttf

    jsp file:

    <link href="font.css" rel="stylesheet">
    <pd4ml:usettf from="../fonts"/>

    font.css:

    @font-face
    {
    font-family: 'Zurich BT';
    src: url('fonts/Zurich BT.eot');
    src: local('Zurich BT'), url('fonts/Zurich BT.ttf') format('truetype'),  url('fonts/Zurich BT.woff') format('woff'), url('fonts/Zurich BT.svg') format('svg');
    font-weight: normal;
    font-style: normal;
    }
    .Zurich{
    font-family: 'Zurich BT';
    font-size:12px;
    }

    in reply to: org/w3c/dom/* classes in ss_css2.jar
    #28101

    Hi,
    I used Zurich font in my pdf. It is displaying in html but not in pdf. In pdf, the default font is appearing.

    fonts folder contains all type of font files and properties file with code:
    Zurich BT=Zurich.ttf

    jsp file:

    <link href="font.css" rel="stylesheet">
    <pd4ml:usettf from="../fonts"/>

    font.css:

    @font-face
    {
    font-family: 'Zurich BT';
    src: url('fonts/Zurich BT.eot');
    src: local('Zurich BT'), url('fonts/Zurich BT.ttf') format('truetype'),  url('fonts/Zurich BT.woff') format('woff'), url('fonts/Zurich BT.svg') format('svg');
    font-weight: normal;
    font-style: normal;
    }
    .Zurich{
    font-family: 'Zurich BT';
    font-size:12px;
    }

    in reply to: Images not working
    #27453

    Can you explain how you solved it?

    Thanks.

    in reply to: Unable to embed document
    #29365

    @PD4ML wrote:

    Does the attachment appear in the side bar (“Attachments” tab on the left window side of Acroread)?

    Hi there,
    I had to rewrite the whole thing and that little icon is now appearing but it is still not working correctly.
    If I am displaying contents of a text file and set description=”FileAttachment.txt” then I can open text file attachments by clicking a little icon in generated PDF, great. However, when I try to attach and open a Word Document I am getting the following error message:
    “This file does not have a program associated with it for performing this action. Please install…”.
    When I update description=”Fileattachment.docx” then I can open Word documents only. This will not work of course as business users can attach any type of file so description=”FileAttachment.attachmenttype” must be dynamically generated to reflect attached file extension.

    Is there a way of doing this please?

    Thank you in advance.

    in reply to: System Error: Stack Underflow
    #29489

    Hii,

    Anyone on this?

    in reply to: Empty IMG src hangs PD4ML
    #29389

    version 396

    in reply to: System Error: Stack Underflow
    #29488

    Sorry, my bad.

    it’s

    <html>
    <head>
    
    </head>
    <body>
    Testing
    </body>
    
    
    
    </html>

    in reply to: Avoid content fit into a single page, page break
    #29406

    thank you for your reply

    we have used page break inside auto !important, but this does not always breaks the content, if the contents fits into a page, it moves into the next page automatically making a lot of white space in the first page. we dont require this, we always want to break the content, could you please tell how we can achieve this, thanks

    in reply to: Avoid content fit into a single page, page break
    #29405

    enableTableBreaks(true) implicitly sets

    TABLE, TR {page-break-inside: avoid}

    Try to override it with

    TABLE {page-break-inside: auto !important}

    in reply to: Empty IMG src hangs PD4ML
    #29388

    Which PD4ML version do you use?

    in reply to: System Error: Stack Underflow
    #29486

    Hi,

    I upgraded to v398fx2 and tried the same. I still see the same issue.

    I don’t have any HTML code as such. Below is with what I’ve tested and encountered the error :

    <html>
    <head>
    <body>
    Testing
    </body>
    
    </head>
    
    </html>

    I don’t use any external css except inbuilt css in product.

    Regards,
    Mani.

    in reply to: Html to pdf conversion removes the xml tags in the html div
    #29561

    Thanks for your reply, my xml is already in the format you mentioned,

    <textarea wrap="virtual" cols="130" rows="30">
    <ABR_SearchRulesReply xmlns="http://">
    
    <followUp>
    
    <numberOfItemsDetails>

Viewing 15 posts - 121 through 135 (of 583 total)