Forum Replies Created

Viewing 15 posts - 3,706 through 3,720 (of 4,246 total)
  • Author
    Posts
  • in reply to: External stylesheet not loaded when present inside body
    #33654

    Can someone please respond to this post?

    in reply to: border-radius with back-ground color not working properly
    #33655

    Can someone please respond to this post?

    in reply to: External stylesheet not loaded when present inside body
    #33656

    Any update on this issue ? Its regression issue in version 4 compared to version 3

    in reply to: Technical questions / Troubleshooting
    #33671

    I had read in the PD4ML 3 forums that version 4 would have greater support for CSS styling like bootstrap libraries. Is this true? Would it be possible to use a bootstrap 3 CSS in the PD4ML 4 API?

    in reply to: External stylesheet not loaded when present inside body
    #33673

    Hi! I am terribly sorry for the delay with the reply! The forum replication broke some user mapping and we did not receive forum notifications in the meantime.

    We added the issue to be fixed with the next release.

    in reply to: border-radius with back-ground color not working properly
    #33696

    The issue is solved with the actual snapshot build

    in reply to: Bootstrap
    #33697

    Unfortunately an implementation of flex layout is still pending – the feature is extensively used by modern libs like bootstrap and web sites. It should be available within a month.

    But in general v4 implements much more CSS features comparing to v3

    in reply to: border-radius with back-ground color not working properly
    #33698

    Thank you. This is working now

    in reply to: Technical questions / Troubleshooting
    #33699

    Hi PD4ML,

    We are using 4.0.6 latest snapshot with license.
    We are trying to generate editable PDF, but we are seeing some exceptions.

    Markup being used:
    <input type=’checkbox’ value=’true’ name=’$Test’ />
    <input type=’radio’ name=’$Test1′ value=’UI’>

    Java Code:
    pd4ml.generateForms(true, “”);

    Exceptions seen:
    Whenever the name attribute value contains “$”, we are seeing pd4ml exceptions as below
    Exception in thread “main” java.lang.NullPointerException
    at com.pd4ml.pdf.builder.e.o00000(y:1112)
    at com.pd4ml.pdf.builder.e.o00000(y:1968)
    at com.pd4ml.html.doc.render.to.m.o00000(y:1058)
    at com.pd4ml.html.doc.render.n.o00000(y:977)
    at com.pd4ml.html.doc.render.nb.o00000(y:3497)
    at com.pd4ml.html.doc.render.p.o00000(y:301)
    at com.pd4ml.html.doc.render.to.f.super(y:1558)
    at com.pd4ml.PD4ML.writePDF(y:3080)
    at Test.TestJar.main(TestJar.java:40)

    Thanks,
    Rekha Tavvala

    in reply to: Editable PDF not working with specialized name attributes
    #33700

    The issue is going to be fixed with today’s nightly build.

    Please note: As names like “$Test” are invalid from HTML spec perspective, they are internally substituted with something like “invalid-name”. So even “$Test” and “$Test1” are different, internally they named identically and may cause unexpected radio button grouping in some contexts.

    in reply to: Licensing / Purchasing of PD4ML
    #33701

    Hi, I’m using an evaluation license.
    I wanted to try the footnotes but with the demo taken from maven I don’t get the displacement of the text of the numbered notes in the pd4ml: footnote.caption. I have seen that the functionality is available for the pro version. Is the evaluation license equivalent to the PRO version?
    Can you help me?

    Attachments:
    You must be logged in to view attached files.
    in reply to: Technical questions / Troubleshooting
    #33703

    Hi PD4ML,

    We are using latest 4.0.6 snapshot with license. There are many flex styles in use in our project.
    Please find the markup we are using in the attached screenshot. (I am not able to paste the markup properly here)

    Here in the output PDF, width 33.3% is not coming proper.
    And similarly for width 50%, it is coming in stacked format in PDF.
    As per pd4ml css support documentation, I can see that there is not full support for flex styles currently.
    But is it feasible to provide this support as some fix ? This flex support in pd4ml may help us so much in our project.

    Thanks,
    Rekha

    Attachments:
    You must be logged in to view attached files.
    in reply to: Technical questions / Troubleshooting
    #33733

    I am having trouble producing PDF’s without the “Demo watermark” appearing. Has anyone experienced this? I have the paid version api key, but the demo watermark appears on some pdfs and not others. I have provided a test file that demonstrates this (and also shows how I’m using the java library). I’m using version 4.0.6fx1-SNAPSHOT. Any help is appreciated.

    class PD4MLTest {

    private static String tempDir = “./”;
    private static String apiKey = “_api_key_”;

    private static final String html_showsDemo = “<p>Hello World!</p>”;

    private static final String html_noDemo = “<p>Hello World!</p><pd4ml:page.break>”;

    @Test
    void pdfCreationTest_notWorking() throws Exception {

    PD4ML pd4ml = new PD4ML(apiKey);
    pd4ml.setPageSize(PageSize.LETTER);

    // Convert
    ByteArrayInputStream bais = new ByteArrayInputStream(html_showsDemo.getBytes(StandardCharsets.UTF_8.name()));
    ByteArrayOutputStream baos = new ByteArrayOutputStream();
    pd4ml.readHTML(bais);
    pd4ml.writePDF(baos);

    InputStream is = new ByteArrayInputStream(baos.toByteArray());
    String filePath = tempDir + “pdf_test_demo.pdf”;
    File targetFile = new File(filePath);
    FileUtils.copyInputStreamToFile(is, targetFile);

    System.out.println(“PDF file created, location: ” + filePath);
    }

    @Test
    void pdfCreationTest_working() throws Exception {

    PD4ML pd4ml = new PD4ML(apiKey);
    pd4ml.setPageSize(PageSize.LETTER);

    // Convert
    ByteArrayInputStream bais = new ByteArrayInputStream(html_noDemo.getBytes(StandardCharsets.UTF_8.name()));
    ByteArrayOutputStream baos = new ByteArrayOutputStream();
    pd4ml.readHTML(bais);
    pd4ml.writePDF(baos);

    InputStream is = new ByteArrayInputStream(baos.toByteArray());
    String filePath = tempDir + “pdf_test_noDemo.pdf”;
    File targetFile = new File(filePath);
    FileUtils.copyInputStreamToFile(is, targetFile);

    System.out.println(“PDF file created, location: ” + filePath);
    }

    }

    • This topic was modified 5 years, 1 month ago by Burton.
    • This topic was modified 5 years, 1 month ago by Burton.
    Attachments:
    You must be logged in to view attached files.
    in reply to: Technical questions / Troubleshooting
    #33738

    Hi,
    we try to upgrade our PD4ML from version 3.9.3 to 4.x (last try with 4.0.6fx3).
    To give PD4ML a hi­nt where it can use hyphenation we insert soft hyphens (­\u00AD) into our text. With version 3.9.3 this worked as expected.
    After upgrade to 4.0.6fx3 and using the org.zefer.pd4ml.PD4ML wrapper the hyphen is always rendered, not only when a line break is needed.
    Using the new com.pd4ml.PD4ML I get either a question mark instead of the soft hyphen, I guess this is because of not configure the fonts correctly, or I get a large blank instead of the soft hyphen.
    Do I do something wrong or is it just not supported in version 4.x?
    I tried with demo and evaluation mode but neither did work.

    My html:
    <html>
    <head></head>
    <body>

    30-44 Jah\u00ADre

    </body>
    </html>

    Attached the generated pdf files.
    In the log file I see ‘WARNING: addStyle() takes no effect in non-Pro PD4ML versions’. Do I need the pro version to try this feature?

    Thank you for your support.
    Oliver Breidenbach

    Attachments:
    You must be logged in to view attached files.
    in reply to: Soft hypens not rendered correctly
    #33743

    Why do you show my avatar image so big?

Viewing 15 posts - 3,706 through 3,720 (of 4,246 total)