Well,

Here is my 2 cent! If I understood, you are giving an alignment to the table
cell! 

Try to build a paragraph  (put your numeric values there), then align that
paragraph, then add it to the cell!

 

Br,

Rico

 

 

From: DHANU BUDIREDDI [mailto:[email protected]] 
Sent: quinta-feira, 18 de Junho de 2009 10:26
To: [email protected]
Subject: [iText-questions] How to set the alignment of numaric filed in
existing PDF?

 

Hello All,

 

            In my PDF one table cell containg the Numaric field, and its
default alignment is 'Vertical Alignment( At Top Left)' . I am adding the
new values to that filed and merged with one another PDF in this situation
the Numaric field aligmnet is changed to Center.

 

          Can any body give me the solution please?

 

Thanks,

--Dhanu

On Thu, Jun 18, 2009 at 11:52 AM,
<[email protected]> wrote:

Send iText-questions mailing list submissions to
       [email protected]

To subscribe or unsubscribe via the World Wide Web, visit
       https://lists.sourceforge.net/lists/listinfo/itext-questions
or, via email, send a message with subject or body 'help' to
       [email protected]

You can reach the person managing the list at
       [email protected]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of iText-questions digest..."


Today's Topics:

  1. Re: IE Problem with opening PDF from remote host (Matthew Devine)
  2. Re: How do I generate this specific EAN-128       barcode?
     (Andreas Karlsson)
  3. Re: How do I generate this specific       EAN-128barcode? (Paulo
Soares)


----------------------------------------------------------------------

Message: 1
Date: Wed, 17 Jun 2009 15:11:32 -0400
From: "Matthew Devine" <[email protected]>
Subject: Re: [iText-questions] IE Problem with opening PDF from remote
       host
To: "'Post all your questions about iText here'"
       <[email protected]>
Message-ID: <[email protected]>
Content-Type: text/plain; charset="iso-8859-1"

No luck, I?ll move this over to Java forums and see what I can come up with.



Matt

 _____

From: Lu?s Tiago Rico [mailto:[email protected]]
Sent: Wednesday, June 17, 2009 12:04 PM
To: 'Post all your questions about iText here'
Subject: Re: [iText-questions] IE Problem with opening PDF from remote host



This is not a itext related question!



But try this headers

       response.setHeader("Expires", "0");

       response.setHeader("Cache-Control", "must-revalidate, post-check=0,
pre-check=0");

       response.setHeader("Pragma", "public");



For me they work just fine!



Br,

Rico





From: Matthew Devine [mailto:[email protected]]
Sent: quarta-feira, 17 de Junho de 2009 16:34
To: [email protected]
Subject: [iText-questions] IE Problem with opening PDF from remote host



So I?m having a problem opening/saving my generated PDF in Internet Explorer
7 on a remote host.  Basically, I click on my button to generate the PDF, it
then sends the data to my servlet that generates the document and then sends
it back in a response.  When I do via localhost everything works the way its
supposed to, I get the document to open in IE.  However if I try this from
another machine, the document doesn?t open; when tried in Firefox remotely
everything works.  So I then started down the road of reviewing my response
headers and haven?t had any luck.

     resp.setContentType("application/pdf");

     resp.setContentLength(document.size());

     resp.setHeader("Pragma", "no-cache");

     resp.setHeader("Expires", "-1");

     resp.setHeader("Accept-Ranges", "bytes");

     resp.setHeader("Content-disposition", "inline; filename=report.pdf");

     OutputStream outputStreamToClient = resp.getOutputStream();

     document.writeTo(outputStreamToClient);

     try {

       outputStreamToClient.flush();

       outputStreamToClient.close();

     } catch (Exception e) {

       if (DEBUG) {

         System.out.println(e.getMessage());

       }

     }

My next step was to run a wireshark trace and verify that I was in fact
getting my generated document sent to the remote machine and I was able to
confirm the response was in fact sent and that all my necessary headers were
in place. I?m open to any suggestions; I?ve even tried setting the response
headers to the exact ones from the iText tutorial to no avail.

Matt

-------------- next part --------------
An HTML attachment was scrubbed...

------------------------------

Message: 2
Date: Wed, 17 Jun 2009 22:39:48 -0700 (PDT)
From: Andreas Karlsson <[email protected]>
Subject: Re: [iText-questions] How do I generate this specific EAN-128
       barcode?
To: Post all your questions about iText here
       <[email protected]>
Message-ID: <[email protected]>
Content-Type: text/plain; charset=iso-8859-1


Hi,
Is there any way to add the spaces to the text so it is easier to read?
brgds
Andreas

--- On Wed, 6/17/09, Paulo Soares <[email protected]> wrote:

> From: Paulo Soares <[email protected]>
> Subject: Re: [iText-questions] How do I generate this specific EAN-128
barcode?
> To: "Post all your questions about iText here"
<[email protected]>
> Date: Wednesday, June 17, 2009, 3:31 PM
> Set the code type to CODE128_UCC and
> set the code to "(8018)735999100002980952". This is in the
> javadoc. The code may not have the same bars but it will
> decode the same.
>
> Paulo
>
> > -----Original Message-----
> > From: [email protected]
> [mailto:[email protected]]
>
> > Sent: Wednesday, June 17, 2009 2:03 PM
> > To: [email protected]
> > Subject: [iText-questions] How do I generate this
> specific
> > EAN-128 barcode?
> >
> > Hi folks,
> > I've been trying to use iTex to generate this attached
> EAN
> > code (hope attachements are allowed) with the code
> pasted
> > below but without success.
> > I think I had success on an online barcode generator
> getting
> > this result:
> > http://www.bokai.com/Barcode.Net/BarcodeHandler.aspx?BarcodeTy
> >
> pe=EAN128C&Data=8018735999100002980952&BarWidth=1&Height=40
> >
> >
> > - First of all the bars do not agree.
> > - Second the checksum digit "2" isn't display even
> though it
> > seems so in the code:
> > shipBarCode.setChecksumText(true);
> > shipBarCode.setGenerateChecksum(true);
> >
> > I have som info about the barcode:
> > The barcode is built as:
> > 1. Quite part
> > 2. Start code (A, B, C), use C to optimize the code if
> it's
> > an even number of digits.
> > 3. FNC1
> > 4. Data field AI (8018) 735999 FFF PPPPPPPP K
> (K=Checksum
> > digit EAN?s modul 10)
> > 5. EAN Symbol checkdigit (after the checksum digit)
> > 7. Stop code
> > 8. Quite part
> >
> >
> > Any hints on how to produce this barcode?
> >
> >
> >
> >
> >? ? ???
>
> 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.
>
>
----------------------------------------------------------------------------
--
> Crystal Reports - New Free Runtime and 30 Day Trial
> Check out the new simplified licensing option that enables
> unlimited
> royalty-free distribution of the report engine for
> externally facing
> server and web deployment.
> http://p.sf.net/sfu/businessobjects
> _______________________________________________
> iText-questions mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/itext-questions
>
> Buy the iText book: http://www.1t3xt.com/docs/book.php
> Check the site with examples before you ask questions:
http://www.1t3xt.info/examples/
> You can also search the keywords list:
http://1t3xt.info/tutorials/keywords/






------------------------------

Message: 3
Date: Thu, 18 Jun 2009 07:21:28 +0100
From: "Paulo Soares" <[email protected]>
Subject: Re: [iText-questions] How do I generate this specific
       EAN-128barcode?
To: "Post all your questions about iText here"
       <[email protected]>
Message-ID: <001f01c9efdd$093726b0$587ba...@psoaresw>
Content-Type: text/plain; format=flowed; charset="iso-8859-1";
       reply-type=original

Suppress the automatic text with setFont(null) and write yourself the text.

Paulo

----- Original Message -----
From: "Andreas Karlsson" <[email protected]>
To: "Post all your questions about iText here"
<[email protected]>
Sent: Thursday, June 18, 2009 6:39 AM
Subject: Re: [iText-questions] How do I generate this specific
EAN-128barcode?



Hi,
Is there any way to add the spaces to the text so it is easier to read?
brgds
Andreas

--- On Wed, 6/17/09, Paulo Soares <[email protected]> wrote:

> From: Paulo Soares <[email protected]>
> Subject: Re: [iText-questions] How do I generate this specific EAN-128
> barcode?
> To: "Post all your questions about iText here"
> <[email protected]>
> Date: Wednesday, June 17, 2009, 3:31 PM
> Set the code type to CODE128_UCC and
> set the code to "(8018)735999100002980952". This is in the
> javadoc. The code may not have the same bars but it will
> decode the same.
>
> Paulo
>
> > -----Original Message-----
> > From: [email protected]
> [mailto:[email protected]]
>
> > Sent: Wednesday, June 17, 2009 2:03 PM
> > To: [email protected]
> > Subject: [iText-questions] How do I generate this
> specific
> > EAN-128 barcode?
> >
> > Hi folks,
> > I've been trying to use iTex to generate this attached
> EAN
> > code (hope attachements are allowed) with the code
> pasted
> > below but without success.
> > I think I had success on an online barcode generator
> getting
> > this result:
> > http://www.bokai.com/Barcode.Net/BarcodeHandler.aspx?BarcodeTy
> >
> pe=EAN128C&Data=8018735999100002980952&BarWidth=1&Height=40
> >
> >
> > - First of all the bars do not agree.
> > - Second the checksum digit "2" isn't display even
> though it
> > seems so in the code:
> > shipBarCode.setChecksumText(true);
> > shipBarCode.setGenerateChecksum(true);
> >
> > I have som info about the barcode:
> > The barcode is built as:
> > 1. Quite part
> > 2. Start code (A, B, C), use C to optimize the code if
> it's
> > an even number of digits.
> > 3. FNC1
> > 4. Data field AI (8018) 735999 FFF PPPPPPPP K
> (K=Checksum
> > digit EAN?s modul 10)
> > 5. EAN Symbol checkdigit (after the checksum digit)
> > 7. Stop code
> > 8. Quite part
> >
> >
> > Any hints on how to produce this barcode?
> >
> >
> >
> >
> >
>
> 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.
>
>
----------------------------------------------------------------------------
--
> Crystal Reports - New Free Runtime and 30 Day Trial
> Check out the new simplified licensing option that enables
> unlimited
> royalty-free distribution of the report engine for
> externally facing
> server and web deployment.
> http://p.sf.net/sfu/businessobjects
> _______________________________________________
> iText-questions mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/itext-questions
>
> Buy the iText book: http://www.1t3xt.com/docs/book.php
> Check the site with examples before you ask questions:
> http://www.1t3xt.info/examples/
> You can also search the keywords list:
> http://1t3xt.info/tutorials/keywords/




----------------------------------------------------------------------------
--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.1t3xt.com/docs/book.php
Check the site with examples before you ask questions:
http://www.1t3xt.info/examples/
You can also search the keywords list: http://1t3xt.info/tutorials/keywords/




------------------------------

----------------------------------------------------------------------------
--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing
server and web deployment.
http://p.sf.net/sfu/businessobjects

------------------------------

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


End of iText-questions Digest, Vol 37, Issue 65
***********************************************






-- 
Dhananjaya Rao.B
eParadigm Softech Pvt Ltd.
Hyderabad
Mobile:+919985558708

------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.1t3xt.com/docs/book.php
Check the site with examples before you ask questions: 
http://www.1t3xt.info/examples/
You can also search the keywords list: http://1t3xt.info/tutorials/keywords/

Reply via email to