ninefofo wrote:
>
> Hello,
>
> Using AddWatermarkText, and watermarktext as string, in v5.0.0.0 of
> itextsharp.dll.
>
> Is it possible to have multiline watermarktext?
Yes, use ColumnText to add the text.
--
This answer is provided by 1T3XT BVBA
http://www.1t3xt.com/ - http://www.1t3xt.in
Hi,
It's very urgent. We need help in this. Looking towards positive support.
rhul_rk wrote:
>
> Yes, you are right, there are lots of calculation and algebra in this. But
> each and every object plots in the PDF are exist in an imaginary (hidden)
> rectangle. When we plot an image (without r
tim clark-10 wrote:
>Hi All
>I have been using the itext lib in a app for a year or so typically to >merge
>db content in to pdf form field documents
>created with adobe acrobat.
>Recently we have been merging to some rather large data and the size of >the
>pdf document has now become an issue
>T
Hello,
Using AddWatermarkText, and watermarktext as string, in v5.0.0.0 of
itextsharp.dll.
Is it possible to have multiline watermarktext?
I tried concatenating two strings with a VbCrLf, but it still wrote them
together.
Thank You
Brad
-
You are assuming that PDF maintains the PNG nature of the image - that is NOT
the case. PDF only supports two kinds of images JPEG (which is why this works)
and "raw bitmaps" (aka an array of bits). So in your case, with the PNG, it is
transcoded into the latter case and so if you want it back
mistercam wrote:
> I hope my explanation is a bit more clear.
A picture says a thousand words. Now I understand.
I fear that PdfPTable is too limited for this kind of requirement, but
maybe I have to sleep a night over this problem.
If I had to build a solution right here, right now, I'd switc
Hi,
thank you so much! You were right - the problem was the JSP. Now I am using
a Servlet instead and everything works fine.
Once again thank you for your help, although it wasn't an iText Problem.
Best regards.
Sebastian Furth
2010/2/22 mkl
>
> Sebastian,
>
>
> Sebastian Furth wrote:
> > I
I uploaded a larger image to show part of the second page:
http://old.nabble.com/file/p27691079/pdfspan2.png pdfspan2.png
The first orange cell begins "When we look to the individuals..." and the
second orange cell begins "It has been disputed at what period..."
The line chart is supposed to t
mistercam wrote:
> So for one cell in a row, I want it to split, but for another cell in the
> same row, I don't. This appears to be causing a misalignment issue with
> where the two cells begin rendering.
I don't understand what you mean, but I suggest that you work with
different tables instead
setSplitLate works for most of the orange cells in my example. The problem is
I don't always want the orange cells to split across pages. In the example I
posted, the orange cell in the 2nd row splits with only three lines of text
written to the first page. This does not leave enough space for a c
mistercam wrote:
> What I was looking to do is attach to each orange cell an event that checks
> the remaining vertical space allotted to it. If it is less than the height
> of one of the charts (which are always of fixed height in my application,)
> then I want to pad the orange cell with just eno
Hey,
I was not familiar with this method. I gave it a try, and it didn't work,
which is what I was expecting since I do work with other cells that span
pages.
Here's a screen cap of the first page of my example PDF:
http://old.nabble.com/file/p27689378/pdfspan.png pdfspan.png
The orange cells
Sebastian,
Sebastian Furth wrote:
> I attached the pdf where the Graphics is missing. Maybe you can get some
> information out of it.
If you look at that PDF, you'll see that something along the lines of
high-bit-shaving happened --- there are very many '?' characters at
positions where charact
mistercam wrote:
> Hello,
>
> A brief background: What I'm looking to do is alter the height of a cell
> based on where the bottom of it was rendered. I have a 3x3 PdfPTable that
> contains PdfPCells or PdfPTables. Based on the remaining space of the page,
> after rendering one of these PdfPCells,
Mike Marchywka wrote:
>
> LOL, I don't imagine this will help, but the high bit is probably being set
> to zero.
That's exactly what happened.
It's described in both the 1st and 2nd edition of "iText in Action".
1st edition: page 642-643
I can’t repeat it enough: It’s a bad idea to use JSP to
Sebastian Furth wrote:
> Of course it were good hints - the problem is me :)
>
> OK I try to explain my problem:
>
> I have created a JSP-Servlet which shall return a PDF Document on request.
That's the problem!!!
I opened your PDF in a text editor. This is what I saw:
1 0 obj
<>>>/Subtype/Form
LOL, I don't imagine this will help, but the high bit is probably being set to
zero. Whoever is creating all
those content attach/disposition things probably doesn't know it is not text.
marchywka:/home/marchywka# od -ax Desktop/Car-Diagnosis_Visualization.pdf |
sed -e 's/ /\n/g' | grep "^..
I am doing in a similar way. The only notable difference is the response
header.
I use the following, which works in both IE and Firefox:
response.setHeader("Content-Disposition", "*inline*;
filename=form.pdf");
/Klas
---
Hello,
A brief background: What I'm looking to do is alter the height of a cell
based on where the bottom of it was rendered. I have a 3x3 PdfPTable that
contains PdfPCells or PdfPTables. Based on the remaining space of the page,
after rendering one of these PdfPCells, I may want to pad it on the
Of course it were good hints - the problem is me :)
OK I try to explain my problem:
I have created a JSP-Servlet which shall return a PDF Document on request.
//Get the file content
ByteArrayOutputStream bstream =
de.d3web.empiricalTesting.caseVisualization.jung.JUNGCaseVisualize
> Date: Mon, 22 Feb 2010 15:14:55 +0100
> From: sebastian.fu...@googlemail.com
> To: itext-questions@lists.sourceforge.net
> Subject: Re: [iText-questions] Writing to ServletOutputStream
>
> Thanks for your reply!
>
> Is it possible that the ServletOutputStream
> Date: Mon, 22 Feb 2010 14:56:45 +0100
> From: i...@1t3xt.info
> To: itext-questions@lists.sourceforge.net
> Subject: Re: [iText-questions] Writing to ServletOutputStream
>
> Sebastian Furth wrote:
>> Something happens during the request because
Sebastian Furth wrote:
> Once again, thanks for your reply. Unfortunately I think I don't have
> enough experience to understand your hints :)
It were good hints though; I thought everybody knew wget.
If possible, can you explain your problem as good as Mike explained how
to use wget? For insta
Thanks for your reply!
Is it possible that the ServletOutputStream "shaves" the upper bit from
every byte?
I have a method which returns a ByteArrayOutputStream containing the pdf
data.
If I delegate this OutputStream to a FileOutputStream everything is ok but
if I use
the ServletOutputStream the
Sebastian Furth wrote:
> Something happens during the request because it returns a pdf in the
> dimension set in the code - but there is absolutely no content (blank).
Sounds like the "blank page" problem described in the book (1st and 2nd
edition). This happens if you "shave" the upper bit from
Kamil Ratajczak wrote:
> I can't figure out what I do wrong.
When you print, you should look at the print dialog, and tell the viewer
not to scale the page! If you scale pages, it's obvious that the
measurements change.
---
} catch (DocumentException e) {
e.printStackTrace();
} catch (IOException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
}
}
Thanks for help
Best Regards
Kamil
__ Informacja programu ESET NOD32 Antivirus, wersja ba
D32 Antivirus, wersja bazy sygnatur
wirusow 4886 (20100222) __
Wiadomosc zostala sprawdzona przez program ESET NOD32 Antivirus.
http://www.eset.pl lub http://www.eset.com
--
Szybkie i niedrogie... Tylko dla mezczyzn!
Spraw
> Date: Mon, 22 Feb 2010 11:45:43 +0100
> From:
> To: itext-questions@lists.sourceforge.net
> Subject: [iText-questions] Writing to ServletOutputStream
>
> Hi,
>
> Please note that I postet links to pastie.org for better readability of the
> code snippets.
>
> I am using
Hi,
Please note that I postet links to pastie.org for better readability of the
code snippets.
I am using iText to print graphs produced with the JUNG Framework to pdfs.
To achieve this I have the following code:
http://www.pastie.org/private/rsy6wzneedpvo4dai3vcgw
Writing the graphics Object t
Victor,
victordomain wrote:
> The problem still remains. How can a put the signature rectangle on the
> document to be visible?
>
> [...]
>
> Even if the signature rectange is set manually, the rectangle is not shown
> in the document.
>
> sap.SetVisibleSignature(new iTextSharp.text.Rectangle
31 matches
Mail list logo