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_FMTFOLLOWTEXTFLOW_HXX
|
|
|
|
#define INCLUDED_SW_INC_FMTFOLLOWTEXTFLOW_HXX
|
2004-02-02 17:14:20 +00:00
|
|
|
|
2009-10-16 00:05:16 +02:00
|
|
|
#include <svl/eitem.hxx>
|
2004-02-02 17:14:20 +00:00
|
|
|
#include <hintids.hxx>
|
|
|
|
#include <format.hxx>
|
2004-08-23 07:33:12 +00:00
|
|
|
#include "swdllapi.h"
|
2004-02-02 17:14:20 +00:00
|
|
|
|
|
|
|
class IntlWrapper;
|
|
|
|
|
2015-05-20 13:05:49 +02:00
|
|
|
class SW_DLLPUBLIC SwFormatFollowTextFlow : public SfxBoolItem
|
2004-02-02 17:14:20 +00:00
|
|
|
{
|
|
|
|
public:
|
2015-05-20 13:05:49 +02:00
|
|
|
SwFormatFollowTextFlow( bool bFlag = false )
|
2004-02-02 17:14:20 +00:00
|
|
|
: SfxBoolItem( RES_FOLLOW_TEXT_FLOW, bFlag ) {}
|
|
|
|
|
2014-03-26 11:54:10 +01:00
|
|
|
TYPEINFO_OVERRIDE();
|
2004-02-02 17:14:20 +00:00
|
|
|
|
2012-09-02 09:05:03 +03:00
|
|
|
/// "pure virtual methods" of SfxPoolItem
|
2014-03-27 18:12:18 +01:00
|
|
|
virtual SfxPoolItem* Clone( SfxItemPool *pPool = 0 ) const SAL_OVERRIDE;
|
2014-07-24 11:31:39 +02:00
|
|
|
virtual bool GetPresentation( SfxItemPresentation ePres,
|
2004-02-02 17:14:20 +00:00
|
|
|
SfxMapUnit eCoreMetric,
|
|
|
|
SfxMapUnit ePresMetric,
|
2013-01-23 12:41:52 +01:00
|
|
|
OUString &rText,
|
2014-03-27 18:12:18 +01:00
|
|
|
const IntlWrapper* pIntl = 0 ) const SAL_OVERRIDE;
|
2014-12-28 18:12:21 +01:00
|
|
|
|
2015-01-23 09:08:09 +01:00
|
|
|
void dumpAsXml(struct _xmlTextWriter* pWriter) const SAL_OVERRIDE;
|
2004-02-02 17:14:20 +00:00
|
|
|
};
|
|
|
|
|
2015-05-20 13:05:49 +02:00
|
|
|
inline const SwFormatFollowTextFlow &SwAttrSet::GetFollowTextFlow(bool bInP) const
|
|
|
|
{ return static_cast<const SwFormatFollowTextFlow&>(Get( RES_FOLLOW_TEXT_FLOW, bInP )); }
|
2004-02-02 17:14:20 +00:00
|
|
|
|
2015-05-20 13:05:49 +02:00
|
|
|
inline const SwFormatFollowTextFlow &SwFormat::GetFollowTextFlow(bool bInP) const
|
2015-04-30 20:24:30 +02:00
|
|
|
{ return m_aSet.GetFollowTextFlow( bInP ); }
|
2004-02-02 17:14:20 +00:00
|
|
|
|
|
|
|
#endif
|
|
|
|
|
2010-10-14 08:30:41 +02:00
|
|
|
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|