1 /* 2 For general Scribus (>=1.3.2) copyright and licensing information please refer 3 to the COPYING file provided with the program. Following this notice may exist 4 a copyright and/or license notice that predates the release of Scribus 1.3.2 5 for which a new license (GPL+exception) is in place. 6 */ 7 #ifndef USERTASKSTRUCTS_H 8 #define USERTASKSTRUCTS_H 9 10 #include <QString> 11 12 #include "gtgettext.h" 13 #include "pageitem.h" 14 15 struct InsertAFrameData 16 { 17 PageItem::ItemType frameType; 18 int locationType; 19 QString pageList; 20 int positionType; 21 int sizeType; 22 double x; 23 double y; 24 double width; 25 double height; 26 QString source; 27 ImportSetup impsetup; 28 int columnCount; 29 double columnGap; 30 bool linkTextFrames; 31 bool linkToExistingFrame; 32 PageItem* linkToExistingFramePtr; 33 }; 34 35 struct ItemMultipleDuplicateData 36 { 37 int type = 0; 38 int copyCount = 0; 39 int copyShiftOrGap = 0; 40 double copyShiftGapH = 0.0; 41 double copyShiftGapV = 0.0; 42 double copyRotation = 0.0; 43 int gridRows = 0; 44 int gridCols = 0; 45 double gridGapH = 0.0; 46 double gridGapV = 0.0; 47 int pageSelection = 0; // 1 = All, 2 = Even, 3 = Odd, 4 = Range 48 QString pageRange; 49 bool pageLinkText = false; 50 }; 51 52 struct CreateRangeData 53 { 54 QString pageRange; 55 }; 56 57 #endif 58