Files
core/ASCOfficeDocFile/DocDocxConverter/ParagraphPropertiesMapping.h
Elen.Subbotina 73639be90e DocFormat - bug #31788
git-svn-id: svn://fileserver/activex/AVS/Sources/TeamlabOffice/trunk/ServerComponents@68583 954022d7-b5bf-4e40-9824-e11837661b57
2016-05-21 00:59:21 +03:00

41 lines
1.3 KiB
C++

#pragma once
#include "IMapping.h"
#include "PropertiesMapping.h"
#include "CharacterPropertyExceptions.h"
#include "StyleSheetMapping.h"
#include "SectionPropertiesMapping.h"
#include "ConversionContext.h"
#include "TabDescriptor.h"
#include "LineSpacingDescriptor.h"
#include "WordDocument.h"
namespace DocFileFormat
{
class ParagraphPropertiesMapping: public PropertiesMapping, public IMapping
{
public:
ParagraphPropertiesMapping( XmlUtils::CXmlWriter* writer, ConversionContext* ctx, WordDocument* document, CharacterPropertyExceptions* paraEndChpx, bool isBidi, bool isParagraphStyleNeeded = true );
ParagraphPropertiesMapping( XmlUtils::CXmlWriter* writer, ConversionContext* ctx, WordDocument* document, CharacterPropertyExceptions* paraEndChpx, bool isBidi, SectionPropertyExceptions* sepx, int sectionNr, bool isParagraphStyleNeeded = true );
virtual ~ParagraphPropertiesMapping();
void Apply(IVisitable* visited);
int get_section_page_break();
private:
WordDocument* m_document;
ConversionContext* m_context;
XMLTools::XMLElement<wchar_t>* _pPr;
XMLTools::XMLElement<wchar_t>* _framePr;
SectionPropertyExceptions* _sepx;
CharacterPropertyExceptions* _paraEndChpx;
int _sectionNr;
bool _isParagraphStyleNeeded;
bool _isBidi;
int _isSectionPageBreak;
};
}