2 * Copyright 2013, Stephan Aßmus <superstippi@gmx.de>.
3 * All rights reserved. Distributed under the terms of the MIT License.
5 #ifndef PARAGRAPH_STYLE_H
6 #define PARAGRAPH_STYLE_H
8 #include "ParagraphStyleData.h"
11 class ParagraphStyle
{
14 ParagraphStyle(const ParagraphStyle
& other
);
16 ParagraphStyle
& operator=(const ParagraphStyle
& other
);
17 bool operator==(const ParagraphStyle
& other
) const;
18 bool operator!=(const ParagraphStyle
& other
) const;
20 bool SetAlignment(::Alignment alignment
);
21 ::Alignment
Alignment() const;
23 bool SetJustify(bool justify
);
26 bool SetFirstLineInset(float inset
);
27 float FirstLineInset() const;
29 bool SetLineInset(float inset
);
30 float LineInset() const;
32 bool SetLineSpacing(float spacing
);
33 float LineSpacing() const;
35 bool SetSpacingTop(float spacing
);
36 float SpacingTop() const;
38 bool SetSpacingBottom(float spacing
);
39 float SpacingBottom() const;
41 bool SetBullet(const ::Bullet
& bullet
);
42 const ::Bullet
& Bullet() const;
45 ParagraphStyleDataRef fStyleData
;
49 #endif // PARAGRAPH_STYLE_H