Package-level declarations
Types
Baseclass for all content editing undo/redo actions. All edits need the id of the affected textblock and also the pageIndex on which the edit happened, so that we can scroll there, if required.
Any content changes made by the NativeContentEditor (which is text-change and change of style (font, textcolor, textsize)) can simply be un-/redone by calling NativeContentEditingCommand.RESTORE with a specific HistoryIndex and the id of the textblock. Additionally the isDeleted
flag of the textblock is by this class, too (since deletion of a textblock always goes in context with deleting all the block's text)
Content editing undo-edit for text alignment changes.
Content Editing undo-edit object for textblock move/resize operations (mainly from drag & drop)