start with (c#) p.SetLeading(0f, 1.2f); where p is your paragraph
thats what Word would use as standard, 0f fixed leading, 1.2f multiplied
leading. If you have one larger word on a line, that line will increase
accordingly, which I believe is what you are asking for.
Ryan M-3 wrote:
>
> In M
I am using iTextSharp and trying to use the FirstLineIndent property of
a paragraph. When I set FirstLineIndent to say 36 and add 3 chunks to
the paragraph, where the 2nd chunk is a '\n' newline, the 3rd chunk of
text is also indented. I was expecting more of an Html first line indent
where a tag
Rather than going through the content stream looking for text operators (BT &
ET with a Tj, ' or " between them... sounds like a job for regex), you could
instead look at the page's resources.
If there are any font resources, one could reasonably conclude that the page
contains text. There ar
Hi all,
I'm working on a report generator that uses iText to generate PDF files. The
content of the individual pages is composed by first printing a template, which
is read from another PDF using PdfWriter.getImportedPage() followed by
PdfContentByte.addTemplate(); then, the actual data are pri
Paragraph.setLeading(float,float) but it will only work in PdfPTable and
ColumnText.
Paulo
- Original Message -
From: "Ryan M" <[EMAIL PROTECTED]>
To:
Sent: Friday, February 23, 2007 6:49 PM
Subject: [iText-questions] Leading of single in paragraph
> In Microsoft Word if you type a m
\u00a0
Paulo
- Original Message -
From: "edwinb" <[EMAIL PROTECTED]>
To:
Sent: Friday, February 23, 2007 8:05 PM
Subject: [iText-questions] Trailing Character Supression?
>
> Hi, all.
>
> First, thanks to the iText folks for some excellent work.
>
> I have found that trailing space in
Hi, all.
First, thanks to the iText folks for some excellent work.
I have found that trailing space in Chunks is apparently truncated, which is
an issue only because I am underlining the chunk, for example:
Chunk myChunk = new Chunk(" Inspection Stamp ");
myChunk.setUn
I have been able to have different footers and headers in my rtf
document, the first page is different, all the rest are the same. As
part of my document I need to import an existing rtf document into it.
As soon as I import the existing document one of two things happen:
-If existing document has
In Microsoft Word if you type a multi-line paragraph and then increase the font
size of one word in the paragraph, Word will increase the leading of the single
line that that word is on. The leading of the other lines will not change.
Despite my best efforts, I can't figure out how to do this w
Your fix was accepted, thank you.
Paulo
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On
> Behalf Of Lewis, Cory (Genworth)
> Sent: Thursday, February 22, 2007 9:57 PM
> To: iText-questions@lists.sourceforge.net
> Subject: Re: [iText-questions] Premature EO
danielb wrote:
The question is directed to Bruno...
That would be me.
In the last part of this post, you said:
"Write the table to a PdfTemplate with the table's dimensions,
then you can cut PdfTemplate into as many parts as you like".
That's good advice.
I didn't really understand how t
Paulo Soares wrote:
>> Yes, I've already done it, but named destinations are still
>> not copied,
>> it was working with (very) old version of iText for sure.
>>
>
> What version?
>
I only know that is from 2005.03.14
>
>> I've found that my problem is connected with
>> http://three
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On
> Behalf Of Mariusz Pala
> Sent: Friday, February 23, 2007 3:26 PM
> To: Post all your questions about iText here
> Subject: Re: [iText-questions] Problem with ToC in PDF
> aftermerging usingPdfCopy
>
> Yes
I've changed chunk.setLocalGoto() in my ToC creation method to:
PdfAction action = PdfAction.gotoLocalPage(pageDestination, new
PdfDestination(PdfDestination.FIT), writer);
chunk.setAction(action);
And document with ToC works fine - before merging with another document.
After merging using PdfC
Patrick Le Gonidec wrote:
> You write in your book (p. 633) that only the most common schemas are
> implemented in iText, and I do not see how to process my custom metadata
> with iText
Extend the abstract class XmpSchema.
Use the classes that implement the common schemas
(DublinCoreSchema, PdfS
Yes, I've already done it, but named destinations are still not copied,
it was working with (very) old version of iText for sure.
I've found that my problem is connected with
http://threebit.net/mail-archive/itext-questions/msg02256.html -
unfortunately without answer.
So my question is: is the
Named destinations were never supported in PdfCopy, what you can do is
call PdfReader.consolidateNamedDestinations() to replace all the local
named links with the actual destinations.
Paulo
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On
> Behalf Of Marius
Select the windows handler and it will work. You can also sign with the
PdfSignatureAppearance.WINCER_SIGNED and it will work directly.
Paulo
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On
> Behalf Of Jens Kelkel
> Sent: Friday, February 23, 2007 10:14 A
The code is too specific to Joachim needs and I've removed it. However,
I've made some AcroField methods and fields public so that he could
replicate the code in his application.
Paulo
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On
> Behalf Of Bruno Lowagi
Hi,
This is a continuation of the multi-horizontal-page table problem. (Titled
"moveTo() and Direct Content")
The question is directed to Bruno...
In the last part of this post, you said:
"Write the table to a PdfTemplate with the table's dimensions,
then you can cut PdfTemplate into as many p
Hi,
I have a problem with ToC links in documents.
Everything is fine after creating Toc using function below, ToC is created
with links and that links work.
This is part of my code:
public static int addTableOfContents(File pdfFile, String tocTitle, int
additionalPageOffset) throws Excep
I don't think anyone needs to concur with Leonard...he's a bit of a PDF guru ;).
But I'll chime-in that I looked-into this as well, and it's not trivial. Each
page will have some text within it for the actual PDF specification/format. So
it's not a binary decision on whether there's any text o
On Feb 22, 2007, at 11:36 PM, a b wrote:
> Hi, I already have made the pdf file, but I need to
> identify whether the pdf is an image only pdf or it
> also contain some text. I was wondering will itext api
> can identify such difference, please let me know
>
There is no high level API for
Hi,
I have a problem with ToC links in documents.
Everything is fine after creating Toc using function below, ToC is created
with links and that links work.
This is part of my code:
public static int addTableOfContents(File pdfFile, String tocTitle, int
additionalPageOffset) throws Excep
Hallo,
Thanks for the answer. I have found the solution. The keystore wasn't properly
build.
But next problem is that I get a message form Acrobat Reader (Version 8 German)
that he couldn't find the handler to verify the Signature.
Now anybody, how I add a handler to the document?
Here my cod
Joachim Avenarius wrote:
> Is there something I do not see that could cause problems?
At first sight, I would say it's OK;
although the method getNewPushbuttonFromField
was written for a different purpose than getting
field information.
> Or is it possible to add this method to a new version?
I
26 matches
Mail list logo