/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* * This file is part of the LibreOffice project. * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. * * This file incorporates work covered by the following license notice: * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed * with this work for additional information regarding copyright * ownership. The ASF licenses this file to you under the Apache * License, Version 2.0 (the "License"); you may not use this file * except in compliance with the License. You may obtain a copy of * the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/ #ifndef INCLUDED_SW_SOURCE_CORE_INC_TBLRWCL_HXX #define INCLUDED_SW_SOURCE_CORE_INC_TBLRWCL_HXX
#include <cstddef> #include <vector>
#include <swtypes.hxx> #include <swtable.hxx>
namespace editeng { class SvxBorderLine; }
class SwDoc; class SwTableNode; class SwTableBoxFormat; class SwHistory; class SwContentNode; class SfxPoolItem; class SwShareBoxFormats; class SwFormatFrameSize;
/** * Class for SplitTable * Collects the uppermost or lowermost Lines of a Box from a Line in an array. * We also store their positions. * * @see implementation in ndtbl.cxx
*/ class SwCollectTableLineBoxes
{
std::vector<sal_uInt16> m_aPositionArr;
std::vector<SwTableBox*> m_Boxes;
SwHistory* m_pHistory;
SplitTable_HeadlineOption m_nMode;
sal_uInt16 m_nWidth; bool m_bGetFromTop : 1; bool m_bGetValues : 1;
/** * This structure is needed by Undo to restore row span attributes * when a table has been split into two tables
*/ struct SwSaveRowSpan
{
sal_uInt16 mnSplitLine; // the line number where the table has been split
std::vector< tools::Long > mnRowSpans; // the row span attributes in this line
SwSaveRowSpan( SwTableBoxes& rBoxes, sal_uInt16 nSplitLn );
};
/** * Check whether the left Border is the same as the set one * @returns false if no Border was set
*/ bool CheckLeftBorderOfFormat( const SwFrameFormat& rFormat );
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.