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

@@ -9,18 +9,31 @@ namespace Poco {
namespace PDF {
AttributedString::AttributedString()
AttributedString::AttributedString():
_align(ALIGN_LEFT),
_style(STYLE_PLAIN),
_fontName("Helvetica"),
_fontSize(10)
{
}
AttributedString::AttributedString(const char* content): _content(content)
AttributedString::AttributedString(const char* content):
_content(content),
_align(ALIGN_LEFT),
_style(STYLE_PLAIN),
_fontName("Helvetica"),
_fontSize(10)
{
}
AttributedString::AttributedString(const std::string& content, Alignment align, int style):
_content(content), _align(align), _style(static_cast<Style>(style))
_content(content),
_align(align),
_style(static_cast<Style>(style)),
_fontName("Helvetica"),
_fontSize(10)
{
}