/* -*- 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_TABFRM_HXX #define INCLUDED_SW_SOURCE_CORE_INC_TABFRM_HXX
/// SwTabFrame is one table in the document layout, containing rows (which contain cells). class SW_DLLPUBLIC SwTabFrame final: public SwLayoutFrame, public SwFlowFrame
{ friendvoid CalcContent( SwLayoutFrame *pLay, bool bNoColl );
// does the special treatment for Get_[Next|Prev]Leaf() using SwFrame::GetLeaf;
SwTable * m_pTable;
bool m_bComplete :1; /// Set entries for Repaint without needing to /// set the base class' CompletePaint /// With that we would want to avoid unnecessary /// table repaints bool m_bCalcLowers :1; /// For stability of the content in MakeAll bool m_bLowersFormatted :1; /// Communication between MakeAll and Layact bool m_bLockBackMove :1; /// The Master took care of the BackMove test bool m_bWantBackMove :1; /// Table wants to move back but was locked bool m_bResizeHTMLTable :1; /// Call the Resize of the HTMLTableLayout in the MakeAll /// This is an optimization, so that we don't have to call /// it in ContentFrame::Grow; there it might be called for /// _every_ Cell
bool m_bONECalcLowers :1; /// Primarily for the StarONE SS /// The Contents are formatted via Calc() on MakeAll in any /// case. There are no further invalidations and that path can /// hardly give any guarantees
bool m_bHasFollowFlowLine :1; /// Means that the first line in the follow /// is indented to contain content from a broken /// cell bool m_bIsRebuildLastLine :1; /// Means that currently the last line of the /// TabFrame is rebuilt. In this case we do not // want any notification to the master table
bool m_bRestrictTableGrowth :1; // Usually, the table may grow infinitely, // as the table can be split in SwTabFrame::MakeAll // In MakeAll, this flag is set to indicate that // the table may only grow inside its upper. This // is necessary, in order to let the text flow into // the FollowFlowLine
bool m_bRemoveFollowFlowLinePending :1;
// #i26945# bool m_bConsiderObjsForMinCellHeight :1; // Usually, the floating screen objects // are considered during the calculation // for the minimal cell height. // For the splitting table rows algorithm // we need not to consider floating // screen object for the preparation // of the re-calculation of the // last table row. // #i26945# bool m_bObjsDoesFit :1; // For splitting table rows algorithm, this boolean // indicates, if the floating screen objects fits
bool m_bInRecalcLowerRow : 1;
/** * Split() splits the Frame at the specified position: a Follow is * created and constructed and inserted directly after this. * Join() gets the Follow's content and destroys it.
*/ bool Split(const SwTwips nCutPos, bool bTryToSplit, bool bTableRowKeep, bool & rIsFootnoteGrowth); void Join();
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.