Bug 338374 - Request for continuous updating of annotation file
Summary: Request for continuous updating of annotation file
Status: RESOLVED INTENTIONAL
Alias: None
Product: okular
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Debian testing Linux
: NOR wishlist
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-08-19 12:24 UTC by Michael Cole
Modified: 2014-08-20 01:46 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Cole 2014-08-19 12:24:55 UTC
When annotations are made in a pdf (or other file I suppose) the annotation file is updated only on save or close.

I am working on a knowledge discovery/real-time collaboration system and would like to use Okular to continuously update the annotation file as the user makes changes. The annotation file is monitored by the system doing the knowledge representation.

If this can be accomplished by a small hack in the source, I can have a go at it.

Thanks.
Comment 1 Albert Astals Cid 2014-08-19 12:45:42 UTC
That file is going to disappear eventually, don't base any code in it.
Comment 2 Michael Cole 2014-08-19 23:16:22 UTC
(In reply to Albert Astals Cid from comment #1)
> That file is going to disappear eventually, don't base any code in it.

Is there some way to talk directly to Okular to get the current annotations?
Comment 3 Albert Astals Cid 2014-08-19 23:46:23 UTC
You can use the okular library to read annotations yes.
Comment 4 Michael Cole 2014-08-20 01:46:01 UTC
(In reply to Albert Astals Cid from comment #3)
> You can use the okular library to read annotations yes.

Excellent. Time to write some code.

Thanks.