You can't nest List inside a Phrase or Paragraph. Add it directly to
ColumnText.

----- Original Message ----- 
From: <[EMAIL PROTECTED]>
To: "Paulo Soares" <[EMAIL PROTECTED]>
Sent: Monday, August 08, 2005 8:34 AM
Subject: Re: Re: Re: Re: Re: [iText-questions] Another problem



Hallo Paulo,

thanks for the decisive hint. On Friday I wrote a few lines, but I haven't
received an answer yet. If I use ColumnText and integrate a phrase with a
list, the item point aren't displayed. Furthermore there are no line breaks
between the items. Do you have an idea?

Thanks
Stefan





             "Paulo Soares"
             <[EMAIL PROTECTED]
             .pt>                                                       An
                                        <[EMAIL PROTECTED]>
             05.08.05 12:31                                          Kopie
                                        <[EMAIL PROTECTED]
                                        .net>
              Bitte antworten                                        Thema
                    an                  Re: Re: Re: Re: [iText-questions]
              "Paulo Soares"            Another problem
             <[EMAIL PROTECTED]
                   .pt>








If you don't call ColumnText.go() nothing happens.

----- Original Message -----
From: <[EMAIL PROTECTED]>
To: "Paulo Soares" <[EMAIL PROTECTED]>
Sent: Friday, August 05, 2005 10:42 AM
Subject: Re: Re: Re: Re: [iText-questions] Another problem



Hallo Paulo,

but it doesn't work. Could you have a look please. I created a method for
inserting a List into a existing pdf document and use ColumnText. Do you
have an idea why not?

      private static void setConditionsData(
            PdfStamper stamp) {

            List list = null;

            Phrase phrase = new Phrase(10);

            phrase.add("Test ...");
            list = new List(false, 2);
            list.add("...");
            list.add("...");
            phrase.add(list);

            phrase.add("Test ...");
            list = new List(false, 2);
            list.add("...");
            list.add("...");
            phrase.add(list);

            phrase.add("Test ...");
            list = new List(false, 2);
            list.add("...");
            list.add("...");
            phrase.add(list);

            PdfContentByte over = stamp.getOverContent(3);
            ColumnText columnText = new ColumnText(over);
            columnText.setSimpleColumn(0, 0, 200, 300);
            columnText.addElement(phrase);
      }

Thanks
Stefan






             "Paulo Soares"
             <[EMAIL PROTECTED]
             .pt>                                                       An
             Gesendet von:              <[EMAIL PROTECTED]>
             itext-questions-a                                       Kopie
             [EMAIL PROTECTED]          <[EMAIL PROTECTED]
             forge.net                  .net>
                                                                     Thema
                                        Re: Re: Re: [iText-questions]
             04.08.05 18:59             Another problem


              Bitte antworten
                    an
              "Paulo Soares"
             <[EMAIL PROTECTED]
                   .pt>






ColumnText.addElement()

----- Original Message -----
From: <[EMAIL PROTECTED]>
To: "Paulo Soares" <[EMAIL PROTECTED]>
Sent: Thursday, August 04, 2005 1:52 PM
Subject: Re: Re: Re: [iText-questions] Another problem



Hallo Paulo,

but in ColumnText there's only a "String"-phrase allowed not a phrase
containing a List object. How to manage it?

Thanks
Stefan




             "Paulo Soares"
             <[EMAIL PROTECTED]
             .pt>                                                       An
                                        <[EMAIL PROTECTED]>
             04.08.05 14:32                                          Kopie
                                        <[EMAIL PROTECTED]
                                        .net>
              Bitte antworten                                        Thema
                    an                  Re: Re: [iText-questions] Another
              "Paulo Soares"            problem
             <[EMAIL PROTECTED]
                   .pt>








Use ColumnText and PdfStamper. To concatenate and change you'll need to use
PdfCopy to concatenate and PdfStamper to add text, images, etc.

----- Original Message -----
From: <[EMAIL PROTECTED]>
To: "Paulo Soares" <[EMAIL PROTECTED]>
Sent: Thursday, August 04, 2005 8:17 AM
Subject: Re: Re: [iText-questions] Another problem



Hallo Paulo,

thanks for helping me quickly. In this context another question arose. Is
there a possibility to insert a phrase containing a list object in an
existing pdf not only in terms of text and images
(PdfContentByte.showTextAligned resp. PdfContentByte.addImage)?

Thank you in advance.

Kind regards,
Stefan





             "Paulo Soares"
             <[EMAIL PROTECTED]
             .pt>                                                       An
             Gesendet von:              <[EMAIL PROTECTED]
             itext-questions-a          .net>, <[EMAIL PROTECTED]>
             [EMAIL PROTECTED]                                       Kopie
             forge.net
                                                                     Thema
                                        Re: [iText-questions] Inserting
             03.08.05 17:43             one page in an existing pdf. But
                                        how?

              Bitte antworten
                    an
              "Paulo Soares"
             <[EMAIL PROTECTED]
                   .pt>






See the example concat_pdf.java in the tools package. Add pages from doc1,
add page from doc2, add the remaining pages from doc1.

----- Original Message -----
From: <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Wednesday, August 03, 2005 3:35 PM
Subject: [iText-questions] Inserting one page in an existing pdf. But how?


> Hello,
>
> I'm facing the problem that I want to insert one page of a pdf in another
> pdf, not at the end of the document but in the middle. My attempts don't
> work. Does anybody have an idea and can give me a code example?
>
> Thx.
> Stefan
> Bitte beachten Sie auch unsere Sicherheitshinweise zum Thema e-Mail unter
> http://www.sskm.de/security.
>
> Stadtsparkasse München - Anstalt des öffentlichen Rechts - Amtsgericht
> München - HRA 75459.



-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions


Bitte beachten Sie auch unsere Sicherheitshinweise zum Thema e-Mail unter
http://www.sskm.de/security.

Stadtsparkasse München - Anstalt des öffentlichen Rechts - Amtsgericht
München - HRA 75459.



Bitte beachten Sie auch unsere Sicherheitshinweise zum Thema e-Mail unter
http://www.sskm.de/security.

Stadtsparkasse München - Anstalt des öffentlichen Rechts - Amtsgericht
München - HRA 75459.



-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions


Bitte beachten Sie auch unsere Sicherheitshinweise zum Thema e-Mail unter
http://www.sskm.de/security.

Stadtsparkasse München - Anstalt des öffentlichen Rechts - Amtsgericht
München - HRA 75459.



Bitte beachten Sie auch unsere Sicherheitshinweise zum Thema e-Mail unter
http://www.sskm.de/security.

Stadtsparkasse München - Anstalt des öffentlichen Rechts - Amtsgericht
München - HRA 75459.



-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to