Hi all,How tab characters are rendered in table cell (PdfPTable) ?Itext doesn't seem to render content with tab characters correctly.For example, If you go to
http://itextdocs.lowagie.com/examples/com/lowagie/examples/objects/tables/MyFirstTable.javaand change table.addCell("1.1") totab
Works for me. I attach what I got using the latest itextsharp.
Paulo
- Original Message -
From: "Mitch Freed" <[EMAIL PROTECTED]>
To:
Sent: Monday, August 07, 2006 11:09 PM
Subject: [iText-questions] SplitLate Problem/Question
I have a PdfPTable which I have specified the SplitLate
I have a PdfPTable
which I have specified the SplitLate property to false on. I have a scenario
where I have 2 rows. The first row spans the entire page, thus the second row
will display on the second page. If SplitLate is set to true, this works fine.
If SplitLate is set to false, I lose so
Hello Leonard,
Is this the correct way to stream the contents and parse it.
PRIndirectReference obj = (PRIndirectReference)fontDict.get(name2);
PRStream stream = (PRStream) PdfReader
.getPdfObject(obj);
PRTokeniser token = new PRTokeniser
(stream.getBytes());
while (token.nextToken())
{
if (to
Help
disclaimer: I read the tutorial and understand that generated pdf for a
client is not a good idea.
I do not want to generate a PDF from with-in JSP , I will be using a
servlet. My question is. I have JSP pages defined that I currently use
when printing using Scriptx.
Is there a way
At 03:43 PM 8/7/2006, Abhishek Srivastava wrote:
>I tried the following
>
>The output I get is
That is correct.
It's the /N (normal) appearances of each of the fields.
Now you need to (as documented in the PDFReference) get the
stream data from the 'N' appearance and
At 03:19 PM 8/7/2006, Abhishek Srivastava wrote:
>My fields can be rich text fields, single line text fields or multi
>line text fields. I want a reliable way of extracting the Font from
>an AcroField properties.
Start by reading the PDF Reference to understand how Acrobat
fields are "
Hello Leonard,
I tried the following
AcroFields.Item item = form.getFieldItem(key);PdfDictionary dict;PdfName name;for (Iterator i = item.merged.iterator(); i.hasNext(); )
{ dict = (PdfDictionary)i.next(); for (Iterator it = dict.getKeys().iterator(); it.hasNext(); )
{ name = (PdfName)
My fields can be rich text fields, single line text fields or multi line text fields. I want a reliable way of extracting the Font from an AcroField properties.
It will be kind if you could provide me a sample on how to do this.
regards,
Abhishek.
On 8/8/06, Leonard Rosenthol <[EMAIL PROTECTE
At 01:39 PM 8/7/2006, Abhishek Srivastava wrote:
The properties which I want to
extract are
textfont
textcolor
textsize
text alignment
Is this a
single line or multi-line field? Is this a rich text
field?
I printed the properties of two
acrofields and the output was
1. /FT -- /T
Thanks Bruno,
The image approach works for me.
However I want to compare it to the addTemplate apporach.
if a co-ordinate is X1, Y1 in portait, then it becomes Y1, PageSize.A4.Width - X1 when the page becomes landscape.
Given the above, what transformation matrix should be applied? so that
I have found the answer on how to extract properties of acrofields at http://itext.ugent.be/library/question.php?id=31
The properties which I want to extract are
textfont
textcolor
textsize
text alignment
I printed the properties of two acrofields and the output was
1. /FT -- /Tx/RV --
I had a look at the PDF and the problem is that Acrobat has a limit of 14400
units for the page size and you have 18590.
Paulo
- Original Message -
From: "Paulo Soares" <[EMAIL PROTECTED]>
To: "Post all your questions about iText here"
Sent: Thursday, August 03, 2006 1:53 PM
Subject:
Hi! i'm from Barcelona and my name is Oriol, i'm a developer and i need to use itext for make a pdf's report.
The problem is,
i need to create a table with specific style and i would like to know if i can define this style in a CSS or class and then when i create the table vincule this style to th
At 08:46 AM 8/7/2006, Umberto Angelini wrote:
>Is it possible to digitally sign and apply pdf encription to pdf
>document at the sime time ?
>I can apply distinct action.
>The problem is to calculate message digest on encripted pdf.
Yes - but that's exactly it - they must be done AT THE
Hello All,
I am reading an Pdf document which contains AcroFields.
I am able to read the fields correctly. However I also want to find out what are the properties of the field. For example, what font has been used, font size etc.
I can see that AcroFields class provides a setFieldProperty met
bruno lowagie.com> writes:
>
> Abhishek wrote:
>
> >data : my name is Abhishek , i am tring to print data
> > but the data printed doesnt entertain the carriage return
> >
> >printed data on pdf:my name is Abhishek , i am tring to print data but the
> >data printed doesnt entertain the
Is it possible to digitally sign and apply pdf
encription to pdf document at the sime time ?
I can apply distinct action.
The problem is to calculate message digest on
encripted pdf.
Have you some example ?
Thanks a lot
Umberto
--
Hello,
Is there any iText object on which you can draw some direct content and
then :
- either decide to add it to an open Document or Writer,
- or decide to do nothing with it and "throw it away" ?
I suspect creating many PdfTemplates and not actually using them will
produce a very inefficient
Hello Bruno,
I tried the following to rotate the template by 90 degrees.
writer.DirectContent.addTemplate(_page, 0, 1, -1, 0, PageSize.A4.height(), 0);
Now I get an inverted Imported page. (upside down).
If I try any other permutation combinarion I get a blank pdf. (for example:
_page, 0, 1, -1
Abhishek Srivastava wrote:
> > There are different ways to solve this
>
> Which will be the most efficient?
"One answer solves all" doesn't apply here.
First I thought of answering that the addTemplate
with the transformation coordinates would be the
best way to go, but then you need to do some
> There are different ways to solve this
Which will be the most efficient?
regards,
Abhishek.
On 8/7/06, bruno <[EMAIL PROTECTED]> wrote:
Abhishek Srivastava wrote:> The document which I use as template is landscape.>> When I generate my document I also create it as Landscape. However the
Abhishek Srivastava wrote:
> The document which I use as template is landscape.
>
> When I generate my document I also create it as Landscape. However the
> template document appears vertical in my page.
>
> I have tried setting the Rectangle of the ImportedPage to the size of
> a Rotated A4
smsm kw wrote:
> <>after i add Embedded Resource , i still having zero byte of pdf and
> the follwing message and exception :
>
> - the exception is :
>
> An unhandled exception of type 'System.IO.IOException' occurred in
> ConsoleApplication2.exe
>
> Additional information: The document has no
24 matches
Mail list logo