LibreOffice Module svx (master)  1
sxcllitm.hxx
Go to the documentation of this file.
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3  * This file is part of the LibreOffice project.
4  *
5  * This Source Code Form is subject to the terms of the Mozilla Public
6  * License, v. 2.0. If a copy of the MPL was not distributed with this
7  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8  *
9  * This file incorporates work covered by the following license notice:
10  *
11  * Licensed to the Apache Software Foundation (ASF) under one or more
12  * contributor license agreements. See the NOTICE file distributed
13  * with this work for additional information regarding copyright
14  * ownership. The ASF licenses this file to you under the Apache
15  * License, Version 2.0 (the "License"); you may not use this file
16  * except in compliance with the License. You may obtain a copy of
17  * the License at http://www.apache.org/licenses/LICENSE-2.0 .
18  */
19 #ifndef INCLUDED_SVX_SXCLLITM_HXX
20 #define INCLUDED_SVX_SXCLLITM_HXX
21 
22 #include <svx/svddef.hxx>
23 #include <svx/sdynitm.hxx>
24 #include <svx/sdmetitm.hxx>
25 
32 public:
34  virtual ~SdrCaptionLineLenItem() override;
35  virtual SdrCaptionLineLenItem* Clone(SfxItemPool* pPool=nullptr) const override;
36 
39  SdrCaptionLineLenItem & operator =(SdrCaptionLineLenItem const &) = delete; // due to SdrMetricItem
40  SdrCaptionLineLenItem & operator =(SdrCaptionLineLenItem &&) = delete; // due to SdrMetricItem
41 };
42 
48 public:
50  virtual ~SdrCaptionFitLineLenItem() override;
51  virtual SdrCaptionFitLineLenItem* Clone(SfxItemPool* pPool=nullptr) const override;
52 
55  SdrCaptionFitLineLenItem & operator =(SdrCaptionFitLineLenItem const &) = delete; // due to SdrYesNoItem
56  SdrCaptionFitLineLenItem & operator =(SdrCaptionFitLineLenItem &&) = delete; // due to SdrYesNoItem
57 };
58 
59 #endif
60 
61 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
The length of the first caption line is either automatically calculated or the default setting is use...
Definition: sxcllitm.hxx:47
constexpr TypedWhichId< SdrCaptionLineLenItem > SDRATTR_CAPTIONLINELEN(SDRATTR_CAPTION_FIRST+8)
SfxPoolItem & operator=(const SfxPoolItem &)=delete
Length of the first caption line Only for Type3 and Type4 Only relevant, if SdrCaptionFitLineLenItem ...
Definition: sxcllitm.hxx:31
SdrCaptionLineLenItem(long nLineLen=0)
Definition: sxcllitm.hxx:33
virtual SdrYesNoItem * Clone(SfxItemPool *pPool=nullptr) const override
Definition: svdattr.cxx:734
virtual SdrMetricItem * Clone(SfxItemPool *pPool=nullptr) const override
Definition: svdattr.cxx:841
SdrCaptionFitLineLenItem(bool bBestFit=true)
Definition: sxcllitm.hxx:49
#define SVXCORE_DLLPUBLIC
Definition: svxdllapi.h:35
constexpr TypedWhichId< SdrCaptionFitLineLenItem > SDRATTR_CAPTIONFITLINELEN(SDRATTR_CAPTION_FIRST+9)