2010-10-14 08:30:41 +02:00
|
|
|
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
|
2011-03-31 10:05:04 +02:00
|
|
|
/*
|
|
|
|
* 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 .
|
|
|
|
*/
|
2013-11-05 02:17:53 +01:00
|
|
|
#ifndef INCLUDED_SW_INC_FMTLSPLT_HXX
|
|
|
|
#define INCLUDED_SW_INC_FMTLSPLT_HXX
|
2000-09-18 16:15:01 +00:00
|
|
|
|
2009-10-16 00:05:16 +02:00
|
|
|
#include <svl/eitem.hxx>
|
2000-09-18 16:15:01 +00:00
|
|
|
#include <hintids.hxx>
|
|
|
|
#include <format.hxx>
|
2004-08-23 07:34:41 +00:00
|
|
|
#include "swdllapi.h"
|
|
|
|
|
2001-05-13 02:33:31 +00:00
|
|
|
class IntlWrapper;
|
2000-09-18 16:15:01 +00:00
|
|
|
|
2015-05-20 13:05:49 +02:00
|
|
|
class SW_DLLPUBLIC SwFormatLayoutSplit : public SfxBoolItem
|
2000-09-18 16:15:01 +00:00
|
|
|
{
|
|
|
|
public:
|
2015-05-20 13:05:49 +02:00
|
|
|
SwFormatLayoutSplit( bool bSplit = true ) : SfxBoolItem( RES_LAYOUT_SPLIT, bSplit ) {}
|
2000-09-18 16:15:01 +00:00
|
|
|
|
2012-09-02 09:05:03 +03:00
|
|
|
/// "pure virtual methods" of SfxPoolItem
|
2015-11-10 10:25:48 +01:00
|
|
|
virtual SfxPoolItem* Clone( SfxItemPool *pPool = nullptr ) const override;
|
2014-07-24 11:31:39 +02:00
|
|
|
virtual bool GetPresentation( SfxItemPresentation ePres,
|
2016-08-19 09:31:35 +01:00
|
|
|
MapUnit eCoreMetric,
|
|
|
|
MapUnit ePresMetric,
|
|
|
|
OUString &rText,
|
|
|
|
const IntlWrapper* pIntl = nullptr ) const override;
|
2000-09-18 16:15:01 +00:00
|
|
|
};
|
|
|
|
|
2015-05-20 13:05:49 +02:00
|
|
|
inline const SwFormatLayoutSplit &SwAttrSet::GetLayoutSplit(bool bInP) const
|
|
|
|
{ return static_cast<const SwFormatLayoutSplit&>(Get( RES_LAYOUT_SPLIT,bInP)); }
|
2000-09-18 16:15:01 +00:00
|
|
|
|
2015-05-20 13:05:49 +02:00
|
|
|
inline const SwFormatLayoutSplit &SwFormat::GetLayoutSplit(bool bInP) const
|
2015-04-30 20:24:30 +02:00
|
|
|
{ return m_aSet.GetLayoutSplit(bInP); }
|
2000-09-18 16:15:01 +00:00
|
|
|
|
|
|
|
#endif
|
|
|
|
|
2010-10-14 08:30:41 +02:00
|
|
|
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|