I'm sorry for last one. I have right. Thank you.
--
View this message in context:
http://www.nabble.com/Problem-with-adding-textfield-tp20222830p20224362.html
Sent from the iText - General mailing list archive at Nabble.com.
-
1T3XT info wrote:
>
> precyz wrote:
>> I have problem with adding textfield to PDF. I have document that
>> contains
>> AcroForms all kinds: radiobuttons, checkboxes etc. This documnet wasn't
>> created by me. I want to add new textfield (multiline)
I have problem with adding textfield to PDF. I have document that contains
AcroForms all kinds: radiobuttons, checkboxes etc. This documnet wasn't
created by me. I want to add new textfield (multiline) to second page of
this document. I've tried this:
PdfReader reader = new PdfReader("c:/file.pdf
I have this problem:
I have pdf file with multiline textfields. When I set field value as
multiline string
(eg. "a\na\naaa") and after that
open pdf I see this:
a
a
aaa
I want to see:
a
a
You can use something like this:
BaseFont bfont = BaseFont.createFont(BaseFont.Helvetica, BaseFont.CP1250,
BaseFont.NOT_EMBADED);
acroField.setFieldProperty("fieldName", "textfont", bfont, null);
This will set fon Helvetica on acroField named fieldName.
Marco-14
You can always change font color in acro field useing
acroField.setFieldProperty(fieldName, "textcolor", java.awt.Color.YELLOW,
null);
for example.
Marco-141 wrote:
>
> Hi,
>
> this is my first question. I have to put a text over acrofields. The
> problem is that if the acrofield has a c
Thank you for help.
Br, Paweł Gawędzki
Bruno Lowagie (iText) wrote:
>
> Gawędzki wrote:
>> I do not understand why method getField("fieldname") returns me "yes".
>
> OK, then that is the difference between the example in the book and your
> PDF. Please open your PDF in iText RUPS and select t
In my case this instruction returns only "yes":
form.getField("nameRadiobutton") is equal to "yes". This says anything to me
becouse i need something different. Lets take eg. from your book. There is
radiobutton named "language". It has values "languages = { "English",
"French", "Dutch" };". On d
I have radiobutton named "nameRadiobutton". It has four buttons: a, b, c, d.
Button c is in state "on" (it means the rest are in state "off").
How in iText can I check which button (a, b, c or d) is in state "on" ?
I know how to get names of this four buttons:
PdfReader reader = new PdfReader("i
TECTED] wrote:
>>
>> Bar Codes are an industry standard and are NOT a standard put in place
>> by iText.
>
> Correct. iText implements the standard.
> All issues that have been reported about "iText not following the
> standard"
> turned out being wrong; the
I have iText 2.0.8. I did small apolication that creates two-dimension
barcodes on pdf document. I found that iText support only one standard for
two-dimension barcodes. Barcodes generated with iText are diffrent then
barcodes (for eg.) that contains serial nomber of Nokia cell phone. Barcodes
fro
only last
created object.
Have you tried? Did it work?
On 03/06/2008, precyz <[EMAIL PROTECTED]> wrote:
>
>
> --
> View this message in context:
> http://www.nabble.com/Is-it-possible-to-create-radiobutton-and-checkbox-with-the-same-name---tp17617053p17617053.html
&
No it isn't. I've just chacked.
precyz wrote:
>
>
>
--
View this message in context:
http://www.nabble.com/Is-it-possible-to-create-radiobutton-and-checkbox-with-the-same-name---tp17617053p17619598.html
Sent from the iText - General mailing list ar
--
View this message in context:
http://www.nabble.com/Is-it-possible-to-create-radiobutton-and-checkbox-with-the-same-name---tp17617053p17617053.html
Sent from the iText - General mailing list archive at Nabble.com.
-
Th
precyz wrote:
>
> I'm from Pland and i need to use Polish letter that's way I want to change
> default font in AcroFields.
> For eg.
>
> DocumentBuilderFactory dbfac =
> DocumentBuilderFactory.newInstance();
> DocumentBuilder doc
I'm from Pland and i need to use Polish letter that's way I want to change
default font in AcroFields.
For eg.
DocumentBuilderFactory dbfac = DocumentBuilderFactory.newInstance();
DocumentBuilder docBuilder = dbfac.newDocumentBuilder();
Document doc = docBuilder.parse(new
I have a proper pdf document with RadioButtons and TextFields inside. I read
this document and extract all AcroFilds. After that i put same data to this
AcroFields and stored document in a file. My problem is: all Text Fields are
fill in properly but i do not know how put (eg.) 'X' to RadioButton.
I created one pdf from few pdfs useing this code:
PdfReader reader = new PdfReader(sciezkaout + pliki[0]);
Rectangle page_size = PageSize.A4;
PdfCopy copy = new PdfCopy(document, new
FileOutputStream(sciezkaout + "sklejony.pdf"));
document.open();
OK.
Now code looks like this and its still doesn't work:
public void putDataToPdf(String existing_pdf) {
try {
PdfReader reader = new PdfReader(existing_pdf_file);
int nu_pages = reader.getNumberOfPages();
PdfStamper stamper = new PdfStamper(read
I have a problem with adding text to existing pdf. The example from book
doesn't work. My code looks like this:
public void putDataToPdf(String existing_pdf) {
try {
PdfReader reader = new PdfReader(existing_pdf_file);
int nu_pages = reader.getNumberOfPages();
20 matches
Mail list logo