Thanks Paulo,
I have something sort of working...
Having trouble getting a list to display correctly in the pdf from the html
string, am I using the style.loadTagStyle("li", "", ""); correctly for html
lists? Not sure how to use this correctly for fonts either? Any suggestions
for the html below
Thank you very much!
---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=
I have seen the similiar question regarding pdf generating servlets that work thru HTTP but not thru HTTPS. The message encountered in IE is "This page contains both secure and non secure items". I have yet to see a definitive and working alternative. Has anyone come up with a solution to this iss
If I execute this code source:
Document document = new Document(PageSize.A4, 80, 50, 30, 65);
try {
PdfWriter.getInstance(document, new FileOutputStream("c:\\test1.pdf"));
SAXParser parser = SAXParserFactory.newInstance().newSAXParser();
parser.parse("c:\\tes
Please remove me from this list.
---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.c
Hi again,
I seem to have solved part of the issue (still have some cases when it
is occuring though).
Thought this might be a useful to someone else:
IE will sometime make more than one GET request to retrieve a PDF,
this is referenced here:
http://support.microsoft.com/default.aspx?scid=kb;en-us;
exec(String[])
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On
> Behalf Of Karsten Knetsch
> Sent: Monday, February 21, 2005 3:27 PM
> To: itext-questions@lists.sourceforge.net
> Subject: [iText-questions] concat pdf won´t work on pathes with
>
> hello,
>
That's a convenience method, you can draw the button any way you like
it.
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On
> Behalf Of Nederhof M.J.
> Sent: Monday, February 21, 2005 3:50 PM
> To: itext-questions@lists.sourceforge.net
> Subject: [iText-quest
I need a small button that closely fits around a short string. However, it
seems such text is placed too low, by about the descent of the string. This
is illustrated by the output of the program below. There is plenty of space
above "b", but the "p" extends to below the button.
Thanks in advanc
hello,
i wrote a java application to start the pdftool "concat_pdf" from the inside
of my application. therefore i use the runtime.getruntime().exec(...) in
which the files i would like to concatenate where chosen by a jfilechooser.
.
File f1 = chooser1.getSelectedFile();
File f2 = chooser2.getSe
It's a bug. Replace in PdfPTable:
float [][] getEventWidths(float xPos, int firstRow, int lastRow,
boolean includeHeaders) {
if (includeHeaders) {
firstRow = Math.max(firstRow, headerRows);
lastRow = Math.max(lastRow, headerRows);
}
float widths[
points
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On
> Behalf Of Dmitri
> Sent: Monday, February 21, 2005 12:28 PM
> To: itext-questions@lists.sourceforge.net
> Subject: [iText-questions] Re: Is
> PdfPTable.calculateHeightsFast() working?
>
> PdfPTable.
PdfPTable.setTotalWidth(float totalWidth)
totalWidth in pic or in mm?
---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype
Here's the fix in XfdfReader if you are in a hurry:
public void endElement(String tag) {
if ( tag.equals("value") ) {
String fName = "";
for (int k = 0; k < fieldNames.size(); ++k) {
fName += "." + (String)fieldNames.elementAt(k);
That's probably a corruption in your jdk or you need to compile iText
with 1.3.
> -Original Message-
> From: arse alam [mailto:[EMAIL PROTECTED]
> Sent: Monday, February 21, 2005 12:10 PM
> To: Paulo Soares
> Subject: Re: RE: RE: [iText-questions] iText problem with
> Linux(non-gui)
>
I don't want your production code, just test code created by you
exhibiting the same behavior.
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On
> Behalf Of vadim zabejinsky
> Sent: Monday, February 21, 2005 5:49 AM
> To: itext-questions@lists.sourceforge.net
You must have setTotalWidth() somewhere.
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On
> Behalf Of Dmitri
> Sent: Tuesday, February 15, 2005 9:08 AM
> To: itext-questions@lists.sourceforge.net
> Subject: [iText-questions] Is
> PdfPTable.calculateHeightsF
Just the cell. The image inherits from Rectangle but only the dimensions
are used.
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On
> Behalf Of James Cowan
> Sent: Monday, February 21, 2005 10:37 AM
> To: itext-questions@lists.sourceforge.net
> Subject: Re:
Use PdfStamper.
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On
> Behalf Of Ronak Shah
> Sent: Monday, February 21, 2005 6:12 AM
> To: itext-questions@lists.sourceforge.net
> Subject: [iText-questions] Page Numbering on PDF...
>
> Hi All,
> I hav
thanks. that makes sense.
> > PdfPCell cell = new PdfPCell(img, false);
it is possible to set the background colour of either the cell or the image
(inherits from Rectangle). Should it be either or both or just the cell?
James
- Original Message -
From: "Paulo Soares" <[EMAIL PROTECTED
vadim zabejinsky wrote:
You can try to get the same results by generating a
PDF table with one of the header rows using Colspan
http://itext.sourceforge.net/tutorial/objects/tables/pdfptable/TableEvents2.pdf
was generated with iText1.2.3 using this source:
http://itext.sourceforge.net/examples/c
float[] widths2 = {1.01f, 8.91f, 0.77f, 1.01f, 0.77f, 0.77f, 1.03f, 0.99f,0.77f,
0.83f, 0.81f, 0.90f, 1.01f, 0.99f, 0.92f, 0.92f, 1.00f, 0.90f, 0.92f, 0.92f,
0.92f, 0.92f, 1.00f};
PdfPTable firstPart = new PdfPTable(23);
firstPart.setWidthPercentage((float)100);
firstPart.setWidths(widths2);
fi
Hi All,
I have a requirement like this. I have to insert page numbers on each
page of PDF at bottom of the page. The PDF file is ready and I have to just
display page numbers on each page. Page numbering format would be "Page 1/6" .
Any idea how to solve this ?
Regards,
Ronak
Dear MR. Paulo Soares !
I cannot send the code of the report because we are
generating it from the data base. I attach the code of
the class TableEvent.
It seems that the header rows in width array are
duplicated. (only in version 1.2.3; in the version
1.02b every thing worked properly)
You can
You have it right with HTMLWorker. About the rest:
PdfContentByte cb = pdfWriter.getDirectContent();
ColumnText ct = new ColumnText(cb);
ct.setSimpleColumn(...);
ct.setYLine(...);
if (list != null) {
for (int i=0; i < list.size(); i++) {
ct.addElement((Element)list.get(i));
}
25 matches
Mail list logo