mirror of
https://github.com/ONLYOFFICE/core.git
synced 2026-07-11 05:24:10 +08:00
git-svn-id: svn://fileserver/activex/AVS/Sources/TeamlabOffice/trunk/ServerComponents@68598 954022d7-b5bf-4e40-9824-e11837661b57
34 lines
789 B
C++
34 lines
789 B
C++
#pragma once
|
|
|
|
#include "DocumentMapping.h"
|
|
#include "TableInfo.h"
|
|
|
|
namespace DocFileFormat
|
|
{
|
|
class TextboxMapping : public DocumentMapping
|
|
{
|
|
public:
|
|
|
|
TextboxMapping(ConversionContext* ctx, int textboxIndex, XmlUtils::CXmlWriter* writer, IMapping* caller);
|
|
TextboxMapping(ConversionContext* ctx, XmlUtils::CXmlWriter* writer, IMapping* caller);
|
|
|
|
virtual ~TextboxMapping();
|
|
virtual void Apply(IVisitable* visited);
|
|
|
|
void SetInset (int nLeft, int nTop, int nRight, int nBottom);
|
|
void SetTextboxStyle(const std::wstring & style);
|
|
|
|
private:
|
|
|
|
static int TextboxCount;
|
|
|
|
int m_nTBIndex;
|
|
|
|
double m_dxTextLeft;
|
|
double m_dyTextTop;
|
|
double m_dxTextRight;
|
|
double m_dyTextBottom;
|
|
|
|
std::wstring m_sTextBoxStyle;
|
|
};
|
|
} |