diff options
author | Luboš Luňák <l.lunak@suse.cz> | 2013-02-18 15:45:51 +0100 |
---|---|---|
committer | Luboš Luňák <l.lunak@suse.cz> | 2013-02-18 15:50:21 +0100 |
commit | e0210c3ef0ed56a6b45934e2ecb5b42b99808199 (patch) | |
tree | 90170dd756fb5ce8b9ffe81a45467fec22531625 /sw/source/ui/inc | |
parent | 3f4aee00c14f2a150f28252ba61a4830dc1ee41d (diff) |
UI option for embedding fonts in a Writer document (fdo#42195)
File->Properties.
Change-Id: I92757153c8815d17ea9f721a98b22b9088014f31
Diffstat (limited to 'sw/source/ui/inc')
-rw-r--r-- | sw/source/ui/inc/documentfontsdialog.hxx | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/sw/source/ui/inc/documentfontsdialog.hxx b/sw/source/ui/inc/documentfontsdialog.hxx new file mode 100644 index 000000000000..931b811af167 --- /dev/null +++ b/sw/source/ui/inc/documentfontsdialog.hxx @@ -0,0 +1,44 @@ +/* -*- 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 SW_DOCUMENTFONTSDIALOG_HXX +#define SW_DOCUMENTFONTSDIALOG_HXX + +#include <sfx2/tabdlg.hxx> + +#include <vcl/fixed.hxx> +#include <svtools/stdctrl.hxx> + +/** + Tab page for document font settings in the document properties dialog. +*/ +class SwDocumentFontsPage: public SfxTabPage +{ +public: + SwDocumentFontsPage( Window* parent, const SfxItemSet& set ); + static SfxTabPage* Create( Window* parent, const SfxItemSet& set ); +protected: + virtual sal_Bool FillItemSet( SfxItemSet& set ); + virtual void Reset( const SfxItemSet& set ); +private: + CheckBox* embedFontsCheckbox; +}; + +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |