Bug 338374

Summary: Request for continuous updating of annotation file
Product: [Applications] okular Reporter: Michael Cole <kde>
Component: generalAssignee: Okular developers <okular-devel>
Status: RESOLVED INTENTIONAL    
Severity: wishlist CC: aacid
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Debian testing   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

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.