Hello everyone! I`m trying to do a method here in my application to create
Radio, checkbox or textfield inside a cell, but i`m not managing to do it.
I managed doing it with a select, but when I try any of those, it doesn`t
work at all.
Here`s my workaround:
Working select method:
public void
);
PdfFormField pff = textField.getTextField();
if (editable){
pff.setFieldFlags(PdfFormField.FF_READ_ONLY);
}
PdfPCell cell = new PdfPCell();
cell.setCellEvent(new FieldPositioningEvents(writer, pff));
table.addCell(cell);
}
Thanks :D
2013/7/4 André
Hello, I`m facing problems when creating a BaseFont with font file outside
of windows/font folder.
I followed this example:
http://itextpdf.com/examples/iia.php?id=213
when it is set to c:/windows/fonts/arial.ttf it works just fine. When I try
to get it from my project resource folder it is not
I tried this solution editing the font:
http://itext-general.2136553.n4.nabble.com/Error-message-td2166291.html
but the copy is not corrupt, the ttf gets corrupted after I run the code
above. I did add some fields with the FPedit, but the problem still
2013/7/10 André Fróes arfmor...@gmail.com
Hi Valentin, thanks for the reply. I found the problem here, I miss read
the solution in the previous link I`ve sent, maven was indeed corrupting
the fonts, so I took the filter out, that solved my problem. I`m still
running some tests, but until now, it is working properly.
Best regards
André
Hello everyone, im facing a problem here that I dont know how to solve. I
want to add form components to my table dynamically, for that, im following
this java that i found in a previous entry in the mailin list:
I noticed what was missing, fixed already (until now lol, many changes to
be done)
On Thu, Sep 26, 2013 at 12:59 PM, André Fróes arfmor...@gmail.com wrote:
Hello everyone, im facing a problem here that I dont know how to solve. I
want to add form components to my table dynamically
Hello everyone, I am facing a problem here where only one radio is being
generated, and same happens for the textbox. I am attaching an exemplo of
how it is now.
here is my code:
-
cell = new
PdfPCell(defaultFontSelector.process(i.getPrompt()));
I just managed to set the field to read only, i was setting the flag in the
wrong component.
bt2.setChecked(true);
the multiple fields still with problem
On Wed, Oct 2, 2013 at 3:43 PM, André Fróes arfmor...@gmail.com wrote:
Hello everyone, I am facing a problem here where only one radio
Hello everyone, how can I set a table height? I checked that I can set a
cell minimumHeight, but I cant find anything like in the table options.
--
October Webinars: Code for Performance
Free Intel webinars can help you
Hello everyone, I am trying to create a font from a byte[] but it seems
that it gets corrupted.
I followed this entry:
http://www.mail-archive.com/itext-questions@lists.sourceforge.net/msg02588.html
but when I try to use it, in the moment of creation, i get this message:
later anyway.
Best regards,
alexis
On 3 October 2013 21:32, André Fróes arfmor...@gmail.com wrote:
Hello everyone, I am trying to create a font from a byte[] but it seems
that it gets corrupted.
I followed this entry:
http://www.mail-archive.com/itext-questions@lists.sourceforge.net
Hello everyone, recently the company that i work for started to create
systems to china, and they have an old but very good lib of itext, version
2.1.7 that works like a charm, but it doesn`t display chinese characters.
How can I achieve that? I did some research and found out about
itext-asian,
As Paulo said, yo uneed the ARIALUNI.TTF to make it works.
To solve that problem, which I had about 3 months ago, I added that font to
my resources and referenced to it.
private FontSelector createFont(){
BaseFont baseFont = BaseFont.createFont(
Which version are you using? Could you send the full stack?
By declaring the way you did, no exception should be displayed.
These are the constructors:
http://api.itextpdf.com/itext/com/itextpdf/text/pdf/PdfPTable.html#PdfPTable()
Live example provided by itext:
15 matches
Mail list logo