Back to index

scribus-ng  1.3.4.dfsg+svn20071115
Classes | Typedefs | Enumerations | Functions
scribusstructs.h File Reference
#include <qvaluestack.h>
#include <qvaluelist.h>
#include <qvaluevector.h>
#include <qstring.h>
#include <qaction.h>
#include <qkeysequence.h>
#include <vector>
#include "scribusapi.h"
#include "sctextstruct.h"
#include "scfonts.h"
#include "fpointarray.h"
#include "vgradient.h"
#include "annotation.h"
#include "pageitem.h"

Go to the source code of this file.

Classes

struct  RGBColor
struct  CMYKColor
struct  CopyPasteBuffer
struct  CopyContentsBuffer
class  MarginStruct
 Pagemargins and bleeds. More...
struct  DocPagesSetup
struct  PageSet
struct  CMSData
struct  SingleLine
struct  ArrowDesc
struct  Layer
struct  PDFPresentationData
struct  LPIData
struct  Keys
struct  PrintOptions
class  multiLine
struct  AlignObjs
struct  Linked
 from ols scribusXml More...
class  LastStyles

Typedefs

typedef QMap< QString, QString > ProfilesL
typedef QMap< PreflightError, interrorCodes
typedef QValueList< double > Guides
 Common type for guides list.

Enumerations

enum  PreflightError {
  MissingGlyph = 1, TextOverflow = 2, ObjectNotOnPage = 3, MissingImage = 4,
  ImageDPITooLow = 5, Transparency = 6, PDFAnnotField = 7, PlacedPDF = 8,
  ImageDPITooHigh = 9, ImageIsGIF = 10, BlendMode = 11, WrongFontInAnnotation = 12
}
enum  AppMode {
  modeNormal, modeDrawShapes, modeStoryEditor, modeDrawPicture,
  modeDrawText, modeMagnifier, modeEdit, modeDrawLine,
  modeRotation, modeLinkFrames, modeUnlinkFrames, modeDrawRegularPolygon,
  modeDrawBezierLine, modeInsertPDFButton, modeInsertPDFTextfield, modeInsertPDFCheckbox,
  modeInsertPDFCombobox, modeInsertPDFListbox, modeInsertPDFTextAnnotation, modeInsertPDFLinkAnnotation,
  modeDrawFreehandLine, modeDrawTable, modePanning, modeMeasurementTool,
  modeEditGradientVectors, modeEyeDropper, modeCopyProperties
}
enum  PageOrientation { portraitPage = 0, landscapePage = 1, customPage = 30 }
 Human readable orientations. More...

Functions

bool SCRIBUS_API compareDouble (double, double)

Class Documentation

struct CopyPasteBuffer

Definition at line 49 of file scribusstructs.h.

Class Members
QString AnName
bool AspectRatio
double BaseOffs
double BExtra
bool BottomLine
int BottomLinkID
QPointArray Clip
bool ClipEdited
double ColGap
int Cols
FPointArray ContourLine
double DashOffset
QValueList< double > DashValues
QString EmProfile
int endArrowIndex
double Extra
int ExtraV
VGradient fill_gradient
int FillRule
bool flippedH
bool flippedV
int FrameType
QString GrColor
QString GrColor2
double GrEndX
double GrEndY
QValueStack< int > Groups
int GrShade
int GrShade2
double GrStartX
double GrStartY
int GrType
QString guiLanguage
double Height
QString IFont
QString IProfile
int IRender
bool isBookmark
int ISize
bool isPrintable
bool isTableItem
QString itemText
QString Language
int LayerNr
bool LeftLine
int LeftLinkID
double LineSp
int LineSpMode
double LocalScX
double LocalScY
double LocalX
double LocalY
bool Locked
bool LockRes
Annotation m_annotation
bool m_isAnnotation
QString NamedLStyle
ObjAttrVector pageItemAttributes
QString pattern
double patternOffsetX
double patternOffsetY
double patternRotation
double patternScaleX
double patternScaleY
QString Pcolor
QString Pcolor2
QString Pfile
QString Pfile2
QString Pfile3
bool PicArt
int PLineArt
int PLineEnd
int PLineJoin
FPointArray PoLine
bool PoShow
ItemType PType
double Pwidth
double RadRect
bool Reverse
double RExtra
bool RightLine
int RightLinkID
double Rot
bool ScaleType
int Shade
int Shade2
int ShTxtFill
int ShTxtStroke
int startArrowIndex
QValueList< TabRecord > TabValues
int textAlignment
int TextflowMode
bool textPathFlipped
int textPathType
double TExtra
bool TopLine
int TopLinkID
int TransBlend
int TransBlendS
double Transparency
double TranspStroke
int TxTBase
QString TxtFill
int TxtOutline
int TxtScale
int TxtScaleV
int TxtShadowX
int TxtShadowY
int TxtStrikePos
int TxtStrikeWidth
QString TxtStroke
int TxTStyle
int TxtUnderPos
int TxtUnderWidth
bool UseEmbedded
double Width
double Xpos
double Ypos
struct CopyContentsBuffer

Definition at line 171 of file scribusstructs.h.

Class Members
QString contentsFileName
QString inputProfile
double ItemX
double ItemY
double LocalScX
double LocalScY
double LocalX
double LocalY
int renderingIntent
ItemType sourceType
bool useEmbedded
struct PageSet

Definition at line 215 of file scribusstructs.h.

Class Members
int Columns
int FirstPage
double GapBelow
double GapHorizontal
double GapVertical
QString Name
QStringList pageNames
int Rows
struct CMSData

Definition at line 227 of file scribusstructs.h.

Class Members
bool BlackPoint
bool CMSinUse
int ComponentsInput2
int ComponentsInput3
int ComponentsPrinter
QString DefaultImageCMYKProfile
QString DefaultImageRGBProfile
int DefaultIntentColors
int DefaultIntentImages
QString DefaultMonitorProfile
QString DefaultPrinterProfile
QString DefaultSolidColorCMYKProfile
QString DefaultSolidColorRGBProfile
bool GamutCheck
bool SoftProofFullOn
bool SoftProofOn
struct ArrowDesc

Definition at line 277 of file scribusstructs.h.

Class Members
QString name
FPointArray points
bool userArrow
struct Layer

Definition at line 284 of file scribusstructs.h.

Class Members
int blendMode
bool flowControl
bool isEditable
bool isPrintable
bool isViewable
int Level
int LNr
QColor markerColor
QString Name
bool outlineMode
double transparency
struct PDFPresentationData

Definition at line 299 of file scribusstructs.h.

Class Members
int Di
int Dm
int effectType
int M
int pageEffectDuration
int pageViewDuration
struct LPIData

Definition at line 309 of file scribusstructs.h.

Class Members
int Angle
int Frequency
int SpotFunc
struct Keys

Definition at line 316 of file scribusstructs.h.

Class Members
QString actionName
QString cleanMenuText
QKeySequence keySequence
QString menuName
int menuPos
int tableRow
struct PrintOptions

Definition at line 326 of file scribusstructs.h.

Collaboration diagram for PrintOptions:
Class Members
QStringList allSeparations
bool bleedMarks
MarginStruct bleeds
bool colorMarks
int copies
bool cropMarks
bool doClip
bool doGCR
bool doOverprint
QString filename
bool firstUse
double markOffset
bool mirrorH
bool mirrorV
bool outputSeparations
vector< int > pageNumbers
QString printer
QString printerCommand
QString printerOptions
int PSLevel
bool registrationMarks
QString separationName
bool setDevParam
bool toFile
bool useAltPrintCommand
bool useColor
bool useICC
bool useSpotColors
struct AlignObjs

Definition at line 418 of file scribusstructs.h.

Class Members
int Group
double height
QPtrList< PageItem > Objects
int ObjNr
double width
double x1
double x2
double y1
double y2
struct Linked

from ols scribusXml

Definition at line 443 of file scribusstructs.h.

Class Members
int Start
int StPag

Typedef Documentation

typedef QMap<PreflightError, int> errorCodes

Definition at line 385 of file scribusstructs.h.

typedef QValueList<double> Guides

Common type for guides list.

Definition at line 440 of file scribusstructs.h.

typedef QMap<QString,QString> ProfilesL

Definition at line 358 of file scribusstructs.h.


Enumeration Type Documentation

enum AppMode
Enumerator:
modeNormal 
modeDrawShapes 
modeStoryEditor 
modeDrawPicture 
modeDrawText 
modeMagnifier 
modeEdit 
modeDrawLine 
modeRotation 
modeLinkFrames 
modeUnlinkFrames 
modeDrawRegularPolygon 
modeDrawBezierLine 
modeInsertPDFButton 
modeInsertPDFTextfield 
modeInsertPDFCheckbox 
modeInsertPDFCombobox 
modeInsertPDFListbox 
modeInsertPDFTextAnnotation 
modeInsertPDFLinkAnnotation 
modeDrawFreehandLine 
modeDrawTable 
modePanning 
modeMeasurementTool 
modeEditGradientVectors 
modeEyeDropper 
modeCopyProperties 

Definition at line 387 of file scribusstructs.h.

Human readable orientations.

Enumerator:
portraitPage 
landscapePage 
customPage 

Definition at line 432 of file scribusstructs.h.

Enumerator:
MissingGlyph 
TextOverflow 
ObjectNotOnPage 
MissingImage 
ImageDPITooLow 
Transparency 
PDFAnnotField 
PlacedPDF 
ImageDPITooHigh 
ImageIsGIF 
BlendMode 
WrongFontInAnnotation 

Definition at line 370 of file scribusstructs.h.


Function Documentation

bool SCRIBUS_API compareDouble ( double  ,
double   
)

Definition at line 1104 of file util.cpp.

{
       if(a > -21473 && b > -21473 && a < 21474 && b < 21474)
       {
              long al = static_cast<long>(10000 * a);
              long bl = static_cast<long>(10000 * b);
              return al == bl;
       }
       return a == b;
}

Here is the caller graph for this function: