Questions tagged [tppdf]
Questions tagged with `TPPDF` are regarding the Open Source Swift PDF rendering framework `TPPDF`.
13
questions
0
votes
0answers
13 views
Footer in every page in TPPDF ios
I am able to add the footer in a pdf, using TPPDF library in iOS. But I am not able to keep the footer on every page of the PDF. Any solution for the same?
Here is how I have used the footer:
**let ...
0
votes
0answers
26 views
Value of type 'PDFTable' has no member 'generateCells'
New xcode 12.0.1 face the issue
do {
try table.generateCells(
data: data ,
alignments: textAllignment
)
} catch PDFError.tableContentInvalid(let value) {
// In case invalid input is provided, this ...
0
votes
1answer
40 views
TPPDF Table Data Version 2.3
I have been using TPPDF to generate pdfs utilising tables.
With the old version I was able to populate, set alignment and styles as per the code below.
The _bodyData [Array] is comprised of [String, ...
0
votes
1answer
38 views
Is there any way to break up a PDFTable onto a different page?
First time poster here...but been using StackOverflow for solutions whenever I get stuck.. ton of great information here! I will try to describe the question as thoroughly as I can and hope someone ...
0
votes
0answers
15 views
How can ensure a PDFSection does a page break with TPPDF
I want to ensure that my PDFSection is visible on one single page and does not overlap on 2 pages. note that my sections height may be different (as the PDFSection has 3 columns with tables of ...
0
votes
0answers
16 views
How control the size of an image in a TPPDF cell table?
I'm able to add an image and set its size in a container with:
let imageWork = UIImage(named: "calendarWork")!
let logoImage = PDFImage(image: imageWork, size: CGSize(width: 14, height: 14)...
1
vote
0answers
46 views
How to Add Watermarks to Images in TPPDF Document?
What's the best way to add watermarks to images in a TPPDF document?
Is this approach (#19) still the best way? If so, would you mind please elaborating on how you'd do this?
I've found if I add ...
-1
votes
1answer
44 views
In TPPDF I would like to add drawing graphics to a document page using PDFKit
Would like to be able to add drawing graphics using PDFKit as a watermark for each page of my report. Is there a supported way of doing that or any equivilent method in TPPDF
0
votes
0answers
27 views
Column Wrap Sections not working with tables or subsection
I am using TPPDF in my iOS app. I am creating a document with three column that is filled from left to right and if the right most column reaches the end, it has to be continued on a new page. I tried ...
1
vote
1answer
39 views
Set Overall Table Size
How can I set the size of a table using TPPDF? By default, the table width seems to cover the whole page, and I'm not sure how to change that. I need my table cells to be square, but can only control ...
0
votes
1answer
139 views
Reduce PDF Size
How to reduce PDF Size? , I generate PDF with 288Kb size images, around 25- 30 images in that PDF and size of PDF 24MB.
how can I reduce that ? without loss quality of images.
Awaiting for your kind ...
0
votes
1answer
200 views
TPPDF : Add Multiple images with text content in the same cell in the Table()
I am working on a PDF Builder app and came through this tutorial.
Is there any way around to add some text in a cell with multiple images. I tried different ways but it results into error in the PDF....
0
votes
1answer
388 views
Auto page break while creating PDF in iOS (Swift)
I have to create a PDF which contains data like a quotation document (text, tables, images, etc.). The data varies from 1 page to 3-4 pages. A table cell may have combination of text and images. Also, ...