7d9bb549d4
for Writer objects, now added support for Paragraph and PageStyle (including Header and Footer) for direct attributes and style attributes (cherry picked from commit cc25c58f7052827bfebdc9fbeec668c8fa29ed1b) Conflicts: cui/source/factory/dlgfact.cxx cui/source/factory/dlgfact.hxx cui/source/inc/bbdlg.hxx cui/source/inc/cuires.hrc cui/source/tabpages/bbdlg.cxx cui/source/tabpages/bbdlg.src cui/source/tabpages/page.cxx cui/source/tabpages/tparea.cxx include/svx/pagectrl.hxx include/svx/svxdlg.hxx include/svx/svxids.hrc include/xmloff/PageMasterStyleMap.hxx include/xmloff/prstylei.hxx include/xmloff/txtprmap.hxx svx/Package_inc.mk svx/inc/svx/hdft.hxx svx/source/dialog/hdft.cxx svx/source/dialog/pagectrl.cxx svx/source/tbxctrls/tbxcolorupdate.cxx svx/source/unodraw/unobrushitemhelper.cxx sw/Library_sw.mk sw/inc/fillattributes.hxx sw/inc/format.hxx sw/inc/frmatr.hxx sw/inc/frmfmt.hxx sw/inc/hintids.hxx sw/inc/hints.hxx sw/inc/ndtxt.hxx sw/inc/node.hxx sw/inc/swunohelper.hxx sw/inc/unobrushitemhelper.hxx sw/inc/unoprnms.hxx sw/source/core/attr/format.cxx sw/source/core/attr/hints.cxx sw/source/core/doc/docdesc.cxx sw/source/core/doc/docdraw.cxx sw/source/core/doc/docfmt.cxx sw/source/core/doc/docnew.cxx sw/source/core/doc/docredln.cxx sw/source/core/doc/poolfmt.cxx sw/source/core/doc/visiturl.cxx sw/source/core/docnode/node.cxx sw/source/core/inc/frame.hxx sw/source/core/inc/frmtool.hxx sw/source/core/inc/rolbck.hxx sw/source/core/layout/atrfrm.cxx sw/source/core/layout/fillattributes.cxx sw/source/core/layout/findfrm.cxx sw/source/core/layout/paintfrm.cxx sw/source/core/txtnode/ndtxt.cxx sw/source/core/txtnode/thints.cxx sw/source/core/txtnode/txtedt.cxx sw/source/core/undo/rolbck.cxx sw/source/core/unocore/swunohelper.cxx sw/source/core/unocore/unoframe.cxx sw/source/core/unocore/unomap.cxx sw/source/core/unocore/unoparagraph.cxx sw/source/core/unocore/unoprnms.cxx sw/source/core/unocore/unostyle.cxx sw/source/ui/chrdlg/paradlg.src sw/source/ui/chrdlg/pardlg.cxx sw/source/ui/fmtui/tmpdlg.cxx sw/source/ui/fmtui/tmpdlg.src sw/source/uibase/app/docst.cxx sw/source/uibase/app/docstyle.cxx sw/source/uibase/frmdlg/colex.cxx sw/source/uibase/shells/basesh.cxx sw/source/uibase/shells/textsh1.cxx sw/source/uibase/uiview/viewstat.cxx sw/source/uibase/utlui/uitool.cxx xmloff/inc/PageMasterImportContext.hxx xmloff/inc/xmloff/XMLShapeStyleContext.hxx xmloff/source/draw/XMLShapeStyleContext.cxx xmloff/source/draw/sdpropls.hxx xmloff/source/style/PageMasterExportPropMapper.cxx xmloff/source/style/PageMasterImportContext.cxx xmloff/source/style/PageMasterPropHdlFactory.cxx xmloff/source/style/PageMasterStyleMap.cxx xmloff/source/style/prstylei.cxx xmloff/source/text/txtexppr.cxx xmloff/source/text/txtprhdl.cxx xmloff/source/text/txtprmap.cxx xmloff/source/text/txtstyli.cxx Conflicts: svx/source/dialog/hdft.cxx sw/source/core/doc/visiturl.cxx sw/source/core/txtnode/thints.cxx sw/source/core/txtnode/txtatr2.cxx sw/source/core/unocore/unostyle.cxx Change-Id: I7e8779db6c0cbd1e242b63eab888f468f2de509a
87 lines
4.3 KiB
C++
87 lines
4.3 KiB
C++
/* -*- 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 <hintids.hxx>
|
|
#include <format.hxx>
|
|
|
|
// Inlines
|
|
|
|
// Implementation of FrameAttribute methods of SwAttrSet.
|
|
inline const SvxPaperBinItem &SwAttrSet::GetPaperBin(bool bInP) const
|
|
{ return (const SvxPaperBinItem&)Get( RES_PAPER_BIN,bInP); }
|
|
inline const SvxLRSpaceItem &SwAttrSet::GetLRSpace(bool bInP) const
|
|
{ return (const SvxLRSpaceItem&)Get( RES_LR_SPACE,bInP); }
|
|
inline const SvxULSpaceItem &SwAttrSet::GetULSpace(bool bInP) const
|
|
{ return (const SvxULSpaceItem&)Get( RES_UL_SPACE,bInP); }
|
|
inline const SvxPrintItem &SwAttrSet::GetPrint(bool bInP) const
|
|
{ return (const SvxPrintItem&)Get( RES_PRINT,bInP); }
|
|
inline const SvxOpaqueItem &SwAttrSet::GetOpaque(bool bInP) const
|
|
{ return (const SvxOpaqueItem&)Get( RES_OPAQUE,bInP); }
|
|
inline const SvxProtectItem &SwAttrSet::GetProtect(bool bInP) const
|
|
{ return (const SvxProtectItem&)Get( RES_PROTECT,bInP); }
|
|
inline const SvxBoxItem &SwAttrSet::GetBox(bool bInP) const
|
|
{ return (const SvxBoxItem&)Get( RES_BOX,bInP); }
|
|
inline const SvxFmtKeepItem &SwAttrSet::GetKeep(bool bInP) const
|
|
{ return (const SvxFmtKeepItem&)Get( RES_KEEP,bInP); }
|
|
inline const SvxBrushItem &SwAttrSet::GetBackground(bool bInP) const
|
|
{ return (const SvxBrushItem&)Get( RES_BACKGROUND,bInP); }
|
|
inline const SvxShadowItem &SwAttrSet::GetShadow(bool bInP) const
|
|
{ return (const SvxShadowItem&)Get( RES_SHADOW,bInP); }
|
|
inline const SvxFmtBreakItem &SwAttrSet::GetBreak(bool bInP) const
|
|
{ return (const SvxFmtBreakItem&)Get( RES_BREAK,bInP); }
|
|
inline const SvxMacroItem &SwAttrSet::GetMacro(bool bInP) const
|
|
{ return (const SvxMacroItem&)Get( RES_FRMMACRO,bInP); }
|
|
inline const SvxFrameDirectionItem &SwAttrSet::GetFrmDir(bool bInP) const
|
|
{ return (const SvxFrameDirectionItem&)Get( RES_FRAMEDIR,bInP); }
|
|
inline const SdrTextVertAdjustItem &SwAttrSet::GetTextVertAdjust(bool bInP) const
|
|
{ return (const SdrTextVertAdjustItem&)Get( RES_TEXT_VERT_ADJUST,bInP); }
|
|
|
|
// Implementation of FrameAttribute methods of SwFmt.
|
|
inline const SvxPaperBinItem &SwFmt::GetPaperBin(bool bInP) const
|
|
{ return aSet.GetPaperBin(bInP); }
|
|
inline const SvxLRSpaceItem &SwFmt::GetLRSpace(bool bInP) const
|
|
{ return aSet.GetLRSpace(bInP); }
|
|
inline const SvxULSpaceItem &SwFmt::GetULSpace(bool bInP) const
|
|
{ return aSet.GetULSpace(bInP); }
|
|
inline const SvxPrintItem &SwFmt::GetPrint(bool bInP) const
|
|
{ return aSet.GetPrint(bInP); }
|
|
inline const SvxOpaqueItem &SwFmt::GetOpaque(bool bInP) const
|
|
{ return aSet.GetOpaque(bInP); }
|
|
inline const SvxProtectItem &SwFmt::GetProtect(bool bInP) const
|
|
{ return aSet.GetProtect(bInP); }
|
|
inline const SvxBoxItem &SwFmt::GetBox(bool bInP) const
|
|
{ return aSet.GetBox(bInP); }
|
|
inline const SvxFmtKeepItem &SwFmt::GetKeep(bool bInP) const
|
|
{ return aSet.GetKeep(bInP); }
|
|
inline const SvxShadowItem &SwFmt::GetShadow(bool bInP) const
|
|
{ return aSet.GetShadow(bInP); }
|
|
inline const SvxFmtBreakItem &SwFmt::GetBreak(bool bInP) const
|
|
{ return aSet.GetBreak(bInP); }
|
|
inline const SvxMacroItem &SwFmt::GetMacro(bool bInP) const
|
|
{ return aSet.GetMacro(bInP); }
|
|
inline const SvxFrameDirectionItem &SwFmt::GetFrmDir(bool bInP) const
|
|
{ return aSet.GetFrmDir(bInP); }
|
|
inline const SdrTextVertAdjustItem &SwFmt::GetTextVertAdjust(bool bInP) const
|
|
{ return aSet.GetTextVertAdjust(bInP); }
|
|
|
|
#endif // INCLUDED_SW_INC_FRMATR_HXX
|
|
|
|
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|