Comments (9)
Hi Philip,
Sure, you can add it to the test suite. Please remove any proprietary information(package name or any other proprietary information) if found in the code before publishing it to test suite.
Please let me know how can I create two tables in the same page? I should be able to set the margin and position for both tables wherever I want to position them on the same page.
Regards,
Pankaj
from ph-pdf-layout.
Please change the file extension from .DOCX to .java before opening the file.
Regards,
Pankaj
from ph-pdf-layout.
Hi @mailidpankaj can I use your example code and add it to the test suite?
Would you agree that I publish this as part of the library under Apache 2.0 License?
from ph-pdf-layout.
It took some time but it's pretty simple:
change the "margin bottom" of the first table from 500 to something lower as in .setMargin (50, 40, 25, 200)
and so the final layout contains the tables below each other:
hth
from ph-pdf-layout.
Hi,
While I have changed the .setMargin (50, 40, 25, 40) and the final layout contains two tables on the same page, but I am not able to reduce the space between top and down table. Strangely I have tried to set the .setMargin (50, 40, 25, 40) for both the table and but I see the space between two tables is still the same.
Please suggest how can I reduce the space between two tables. Attached is the picture for the reference.
Regards,
Pankaj
from ph-pdf-layout.
This is very simple - get rid of any top and bottom margin.
In the example code I am only using "margin left" and it does the trick
from ph-pdf-layout.
Getting rid of any top and bottom margin has removed "all" the space from top and down table. How can I create little space between two tables?
from ph-pdf-layout.
A little space is like 5 or 10.
So if you just want this add either "setMarginBottom(10)" to table1 or "setMarginTop(10)" to table2
from ph-pdf-layout.
Thanks, table space worked.
from ph-pdf-layout.
Related Issues (20)
- How to keep a table together? HOT 3
- Integrating PDFBox and XChart with ph-pdf-layout HOT 6
- How to embed the image/icon in the Table while creating PDF HOT 4
- How to correct display Chinese? HOT 19
- There is no vertical center style when I use Chinese font HOT 13
- padding in nested tables HOT 5
- Export table as image HOT 5
- Expose PDPageContentStreamExt in PDPageContentStreamWithCache? HOT 2
- font Weight HOT 2
- Render tables with text rotated by 90 degrees HOT 11
- Adding page number to the footer HOT 2
- No splitting performed when nesting non-splittable within splittable PLVBox HOT 3
- PLTableCell.createEmptyCell() with column span? HOT 5
- Vertically splittable table HOT 7
- Issue with Centering Text in Single Line HOT 2
- Having issues importing and using HOT 40
- Need to determine how many table rows can fit on the current page HOT 10
- Cut Text like "overflow:hidden" in css HOT 6
- No assertions for pdfs created during tests? HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ph-pdf-layout.