make PDF build with VS2008

This commit is contained in:
Günter Obiltschnig
2018-03-07 10:14:49 +01:00
parent 4f562c0e6b
commit 4a6a1a980b
52 changed files with 1025 additions and 769 deletions

View File

@@ -55,10 +55,10 @@ public:
private:
std::string _content;
Alignment _align = ALIGN_LEFT;
int _style = STYLE_PLAIN;
std::string _fontName = "Helvetica";
int _fontSize = 10;
Alignment _align;
int _style;
std::string _fontName;
int _fontSize;
};

View File

@@ -58,13 +58,13 @@ public:
void draw(Page& page, float x, float y, float width, float height);
private:
AttributedString _content = "";
std::string _name = "";
unsigned _outline = OUTLINE_NONE;
float _lineWidth = 1.0f;
AttributedString _content;
std::string _name;
unsigned _outline;
float _lineWidth;
FontMapPtr _pFontMap;
std::string _encoding = "UTF-8";
bool _trueType = true;
std::string _encoding;
bool _trueType;
};