There is no plugin api for the viewer, apart from a very basic one that allows you to create a plugin that can run code on viewer start and document open.
What you wan to do sounds like you want to edit a book, you should use Tweak Book to explode the book into its constituent html and then use whatever html editing tool you like.
|