#ifndef HTMLPARAMETERS_H
#define HTMLPARAMETERS_H
#include
namespace HTML
{
struct THTMLParameters
{
std::wstring m_sGenres; // Genres
std::wstring m_sAuthors; // Authors
std::wstring m_sBookTitle; // Title
std::wstring m_sDate; // Date
std::wstring m_sDescription; // Description
std::wstring m_sLanguage; // Language
bool m_bNeedPageBreakBefore; // New html from new page
std::wstring m_sdocDefaults; // docDefaults style
std::wstring m_sNormal; // normal style
THTMLParameters() : m_bNeedPageBreakBefore(false) {}
void SetNormal(const std::wstring& sStyle)
{
m_sNormal = sStyle;
}
void SetDocDefaults(const std::wstring& sStyle)
{
m_sdocDefaults = sStyle;
}
void SetPageBreakBefore(bool bNeed)
{
m_bNeedPageBreakBefore = bNeed;
}
void SetDate(const std::wstring& sDate)
{
m_sDate = sDate;
}
void SetDescription(const std::wstring& sDescription)
{
m_sDescription = sDescription;
}
void SetGenres(const std::wstring& sGenres)
{
m_sGenres = sGenres;
}
void SetAuthors(const std::wstring& sAuthors)
{
m_sAuthors = sAuthors;
}
void SetTitle(const std::wstring& sTitle)
{
m_sBookTitle = sTitle;
}
void SetLanguage(const std::wstring& sLanguage)
{
m_sLanguage = sLanguage;
}
};
}
#endif // HTMLPARAMETERS_H