pdfbox-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andres Martinez Quijano <tulsi...@gmail.com>
Subject Re: field comb
Date Wed, 28 May 2014 13:43:35 GMT
It's already set by the pdf file

PDTextbox an1 = ...
System.out.println(an1.shouldComb()); // outputs true
System.out.println(an1.getMaxLen()); // outputs 9

And it renders the pdf like this:


If I edit the field with evince (https://wiki.gnome.org/Apps/Evince) it
renders it like this (the desired effect)

‚Äč
Any clues?



On Wed, May 28, 2014 at 10:35 AM, Gilad Denneboom <gilad.denneboom@gmail.com
> wrote:

> Did you also set the max length property?
>
>
> On Wed, May 28, 2014 at 2:05 PM, Andres Martinez Quijano <
> tulsidas@gmail.com
> > wrote:
>
> > Hi
> >
> > I have a PDF (which was created with Adobe LiveCycle Designer ES 9.0)
> and I
> > use pdfbox to fill it's forms.
> >
> > I have some particular fields which have combing enabled (i.e.
> > field.shouldComb() == true), but when rendering the PDF with the value,
> it
> > doesn't comb like it should. I saw that the shouldComb() method isn't
> being
> > called anywhere.
> >
> > Am I missing something to be able to render the PDF with combing for
> those
> > fields or it isn't implemented yet? In the latter case, any pointings on
> > how to implement it myself?
> >
> > Thanks
> >
>

Mime
  • Unnamed multipart/related (inline, None, 0 bytes)
View raw message