/* -*- 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 _FMTCOLFUNC_HXX #define _FMTCOLFUNC_HXX class SwFmt; class SwNumRuleItem; // namespace for functions and procedures working on // paragraph styles (instances of namespace TxtFmtCollFunc { /** Checks, if assignment of paragraph style to list level of outline style has to be deleted, and deletes the assignment, if needed. #i71574# The assignment of a paragraph style to a list level of the outline style has to be deleted, if the numbering rule, which is set at the paragraph style isn't the outline style. @author OD */ void CheckTxtFmtCollForDeletionOfAssignmentToOutlineStyle( SwFmt* pFmt, const SwNumRuleItem* pNewNumRuleItem = 0L ); /** determines the list style, which directly set at the given paragraph style @author OD @param rTxtFmtColl input parameter - paragraph style for which the list style should be retrieved @return pointer to instance, if the given paragraph style has directly set a list style, 0 otherwise */ SwNumRule* GetNumRule( SwTxtFmtColl& rTxtFmtColl ); /** adds the given paragraph style at the directly set list style Note: If the given paragraph style has no directly set list style, nothing happens @param rTxtFmtColl input parameter - paragraph style which is added to its directly set list style @author OD */ void AddToNumRule( SwTxtFmtColl& rTxtFmtColl ); /** removes te given paragraph style from the directly set list style Note: If the given paragraph style has no directly set list style, nothing happens @param rTxtFmtColl input parameter - paragraph style which is removed from its directly set list style @author OD */ void RemoveFromNumRule( SwTxtFmtColl& rTxtFmtColl ); } #endif /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ llabora/cp-4.1'>distro/collabora/cp-4.1 LibreOffice 核心代码仓库文档基金会
summaryrefslogtreecommitdiff
AgeCommit message (Expand)Author
2013-10-04fdo#46374 replace stardiv in comments where applicableThomas Arnhold
2013-07-24fdo#67213 - crash on opening AutoText dialog (Ctrl+F3Noel Grandin
2013-07-18fix warningNoel Grandin
2013-07-18fix windows buildNoel Grandin
2013-07-18fdo#46808, Convert frame::FrameControl service to new styleNoel Grandin
2013-07-18remove some useless comment blocksNoel Grandin
2013-07-11Resolves: #i121544# - Clean-up MessageBox APIAriel Constenla-Haile
2013-06-05use uno::Reference#clear() method...Noel Grandin
2013-04-22Move to MPLv2 license headers, with ESC decision and author's permission.Michael Meeks
2013-04-20fdo#63154: Change Min/Max/Abs for std::min/max/absMarcos Paulo de Souza
2013-04-08fdo#46808, Convert frame::Frame to new styleNoel Grandin
2013-03-14remove legacy build.pl prj/build.lst files.Michael Meeks
2013-03-06fdo#60148 Clean up warnings from the Clang compiler pluginnccuong
2013-03-03Related to fdo#60724: correct spellingThomas Arnhold
2013-02-28remove all d.lstMichael Stahl
2013-01-26gbuild: fix silly "expandtabs" in makefile VIM modelinesMichael Stahl
2012-10-24fdo#46808, Adapt awt::Toolkit UNO service to new styleNoel Grandin
2012-09-28gbuild: invert handling of standard system libraries:Michael Stahl
2012-09-28gbuild: replace direct gb_STDLIBS use with ...Michael Stahl
2012-09-28gbuild: split uwinapi out of gb_STDLIBSMichael Stahl
2012-09-19ComponentContext::getUnoContext -> getComponentContext simplificationStephan Bergmann
2012-09-15Fix some "Variables reassigned a value before the old one has been used"Julien Nabet
2012-09-14Introduce cppu::supportsService helper, adapt some call-sitesStephan Bergmann
2012-09-12Finished ::rtl::OUString to OUString in UnoControlsRicardo Montania
2012-09-11::rtl::OUString to OUString in UnoControlsRicardo Montania
2012-09-01add more component prefixesMatúš Kukan
2012-08-08reduce ascii noise and useless commentsThomas Arnhold
2012-08-08remove include comments and boxesThomas Arnhold
2012-08-05Remove unused macrosThomas Arnhold
2012-07-03re-base on ALv2 code.Michael Meeks
2012-07-02targetted improvement of UNO API includes / usageMichael Meeks
2012-06-19re-base on ALv2 code.Michael Meeks
2012-06-06fdo#46808, Adapt UNO services to new style, Part 7, updating ::createNoel Grandin
2012-06-06removed dead codeTakeshi Abe
2012-06-02targeted string re-workNorbert Thiebaud
2012-05-29targeted string re-workNorbert Thiebaud
2012-05-04fdo#48253 Expand SAL_STATIC_CAST and SAL_CONST_CASTThomas Arnhold
2012-04-29make gbuild the default assumption of build.plBjoern Michaelsen
2012-04-19Removed RTL_CONSTASCII_USTRINGPARAM from UnoControlsSzabolcs Dezsi
2012-04-08gbuild: "use" vs. "add":Michael Stahl
2012-02-21expand and remove CSS* macroThomas Arnhold
2012-02-08Added READMEs for modules which used to be in componentsJosh Heidenreich
2012-02-05switch to include-based build rather than sourced-based buildNorbert Thiebaud
2012-01-21UnoControls: remove dmakefilesMichael Stahl