/* -*- 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_FRMATR_HXX #define INCLUDED_SW_INC_FRMATR_HXX #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include // Inlines // Implementation of FrameAttribute methods of SwAttrSet. inline const SvxPaperBinItem &SwAttrSet::GetPaperBin(bool bInP) const { return static_cast(Get( RES_PAPER_BIN,bInP)); } inline const SvxLRSpaceItem &SwAttrSet::GetLRSpace(bool bInP) const { return static_cast(Get( RES_LR_SPACE,bInP)); } inline const SvxULSpaceItem &SwAttrSet::GetULSpace(bool bInP) const { return static_cast(Get( RES_UL_SPACE,bInP)); } inline const SvxPrintItem &SwAttrSet::GetPrint(bool bInP) const { return static_cast(Get( RES_PRINT,bInP)); } inline const SvxOpaqueItem &SwAttrSet::GetOpaque(bool bInP) const { return static_cast(Get( RES_OPAQUE,bInP)); } inline const SvxProtectItem &SwAttrSet::GetProtect(bool bInP) const { return static_cast(Get( RES_PROTECT,bInP)); } inline const SvxBoxItem &SwAttrSet::GetBox(bool bInP) const { return static_cast(Get( RES_BOX,bInP)); } inline const SvxFormatKeepItem &SwAttrSet::GetKeep(bool bInP) const { return static_cast(Get( RES_KEEP,bInP)); } inline const SvxBrushItem &SwAttrSet::GetBackground(bool bInP) const { return static_cast(Get( RES_BACKGROUND,bInP)); } inline const SvxShadowItem &SwAttrSet::GetShadow(bool bInP) const { return static_cast(Get( RES_SHADOW,bInP)); } inline const SvxFormatBreakItem &SwAttrSet::GetBreak(bool bInP) const { return static_cast(Get( RES_BREAK,bInP)); } inline const SvxMacroItem &SwAttrSet::GetMacro(bool bInP) const { return static_cast(Get( RES_FRMMACRO,bInP)); } inline const SvxFrameDirectionItem &SwAttrSet::GetFrmDir(bool bInP) const { return static_cast(Get( RES_FRAMEDIR,bInP)); } inline const SdrTextVertAdjustItem &SwAttrSet::GetTextVertAdjust(bool bInP) const { return static_cast(Get( RES_TEXT_VERT_ADJUST,bInP)); } // Implementation of FrameAttribute methods of SwFormat. inline const SvxPaperBinItem &SwFormat::GetPaperBin(bool bInP) const { return m_aSet.GetPaperBin(bInP); } inline const SvxLRSpaceItem &SwFormat::GetLRSpace(bool bInP) const { return m_aSet.GetLRSpace(bInP); } inline const SvxULSpaceItem &SwFormat::GetULSpace(bool bInP) const { return m_aSet.GetULSpace(bInP); } inline const SvxPrintItem &SwFormat::GetPrint(bool bInP) const { return m_aSet.GetPrint(bInP); } inline const SvxOpaqueItem &SwFormat::GetOpaque(bool bInP) const { return m_aSet.GetOpaque(bInP); } inline const SvxProtectItem &SwFormat::GetProtect(bool bInP) const { return m_aSet.GetProtect(bInP); } inline const SvxBoxItem &SwFormat::GetBox(bool bInP) const { return m_aSet.GetBox(bInP); } inline const SvxFormatKeepItem &SwFormat::GetKeep(bool bInP) const { return m_aSet.GetKeep(bInP); } inline const SvxShadowItem &SwFormat::GetShadow(bool bInP) const { return m_aSet.GetShadow(bInP); } inline const SvxFormatBreakItem &SwFormat::GetBreak(bool bInP) const { return m_aSet.GetBreak(bInP); } inline const SvxMacroItem &SwFormat::GetMacro(bool bInP) const { return m_aSet.GetMacro(bInP); } inline const SvxFrameDirectionItem &SwFormat::GetFrmDir(bool bInP) const { return m_aSet.GetFrmDir(bInP); } inline const SdrTextVertAdjustItem &SwFormat::GetTextVertAdjust(bool bInP) const { return m_aSet.GetTextVertAdjust(bInP); } #endif // INCLUDED_SW_INC_FRMATR_HXX /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ /libreoffice-7-5+backports LibreOffice 核心代码仓库文档基金会
summaryrefslogtreecommitdiff
path: root/extras
AgeCommit message (Collapse)Author
2014-04-04Update Swedish abbreviations in SentenceExceptionsListNiklas Johansson
Adds a few Swedish abbreviations and replaces two wrong ones. Change-Id: If0ee3d8edaa2ab08f9d486a4337e74bd1fd26492 Reviewed-on: https://gerrit.libreoffice.org/8851 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-04-03Resolves: fdo#76486 Uniform Arrangement of the Help ButtonCaolán McNamara
Change-Id: If59c5c4901aeec404099c810a021eea8b8b3d3ab
2014-04-01Convert RID_SYMDEFINEDIALOG to .uiPalenik Mihály
Change-Id: I03e2518c66fef4e40f95a9b68d68f9bb19a947b1 Reviewed-on: https://gerrit.libreoffice.org/8807 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-03-31pivot: new pivot table layout dialogTomaž Vajngerl
This commit adds a new pivot table layout dialog which was implemented from scratch. Instead of custom controls this one uses list boxes for field entries which greatly reduces the code. It also fixes some visual and behaviour bugs and adds the possibility to edit the "Data" field. Change-Id: I6c01252acee5a2e8910e40e65904504d00e03057
2014-03-21drop spadminCaolán McNamara
Change-Id: Ie10ee80f1d35b40c0baf9d7ba5c1181b52405b5f