Foxit PDF SDK
FSParagraphEditingUndoItem Class Reference
Inheritance diagram for FSParagraphEditingUndoItem:
FSBase

Instance Methods

(id) - initWithOther:
 Constructor, with another undo item object.
More...
 
(BOOL) - isEmpty
 Check whether current object is empty or not.
More...
 
(void) - redo
 Redo this item.
More...
 
(void) - undo
 Undo this item.
More...
 

Detailed Description

This class represents be used to when execute undo/redo operation.

Method Documentation

◆ initWithOther:()

- (id) initWithOther: (FSParagraphEditingUndoItem*)  other

Constructor, with another undo item object.

Parameters
[in]otherAnother undo item object.

◆ isEmpty()

- (BOOL) isEmpty

Check whether current object is empty or not.

When the current object is empty, that means current object is useless.

Returns
YES means current object is empty, while NO means not.

◆ redo()

- (void) redo

Redo this item.

Returns
None.

◆ undo()

- (void) undo

Undo this item.

Returns
None.