Example FillDynamicXfa2

View: New views
13 Messages — Rating Filter:   Alert me  

Example FillDynamicXfa2

by claud108 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

After using this example (http://1t3xt.info/examples/browse/?page=example&id=441) on a form that was possible to be filled and saved by user, it is not possible to fill it again.

It appears the message:
"This document contained certain rights to enable special features in Adobe Reader. The document has been changed since it was created and these rights are no longer valid. Please contact the author for the original version of this document."

I want to be able to modify again the fields.


Thank you,
Claudius

Re: Example FillDynamicXfa2

by 1T3XT info :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

claud108 wrote:

> Hi,
>
> After using this example
> (http://1t3xt.info/examples/browse/?page=example&id=441) on a form that was
> possible to be filled and saved by user, it is not possible to fill it
> again.
>
> It appears the message:
> "This document contained certain rights to enable special features in Adobe
> Reader. The document has been changed since it was created and these rights
> are no longer valid. Please contact the author for the original version of
> this document."
>
> I want to be able to modify again the fields.

Read: http://1t3xt.be/?X000403


------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
iText-questions mailing list
iText-questions@...
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/

Re: Example FillDynamicXfa2

by 1T3XT info :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

claud108 wrote:

> Hi,
>
> After using this example
> (http://1t3xt.info/examples/browse/?page=example&id=441) on a form that was
> possible to be filled and saved by user, it is not possible to fill it
> again.
>
> It appears the message:
> "This document contained certain rights to enable special features in Adobe
> Reader. The document has been changed since it was created and these rights
> are no longer valid. Please contact the author for the original version of
> this document."

In case my earlier response didn't reach the list:
read http://1t3xt.be/?X000403
--
This answer is provided by 1T3XT BVBA
http://www.1t3xt.com/ - http://www.1t3xt.info

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
iText-questions mailing list
iText-questions@...
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/

Re: Example FillDynamicXfa2

by claud108 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Thank you very much for your answer.

I missed that subtlety of stamper ;)

But I want to keep the Usage Rights AND update the XFA of the PDF document.

Is this possible?

Claudius

Re: Example FillDynamicXfa2

by 1T3XT info :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

claud108 wrote:
> Thank you very much for your answer.
>
> I missed that subtlety of stamper ;)
>
> But I want to keep the Usage Rights AND update the XFA of the PDF document.
>
> Is this possible?

Only if you throw some work at it.
--
This answer is provided by 1T3XT BVBA
http://www.1t3xt.com/ - http://www.1t3xt.info

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
iText-questions mailing list
iText-questions@...
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/

Re: Example FillDynamicXfa2

by claud108 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I wonder why with this example
http://www.1t3xt.info/examples/browse/?page=example&id=348
(which uses AcroFields), is possible to maintain the usage rights, while by using this example
http://1t3xt.info/examples/browse/?page=example&id=441
(which uses XfaForm), this is not possible.

Thank you,
Claudius

Re: Example FillDynamicXfa2

by Leonard Rosenthol-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Because one uses AcroForms and one uses XFA...

Leonard

-----Original Message-----
From: claud108 [mailto:claud108@...]
Sent: Tuesday, October 27, 2009 2:28 PM
To: itext-questions@...
Subject: Re: [iText-questions] Example FillDynamicXfa2


I wonder why with this example
http://www.1t3xt.info/examples/browse/?page=example&id=348
(which uses AcroFields), is possible to maintain the usage rights, while by
using this example
http://1t3xt.info/examples/browse/?page=example&id=441
(which uses XfaForm), this is not possible.

Thank you,
Claudius
--
View this message in context: http://www.nabble.com/Example-FillDynamicXfa2-tp26077058p26082723.html
Sent from the iText - General mailing list archive at Nabble.com.


------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
iText-questions mailing list
iText-questions@...
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/

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
iText-questions mailing list
iText-questions@...
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/

Re: Example FillDynamicXfa2

by claud108 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

1T3XT BVBA,

Any hint about this work?

I have a really complicated datasets part of XFA to be approached by using AcroFields.

Thank you,
Claudius

Re: Example FillDynamicXfa2

by 1T3XT info :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

claud108 wrote:
> 1T3XT BVBA,
>
> Any hint about this work?

The following sentence is phrased in a very strange way:
> I have a really complicated datasets part of XFA to be approached by using
> AcroFields.

Either drop the XFA and use AcroFields only.
Or drop the AcroFields and use XFA only.
--
This answer is provided by 1T3XT BVBA
http://www.1t3xt.com/ - http://www.1t3xt.info

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
iText-questions mailing list
iText-questions@...
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/

Re: Example FillDynamicXfa2

by claud108 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I would drop gladly AcroFields but, by using XFA, the usage rights are broken.

Claudius

Re: Example FillDynamicXfa2

by 1T3XT info :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

claud108 wrote:
> I would drop gladly AcroFields but, by using XFA, the usage rights are
> broken.

And why is that?

If you work in append mode, you can point to new objects that
logically (not physically) replace the old objects.

I fear we're having a communication problem, due to the fact
that you didn't read the PDF reference. It's as if you're
mixing up all kinds of information.

Please take a few steps back, read the PDF reference,
then you should understand what to do.
--
This answer is provided by 1T3XT BVBA
http://www.1t3xt.com/ - http://www.1t3xt.info

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
iText-questions mailing list
iText-questions@...
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/

Re: Example FillDynamicXfa2

by claud108 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Thank you for your answer.

Taking few steps back, I reiterate my intention, namely to use example FillDynamicXfa2.

While using, I found out that the usage rights are broken. When I used stamper with those two extra parameters for keeping usage rights, no replacement of datasets occurred.

I am just a simple user of iText, and I don't know Java. My focus is on xml, xquery, xpath, etc.

I found out that iText is a powerful and appreciated product, and I want to use it to fill dynamic XFA. It is just a simple adding in this example that would made me (and others) happy.

Thank you very much for all your attention and efforts.

Claudius

Re: Example FillDynamicXfa2

by claud108 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Mea culpa,

FillDynamicXfa2 works wonderfully and maintains the usage rights.

I was working with a form that it seems to not allow filling after changing the datasets, but is the PDF form I have to live with.

When I use the example ReadXfa2 in order to export the XFA, formFieldFilling has value 0, even I am able to fill the fields of the PDF file. And I wonder why?

This is the reason that, after processing the file for add a new datasets, I am not able to fill further for form's fields.


Thank you,
Claudius