Thanks.

I am using PdfStamper but in this case I need to create another pdf file. 
Could I use the same file to read and write?

Another question. Suppose I am going to insert the following paragraph:

"software over the past fifteen years, making it available to a wide 
variety of programs"

But I want to treat some formatting issues in this paragraph. I would like 
only the strings "fifteen years" remain in bold, the string "available" 
remain underline and the string "programs" has a font size 10.

Could someone help?

            *****************************************************
            *         Federal University of Minas Gerais        *
            *          Department of Computer Science           *
            *         Master Degree in Computer Science         *
            *                                                   *
            *            Funda��o Getulio Vargas                *    
            *            MBA in Project Management              *
            *                                                   *
            *                 Aloizio Silva                     *
            *         http://www.dcc.ufmg.br/~aloizio           *
            *                                                   *
            *      Mobile Computer and Network Optimization     *
            *****************************************************

On Tue, 20 Jun 2006, Paulo Soares wrote:

> PdfStamper.

Paulo 

> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On 
> Behalf Of Aloizio Pereira da Silva
> Sent: Tuesday, June 20, 2006 3:00 PM
> To: [EMAIL PROTECTED]; Post all your questions about iText here
> Subject: Re: [iText-questions] Including a new paragraph on 
> PDF document
> 
> The Pdf document already exists. If a open it with PdfReady I can not 
> insert anything. If I open it with PdfWriter its contents is deleted.
> 
> I need to open a pdf file to ready and write fucntion. How 
> Can I do this?
> 
>             *****************************************************
>             *         Federal University of Minas Gerais        *
>             *          Department of Computer Science           *
>             *         Master Degree in Computer Science         *
>             *                                                   *
>             *            Fundação Getulio Vargas                *    
>             *            MBA in Project Management              *
>             *                                                   *
>             *                 Aloizio Silva                     *
>             *         http://www.dcc.ufmg.br/~aloizio           *
>             *                                                   *
>             *      Mobile Computer and Network Optimization     *
>             *****************************************************
> 
> On Mon, 19 Jun 2006, Palmi H Lord wrote:
> 
> > 
> > Try this for the Paragraph
> > 
> > p1 = new Paragraph(new Chunk(" ", FontFactory.getFont
> > FontFactory.HELVETICA, 10)));
> > pdfDoc.add(p1);
> > 
> > Palmi
> > 
> > 
> > > Hi everybody,
> > >
> > > I have a PDF document and  I should include on it one paragraph.
> > > This paragraph contains  three lines where the first is 
> on bold, the
> > > second on Italic and the last underline.
> > >
> > > How I can do this using iText?
> > >
> > >             *****************************************************
> > >             *         Federal University of Minas Gerais        *
> > >             *          Department of Computer Science           *
> > >             *         Master Degree in Computer Science         *
> > >             *                                                   *
> > >             *            Fundação Getulio Vargas                *
> > >             *            MBA in Project Management              *
> > >             *                                                   *
> > >             *                 Aloizio Silva                     *
> > >             *         http://www.dcc.ufmg.br/~aloizio           *
> > >             *                                                   *
> > >             *      Mobile Computer and Network Optimization     *
> > >             *****************************************************
> > >
> > > _______________________________________________
> > > iText-questions mailing list
> > > [email protected]
> > > https://lists.sourceforge.net/lists/listinfo/itext-questions
> > >
> > 
> > 
> > Palmi H Lord
> > [EMAIL PROTECTED]
> > 8225420
> > 
> > 
> > 
> > _______________________________________________
> > iText-questions mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/itext-questions
> > 
> 
> 
> _______________________________________________
> iText-questions mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/itext-questions
> 


Aviso Legal:
> Esta mensagem é destinada exclusivamente ao destinatário. Pode conter 
> informação confidencial ou legalmente protegida. A incorrecta transmissão 
> desta mensagem não significa a perca de confidencialidade. Se esta mensagem 
> for recebida por engano, por favor envie-a de volta para o remetente e 
> apague-a do seu sistema de imediato. É proibido a qualquer pessoa que não o 
> destinatário de usar, revelar ou distribuir qualquer parte desta mensagem. 
> 
> Disclaimer:
> This message is destined exclusively to the intended receiver. It may contain 
> confidential or legally protected information. The incorrect transmission of 
> this message does not mean the loss of its confidentiality. If this message 
> is received by mistake, please send it back to the sender and delete it from 
> your system immediately. It is forbidden to any person who is not the 
> intended receiver to use, distribute or copy any part of this message.
> 

_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to