I am new in using itextsharp: i searched for how to keep pdf formatting while using itextsharp but found none. is there anything new about keeping pdf format in text?
please help. I want to keep format of page number and fonts of text headers and sub headers as in chapter heading etc
Related
I am trying to create a program that displays pdfs in chunks. So if you have a 100 page pdf and you only want to display the first chapter you could code something for only showing pages 1 - 10. I've searched around and as it stands it seems this is the best way to display pdfs. The problem is this loads the entire pdf at once in a reader. Going through the documentation now and I can't find anyway to selectively display the pdf. is there a way to selectively display pdf text using pdfkit? or will I have to use some other library for that?
I also see there's a tabViewStyle(.page) I can use to get a paged reader view in swiftui but I'd prefer not to have to format and prettify the text if possible.
I'm not opposed to using 3rd party libraries I just don't want to have to deal with formatting text or whatever. thanks!
I am trying to display a simple kannada text in iReport. The font I am using is Tunga.ttf and it gets embedded as subset in exported pdf but the words are not displayed correctly.
The PDF encoding option as provided by iReport that I am using here is Identity-H (Unicode with horizontal writing) ....
The following is the one I get in iReport preview.
The following is the image that is obtained when exported as PDF
Kindly help me out with this problem.
I want to display HTML design page when converting the page in PDF format.
Is this possible to do? If yes, how?
Currently my HTML page is getting distorted when converting into PDF format while using html2pdf. My header is not as per I designed it.
How to set the value of header as per css?
The script i am using is PHP.
Basically i want to know can i replace my css with the html2pdf css creation?If yes , how and what is the process/procedure?
Please Guide.
Thanks
I resolved the query on my own.
I figured it out that PDF only recognises table and not div.
So when you write an html/ design it , write in table format not div. It does not recognise float.
Hence the above question i mark as resolved.
Thanks
My requirement is like this, I would like to have headers from page 2 of the pdf but not in page 1. Is it possible to do that using css counter and #page?
please check my answer at iText Flying Saucer pdf headers and ignoring html, you can customize the header/footer content based on the page number, i know this is not a answer using flying-saucer. but it works for me.
Is it possible to convert a PDF page in to HTML format using any objective-c library. I want to enable the text selection on PDF files.
#swiecki approach is not valid for pdfs
My suggestion is to use CoreText and add an overlay over the pdf view.
But it will be a long and tedious process as you need to parse the pdf to find coordinates of every letter.