Forum Replies Created
-
AuthorPosts
-
in reply to: V3 Rendering with 4.0.15 stuck at 6.5″ wide December 29, 2022 at 01:47in reply to: Technical questions / Troubleshooting December 30, 2022 at 16:59in reply to: Technical questions / Troubleshooting January 3, 2023 at 14:50#35889
Hi,
I have a fixed table layout using
white-space: nowrap
. So the table cell text should overflow into the next cell if it’s too long:<table style="table-layout: fixed; width: 175px; white-space: nowrap;"> <tr> <td style="width:75px; white-space: nowrap;">Overflow Description<sup>sup</sup></td> <td style="width:75px;text-align: right;">123</td> <td style="width:25px;">last</td> </tr> </table>
It works if there is no nested element like the
sup
in the example. Also aspan
or other inline elements will not work. It seems that it is treated as adisplay:block
element.
HTML works as expected. The problem occurs in the PDF.Is there a workaround for this or maybe a fix?
PD4ML version “4.0.15”.
Thank you and best regards
DanielAttachments:
You must be logged in to view attached files.in reply to: Line break in a table cell despite nowrap (on nested html-tag) January 4, 2023 at 16:44#35899Hi! It was a bug in our code. A bugfixed snapshot build of v4.0.15fx2 is going to be available for download tomorrow.
in reply to: Licensing / Purchasing of PD4ML January 9, 2023 at 13:10#35909Can you please explain what it means when we acquire a license with the source code?
- What do we exactly get? Is it the source code with unit tests?
- Are we able to create a branch/fork to your source code repository?
- Can we freely use it when we make modifications / fixes?
- Are we acquired to provide the changes we made back to PD4ML?
- What does it mean for any updates that PD4ML releases? Do we get the source code of these updates or is it a onetime snapshot that is provided?
- When we get the source code, are we allowed to deploy/use this within multiple sites/services freely?
- Are we able to look at the source code first before we make the decision if we want to buy it? We want to evaluate the quality first before making a buy decision.
- Are we able to look at the source code first before we make the decision if we want to buy it? We want to evaluate the quality first before making a buy decision.
- Is it possible to talk to a technical salesperson to clarify our questions?
in reply to: Questions regarding acquiring the source code January 9, 2023 at 15:07#35910• What do we exactly get? Is it the source code with unit tests?
By default it is a .JAR with the source code files. It makes debug process easier, but obviously not sufficient for branch/fork development.
If you really feel confident and want to do the development, we’ll provide you with other resources (pom.xml etc).We cannot share the unit tests, as a lot of them are based on the customer’s input we are not allowed to disclosure. However the unit test infrastructure can be shared with you, so you can maintain your cases.
• Are we able to create a branch/fork to your source code repository?
We can integrate your changes/bugfixes only if you send us them in a form of a GIT patch + relevant testcases, so we can evaluate the update in our environment.
• Can we freely use it when we make modifications / fixes?
Yes, the SRC license agreement allows you to use the derived work as an integral part of your end-application.
• Are we acquired to provide the changes we made back to PD4ML?
You don’t have to, but we would be grateful if you share with us the bugfixes you did.
• What does it mean for any updates that PD4ML releases? Do we get the source code of these updates or is it an onetime snapshot that is provided?
Each build run on our side publishes the product JAR to the public Maven repo and to the downloads area, as well as the product JAR + SRC JAR to the password-protected Maven and downloads area. So you’ll have an access to the most actual and older src versions.
• When we get the source code, are we allowed to deploy/use this within multiple sites/services freely?
You are not allowed to re-distribute the product source codes in any form. But you can deploy the compiled derived binaries to your customers under the same terms as our original binaries.
in reply to: Line break in a table cell despite nowrap (on nested html-tag) January 9, 2023 at 17:27#35916Thank you for your quick response.
I got the versionpd4ml-bin-4.0.15fx2-SNAPSHOT.zip
from https://pd4ml.com/v4/. ‘Last Modified’ is from2022-12-13 03:47
.
Unfortunately it is not fixed. Also the whole table layout is more broken now.
Did I get the wrong version?in reply to: Headers and footers rotated on page rotation January 9, 2023 at 22:27#35917Hello,
I have the same issue, could you tell when the version v4.0.15fx2 will be released?in reply to: Headers and footers rotated on page rotation January 9, 2023 at 22:53#35921Hi! It is to be released within the next 10 days.
in reply to: Technical questions / Troubleshooting January 11, 2023 at 10:42#35938Ist there any support for (see CSS Paged Media Module) in PD4ML or is it planned?
in reply to: Support and/or Experience using CSS Paged Media January 11, 2023 at 11:43#35939We definitely plan to support the feature in a scope of further v4.1.x development, however the milestones are not defined yet.
Most of the CSS Paged Media features are available (or simulated) right now via PD4ML API and proprietary tags.
in reply to: Page rotate, reset, PDF width January 16, 2023 at 07:41#35940I don’t even know you can rotate pages. How do you do that exactly? Which version are you using? iPad or Desktop?
in reply to: Page rotate, reset, PDF width January 16, 2023 at 14:07#35947Changing and resetting page orientation works fine but as soon as we try to increase table width to say 100%, or manually set width to anything > 1200 the entire PDF shrinks buy I would say 20% ending with a lot of white space on the right-hand side of the document.
Hi Mario,
an illustrative sample (HTML + resulting PDF) would help a lot to understand the issue.
Can you prepare and share one with us?in reply to: Page rotate, reset, PDF width January 16, 2023 at 22:01#35948It turns out that as soon as I set table width to 100% (in page which is in landscape mode) first page of the PDF shrinks by some 20%.
What fixes first page is to set table width also to 100% but then all columns in that page must also be set to a percentage value, pixels will not work as page will remain shrunk. This is very inconvenient as if you copy-paste HTML into an external editor and resize columns, tab widths will automatically be rest to pixel values which again means that page will be shrunk.
I suppose one thing to try is to hardcode landscape page table width to a pixel rather than percentage value but that is hardcoding and I don’t really like to do that.
I will play with it a bit more, I was hoping that somebody came across this already. If I find a usable solution I will post it here.Just out of interest, if you have the time, try setting orientation of one of pages to landscape then set table width of that page to 100%. Try generating document and let me know if first page shrinks, it will be much appreciated.
Cheers
-Min reply to: Line break in a table cell despite nowrap (on nested html-tag) January 24, 2023 at 15:46#35984Hi! It was a bug in our code. A bugfixed snapshot build of v4.0.15fx2 is going to be available for download tomorrow.
Is there anything new about this?
-
AuthorPosts