AllowNotes=8,///< Allows to add annotations to the document
AllowFillForms=16///< Allows to fill the forms in the document
};
Q_DECLARE_FLAGS(Permissions,Permission)
/**
*Describesthedirectionofsearching.
*/
enumSearchDirection
{
FromTop,///< Searching from top of the page, next result is to be found, there was no earlier search result.
FromBottom,///< Searching from bottom of the page, next result is to be found, there was no earlier search result.
NextResult,///< Searching for the next result on the page, earlier result should be located so we search from the last result not from the beginning of the page.
PreviousResult///< Searching for the previous result on the page, earlier result should be located so we search from the last result not from the beginning of the page.
};
/**
*Arotation.
*/
enumRotation
{
Rotation0=0,///< Not rotated.
Rotation90=1,///< Rotated 90 degrees clockwise.
Rotation180=2,///< Rotated 180 degrees clockwise.
Rotation270=3///< Rotated 2700 degrees clockwise.
};
/**
*Describesthetypeofgenerationofobjects
*/
enumGenerationType
{
Synchronous,///< Will create the object in a synchronous way
Asynchronous///< Will create the object in an asynchronous way
};
/**
*Theside(s)tobeconsideredwhenmergingareas.
*/
enumMergeSide
{
MergeRight=0,///< Merge only if the right side of the first area intersect.
MergeBottom=1,///< Merge only if the bottom side of the first area intersect.
MergeLeft=2,///< Merge only if the left side of the first area intersect.
MergeTop=3,///< Merge only if the top side of the first area intersect.
MergeAll=4///< Merge if the areas intersects, no matter which side(s).