LibreOffice Module writerfilter (master) 1
Classes | Namespaces | Macros | Functions
DomainMapperTableHandler.cxx File Reference
#include <sal/config.h>
#include <string_view>
#include "DomainMapperTableHandler.hxx"
#include "DomainMapper_Impl.hxx"
#include "StyleSheetTable.hxx"
#include <com/sun/star/beans/TolerantPropertySetResultType.hpp>
#include <com/sun/star/beans/XTolerantMultiPropertySet.hpp>
#include <com/sun/star/style/ParagraphAdjust.hpp>
#include <com/sun/star/table/TableBorderDistances.hpp>
#include <com/sun/star/table/TableBorder.hpp>
#include <com/sun/star/table/BorderLine2.hpp>
#include <com/sun/star/table/BorderLineStyle.hpp>
#include <com/sun/star/table/XCellRange.hpp>
#include <com/sun/star/text/HoriOrientation.hpp>
#include <com/sun/star/text/SizeType.hpp>
#include <com/sun/star/text/TextContentAnchorType.hpp>
#include <com/sun/star/text/WritingMode2.hpp>
#include <com/sun/star/text/XTextField.hpp>
#include <com/sun/star/text/XTextRangeCompare.hpp>
#include <com/sun/star/beans/XPropertySet.hpp>
#include <com/sun/star/beans/XPropertyState.hpp>
#include <com/sun/star/container/XEnumeration.hpp>
#include <com/sun/star/container/XEnumerationAccess.hpp>
#include <com/sun/star/drawing/FillStyle.hpp>
#include "TablePositionHandler.hxx"
#include "TagLogger.hxx"
#include "util.hxx"
#include <osl/diagnose.h>
#include <sal/log.hxx>
#include <comphelper/diagnose_ex.hxx>
#include <comphelper/sequence.hxx>
#include <comphelper/propertyvalue.hxx>
#include <com/sun/star/lang/IndexOutOfBoundsException.hpp>
#include <com/sun/star/style/BreakType.hpp>
#include <officecfg/Office/Writer.hxx>
#include "PropertyMapHelper.hxx"
#include <rtl/ustring.hxx>
#include <utility>
Include dependency graph for DomainMapperTableHandler.cxx:

Go to the source code of this file.

Classes

struct  writerfilter::dmapper::TableInfo
 

Namespaces

namespace  writerfilter
 
namespace  writerfilter::dmapper
 

Macros

#define DEF_BORDER_DIST   190
 
#define CNF_FIRST_ROW   0x800
 
#define CNF_LAST_ROW   0x400
 
#define CNF_FIRST_COLUMN   0x200
 
#define CNF_LAST_COLUMN   0x100
 
#define CNF_ODD_VBAND   0x080
 
#define CNF_EVEN_VBAND   0x040
 
#define CNF_ODD_HBAND   0x020
 
#define CNF_EVEN_HBAND   0x010
 
#define CNF_FIRST_ROW_LAST_COLUMN   0x008
 
#define CNF_FIRST_ROW_FIRST_COLUMN   0x004
 
#define CNF_LAST_ROW_LAST_COLUMN   0x002
 
#define CNF_LAST_ROW_FIRST_COLUMN   0x001
 
#define CNF_ALL   0xFFF
 
#define MAXTABLECELLS   63
 

Functions

static void writerfilter::dmapper::lcl_mergeBorder (PropertyIds nId, const PropertyMapPtr &pOrig, const PropertyMapPtr &pDest)
 
static void writerfilter::dmapper::lcl_computeCellBorders (const PropertyMapPtr &pTableBorders, const PropertyMapPtr &pCellProps, sal_uInt32 nCell, sal_uInt32 nFirstCell, sal_uInt32 nLastCell, sal_Int32 nRow, bool bIsEndRow, bool bMergedVertically)
 
static void writerfilter::dmapper::lcl_debug_BorderLine (table::BorderLine const &rLine)
 
static void writerfilter::dmapper::lcl_debug_TableBorder (table::TableBorder const &rBorder)
 
static bool writerfilter::dmapper::lcl_hideMarks (PropertyMapVector1 &rCellProperties)
 Do all cells in this row have a CellHideMark property? More...
 
static bool writerfilter::dmapper::lcl_emptyRow (std::vector< RowSequence_t > &rTableRanges, sal_Int32 nRow)
 Are all cells in this row empty? More...
 
static bool writerfilter::dmapper::isAbsent (const std::vector< beans::PropertyValue > &propvals, const OUString &name)
 
static void writerfilter::dmapper::lcl_convertFormulaRanges (const uno::Reference< text::XTextTable > &xTable)
 

Macro Definition Documentation

◆ CNF_ALL

#define CNF_ALL   0xFFF

Definition at line 82 of file DomainMapperTableHandler.cxx.

◆ CNF_EVEN_HBAND

#define CNF_EVEN_HBAND   0x010

Definition at line 77 of file DomainMapperTableHandler.cxx.

◆ CNF_EVEN_VBAND

#define CNF_EVEN_VBAND   0x040

Definition at line 75 of file DomainMapperTableHandler.cxx.

◆ CNF_FIRST_COLUMN

#define CNF_FIRST_COLUMN   0x200

Definition at line 72 of file DomainMapperTableHandler.cxx.

◆ CNF_FIRST_ROW

#define CNF_FIRST_ROW   0x800

Definition at line 70 of file DomainMapperTableHandler.cxx.

◆ CNF_FIRST_ROW_FIRST_COLUMN

#define CNF_FIRST_ROW_FIRST_COLUMN   0x004

Definition at line 79 of file DomainMapperTableHandler.cxx.

◆ CNF_FIRST_ROW_LAST_COLUMN

#define CNF_FIRST_ROW_LAST_COLUMN   0x008

Definition at line 78 of file DomainMapperTableHandler.cxx.

◆ CNF_LAST_COLUMN

#define CNF_LAST_COLUMN   0x100

Definition at line 73 of file DomainMapperTableHandler.cxx.

◆ CNF_LAST_ROW

#define CNF_LAST_ROW   0x400

Definition at line 71 of file DomainMapperTableHandler.cxx.

◆ CNF_LAST_ROW_FIRST_COLUMN

#define CNF_LAST_ROW_FIRST_COLUMN   0x001

Definition at line 81 of file DomainMapperTableHandler.cxx.

◆ CNF_LAST_ROW_LAST_COLUMN

#define CNF_LAST_ROW_LAST_COLUMN   0x002

Definition at line 80 of file DomainMapperTableHandler.cxx.

◆ CNF_ODD_HBAND

#define CNF_ODD_HBAND   0x020

Definition at line 76 of file DomainMapperTableHandler.cxx.

◆ CNF_ODD_VBAND

#define CNF_ODD_VBAND   0x080

Definition at line 74 of file DomainMapperTableHandler.cxx.

◆ DEF_BORDER_DIST

#define DEF_BORDER_DIST   190

Definition at line 69 of file DomainMapperTableHandler.cxx.

◆ MAXTABLECELLS

#define MAXTABLECELLS   63

Definition at line 85 of file DomainMapperTableHandler.cxx.