LibreOffice Module sw (master)  1
Classes | Macros | Typedefs | Functions | Variables
unotext.cxx File Reference
#include <stdlib.h>
#include <memory>
#include <iostream>
#include <set>
#include <utility>
#include <com/sun/star/drawing/XDrawPageSupplier.hpp>
#include <com/sun/star/text/ControlCharacter.hpp>
#include <com/sun/star/text/TableColumnSeparator.hpp>
#include <com/sun/star/lang/IndexOutOfBoundsException.hpp>
#include <com/sun/star/lang/WrappedTargetRuntimeException.hpp>
#include <svl/listener.hxx>
#include <vcl/svapp.hxx>
#include <comphelper/profilezone.hxx>
#include <comphelper/sequence.hxx>
#include <comphelper/servicehelper.hxx>
#include <cppuhelper/exc_hlp.hxx>
#include <cppuhelper/supportsservice.hxx>
#include <sal/log.hxx>
#include <cmdid.h>
#include <unotextbodyhf.hxx>
#include <unotext.hxx>
#include <unotextrange.hxx>
#include <unotextcursor.hxx>
#include <unosection.hxx>
#include <unobookmark.hxx>
#include <unorefmark.hxx>
#include <unoport.hxx>
#include <unotbl.hxx>
#include <unoidx.hxx>
#include <unocoll.hxx>
#include <unoframe.hxx>
#include <unofield.hxx>
#include <unometa.hxx>
#include <unodraw.hxx>
#include <unoredline.hxx>
#include <unomap.hxx>
#include <unoprnms.hxx>
#include <unoparagraph.hxx>
#include <unocrsrhelper.hxx>
#include <docsh.hxx>
#include <docary.hxx>
#include <doc.hxx>
#include <IDocumentUndoRedo.hxx>
#include <redline.hxx>
#include <swundo.hxx>
#include <section.hxx>
#include <IMark.hxx>
#include <fmtanchr.hxx>
#include <fmtcntnt.hxx>
#include <ndtxt.hxx>
#include <SwRewriter.hxx>
#include <strings.hrc>
Include dependency graph for unotext.cxx:

Go to the source code of this file.

Classes

class  SwXText::Impl
 
struct  VerticallyMergedCell
 
class  SwXHeadFootText::Impl
 

Macros

#define COL_POS_FUZZY   2
 

Typedefs

typedef uno::Sequence< text::TableColumnSeparator > TableColumnSeparators
 

Functions

static bool isGraphicNode (const SwFrameFormat *pFrameFormat)
 
static bool lcl_SimilarPosition (const sal_Int32 nPos1, const sal_Int32 nPos2)
 
static void lcl_ApplyRowProperties (uno::Sequence< beans::PropertyValue > const &rRowProperties, uno::Any const &rRow, TableColumnSeparators &rRowSeparators)
 
static sal_Int32 lcl_GetLeftPos (sal_Int32 nCell, TableColumnSeparators const &rRowSeparators)
 
static void lcl_ApplyCellProperties (const sal_Int32 nLeftPos, const uno::Sequence< beans::PropertyValue > &rCellProperties, const uno::Reference< uno::XInterface > &xCell, std::vector< VerticallyMergedCell > &rMergedCells)
 
static void lcl_MergeCells (std::vector< VerticallyMergedCell > &rMergedCells)
 

Variables

const sal_Char cInvalidObject [] = "this object is invalid"
 

Macro Definition Documentation

#define COL_POS_FUZZY   2

Definition at line 1799 of file unotext.cxx.

Referenced by lcl_SimilarPosition().

Typedef Documentation

typedef uno::Sequence< text::TableColumnSeparator > TableColumnSeparators

Definition at line 1966 of file unotext.cxx.

Function Documentation

static bool isGraphicNode ( const SwFrameFormat pFrameFormat)
static
static void lcl_ApplyCellProperties ( const sal_Int32  nLeftPos,
const uno::Sequence< beans::PropertyValue > &  rCellProperties,
const uno::Reference< uno::XInterface > &  xCell,
std::vector< VerticallyMergedCell > &  rMergedCells 
)
static

Definition at line 2000 of file unotext.cxx.

References lcl_SimilarPosition(), SAL_WARN, SAL_WARN_IF, and uno::Any::Value.

Referenced by SwXText::convertToTable().

static void lcl_ApplyRowProperties ( uno::Sequence< beans::PropertyValue > const &  rRowProperties,
uno::Any const &  rRow,
TableColumnSeparators rRowSeparators 
)
static

Definition at line 1969 of file unotext.cxx.

References uno::Any::Value.

Referenced by SwXText::convertToTable().

static sal_Int32 lcl_GetLeftPos ( sal_Int32  nCell,
TableColumnSeparators const &  rRowSeparators 
)
static

Definition at line 1990 of file unotext.cxx.

Referenced by SwXText::convertToTable().

static void lcl_MergeCells ( std::vector< VerticallyMergedCell > &  rMergedCells)
static

Definition at line 2062 of file unotext.cxx.

References SAL_WARN, and UNO_NAME_ROW_SPAN.

Referenced by SwXText::convertToTable().

static bool lcl_SimilarPosition ( const sal_Int32  nPos1,
const sal_Int32  nPos2 
)
static

Definition at line 1801 of file unotext.cxx.

References COL_POS_FUZZY.

Referenced by lcl_ApplyCellProperties().

Variable Documentation

const sal_Char cInvalidObject[] = "this object is invalid"