bump product version to 6.3.0.0.beta1
[LibreOffice.git] / vbahelper / source / msforms / vbanewfont.hxx
blobfc21f88f211ff2947bb1cbded7740b1cb641ab8c
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
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/.
9 * This file incorporates work covered by the following license notice:
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 .
20 #ifndef INCLUDED_VBAHELPER_SOURCE_MSFORMS_VBANEWFONT_HXX
21 #define INCLUDED_VBAHELPER_SOURCE_MSFORMS_VBANEWFONT_HXX
23 #include <ooo/vba/msforms/XNewFont.hpp>
24 #include <vbahelper/vbahelperinterface.hxx>
25 #include <cppuhelper/implbase.hxx>
28 class VbaNewFont : public cppu::WeakImplHelper< ov::msforms::XNewFont >
30 public:
31 /// @throws css::uno::RuntimeException
32 explicit VbaNewFont(
33 const css::uno::Reference< css::beans::XPropertySet >& rxModelProps );
35 // XNewFont attributes
36 virtual OUString SAL_CALL getName() override;
37 virtual void SAL_CALL setName( const OUString& rName ) override;
38 virtual double SAL_CALL getSize() override;
39 virtual void SAL_CALL setSize( double fSize ) override;
40 virtual sal_Int16 SAL_CALL getCharset() override;
41 virtual void SAL_CALL setCharset( sal_Int16 nCharset ) override;
42 virtual sal_Int16 SAL_CALL getWeight() override;
43 virtual void SAL_CALL setWeight( sal_Int16 nWeight ) override;
44 virtual sal_Bool SAL_CALL getBold() override;
45 virtual void SAL_CALL setBold( sal_Bool bBold ) override;
46 virtual sal_Bool SAL_CALL getItalic() override;
47 virtual void SAL_CALL setItalic( sal_Bool bItalic ) override;
48 virtual sal_Bool SAL_CALL getUnderline() override;
49 virtual void SAL_CALL setUnderline( sal_Bool bUnderline ) override;
50 virtual sal_Bool SAL_CALL getStrikethrough() override;
51 virtual void SAL_CALL setStrikethrough( sal_Bool bStrikethrough ) override;
53 private:
54 css::uno::Reference< css::beans::XPropertySet > mxProps;
58 #endif
60 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */