public class SnappingDraft
Contains Pages and naming metadata necessary for document creation
| Modifier and Type | Field and Description |
|---|---|
static android.os.Parcelable.Creator<net.doo.snap.entity.SnappingDraft> |
CREATOR |
| Constructor and Description |
|---|
SnappingDraft() |
SnappingDraft() |
| Modifier and Type | Method and Description |
|---|---|
void |
addPage()
Adds page in the end
|
void |
addPage()
Adds page to given position
|
void |
deletePage()
Deletes Page at given position
|
void |
deletePage()
Deletes Page if possible
|
int |
describeContents() |
java.lang.String |
getDocumentName() |
Page |
getPage() |
java.util.List<net.doo.snap.entity.Page> |
getPages() |
int |
getPosition() |
boolean |
isCombined() |
boolean |
isEmpty() |
void |
replacePage()
Replaces page at given position with new page
|
void |
setCombined() |
void |
setDocumentName() |
int |
size() |
void |
writeToParcel() |
public static android.os.Parcelable.Creator<net.doo.snap.entity.SnappingDraft> CREATOR
public void addPage()
Adds page in the end
public void addPage()
Adds page to given position
public void replacePage()
Replaces page at given position with new page
public Page getPage()
public void deletePage()
Deletes Page at given position
public void deletePage()
Deletes Page if possible
public int getPosition()
public int size()
public boolean isEmpty()
true if the holder has more than 0 pages, false otherwisepublic java.util.List<net.doo.snap.entity.Page> getPages()
public java.lang.String getDocumentName()
public void setDocumentName()
public boolean isCombined()
true if draft should be saved as one document, false - otherwisepublic void setCombined()
public int describeContents()
public void writeToParcel()