[iText-questions] Full Justification in PTables

2002-08-02 Thread Matt
I'm using iText's PdfPTable to approximate/mimic tabbed text, but I discovered that PdfPTable doesn't support ALIGN_JUSTIFIED. How difficult would it be to create functionality to allow cells to be fully justified? We plan on bundling this with a closed-source application, so we can't (assuming we

Re: [iText-questions] PDF Templates

2002-08-02 Thread Leonard Rosenthol
At 3:38 PM -0400 8/2/02, Ryan Johnston wrote: >Printer: HP LaserJet 8000 Series (using PCL 6 driver) >Have also tried it from a Color LaserJet 4550 Try using the PS driver instead (assuming that the printer supports it), and also try using "Print as Image" in the Acrobat print dialog.

Re: [iText-questions] PDF Templates

2002-08-02 Thread Ryan Johnston
Software: Acrobat Reader 5.0 OS: Windows 2000 SP3 (I installed all the windows update stuff yesterday). I have also tried it from windows 98. Printer: HP LaserJet 8000 Series (using PCL 6 driver) Have also tried it from a Color LaserJet 4550 The interesting thing is that when java.awt.image-b

Re: [iText-questions] PDF Templates

2002-08-02 Thread Leonard Rosenthol
At 1:43 PM -0400 8/2/02, Ryan Johnston wrote: >I've noticed that if one creates a PDF with 5 PdfTemplate-based >images in a table, the result shows normally on the screen but won't >print. The images are mostly shifted off the page, and those on the >page are sometimes printed on top of one an

Re: [iText-questions] Cell and Table Widths

2002-08-02 Thread Scott Edward Skinner
Well I determined that if you use setWidth(100), your table will consume 100 percent of the available width of the page. You can then use the setWidths(float[]) method to assign width percentages to each column based on this total width. This sort of works for me because my left column values are

RE: [iText-questions] Cell and Table Widths

2002-08-02 Thread Ryan Johnston
I am considering this very same problem in the near future in my application as well. The solution I am thinking about right now is to use the FontMetrics class to get the width and height of the string(s) and/or image(s) I place into a cell and kepp a counter of the width used and width avail

RE: [iText-questions] Page Break within a Chapter Section

2002-08-02 Thread Shrikant Shetty
Try this. I had tried it for the chapter once , I don't see any reason why it should not work for sections. Chunk chunk = new Chunk (""); chunk.setNewPage(); Paragraph newPage= new Paragraph (chunk); section.add (newPage); Regards, Shrikant. -Original Message- From: Paulo Soares [SMT

[iText-questions] PDF Templates

2002-08-02 Thread Ryan Johnston
I've noticed that if one creates a PDF with 5 PdfTemplate-based images in a table, the result shows normally on the screen but won't print. The images are mostly shifted off the page, and those on the page are sometimes printed on top of one another. Using java.awt.Image-based images does not

[iText-questions] Cell and Table Widths

2002-08-02 Thread Scott Edward Skinner
I'm creating a (simple) table that has two cells. The left cell is right justified; the right cell is left justified. I want the output (in fixed-width ASCII) to look something like this... Chocolate: good Vanilla: better Strawberry: best So far so good. The problem is that I am used to HTML

RE: [iText-questions] Page Break within a Chapter Section

2002-08-02 Thread Paulo Soares
That's not possible. A chapter contains all the sections inside and as only the chapter is added to the document there can be no breaks. If you have specialized needs it's rather easy to do chapters and sections with paragraphs. The bookmarks can be done with page events. Best Regards, Paulo Soar

RE: [iText-questions] line graphics

2002-08-02 Thread Paulo Soares
With Cell you don't have much options. The easiest way is to put a line of no-break spaces (\u00a0) underlined. Best Regards, Paulo Soares > -Original Message- > From: JS [SMTP:[EMAIL PROTECTED]] > Sent: Friday, August 02, 2002 16:27 > To: [EMAIL PROTECTED] > Subject: [iText-quest

[iText-questions] line graphics

2002-08-02 Thread JS
I'm having trouble trying to draw a simple line. I need to create a Cell that contains a horizontal line. I'm having trouble figuring out whether to use a Graphics object or a PdfGraphics2D object. Thanks for the help!

RE: [iText-questions] BUG: Can't get hyphenation example to work on windows

2002-08-02 Thread Paulo Soares
> -Original Message- > From: John Hardy [SMTP:[EMAIL PROTECTED]] > Sent: Friday, August 02, 2002 8:04 > To: [EMAIL PROTECTED] > Subject: [iText-questions] BUG: Can't get hyphenation example to work > on windows > > I'm having a problem running the hyphenation example: > Chap02_hy

[iText-questions] Page Break within a Chapter Section

2002-08-02 Thread Heiko Volland
Hi iText developers, I'd like to create a PDF document with lots of chapters (1st level) that contain a few sections (2nd level) and therein in some subsections (3rd level). Is it possible to add a page break before adding a new section (e.g. at the 2nd level), that means before adding the whole