Hi
I am a beginner to iText, but I am using it to study about pdf format.
I have bought the book, but I am lost at trying to decode the flate-encoded
(with predictor=12, col=5) stream.
I did the following:
PdfReader reader = new PdfReader("format.pdf");
PdfLister lister = new PdfLister(
old habits die hard!
Well im' not quoting anymore :)
--
View this message in context:
http://www.nabble.com/Issue-in-Image-rotation-using-Matrix-and-addImage%28%29-tp22643800p22729967.html
Sent from the iText - General mailing list archive at Nabble.com.
-
i think this is what i needed.!
cheers mate
1T3XT info wrote:
>
> Use image.getScaledWidth() and image.getScaledHeight();
>
--
View this message in context:
http://www.nabble.com/Issue-in-Image-rotation-using-Matrix-and-addImage%28%29-tp22643800p22729645.html
Sent from the iText - General
LOL, someone notice I was changing the from line?
That was supposed to stop feeding the spammers, just a habit :)
>
>
> Mike Marchywka-2 wrote:
>>
>>
>> It's a matrix multiplication with sin and cos. See the PDF reference.
>>
I don't mind being misquoted but come on :)
There you go agian.. not giving up the last piece of info :)
well Palo, from the docs what i can understand is that for each (x,y) , the
rotated (x',y') will be calculated by the formula..
x’ = cos(j) * x – sin(j) * y + 0;
y’ = sin(j) * x + cos(j) * y + 0;
i presume this is what the matrix [cos@
It's difficult to miss the chapter 4.2 - Coordinate Systems and the chapter
4.2.2 - Common Transformations.
Paulo
> -Original Message-
> From: Mike Marchywka [mailto:marchy...@hotmail.com]
> Sent: Thursday, March 26, 2009 6:44 PM
> To: itext-questions@lists.sourceforge.net
> Subject: R
surftango wrote:
> if you check up my first post, i mentioned that i got it working by
> multiplying the 'a' and 'd' coordinates with the height and width of the
> image. have you done the same thing in arriving @ the 100,0,0,100 matrix
> ?.But my question is how do you generalize it? say if i want
trainrobbery wrote:
> thanks for the answer.
>
> is there maybe a possibilty to query to preferred size of a cell content and
> to compare it with the maximum size of the cell? so i could manually shorten
> the text and append the "..."-ellipsis.
One way to do this, would be to create a ColumnTe
> From: somewhere on the web
> To: itext-questions@lists.sourceforge.net
> Date: Thu, 26 Mar 2009 18:26:36 +
> Subject: Re: [iText-questions] Issue in Image rotation using Matrix and
> addImage()
>
> It's a matrix multiplication with sin and cos. See t
It's a matrix multiplication with sin and cos. See the PDF reference.
Paulo
> -Original Message-
> From: surftango [mailto:surfta...@gmail.com]
> Sent: Thursday, March 26, 2009 6:20 PM
> To: itext-questions@lists.sourceforge.net
> Subject: Re: [iText-questions] Issue in Image rotation u
if you check up my first post, i mentioned that i got it working by
multiplying the 'a' and 'd' coordinates with the height and width of the
image. have you done the same thing in arriving @ the 100,0,0,100 matrix
?.But my question is how do you generalize it? say if i want to rotate an
image by 1
Hi,
I'm currently merging 2 pdf's using the code sample ConcatenateForm.java
public static void main(String[] args) {
try {
PdfReader reader1 = new
PdfReader("1.pdf");
PdfReader reader2 = new
Pdf
Corina Kertesz wrote:
> The actions that I want to disable/enable are either local goto actions
> or they execute javascripts that open dialogs.
> I am using them in a drawing and they run when clicking on rectangular
> areas. They are all added to the document by using PdfContentByte or
>
> -Original Message-
> From: attyco [mailto:anthony.ters...@tycoelectronics.com]
> Sent: Thursday, March 26, 2009 5:35 PM
> To: itext-questions@lists.sourceforge.net
> Subject: [iText-questions] Arial Unicode MS font repeatedly
> read one byte at a time
>
>
> I have noticed a problem
Nick Kowalewicz wrote:
> Dear Bruno/iText:
>
> A weird bug is happening when I merge FDF data with an “Acrobat” form PDF.
I visited http://nk-inc.com/ and found some commercial PDF products.
Is iText used in these products?
In other words: is this query an attempt to get a free answer
to a questi
> To: itext-questions@lists.sourceforge.net
> From: an upset but trusted source
> Date: Thu, 26 Mar 2009 16:39:03 +
> Subject: Re: [iText-questions] How to duplicate PDF text but rasterize
> graphics
>
> Mike Marchywka hotmail.com> writes:
>
>> The
attyco wrote:
> I was happy to see that Luke Quinane had identified a possible fix and that
> it was considered for changes in iText version 2.1.5. However I was
> surprised to find that even after upgrading from 2.1.3 to 2.1.5 that the
> Arial Unicode font is still read in one byte at a time for e
surftango wrote:
> oo.oo
>
> I had done the rotation stuff with Matrix for platforms like Flex, J2me and
> all using the matrix coordinates i have used above. And initial googling for
> itext didnt give me the correct Matrix values :(. I would really appreciate
> you help and valuable time, if you
I have noticed a problem similar to that pointed out by Luke Quinane, a large
amount of time is spent reading in large font files. Referenced in iText
2.1.5 release logs and the following boards:
http://www.nabble.com/Patch---Large-font-performance-td21948800.html
http://www.mail-archive.com/itex
James Rowland wrote:
> I have some fairly straight forward code that creates a PdfPTable and
> adds several PdfPCells. When I generate the document to PDF on a mac,
> the contents of the cells wrap properly but when I generate the same PDF
> on a windows machine, the cells do not wrap and the co
Sr. Miguel wrote:
> Hi,
>
> Can someone give some guidance about this topic?
>
> Is it possible to create an acroform (pdf created using Acrobat
> professional) with variable fields that will function similar to
> floating fields one get while using livecycle designer?
If you are talking abo
thanks for the answer.
is there maybe a possibilty to query to preferred size of a cell content and
to compare it with the maximum size of the cell? so i could manually shorten
the text and append the "..."-ellipsis.
--
View this message in context:
http://www.nabble.com/Show-Truncation-of-Tex
Mike Marchywka hotmail.com> writes:
> The text is fixed or unrelated (no?)
No. Not Even Close. You're not even on the right PLANET, much less the right
ballpark.
PDF (and SVG: your ignorance and ass-u-mptions are showing again) maintain a
number of "current" attributes:
*Transformation Matrix
>
> PDF doesn't have embedded SVG - but if you're familiar with SVG, the problem
> with doing this with SVG is conceptually equivalent to what you'd have to do
> with PDF...
it seems to have vector graphics that could scale,
what term could I use to denote such things? LOL
Hence SVG ( I know,
Well, I'm not sure if any of this helps you beyond what
you could get from pdflister ( which I just found out
about today ) or the rups/pdftk packages
but if you are willing to help me develop my
utilities great :)
Certainly
a text location dump tells you they are different ( duh)
but have some
Hi,
Can someone give some guidance about this topic?
Is it possible to create an acroform (pdf created using Acrobat professional)
with variable fields that will function similar to floating fields one get
while using livecycle designer? In other words, is there any way to have
variable
PDF doesn't have embedded SVG - but if you're familiar with SVG, the problem
with doing this with SVG is conceptually equivalent to what you'd have to do
with PDF...
Consider the follow (pseudo-coded) SVG:
You are mixing two types of forms. Those designed in LiveCycle are based on
XML in a grammar called XFA. The other type of form in PDF is called an
AcroForm.
You'll notice that your code tries to work with AcroForms (AcroFields, etc.)
BUT your form is NOT an AcroForm- it is an XFA form.
You
Apologies if this question has been addressed before, but I couldn't
find an exact answer when reading through the mail archives...
What I'm attempting to do is have our application read in a pdf forms
created using Adobe Livecycle designer, fill in the form textfields with
data, stamp the form, a
>I would ask the more general question, "does anyone have a good
>diff or comparison utility for PDF files?"
>I have my reflection invoked dumper, if I get time I'd be curious to
see if
>I could find the differences if you could post the two files. Not sure
>about the OS differences but certainl
Regarding the suggestions on how to tackle my problem, thank you. I had
reviewed PdfBox and iText literature, hoping there might be a more trivial
approach, but it seems to be confirmed that I will have to parse the PDF (at
a low level) moving the text while rendering the non-text objects to a
bitm
>
> You just like arguing ;).
No, I was just trying to do my taxes. LOL.
>
> I don't think you are understanding the problem that the person is having.
> It's not about simply finding already rastered images and replacing them with
> alternate versions - that's pretty simple and there is an e
You just like arguing ;).
I don't think you are understanding the problem that the person is having.
It's not about simply finding already rastered images and replacing them with
alternate versions - that's pretty simple and there is an example of using
iText for doing just that. The problem
>
> The ONLY company that offers this technology is Apago (http://www.apago.com)
> in their PDF Enhancer
> product. The technology is called “Selective Rasterization” and works quite
> nicely (of course, I designed/architected it and wrote the associate code –
> so I
> am kind of biased ;).
>
Wh
Hi all
I am trying to decode the cross-reference stream.
The following is what I had done:
PdfReader reader = new PdfReader("test.pdf");
PrintStream list = new PrintStream(new FileOutputStream("objects.txt"));
PdfLister lister = new PdfLister(new PrintStream(list));
PdfDictionary traile
Looking for advice on the best approach to do what I need. I have PDFs with
text and graphics. They are very large, due to the graphics. I think I want
to read each PDF and produce a new PDF with the text just as it was in the
original, but rasterize the rest of the graphics into a fairly low res
Please, help me with this :-)
> Hello.
>
> Maybe you can help with a problem i'm having...
>
>
> With itext i can add attachments to a pdf file and i can also extract
> them. However i didn't find a way to remove them from the file, i mean,
> i want to delete the attachments of a pdf file so that
Hi
I am trying to decompress a stream with filter=flatedecode and
decodeparms=[predictor 12 columns 4].
I decoded the stream with FlateDecode(byte in[]) first.
Then the output is pass in to decodePredictor(byte in[], PdfObject dicPar).
I have checked that dicPar is correct.
However, the resulti
38 matches
Mail list logo