LibreOffice Module sw (master) 1
|
#include <stdlib.h>
#include <memory>
#include <set>
#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 <comphelper/diagnose_ex.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 <unomap.hxx>
#include <unoprnms.hxx>
#include <unoparagraph.hxx>
#include <unocrsrhelper.hxx>
#include <docary.hxx>
#include <doc.hxx>
#include <IDocumentRedlineAccess.hxx>
#include <IDocumentUndoRedo.hxx>
#include <bookmark.hxx>
#include <redline.hxx>
#include <swundo.hxx>
#include <section.hxx>
#include <fmtanchr.hxx>
#include <fmtcntnt.hxx>
#include <ndtxt.hxx>
#include <SwRewriter.hxx>
#include <strings.hrc>
#include <frameformats.hxx>
#include <unocontentcontrol.hxx>
Go to the source code of this file.
Classes | |
class | SwXText::Impl |
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 | IsAtParaMatch (const SwPaM &rAnchorCheckPam, const SwFormatAnchor &rAnchor) |
Determines if the at-para rAnchor is anchored at the start or end of rAnchorCheckPam. More... | |
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 | |
constexpr OUStringLiteral | cInvalidObject = u"this object is invalid" |
#define COL_POS_FUZZY 2 |
Definition at line 1871 of file unotext.cxx.
typedef uno::Sequence< text::TableColumnSeparator > TableColumnSeparators |
Definition at line 2097 of file unotext.cxx.
|
static |
Determines if the at-para rAnchor is anchored at the start or end of rAnchorCheckPam.
Definition at line 1498 of file unotext.cxx.
References SwPaM::End(), SwFormatAnchor::GetAnchorId(), SwFormatAnchor::GetAnchorNode(), SwPosition::GetContentIndex(), SwPosition::GetNode(), SwNode::GetTextNode(), SwTextNode::Len(), and SwPaM::Start().
Referenced by SwXText::convertToTextFrame().
|
static |
Definition at line 1484 of file unotext.cxx.
References SwFormat::GetContent(), SwFormatContent::GetContentIdx(), and index.
Referenced by SwXText::convertToTextFrame().
|
static |
Definition at line 2131 of file unotext.cxx.
References lcl_SimilarPosition(), SAL_WARN_IF, TOOLS_WARN_EXCEPTION, u, and uno::Any::Value.
Referenced by SwXText::convertToTable().
|
static |
Definition at line 2100 of file unotext.cxx.
References uno::Any::Value.
Referenced by SwXText::convertToTable().
|
static |
Definition at line 2121 of file unotext.cxx.
Referenced by SwXText::convertToTable().
|
static |
Definition at line 2198 of file unotext.cxx.
References SAL_WARN, and UNO_NAME_ROW_SPAN.
Referenced by SwXText::convertToTable().
|
static |
Definition at line 1873 of file unotext.cxx.
References abs(), and COL_POS_FUZZY.
Referenced by lcl_ApplyCellProperties().
|
constexpr |
Definition at line 78 of file unotext.cxx.
Referenced by SwXBodyText::createParagraphEnumeration(), SwXText::createTextCursor(), SwXBodyText::createXTextCursorByRange(), SwXHeadFootText::createXTextCursorByRange(), SwXText::getEnd(), SwXText::getStart(), SwXBodyText::hasElements(), SwXText::insertTextContent(), SwXText::insertTextContentBefore(), SwXText::removeTextContentAfter(), SwXText::removeTextContentBefore(), and SwXText::setString().