Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • #26461

    I was just wondering if and how it is possible to have A4 pages print to the PDF side by side (2 per line) instead of it being singular A4 pages scrolling downwards? Is this something that can be added into the header of my JSP layout?


    PD4ML defined the following rendering switch:

    * “pd4ml.document.view.mode” defines default view mode for generated document, one from:
    * “SinglePage”, “OneColumn”, “TwoColumnLeft”, “TwoColumnRight”, “TwoPageLeft”, “TwoPageRight”;
    * @see PD4ML#setDynamicParams(java.util.Map)
    public static final String PD4ML_DOCUMENT_VIEW_MODE = “pd4ml.document.view.mode”;[/language:3h9fogh4]

    In Java it can be defined with the code:

    [language=java:3h9fogh4]Map m = new HashMap();
    m.put(PD4Constants.PD4ML_DOCUMENT_VIEW_MODE, “TwoColumnLeft”);

    PD4ML JSP custom tags do the same that way:

    [language=xml:3h9fogh4] [/language:3h9fogh4]


    Thank you for your reply, I tried adding the JSP part to my JSP template however it created an error, should it of worked with only updating the JSP and none of the other parts? This is what my head tag looks like;

    <c:out value='${}'></c:out> – <tiles:getasstring name="title"></tiles:getasstring>

Viewing 3 posts - 1 through 3 (of 3 total)

The forum ‘HTML/CSS rendering issues’ is closed to new topics and replies.