/* -*- 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_SVX_FONTWORKGALLERY_HXX #define INCLUDED_SVX_FONTWORKGALLERY_HXX #include #include #include #include class SdrView; class SdrObject; class SdrModel; namespace svx { class SAL_WARN_UNUSED FontworkCharacterSpacingDialog : public weld::GenericDialogController { std::unique_ptr m_xMtrScale; public: FontworkCharacterSpacingDialog(weld::Window* pParent, sal_Int32 nScale); virtual ~FontworkCharacterSpacingDialog() override; sal_Int32 getScale() const; }; class SAL_WARN_UNUSED SVX_DLLPUBLIC FontWorkGalleryDialog : public weld::GenericDialogController { sal_uInt16 mnThemeId; SdrView& mrSdrView; SdrObject** mppSdrObject; SdrModel* mpDestModel; std::vector maFavoritesHorizontal; SvtValueSet maCtlFavorites; std::unique_ptr mxCtlFavorites; std::unique_ptr mxOKButton; void initFavorites(sal_uInt16 nThemeId); void insertSelectedFontwork(); void fillFavorites(sal_uInt16 nThemeId); DECL_LINK(DoubleClickFavoriteHdl, SvtValueSet*, void); DECL_LINK(ClickOKHdl, weld::Button&, void ); public: FontWorkGalleryDialog(weld::Window* pParent, SdrView& rView); virtual ~FontWorkGalleryDialog() override; // SJ: if the SdrObject** is set, the SdrObject is not inserted into the page when executing the dialog void SetSdrObjectRef( SdrObject**, SdrModel* pModel ); }; } #endif /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ -7-5+backports'>distro/collabora/libreoffice-7-5+backports LibreOffice 界面翻译代码仓库文档基金会
aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Lohmaier <lohmaier+LibreOffice@googlemail.com>2017-11-24 17:03:56 +0100
committerChristian Lohmaier <lohmaier+LibreOffice@googlemail.com>2017-11-24 17:09:41 +0100
commit24c9679f71975ebeb9c8b0922de4ec001883199a (patch)
tree3cb9978cf2d9c2fab3d08977bbab5a8b9c6f05e9
parent37566a3b86642db3d952208f574e523e6189ec4e (diff)
another set of translation updates for 6.0 beta1 libreoffice-6-0-branch-point
Change-Id: I2223c5015644165b24010fb783b516886333581c