Forum Replies Created

Viewing 15 posts - 346 through 360 (of 583 total)
  • Author
    Posts
  • in reply to: Positioning – bottom ignored
    #28697

    After further testing I’ve hit another problem that I can’t seem to resolve. For some reason the absolute positioning is effected by the page margin settings.

    For instance if I have 5 pages each with an overlayed div which is absolutely positioned to bottom:0, for each page the absolutely positioned div moves up the page by around the same amount that the PDF margin is.

    Example code:

    <style type="text/css">
    #container {float:left; width:1000px; height:640px; position:relative; background:#ccc}
    #innerBottom {width:700px; height:200px; position:absolute; bottom:0; background:#cc0000}
    </style>

    <div id="container">
    <img alt="Image from the forum topic: Positioning – bottom ignored" src="./horiz-report_files/image1-h640.jpg" style="width:1000px; height:640px" />
    <div id="innerBottom">
    this is absolute bottom
    </div>
    </div>
    
    <div id="container">
    <img alt="Image from the forum topic: Positioning – bottom ignored" src="./horiz-report_files/image1-h640.jpg" style="width:1000px; height:640px" />
    <div id="innerBottom">
    this is absolute bottom
    </div>
    </div>
    
    <div id="container">
    <img alt="Image from the forum topic: Positioning – bottom ignored" src="./horiz-report_files/image1-h640.jpg" style="width:1000px; height:640px" />
    <div id="innerBottom">
    this is absolute bottom
    </div>
    </div>
    
    <div id="container">
    <img alt="Image from the forum topic: Positioning – bottom ignored" src="./horiz-report_files/image1-h640.jpg" style="width:1000px; height:640px" />
    <div id="innerBottom">
    this is absolute bottom
    </div>
    </div>
    
    <div id="container">
    <img alt="Image from the forum topic: Positioning – bottom ignored" src="./horiz-report_files/image1-h640.jpg" style="width:1000px; height:640px" />
    <div id="innerBottom">
    this is absolute bottom
    </div>
    </div>

    Any idea if I’m able to get it bottom aligned to the containing DIV for each slide?

    in reply to: PD4ML Lotus Domino 8.5.3 Basic Authentification
    #28931

    Got it working you need to enable SSO for the Domino Web Server

    in reply to: Positioning – bottom ignored
    #28696

    @PD4ML wrote:

    The examples do not work as they combine positioning and float behavior. The combination is not supported by PD4ML.

    Ah sorry only just saw this, I’ve done some initial tests removing the float and so far so good thanks.

    in reply to: Positioning – bottom ignored
    #28694

    Having done a bit more testing it seems that the problem is now occurring even when trying to use “positioning:absolute; top:0”. I’m pretty sure that in our earlier version of PD4ML the top alignment option worked ok.

    What happens is that the absolute positioned element isn’t actually being absolutely positioned over other relative elements.

    Example (#innerTop div appears below the image instead of over):

    <style type="text/css">
    #container {float:left; width:800px; height:600px; position:relative; background:#ccc}
    #innerTop {float:left; width:100px; height:200px; position:absolute; top:0; background:#00cc00; }
    </style>
    
    <div id="container">
    <img alt="Image from the forum topic: Positioning – bottom ignored" src="imagehere.jpg" style="width:700px; height:600px" />
    <div id="innerTop">
    this is absolute top
    </div>
    </div>

    in reply to: Positioning – bottom ignored
    #28692

    We have just upgraded our version of PD4ML specifically for the positioning fixes, unfortunately they don’t quite work.

    If you have div within a div, and the inner div is “position:absolute; bottom:0”, then it works fine.

    The problem is when you have a div with two absolute positioned divs within, or a div with an absolute positioned div and an image inside.

    Example 1:

    <style type="text/css">
    #container {float:left; width:800px; height:600px; position:relative; background:#ccc}
    #innerTop {float:left; width:100px; height:200px; position:absolute; top:0; background:#00cc00; display:none}
    #innerBottom {float:left; width:800px; height:200px; position:absolute; bottom:0; background:#cc0000}
    </style>
    
    <div id="container">
    <div id="innerTop">
    this is absolute top
    </div>
    <div id="innerBottom">
    this is absolute bottom
    </div>
    </div>

    Example 2:

    <style type="text/css">
    #container {float:left; width:800px; height:600px; position:relative; background:#ccc}
    #innerBottom {float:left; width:800px; height:200px; position:absolute; bottom:0; background:#cc0000}
    </style>
    
    <div id="container">
    <img alt="Image from the forum topic: Positioning – bottom ignored" src="someimage.jpg" style="width:800px; height:600px" />
    <div id="innerBottom">
    this is absolute bottom
    </div>
    </div>

    Unfortunately we have a very urgent requirement to show text boxes overlayed on images, if anyone has any work around or ideas please post them.

    in reply to: PD4ML Lotus Domino 8.5.3 Basic Authentification
    #28930

    The user:password is actual correct i just changed it to not post the real user and password

    in reply to: Image with java: protocol failing
    #28928

    I did get the provider to load.

    in reply to: Image with java: protocol failing
    #28927

    I’ve also tried loading a ResourceProvider and that can’t be found either. Lastly I tried putting the images and provider class in a JAR, same result.

    This is a showstopper for me so any help would be greatly appreciated.

    in reply to: RTF features
    #28774

    @PD4ML wrote:

    It seems we fixed the issue. If you’d like to test it with the current development build – please request it by email from support pd4ml com

    The spacing issue seems to be working fine now, thanks for that!

    Regarding the two other questions I had, do you have any feedback for me on that?

    @rnilsen wrote:

    Regarding your comment about being able to set header/footer as a tag not being implemented yet, will it be possible in the future? If so, do you have a rough estimate to when we can expect that?

    Lastely, when specifying lengths in css (or tags), what is the unit that I should use (besides %)? I know that RTF natively operates on a twips, and I tried to calculate it from cm, but without much luck.

    in reply to: TTF embedding
    #27300

    Plz help me, How to set unicode for pdf output.? I set charset utf-8 for my html and display normal, but it create pdf output not read

    in reply to: using <pd4ml-layoutbox>
    #28914

    OK, have there been any similar reports about the amount of characters it allows or could that be something at my end?

    Also just to clarify…multicolumn is for use on all pages and it cannot be used on a single page I am guessing?

    Kind regards,
    Lee – Domus

    in reply to: using <pd4ml-layoutbox>
    #28912

    Yes I put it right down to 0.20 to test that and it still cut the text off at the same point even though the text now fitted easily with lots of extra space for the remainder of the text, Lee

    in reply to: using <pd4ml-layoutbox>
    #28911

    Did you try to reduce scalelimit attribute value?

    in reply to: using <pd4ml-layoutbox>
    #28910

    Good morning, any news on this yet? I am really keen to get the page working.

    Or if there is any other way I can get flowing columns working on a single page?

    Kind regards,
    Lee – Domus Software

    in reply to: Java PDF Generation page-specific footers
    #28909

    You may implement PD4PageMark.getHtmlTemplate(int) method, to return different footer definitions depending on a page number. See the last code sample on

    https://pd4ml.com/cookbook/pdf_header_footer_generation.htm

    PD4PageMark.setInitialPageNumber(-2) should (in theory) set page number 1 to the third page.

    There is no way to reset page numbering. But you may generate two PDF documents with independent page numbering and to merge them. As far as I remember your PD4ML version supports PD4ML.merge()

Viewing 15 posts - 346 through 360 (of 583 total)