Forum Replies Created
-
AuthorPosts
-
in reply to: External stylesheet not loaded when present inside body August 12, 2019 at 08:32#33654
Can someone please respond to this post?
in reply to: border-radius with back-ground color not working properly August 12, 2019 at 08:33#33655Can someone please respond to this post?
in reply to: External stylesheet not loaded when present inside body August 26, 2019 at 06:47#33656Any update on this issue ? Its regression issue in version 4 compared to version 3
in reply to: Technical questions / Troubleshooting September 13, 2019 at 16:13#33671I 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 September 19, 2019 at 13:33#33673Hi! 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 September 24, 2019 at 14:02#33696The issue is solved with the actual snapshot build
in reply to: Bootstrap September 24, 2019 at 14:05#33697Unfortunately 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 September 25, 2019 at 12:13#33698Thank you. This is working now
in reply to: Technical questions / Troubleshooting September 25, 2019 at 12:18#33699Hi 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 Tavvalain reply to: Editable PDF not working with specialized name attributes September 25, 2019 at 19:54#33700The 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 September 26, 2019 at 08:16#33701Hi, 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 September 29, 2019 at 18:36#33703Hi 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,
RekhaAttachments:
You must be logged in to view attached files.in reply to: Technical questions / Troubleshooting October 26, 2019 at 15:05#33733I 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, 2 months ago by Burton.
- This topic was modified 5 years, 2 months ago by Burton.
Attachments:
You must be logged in to view attached files.in reply to: Technical questions / Troubleshooting October 30, 2019 at 08:58#33738Hi,
we try to upgrade our PD4ML from version 3.9.3 to 4.x (last try with 4.0.6fx3).
To give PD4ML a hint 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- This topic was modified 5 years, 1 month ago by Oliver Breidenbach.
Attachments:
You must be logged in to view attached files.in reply to: Soft hypens not rendered correctly October 30, 2019 at 09:07#33743Why do you show my avatar image so big?
-
AuthorPosts