Files
core/ASCOfficeOdtFile/Source/OdtFormat/Content/Tab.cpp

72 lines
910 B
C++

// auto inserted precompiled begin
#include "precompiled_odtformat.h"
// auto inserted precompiled end
#include "Tab.h"
namespace Odt
{
namespace Content
{
Tab::Tab()
{
}
Tab::~Tab()
{
}
Tab::Tab(const XML::XNode& node)
{
fromXML(node);
}
Tab::Tab(const std::string& text)
{
fromTxt(text);
}
const Tab& Tab::operator =(const XML::XNode& node)
{
fromXML(node);
return *this;
}
const Tab& Tab::operator =(const std::string& text)
{
fromTxt(text);
return *this;
}
void Tab::fromXML(const XML::XNode& node)
{
}
void Tab::fromTxt(const std::string& text)
{
}
const XML::XNode Tab::toXML() const
{
return XML::XElement(ns.text + "tab");
}
const std::string Tab::toTxt() const
{
return "\t";
}
} // namespace Content
} // namespace Odt