/* -*- 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_INC_SWNODENUM_HXX #define INCLUDED_SW_INC_SWNODENUM_HXX #include "SwNumberTree.hxx" class SwTextNode; struct SwPosition; class SwNumRule; class SAL_DLLPUBLIC_RTTI SwNodeNum final : public SwNumberTreeNode { public: explicit SwNodeNum(SwTextNode* pTextNode, bool isHiddenRedlines); // note: this is only for creating phantom nodes and root nodes; these // never have a text node explicit SwNodeNum(SwNumRule* pNumRule); virtual ~SwNodeNum() override; SwNumRule* GetNumRule() const { return mpNumRule; } void ChangeNumRule(SwNumRule& rNumRule); SwTextNode* GetTextNode() const { return mpTextNode; } virtual bool IsNotificationEnabled(const SwDoc& rDoc) const override; virtual bool IsContinuous() const override; virtual bool IsCounted() const override; virtual bool LessThan(const SwNumberTreeNode& rNode) const override; virtual bool IsRestart() const override; virtual SwNumberTree::tSwNumTreeNumber GetStartValue() const override; SwPosition GetPosition() const; // The number tree root node is deleted, when the corresponding numbering // rule is deleted. In this situation the number tree should be empty - // still registered text nodes aren't allowed. But it is possible, that // text nodes of the undo nodes array are still registered. These will be // unregistered. // Text nodes of the document nodes array aren't allowed to be registered // in this situation - this will be asserted. static void HandleNumberTreeRootNodeDelete(SwNodeNum& rNodeNum); /** determines the instance, which is preceding the given text node #i81002# */ const SwNodeNum* GetPrecedingNodeNumOf(const SwTextNode& rTextNode) const; private: virtual SwNumberTreeNode* Create() const override; // --> #i64010# virtual bool HasCountedChildren() const override; virtual bool IsCountedForNumbering() const override; // method called before this tree node has been added to the list tree virtual void PreAdd() override; // method called at a child after this child has been removed from the list tree virtual void PostRemove() override; SwTextNode* const mpTextNode; SwNumRule* mpNumRule; bool m_isHiddenRedlines; static void UnregisterMeAndChildrenDueToRootDelete(SwNodeNum& rNodeNum); SwNodeNum(const SwNodeNum&) = delete; SwNodeNum& operator=(const SwNodeNum&) = delete; virtual bool IsCountPhantoms() const override; virtual bool IsNotifiable(const SwDoc& rDoc) const override; virtual void NotifyNode() override; }; #endif // INCLUDED_SW_INC_SWNODENUM_HXX /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ stro/collabora/co-24.04.8'>distro/collabora/co-24.04.8 LibreOffice 核心代码仓库文档基金会
summaryrefslogtreecommitdiff
path: root/vcl/Library_vclplug_kde5.mk
AgeCommit message (Collapse)Author
2018-12-21workaround to make Qt5 code build with Clang+icecreamLuboš Luňák
Qt5 uses QT_HAS_INCLUDE (which maps to __has_include), and uses it to guard #include <chrono>. Clang's -frewrite-includes, which icecream uses for distributing source to remote nodes, for some reason doesn't recognize __has_include properly when wrapped by this macro, and this all results in strange compile errors related to std::chrono. Change-Id: Ia375ebd928b40ebd51ab4cc59488f3b62939e039 Reviewed-on: https://gerrit.libreoffice.org/65506 Tested-by: Jenkins Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2018-06-18VCLKDE5Application is now unused as wellKatarina Behrens
Change-Id: Ib11274b6039596246aa232b83fa4d85095a93e08
2018-06-18Fold all the rest into KDE5FilePicker2Katarina Behrens
Change-Id: Icbaa56057776ffcb981207ec30e5d94d6901e43c
2018-06-18We don't need to link X11 libs eitherKatarina Behrens
Change-Id: I01b9f897abda67b12ed6f05844dca05dabb185a2
2018-06-18[Try to] get rid of dependency on X11Katarina Behrens
also kill KDE5SalDisplay with fire, it is not used anywhere anymore Change-Id: I4fe439b01322a6e3a809cf518e32d844c303daca
2018-06-18Basic structures of KDE5 native filepicker build nowKatarina Behrens
Change-Id: I174a4a01f2191d935ea069a0e04b5c88f4bf8193
2018-06-01Use harfbuzz and graphite, needed after GenericSalLayout refactoringKatarina Behrens
Change-Id: I21c221715c4e6b4e692c8b5ea4d9c9eb5d073980
2018-06-01KDE5SalData derives from Qt5DataKatarina Behrens
A step back since now mbNoFocusRects (= draw focus rectangle natively) is set, but native drawing itself is not yet implemented and no focus rectangles are drawn Change-Id: I4dde734d057f6c594eb11162990430697277f029
2018-06-01Remove now unused KDE5XLib and KDE5DataKatarina Behrens
Change-Id: Ic3b3c0c41fb0992e8cc43410d5fb5c0bacc215fa
2018-06-01Move create_SalInstance to KDE5SalInstance classKatarina Behrens
with this, we get the same display as Qt5 + cairo rendering Change-Id: I30206d0431e16aed90f6a995fa6a475e2f418708
2018-06-01KDE5SalFrame derives from Qt5FrameKatarina Behrens
to achieve that, make Qt5Frame class DLLPUBLIC Change-Id: I7f1169e26845211fcf89a89a930fde48347630d3
2017-11-06KF5 seperate Qt5 detection from KF5Jan-Marek Glogowski
Splits the configure checks into a Qt5 and KF5 specific part. Change-Id: I0a616ba031e1f7fd0385219ac48179adb4bdaf14
2017-10-25kde5: make VCLKDE5Application build againKatarina Behrens
Change-Id: Ia1f4d1254583d04d1993e9a0ce8ad1f1aaa868d3
2017-10-25kde5: add cairo surface to KDE5SalFramesKatarina Behrens
Change-Id: I0778ecffe5dbc5fdfe24705d37511e197a4a1ce4
2017-10-25kde5: copy basic kde4 blocks -> kde5 and build againt qt5/kf5 libsKatarina Behrens
Change-Id: I70f0c4147721a20459e1183ff40cf0ac8adf49e6