El Wednesday 02 March 2016, a les 14:26:51, Dmitri Ovodok va escriure: > Hello everyone!
Hi > > I have written a patch which allows user to shift page numbering in > document in order to make it corresponding to actual page numbering in > the book or article. This may be useful, for example, if we have a file > with an article somewhere from the middle of the journal, or we have a > scanned book with shifted page numbering. So, I have two questions: > 1) Will it be useful for anyone else? Honestly i'm not very convinced myself. You may want to try asking in the forum https://forum.kde.org/viewforum.php?f=251 Cheers, Albert > 2) If so, I would like to ask for an advice on the patch structure. I > tried to change as little code as possible, but I am not sure that this > is the best solution here. The point is that currently I notify document > observers of document changing (sending > Okular::DocumentObserver::DocumentChanged flag) just in order to reload > the info about page labels. So, a lot of extra job is done by a program. > > You may find the patch attached to this letter. > > Best regards, > Dmitri Ovodok _______________________________________________ Okular-devel mailing list Okular-devel@kde.org https://mail.kde.org/mailman/listinfo/okular-devel