Class ContentEditingNativeChangeEdit

  • All Implemented Interfaces:
    com.pspdfkit.undo.edit.Edit

    
    public final class ContentEditingNativeChangeEdit
    extends ContentEditingEdit
                        

    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)