material and 72dpi just
doesn't cut it, especially when enlarged.
Thanks,
Chris
---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
___
iText-questions ma
ing pdf files into another and have a new one as an
outcome?
This "get number of pages of pdf" and add each page to the result
seemed not very intuitive to me. But i am a itext newbie anyway :)
Thanks again,
Chris
>
> Paulo
>
>> -Original Message-
>&g
not an expert in designing the form with adobe creator or whatsoever.
Any idea?
Thanks,
Chris
-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio
culate the offsets?
--
Chris
---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding
this looks like it might actually fly :)
--
Chris Searle
[EMAIL PROTECTED]
---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime d
(basically just has
etc... around the text).
Chris Buchanan
It seems that iText 2.1.x is no longer compatible with classes built against
iText 2.0.1.
java.lang.NoSuchMethodError: com.lowagie.text.pdf.BaseFont.getCharBBox(C)[I
What's the chance of us getting that method signature back into iText?
---
I have a PDF that I want to open, read, and collect the blocks of text
that are in a specific font. They are actually in a barcode font.
I tried the sample of how to "list fonts" and see that my font is in the
list. I want to find the objects that have tha tfont applied and get the
text.
Sorry
I have a PDF that I want to open, read, and collect the blocks of text
that are in a specific font. They are actually in a barcode font.
I tried the sample of how to "list fonts" and see that my font is in the
list. I want to find the objects that have tha tfont applied and get the
text.
Thanks
Hey,
I was wondering has anyone had any luck with using EPS
format images with the iText lib, or even java in general.
I need to use vector based images with iText, and was trying to avoid
WMF, although it looks like the way to go.
Cheers,
Chris
--
This email and any files transmitted
I was using SVG and Batik to composite the two overlapping
images but i wanted to remove this and just add the images together with
iText.
Thanks
Chris
---
This SF.net email is sponsored by: Etnus, makers of TotalView, The best
thread debugge
com.lowagie.text.pdf.codec.PngImage ( pis );
Image myim = Image.getInstance( );
How do I use getInstance with my decoded PngImage so as to maintain
compression ?
Thanks
Chris
-Original Message-
From: Paulo Soares [mailto:[EMAIL PROTECTED]
Sent: 05 June 2003 10:31
To: 'Chris Faulkner'; [EMAIL PROTECTED]
S
me !
Is there a field that can prevent document saving in the same way that you
can prevent printing ?
Thanks all
Chris
---
This SF.net email is sponsored by: eBay
Get office equipment for less on eBay!
http://adfarm.mediaplex.com/ad/ck/7
or knowledgeable
user from capturing the data in other ways, 90% of people would not know how
to save the file if there was no save button. So I just wondered whether you
could turn off the save button. That's all. If it isn't possible, just say
so.
If there is one
Hello
I am placing text at exact positions on my page with PdfContentByte,
showTextAligned. I would like to add an anchor in this way - is there any
way to position an anchor at an exact position on the page ?
Thanks
Chris Faulkner
text colour. How to do this ? And how can I make the text underlined ?
Thanks
Chris`
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Bruno
Sent: 14 June 2003 13:12
To: Chris Faulkner
Cc: [EMAIL PROTECTED]
Subject: Re: [iText-questions] display anchor at
we need to
be able to accommodate HTML also, so if it’s at all possible, I’d
prefer to keep using this. I know I
can use Batik to rasterize the SVG into another
format, then add THAT image to the cell, but I want to preserve the vector
quality of the image as much as possible.
Thanks,
Chris
) in
my cells. Where am I screwing up
here (efficiency aside… I’d just like something
to work first!)? My code is pasted
below.
Thanks,
Chris
// “writer” is a valid PdfWriter object and was created with
// the Document object I’m adding the Table
and Cells to. It
// was
code where my
current non-functional code was. This code works great in a stand-alone
application, but it also doesn't show any images in my table. What
could possibly interfere with this code which works in an application
all by itself?
Thanks,
Chris
Document d = new Document();
PdfWriter wr
Here's the file that was generated by my code snippet. This was using
the svg file from my previous post. It's a 2 x 2 table, where the
bottom right cell should (I think) contain the rendered svg image.
Thanks for your help,
Chris
-Original Message-
From: Paulo Soar
raster.getSamples(0, n, width, 1, band, bandArray[n]);
}
return bandArray;
}
Thanks,
Chris
---
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available no
?
Thanks for your help,
Chris
"Paulo S
Hi Paulo,
Thanks for your help. I converted the JPEG to a PNG and got a better
result. The masked image is still a little sketchy, but I think it is good
enough.
Thanks again,
Chris
Check out this message from Paulo from this list on 7/22 describing the
tiff support:
TIFF flavors supported:
Compression - no compression, packbits, lzw, deflate, ccitt Photometric
- bw, rgb, separated (cymk), indexed Bit depth - 1, 2, 4, 8 iccprofile
is used if present
Not supported - planar
happened.
It seems that the jumbled occur during scrolling of the pdf document.
I have also tried a large document that is not merged and it doesn't have
this problem.
Thanks and Regards,
Chris
---
This SF.Net email sponsored by: Free pre-
t really know how to set the colspan based on
this. When the nested Table is in the FIRST column in the outermost
table, the header cell always looks fine. Can anyone suggest a way to
get my header cell to span the correct number of columns? I've attached
two small and simple ex
ion
from a Font object (family, style, color, size) in order to write to a
PdfTemplate? I can get the color and size, but I'm having trouble
figuring out how to get the family and style (italic, bold, etc.).
Thanks,
Chris
---
This
getFamilyname() method don't return
anything, and the family() method returns -1 (which I believe isn't of
any use). My first question is whether I can get enough information out
of any Font object to create the appropriate BaseFont as well as set the
appropriate color, etc. Can I do th
PdfStamper here, because I don’t
know the filename the writer is writing to. I just have a generic output stream.
Thanks,
Chris
pen a PdfReader on it, then set the title
and close it again? I know what the title should be from the point at which I
open the document, so is there a way I can add this info during creation of the
document? I feel like I must be missing something here.
but it doesn't affect the
title bar. Is there any way to convince Acrobat (Reader) to show the
document title in the Windows title bar? I don't think I've ever seen
it, but I thought there might be at least some custom script that might
make it happen.
Thanks,
Chris
-Ori
Hello,
Does iText support guttering in its generated docs? Guttering is where
left-right margins are 'mirrored' to help with double-sided printing and
binding.
I haven't found any reference to this in the docs, so I suspect not.
Many thanks.
--
[EMAIL PROTECTED]
-
First of all, thank you to everyone posting answers on this list.
I'm creating a document that is comprised of multiple existing PDF documents.
The existing documents do not have bookmarks associated with them. I build the
bookmark list for each document as I process it.
The resulting PDF seems
the iText archives that I need to scan the final document for the links
(annotations) and reproduce them.
I can't find any information on how to do this. Does anyone have any ideas?
Any help is appreciated.
Thanks
nt to another, they are usually told to look at
the PDF or Itext reference book. The iText reference book does not provice
enough information to be able to do that, and the Adobe PDF reference
doesn't tell you how to use iText.
Any help is appreciated.
Th
}
}
The links don't work even when I include a whole document , I get the error
message :
"The documents page tree contains an invalid node"
The original document is generated using iText, and uses Anchors to create
the links. So nothing out of the norm such as JS actions.
Th
lds af = stamper.AcroFields;
for (int i = 0; i < fieldValues.Length; i++)
{
fvp = fieldValues[i];
af.SetField(fvp.Field, fvp.Value);
}
}
finally
{
if (stamper != null
functions, and turn th8at
inot something you can use.
This was from 2005 and I'm guessing iText somehow accomodates for this
now, or maybe the PDF spec now handles formatting natively without
javascript? In any case it's not working too well for me at least.
Chris
OK thanks for your input Paulo. Anyone else take a stab?
Chris Bordeman
-Original Message-
From: Paulo Soares [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 15, 2008 3:45 AM
To: Post all your questions about iText here
Subject: Re: [iText-questions] PdfStamper doesn'tf
ecimal formatting handled by PDF properties
now, or is it still handled by javascript? Or was that never actually the case?
Chris Bordeman
-Original Message-
From: Paulo Soares [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 15, 2008 3:45 AM
To: Post all your questions about iText
Is there any class or method to do this in iText?
Failing that, assuming I'm NOT using flattening, is there a way to
reapply formatting after using PdfStamper's SetField()?
-
This SF.Net email is sponsored by the Moblin Your
OK, short of this, does anyone know how to read the formatting of a
field, esp. numeric and decimal formatting beforehand so it can be
applied via the SetField(field, value, format)? The input PDFs are
unknown and won't be using any 'custom' formatting, just the standard
stuff in
s there a way to get this size optimizing functionality in iText?
Thanks.
Chris
-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK &
If this functionality isn't available in iText is it available in other
toolkits?
Chris
-Original Message-
From: Bordeman, Chris [mailto:[EMAIL PROTECTED]
Sent: Monday, October 27, 2008 9:47 AM
To: Post all your questions about iText here
Subject: [iText-questions] shrink P
27;ve done here?
Thanks!
Chris
olineNew = new PdfOutline
(
olineParent,
(PdfAction) null,
bmNew.Text
);
olineNew.set
the first page. How can this be done?
Thanks!
Chris
--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies
pages. Can I scale the imported page to 8.5x11 during or after
import? I do not know what the original size will be since they vary.
I am using PDFCopy
PdfImportedPage page = copy.getImportedPage(reader, oldP);
Thanks
Chris Hannemann
Senior Business Analyst
Rath Gibson
Thanks.
Chris
-Original Message-
From: 1T3XT info [mailto:i...@1t3xt.info]
Sent: Thursday, March 05, 2009 3:21 AM
To: Post all your questions about iText here
Subject: Re: [iText-questions] Add TextField to multiple pages
Bordeman, Chris wrote:
> for (int pageno = 1; pag
Howdy folks, I'm using iText 2.1.4 and am using the following code to add
HTML input to my PDF document...
Paragraph pg1 = new Paragraph();
StyleSheet styles = new StyleSheet();
styles.loadTagStyle("ol", "leading", "16,0");
try {
Yes, thanks, sorry for the posting, I realise the mistake I have/had made...
Thanks for your example, and response though.
1T3XT info wrote:
>
> Chris Fleischmann wrote:
>> Which works great, the HTML input is added to my document as I would
>> hope,
>> however at
I'm concatenating a bunch of PDFs together using the excellent examples
provided by the iText book and online. In particular I'm importing
PdfImportedPage and then transforming/scaling them using the addTemplate.
Everything is fine, except some of the original PDFs have "stamps" on them
that are
A follow up to my previous email: the the content seems to be a simple PDF
annotation as described in chapter 15 of the iText in Action book. The book
mentions that some annotations are supported and others are not. However,
this annotation seems to be a simple text annotation (defined as a popup
> In PDF, you have content in the content stream.
> You can find this content by looking at the /Content key in the Page
> dictionary. You also have annotations. You can find them in the /Annots
> key in the Page dictionary. Annotations, such as links, pop-ups,... ARE
> NOT PART OF THE CONTENT.
>
>
I have the AcroFields object, can't figure out how to change the
horizontal alignment for all fields w/ a certain name... Thanks!
--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensi
Never mind. See now.
-Original Message-
From: Bordeman, Chris [mailto:chris.borde...@wolterskluwer.com]
Sent: Friday, April 24, 2009 1:12 PM
To: Post all your questions about iText here
Subject: [iText-questions] Set field horizontal alignment using
AcroFields
I have the AcroFields
How can this be done? I see how to set the font but nothing about using
the 'Auto' choice presented by Acrobat.
Many thanks again...
Chris
--
Crystal Reports - New Free Runtime and 30 Day Trial
Check o
Just to clarify, I'm referring to the automatic font SIZE. The actual
font is known.
-Original Message-
From: Bordeman, Chris [mailto:chris.borde...@wolterskluwer.com]
Sent: Friday, April 24, 2009 3:24 PM
To: Post all your questions about iText here
Subject: [iText-questions] Se
Well, looks like a 0 size does the trick. Thanks anyway.
-Original Message-
From: Bordeman, Chris [mailto:chris.borde...@wolterskluwer.com]
Sent: Friday, April 24, 2009 3:31 PM
To: Post all your questions about iText here
Subject: Re: [iText-questions] Setting 'auto'
Does
acrofieldsobj.SetFieldProperty(_Name, "fflags", PdfFormField.Q_CENTER,
null);
not work?
Chris
-Original Message-
From: 1T3XT info [mailto:i...@1t3xt.info]
Sent: Friday, April 24, 2009 2:59 PM
To: Post all your questions about iText here
Subject: Re: [iText-questions]
Hello all. Using iTextSharp 4.1.1.
I'm forcing some acrofields to font size 0 with field flattening like
so:
acrofieldsobj.SetFieldProperty("myfield", "textsize", 0, null);
The problem is after flattening iText seems to have calculated a final
font size considerably larger than if I had inst
Ok, it looks like the entire field data does in fact fit in the field,
so maybe iText is calculating the max font size correctly. Either way,
I need it to calculate smaller so it matches Acrobat...
Any ideas?
From: Bordeman, Chris [mailto:chris.borde
I need to determine for a particular field (I have Acrofield object)
whether a given font size would cause a certain string value to be too
large to fit.
How can this be done?
--
Register Now & Save for Velocity, the Web
I need to remove the 'Limit of [] characters' acrofield option using
PdfStamper so that all the data I put in it fits.
How can this be done?
Thanks!
Chris Bordeman
--
The NEW KODAK i700 Series Scanners del
about iText here
Subject: Re: [iText-questions] How to remove the 'Limit of []
characters' acrofield option
Bordeman, Chris wrote:
> I need to remove the 'Limit of [] characters' acrofield option using
> PdfStamper so that all the data I put in it fits.
I have no idea what
version on AcroFields.setField().
Paulo
> -Original Message-
> From: Bordeman, Chris [mailto:chris.borde...@wolterskluwer.com]
> Sent: Wednesday, May 13, 2009 5:35 PM
> To: Post all your questions about iText here
> Subject: Re: [iText-questions] How to remove the &
acrofieldsobj.SetFieldProperty(_Name, "fflags", PdfFormField.Q_RIGHT,
null);
It returns true but then I flatten the fields and the field comes out
left aligned...
--
Crystal Reports - New Free Runtime and 30 Day Trial
Che
your questions about iText here
Subject: Re: [iText-questions] Why doesn't this code work?
Bordeman, Chris wrote:
> acrofieldsobj.SetFieldProperty(_Name, "fflags", PdfFormField.Q_RIGHT,
> null);
>
> It returns true but then I flatten the fields and the field comes out
Bordeman, Chris would like to recall the message, "[iText-questions] Why
doesn't this code work?".
--
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
is a gathering of tech-side dev
code work?
Hi Chris,
2009/5/21 Bordeman, Chris
My apologies. I did read the response, just got busy on other
things
and by the time I came back it had slipped my mind.
Did you get a chance to create an example?
Errr... Have you read the whole messa
Hi Folks, I am hoping you can help me work out the following situation...
I have a Chunk object that spans over multiple lines... I have the
setGenericTag method attached to the chunk ovhect where I was hoping I could
get the "rect" object (for the complete chunk object)...
/**
* Draws
Thank you, that has worked
Thanks again,
Chris
Bruno Lowagie (iText) wrote:
>
> Chris Fleischmann wrote:
>> I have a Chunk object that spans over multiple lines... I have the
>> setGenericTag method attached to the chunk ovhect where I was hoping I
>> could
>&
I'm trying to find the position of an xobject in an existing pdf
file. I'm wondering if there is a way to use stream.get(PdfName. . .
to return the location of the object. The code I'm using is as follows.
for (int i = 1; i < reader.getXrefSize(); i++)
{
PdfObject pdfobj
Right, is there not a way to obtain the transformation matrix for the
image?
On Feb 15, 2008, at 2:48 AM, 1T3XT info wrote:
> chris glace wrote:
>> I'm trying to find the position of an xobject in an existing pdf
>> file.
>> I'm wondering if there is a way to us
Looks like thats exactly what I have to do. . . well at least I know
its not as easy as I had planned.
On Feb 15, 2008, at 9:58 AM, 1T3XT info wrote:
> chris glace wrote:
>> Right, is there not a way to obtain the transformation matrix for the
>> image?
>
> I think you
Don't know if anyone remembers but I posted awhile ago about finding
the CTM for xobjects. I was able to find the CTM for some xobjects
but others returned null. I'm never able to find the the CTM for
images. If anyone could help that would be awesome.
PdfReader reader = new PdfReader("five
Leonard
>
> On Feb 22, 2008, at 5:34 AM, chris glace wrote:
>
>> Don't know if anyone remembers but I posted awhile ago about finding
>> the CTM for xobjects. I was able to find the CTM for some xobjects
>> but others returned null. I'm never able t
Is there a way to find the font sizes used in the PDF? I read through
the PDF reference and it seems Tf should tell the Text size used.
Here is my code.
byte[] b = r.getPageContent(1);
PdfContentParser cp = new PdfContentParser(new PRTokeniser(b));
ArrayList a = new ArrayList();
while (!cp.p
I've only just recently picked up iText, so I'm new, but I couldn't find
this answer after a long while on google/faqs.
Coming from a latex background I want to get the same behaviour as a
\fbox{text here} command. I've tried some hackish ways of doing this:
defining a 1x1 table and adding a
I've added sections and subsections (cool auto-numbering by the way) to a
document and I now want to insert a table of contents. After searching
around I could only find one reference that said it was difficult and you
needed to know the number of pages in advance. Is this true? How can I
t, the above code actually compiles, but it throws a "Insertion of
Illegal Element" exception. Any help?
---
Chris Bourke
[EMAIL PROTECTED]
http://www.cse.unl.edu/~cbourke
--
First, this is my second day of working with itext and it looks really
cool. I have the itext book and started down a path to combine some
PDFs but after more reading I think I may be using the wrong clssses. I
started with PdfCopy but I want to manipulate the files as I add the
PDFs so I am
I can successfully insert (several) existing PDFs into a document (though
page by page) from files. However, I want to insert a PDF that is stored
as a blog directly from a database. Do I *have* to write it out to a temp
file and then open it (via PdfReader) or is there an easier, more direc
row. Is there a possible fix?
---
Chris Bourke
[EMAIL PROTECTED]
http://www.cse.unl.edu/~cbourke
-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or
I'm using iText in a webapp and want to respect the LGPL license by
announcing that i'm using iText with a link to the iText home page. Are
there any suggested wording/announcement that I can use?
-
Sponsored by: SourceFo
in dt.Columns)
{
string columnName = column.ColumnName;
datatable.DefaultCell.BackgroundColor = Color.WHITE;
Phrase phrase = new Phrase(row[columnName].ToString(),
FontFactory.GetFont("Arial", 8));
datatable.AddCell(phrase);
}
}
d
> krishna tara wrote:
>> Here I have one more doubt i.e. I have one simple html page called
>> hello.html with some text only. Here I want to read the text from html
>> and display under this created table. Is it possible in iText? If yes
>> how can I do this?
>
> With HTMLWorker.
> --
> This ans
deal with multiple
signed documents in the pdf? And can you sign the whole document, including
all the signed documents?
Thanks
chris
Scientific Analysis Laboratories Ltd aim to provide
On Thursday 21 August 2008 15:28:35 Leonard Rosenthol wrote:
> Be aware that JHOVE is NOT a complete verifier - and it says so it
> their documentation. It's certainly something that one could use as a
> "first pass", but don't rely on it.
>
> Leonard
>
> On Aug 21, 2008, at 9:55 AM, Sheila M. Mor
lly in both directions, so it's much too narrow.
Does anyone know how to fix that?
If I replace the third line with the following:
PdfPCell bar = new PdfPCell(new Phrase("foo"));
then it doesn't crash. Any ideas? I'm using the iText 1.3 jar library.
Cheers, C
ly in both directions, so it's much
too narrow. Does anyone know how to fix that?
If I replace the third line with the following:
PdfPCell bar = new PdfPCell(new Phrase("foo"));
then it doesn't crash. Any ideas? I'm using the iText 1.3 jar library.
Cheers, C
ce it displays this confusing message box, it doesn't seem
very "silent" to me :-) Any ideas on how to avoid the message?
Cheers, Chris.
--
_ ___ __ _
/ __/ / ,__(_)_ | Chris Wilson < at qwirx.com> - Cambs UK |
/ (_/ ,\/ _/ /_ \ | Security/C/C++/Java/Perl/SQL/HTML
y "silent" to me :-) Any ideas on how to avoid the message?
Cheers, Chris.
--
_ ___ __ _
/ __/ / ,__(_)_ | Chris Wilson < at qwirx.com> - Cambs UK |
/ (_/ ,\/ _/ /_ \ | Security/C/C++/Java/Perl/SQL/HTML Developer
ss that the text
"foo" will only occupy some proportion of the space, and make a two-column
fixed-width table, but there are no guarantees).
Thanks for your help!
Cheers, Chris.
--
_ ___ __ _
/ __/ / ,__(_)_ | Chris Wilson < at qwirx.com> - Cambs UK |
/ (_/ ,
Hi Paulo,
PdfWriter writer = ...;
writer.setOpenAction(new PdfAction(PdfAction.PRINTDIALOG));
That's really useful, thanks!
Could it be added to the examples documentation please? (alongside the
javascript auto print example).
Cheers, Chris.
--
_ ___ __ _
/ __/ / ,__(_)_ |
Hello, I am trying to merge a) pdf artwork b) a separate form field file and c)
images into a single pdf.
Eventually, this will have to support multi-page documents, but for now let's
assume everything is merging together onto one page. I have tried numerous ways
of doing it but have had no luc
nd iText has
been great, this is the last hurdle I've got to overcome so any help would be
much appreciated. Thanks!
-
Chris Miller - President/CEO
AdSoft Direct, Inc.
1-888-3-ADSOFT (1-888-323-7638)
Offi
suggest a viable
alternative. Thanks Paulo.
At 06:15 AM 8/31/2005, you wrote:
>The form field text layout is not even the same across Acrobat versions.
>
>> -Original Message-
>> From: [EMAIL PROTECTED]
>> [mailto:[EMAIL PROTECTED] On
>> Behalf Of Chris Miller
7;s not exact and if you go to newer Acrobat versions
>it's even worse. You can change or duplicate TextField to suit your needs
>or, better yet, as you are flattening just get the coordinates of the field
>and write the text directly on it.
>
>- Original Message -
>From
00 hours into this single problem with absolutely no
>progress. We were suppose to unveil our new site two weeks ago, but a last
>minute discovery of iText's inability to handle multiline text fields was
>like running into a brick wall. I am trying to tak
i hope not)
Please advise.
Thanks,
Chris Miller
---
Chris Miller - President/CEO
AdSoft Direct, Inc.
Office: (925) 251-0566
Cell: (510) 504-5006
4780 Chabot Drive, Ste #120
Pleasanton
1 - 100 of 217 matches
Mail list logo