View Single Post
Old 03-04-2012, 10:43 AM   #52
PF4Mobile
Guru
PF4Mobile can teach chickens to fly.PF4Mobile can teach chickens to fly.PF4Mobile can teach chickens to fly.PF4Mobile can teach chickens to fly.PF4Mobile can teach chickens to fly.PF4Mobile can teach chickens to fly.PF4Mobile can teach chickens to fly.PF4Mobile can teach chickens to fly.PF4Mobile can teach chickens to fly.PF4Mobile can teach chickens to fly.PF4Mobile can teach chickens to fly.
 
Posts: 629
Karma: 3526
Join Date: Jun 2011
Device: Kobo Touch, Nook Touch, EEE 800 Note, Entourage PE, finally M92
http://jerous.thimhallan.org/cms/dok...m_sony_prs-350

Onyx and apparently many others are using these to locate the highlighted text

pdfloc(docid,page,line,x1,x2,a,b,c), where

docid: sort of hash, same in the whole document
page: page number, starting at 0
line: indicator. To get real line, do (line-1)/8
x1: nr of characters from start of line
x2: update x1:=x1+2*x2
a: some number, always zero?
b: starting marker (0) or ending marker (1)
c: always 1

If you google #pdfloc you will find links like the one above
this one here is focused on Onyx http://uiorean.ro/Wikka/OnyxBookAnnotations
and I do not think the format for annotations changed.
http://uiorean.ro/Wikka/OnyxBookAnnotations

This code could be used by a programmer to merge the annotations back into the PDF file (if that is not solved by Onyx in the mean time)
PF4Mobile is offline   Reply With Quote