Forum Replies Created

Viewing 15 posts - 541 through 555 (of 583 total)
  • Author
    Posts
  • in reply to: Right margin overflow
    #27253

    Was this solved? I am having the same issue.

    in reply to: Html/CSS rendering issue
    #27676

    Thanks for your reply.

    The table is fitting in the first page and displayed correctly in IE. I played around with htmlWidth and table’s absolute coordinates but did’t work. Here are my pd4ml constants:

    protected Dimension format = PD4Constants.A4;
    protected boolean landscapeValue = false;
    protected int topValue = 6;
    protected int leftValue = 6;
    protected int rightValue  = 6;
    protected int bottomValue = 6;
    protected String unitsValue = "mm";

    I am sending html code to your support team. Please advise.

    BTW: we have pretty much decided to go with this product and will be buying soon.

    Thanks,

    in reply to: CSS Issues – possible other java css parser?
    #27399

    I’m trying to convert a document that was created from an Excel spreadsheet.
    The html renders fine in IE or Firefox, but the result looks like column widths and spans were ignored. The other noticeable issue is an extra page break at the end.

    in reply to: Url graph not displayed
    #27827

    We are using Jdk1.3 and for testing we are using PD4ML 360b2 Pro (eval)

    in reply to: Url graph not displayed
    #27825

    Some more points about this issue. The image is displayed correctly in IE. But the generated pdf was missing the image. I checked the image src. It did not have any spaces. Here is the console message of pd4ml. Could the length of the URL be the problem?

    can not load image: http://192.168.10.240:7077/final/servlet/com.eg.ErUptimeServletC;jsessionid=98D8C675CEC894AEF3F9CA445F4573E9?startdate=01%2F28%2F2010&er_usertimeline=-1&er_uptimetest=Systems&enddate=01%2F29%2F2010&er_excwe=No&er_combination=egsiva240%23%23win%23%23&er_trenddata=No&reporttype=uptime&inidate=MM%2Fdd%2Fyyyy&font=CODE2000&timefrom=00&er_comptype=Windows_server&er_service=null&er_option=Component&starthr=10&currTime=&er_datafrom=Component&eruserid=admin&er_priority=TOP++-+10&er_trgttype=Application&minto=00&er_mode=3D&er_ViewName=ErUptimeReportData.jsp&minfrom=00&er_sortby=1&endmin=00&er_type=Yes&fromSchedule=null&getMaxDaysInMonth=31&timeto=24&schedule_id=null&endhr=10&isSubmit=true&startmin=00&er_rtype=Uptime&er_show=%Uptime/%Downtime&er_component=egsiva240%253ANULL%253AWindows_server&er_component=win%253ANULL%253AWindows_server&er_timeline=1+day&&er_view=imageprint&er_width=450&er_height=225

    Thanks in advance
    Dinesh

    in reply to: Automatically open print dialog
    #27653

    Any chance to send the converted document directly to the printer?
    I mean, do not open a viewer and display the print dialog box, but print it directly.

    in reply to: Automatically open print dialog
    #27652

    @PD4ML wrote:

    The missing mapping custom tags (<pd4ml:params>, <pd4ml:key>, <pd4ml:value>) for the method will be available with the final release v360.

    Thanks! although i think that the tags are <pd4ml:parameters> and <pd4ml:parameter>

    The following code works for me:

    <pdf:transform screenWidth="800" adjustScreenWidth="true" pageFormat="LETTER" pageOrientation="portrait"
    pageInsets="3,3,3,3,mm" enableImageSplit="false" inline="true"
    fileName="file.pdf" interpolateImages="false">
    <pdf:parameters>
    <pdf:parameter key="pd4ml.print.dialog.popup" value="true"></pdf:parameter>
    </pdf:parameters>
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    <title>JSP Page</title>
    </head>
    <body>
    <h1>Hello World!</h1>
    </body>
    </html>
    </pdf:transform>

    in reply to: trouble with relative path for img or css
    #27780

    yes, we plan to buy a volume and source licence .

    in reply to: trouble with relative path for img or css
    #27778

    ok just for more precision the css is
    .btBleuLien {background:url(../images/bt_fond.gif) repeat-x; padding:0.2em 4px 0.2em 0;}

    I will try the workaround, you gave me
    When do you think this bug would be fix ?

    in reply to: trouble with relative path for img or css
    #27773

    in fact this url “../images/form_ctact_titre1.jpg” is defined in css .
    the url of the css is
    http://gaiactact.ira.appli.impots/gaia-agent/ctact/styles/posteAgent.css

    so
    ../images/form_ctact_titre1.jpg is needed to go out of the directory “css” for the directory “images” .

    But, it’s the base url which is modified .

    in reply to: trouble with relative path for img or css
    #27775

    the initial ur is “http://gaiactact.ira.appli.impots/gaia-agent/ctact/afficherEvenement.do&#8221;

    when pd4ml try to catch the image ” ../images/form_ctact_titre1.jpg ”
    The base url becomes “http://gaiactact.ira.appli.impots/gaia-agent/&#8221;

    after that pd4ml try to get another image located at
    “http://gaiactact.ira.appli.impots/gaia-agent/images/form_ctact_titre2.jpg ”
    but this images is located at
    “http://gaiactact.ira.appli.impots/gaia-agent/ctact/images/form_ctact_titre2.jpg “

    in reply to: Regarding direct print through default printer & Preview
    #27462

    In the release notes, it is said that it is already possible to create a pdf file which we open and the print dialog automatically opens.

    Is this functionality ok?
    What is the JSP taglib equivalent to do that?

    in reply to: Can I create multipe line/row header or footer?
    #27753

    it’s java.

    footer.setAreaHeight( 15 );
    footer.setFont(new java.awt.Font("Arial", java.awt.Font.PLAIN, 7));
    footer.setColor( java.awt.Color.black );
    footer.setPagesToSkip( 0 );
    footer.setTitleTemplate( Title );
    footer.setPageNumberTemplate( "277GG11-06" );
    footer.setTitleAlignment( org.zefer.pd4ml.PD4PageMark.LEFT_ALIGN );
    footer.setPageNumberAlignment(org.zefer.pd4ml.PD4PageMark.RIGHT_ALIGN);
    pd4ml.setPageFooter( footer );

    There is a footer called Title, and I need to add another footer above it.
    Thanks!

    in reply to: How to rename the auto generated pdf file before creation?
    #27750

    Got the solution:
    Just accept the “fileName” from the request (from HTML) and store it in a global variable in JSP and set it in the name attribute of <pd4ml:save>

    Eg;

    <%String fileName = request.getParameter("fileName"); %>
    
    <pd4ml:savefile
    uri="abc"
    name="<%=fileName %>"
    dir="xyz"
    redirect="pdf"
    debug="false"/>

    in reply to: Creating an index at the end of the pdf file
    #27685

    nb : <pd4ml:toc/> works fine 🙂

Viewing 15 posts - 541 through 555 (of 583 total)