Title: Message
What is the problem doing
      Phrase phrase = new Phrase("Retro active");
If not possible then do:
      Chunk chunk1 = new Chunk("Retro");
      Chunk chunk2 = new Chunk("active");
      Phrase phrase = new Phrase();
      phrase.add(chunk1);
      phrase.add(chunk2);
     Table ret = new Table(1,1);
     Cell cell = new Cell(phrase);
 
Operater overloading is not part of Java.

Regards,
Ramana.JV.

-----Original Message-----
From: Pat Moynahan [mailto:[EMAIL PROTECTED]
Sent: Friday, July 11, 2003 12:39 PM
To: [EMAIL PROTECTED]
Subject: [iText-questions] Question About Phrases and Tables with i-text

I am trying to add two phrases to one cell, how would I go about this?
Example:
 
Phrase phrase1 = new Phrase("Retro");
Phrase phrase2 = new Phrase("active");
 
Table ret = new Table(1,1);
Cell cell = new Cell(phrase1 + phrase2); ------->Doesn't Work but you get the idea of what i am trying to do
 
The output I desire is the word "Retroactive" in a one row one cell column. Thanks.
 
- Pat Moynahan 

****************************************************************************

This email may contain confidential
material. If you were not an intended recipient,
Please notify the sender and delete all copies.
We may monitor email to and from our network.

 ***************************************************************************

 

Reply via email to