14 #include "scribusapi.h"
20 #include "styles/charstyle.h"
21 #include "styles/paragraphstyle.h"
42 ScLayout_HyphenationPossible=128,
43 ScLayout_DropCap = 2048,
44 ScLayout_SuppressSpace = 4096,
45 ScLayout_SoftHyphenVisible=8192,
46 ScLayout_StartOfLine = 16384
64 GlyphLayout() : xadvance(0.0f), yadvance(0.0f), xoffset(0.0f), yoffset(0.0f),
65 scaleV(1.0), scaleH(1.0), glyph(0), more(NULL)
67 GlyphLayout(
const GlyphLayout& o) : xadvance(o.xadvance), yadvance(o.yadvance), xoffset(o.xoffset), yoffset(o.yoffset),
68 scaleV(o.scaleH), scaleH(o.scaleV), glyph(o.glyph), more(NULL)
100 virtual void growWithTabLayout();
119 parstyle(NULL), glyph(),
120 embedded(0), mark(NULL), ch() {}
123 parstyle(NULL), glyph(other.glyph),
124 embedded(other.embedded), mark(NULL), ch(other.ch)
129 while (otherLayout->more)
131 layout->more =
new GlyphLayout(*otherLayout->more);
132 layout = layout->more;
133 otherLayout = otherLayout->more;
138 setNewMark(other.mark);
144 bool hasMark(
Mark * MRK = NULL)
const;
145 QList<PageItem*> getGroupedItems(
ScribusDoc *doc);
148 void setNewMark(
Mark* mrk);
157 enum FirstLineOffsetPolicy
159 FLOPRealGlyphHeight = 0,
166 #endif // SCTEXTSTRUCT_H
Definition: sctextstruct.h:103
Definition: charstyle.h:78
Definition: sctextstruct.h:109
Definition: paragraphstyle.h:27
the Document Class
Definition: scribusdoc.h:90
Definition: pageitem.h:92
Definition: sctextstruct.h:54