Package-level declarations
Types
Base class for all content editing undo/redo actions. All edits need the id of the affected text block 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.
Edit representing a change to the line spacing of a text block in content editing mode.
Content Editing undo-edit object for text block move/resize operations (mainly from drag & drop).