This forum has been archived. All content is frozen. Please use KDE Discuss instead.
Please use bugs.kde.org for bug reports or feature requests. Development related questions should be directed to the okular-devel mailing list.

forms in okular not view in acrobat

Tags: None
(comma "," separated)
dino
Registered Member
Posts
13
Karma
0

forms in okular not view in acrobat

Sun Jun 02, 2013 10:25 am
first, excuse me for my bad english.
I've a problem: when I fill a form in okular it is invisible with acrobat.

I'd bougth quoppa pdf studio and it is ok!

but is there a method to do this in okular?

thank you!

dino


User avatar
google01103
Manager
Posts
6668
Karma
25
did you save the filled in pdf using save as ?


OpenSuse Leap 42.1 x64, Plasma 5.x

dino
Registered Member
Posts
13
Karma
0
the problem is this:
i work in a school and the pdf documents are stored in a server.
when i compile the forms in pdf Okular saves them in a xml file but it is in a local directory on my pc : ~/.kde/share/apps/okular/docdata/
And so when the other teachers go to the file they can't see what I've done and save...

I think the only solution is to save my local directory /docdata on the server but how can I tell Okular to go there and show completed filled forms?

ps. excuse me for my bad english... I hope you will understand what is my problem!
thank you!

dino


User avatar
google01103
Manager
Posts
6668
Karma
25
do the teachers use Okular? if not the XML probably won't be able to be read by them

By default Okular looks for the XML file in the users directory, your teachers instance of Okular will look in their directory not yours even if yours is accessible to them

Try using file -> save as, this will save it as a pdf (I have not tested with forms)
The other option is to file -> export as -> document archive which will create a .okular file (containing the pdf and the XMP files) that is probably only readable by Okular


OpenSuse Leap 42.1 x64, Plasma 5.x

dino
Registered Member
Posts
13
Karma
0
the other teachers use acrobat reader...
I've tried to "save as" but the outcome is the same!! :'(
If they write in the form using acroba I can read that ... but not the contrary! >:(


User avatar
google01103
Manager
Posts
6668
Karma
25
surprised the save as not working but I've never tried it with forms

article listing alternative Linux apps http://www.makeuseof.com/tag/4-best-linux-pdf-viewers/


OpenSuse Leap 42.1 x64, Plasma 5.x

lueck
Mentor
Posts
225
Karma
2
dino wrote:I've a problem: when I fill a form in okular it is invisible with acrobat.
I'd bougth quoppa pdf studio and it is ok!
but is there a method to do this in okular?


It works here with okular from upcoming kde 4.11 release.
But this feature relies only on the poppler library used by okular.
Okular with the latest stable version of poppler (0.22.5) should work,
maybe even with lower poppler versions.
You can ask on irc #poppler which version of poppler supports this feature.
dino
Registered Member
Posts
13
Karma
0
now I go to virtualize a kubuntu 13.10 http://cdimage.ubuntu.com/kubuntu/daily-live/current/
and test these new updates..
thank you!
---------------------------------
nothing to do....
but now I hav an answer from okular:
"this document contains XFA forms, which are not supported"

ok! I will wait for a new situation!

thank you!


User avatar
Hans
Administrator
Posts
3304
Karma
24
OS
See http://docs.kde.org/stable/en/kdegraphi ... tions.html for more information about Okular annotations (I guess it's the same with forms).

Since Okular 0.15 you can also save annotations directly into PDF files. This feature is only available if Okular has been built with version 0.20 or later of Poppler rendering library. You can use File → Save As... to save the copy of PDF file with annotations.


Before Okular had this feature I had success with saving annotations using PDF-XChange Viewer running in Wine.


Problem solved? Please click on "Accept this answer" below the post with the best answer to mark your topic as solved.

10 things you might want to do in KDE | Open menu with Super key | Mouse shortcuts
dino
Registered Member
Posts
13
Karma
0
In my kubuntu 13.10 I've attempted to do this -> save as
and I've poppler 0.22
.....This feature is only available if Okular has been built with version 0.20 or later

but the result is not so good: in my gmail if I want only see it in the browser I see the text too...
but if I download the document and I open it with acrobat I can't see anything!
it is the mystery... where are the data?


User avatar
google01103
Manager
Posts
6668
Karma
25
what plugin is used in your browser?

why not just use Adobe Acrobat for Linux?


OpenSuse Leap 42.1 x64, Plasma 5.x

User avatar
google01103
Manager
Posts
6668
Karma
25
fyi - I dl'ed aa Acrobat PDF, form opened it in Okular, filled in some fields, saved it with "save as" and then opened it in Windows using the Sumatra PDF reader and the text I added does show, so it does work (1st time I tried it btw).


OpenSuse Leap 42.1 x64, Plasma 5.x

User avatar
Hans
Administrator
Posts
3304
Karma
24
OS
I just tried it as well: filled the form in Okular and saved it using Save As. The results could be viewed in PDF-Xchange Viewer (Wine), but not Adobe Reader (Linux). Weird.

So it seems like the data is saved to the PDF file but Adobe Reader/Acrobat doesn't display it (I have no clue why; the PDF standard seems pretty messy). A workaround is to use Adobe Reader to fill in the forms - in that case all PDF readers I tried (Adobe Reader, Okular, PDF-Xchange Viewer) can view the forms.


Problem solved? Please click on "Accept this answer" below the post with the best answer to mark your topic as solved.

10 things you might want to do in KDE | Open menu with Super key | Mouse shortcuts
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
@dino: You need to ask the Kubuntu packagers if they can provide a version of Okular which has been compiled against a newer Poppler in this case.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
dino
Registered Member
Posts
13
Karma
0
It's not a problem on Kubuntu. I think that we must only wait for a new version of poppler. on my computer is the 0.22 the newest. as say Hans:
So it seems like the data is saved to the PDF file but Adobe Reader/Acrobat doesn't display it (I have no clue why; the PDF standard seems pretty messy). A workaround is to use Adobe Reader to fill in the forms - in that case all PDF readers I tried (Adobe Reader, Okular, PDF-Xchange Viewer) can view the forms.
the problem is Acrobat!!!




Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], Sogou [Bot], Yahoo [Bot]