Allow me to pick out the important bits there.
> itext created:
> 41 0 obj<</V()DV(inserted Text)>> endobj

Empty /V.  Kinda like MTV, only with more music videos.  Grrr.

(way the heck off topic:  Does anyone else remember the old MTV commercials 
where some guy was watching MTV and a woman off camera asks him to take out the 
trash?  He responds "As soon as this show is over" BECAUSE they didn't have 
shows... just an endless stream of Music Videos (thus the name you 
reality-tv-spewing wastes of oxygen!)

We now return you to your regularly scheduled answer.

> Manuel created:
> 41 0 obj<</DV(inserted Text)/V(BlaBlubb)>> endobj

The default value (/DV) only matters when you reset the form.  I suspect the 
value (/V) is what you're after.

--Mark Storer 
  Senior Software Engineer 
  Cardiff.com

#include <disclaimer> 
typedef std::Disclaimer<Cardiff> DisCard; 



> -----Original Message-----
> From: Jan Meinecke [mailto:darkw...@gmx.li]
> Sent: Monday, November 16, 2009 1:11 AM
> To: itext-questions@lists.sourceforge.net
> Subject: [iText-questions] Strange behavior of Textfield -> 
> DefaultText
> 
> 
> Hello!
> 
> I searched the archieve, but i can´t find anything about my 
> problem...so i try this way now...
> Hope someone can help me.
> I am using the 2.1.7 Version of the itext Package in an 
> Eclipse 3.2 env.
> And i am writing Textfields (com.lowagie.text.pdf) to an 
> existing PDF File.
> All is working fine...till i am using the 
> "TextField.setDefaultText" function.
> It seems to work well...but it the result is strange.
> It write´s the defined text into the "DefaultText" Field 
> inside the PDF Textfield...but the inserted Defaulttext Value 
> is not Displayed on the PDF like it does if i type something 
> in by myself.
> I tried to find a difference in the PDF Files, but i can´t...
> Than i compared the files in an editor and found a different 
> strucktur in the itext created Value.
> 
> itext created:
> 41 0 obj<</P 11 0 R/Type/Annot/F 4/AP<</N 2 0 
> R>>/V()/Subtype/Widget/DV(inserted 
> Text)/TU(L_F_Ausfertigung)/T(L_F_Ausfertigung)/BS<</S/S/W 
> 1>>/Ff 0/Rect[7.04 351.02 29.78 535.95]/DR<</Font<</HeBo 80 0 
> R>>>>/DA(/HeBo 10 Tf 0 g )/MK<</R 90>>/MaxLen 255/FT/Tx>>
> 
> Manuel created:
> 41 0 obj<</AP<</N 94 0 R>>/BS<</S/S/W 1>>/DA(/HeBo 12 Tf 0 g 
> )/DR<</Font<</HeBo 79 0 R>>>>/DV(inserted Text)/F 4/FT/Tx/Ff 
> 0/MaxLen 255/P 10 0 R/Rect[7.04 351.02 29.78 
> 535.95]/Subtype/Widget/T(L_F_Ausfertigung)/TU(L_F_Ausfertigung
> )/Type/Annot/V(BlaBlubb)>>
> endobj
> 
> Is there anyone out there who have a clue?
> 
> Thx in advance
> -- 
> GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT!
> Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01
> 
> --------------------------------------------------------------
> ----------------
> Let Crystal Reports handle the reporting - Free Crystal 
> Reports 2008 30-Day 
> trial. Simplify your report design, integration and 
> deployment - and focus on 
> what you do best, core application coding. Discover what's new with
> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
> _______________________________________________
> iText-questions mailing list
> iText-questions@lists.sourceforge.net
> 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/


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
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