4c09fc48e9
and related css::util::SearchOptions2 The TransliterationModules enum has it's constants spread over multiple UNO enum/constant-collections - TransliterationModules and TransliterationModulesExtra, which means that most code simply uses sal_Int32. Wrap them up into a better bundle so that only the lowest layer needs to deal directly with the UNO constants. Change-Id: I1edeab79fcc7817a4a97c933ef84ab7015bb849b Reviewed-on: https://gerrit.libreoffice.org/34582 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
58 lines
2 KiB
C++
58 lines
2 KiB
C++
/* -*- 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_CUI_SOURCE_INC_CUISRCHDLG_HXX
|
|
#define INCLUDED_CUI_SOURCE_INC_CUISRCHDLG_HXX
|
|
|
|
#include <vcl/combobox.hxx>
|
|
#include <vcl/edit.hxx>
|
|
#include <vcl/lstbox.hxx>
|
|
#include <vcl/button.hxx>
|
|
#include <vcl/group.hxx>
|
|
#include <vcl/fixed.hxx>
|
|
#include <vcl/dialog.hxx>
|
|
#include <sfx2/childwin.hxx>
|
|
#include <sfx2/basedlgs.hxx>
|
|
#include <svtools/svmedit.hxx>
|
|
#include <svl/srchdefs.hxx>
|
|
|
|
class SvxJSearchOptionsPage;
|
|
|
|
class SvxJSearchOptionsDialog : public SfxSingleTabDialog
|
|
{
|
|
TransliterationFlags nInitialTlFlags;
|
|
VclPtr<SvxJSearchOptionsPage> pPage;
|
|
|
|
SvxJSearchOptionsDialog( const SvxJSearchOptionsDialog & ) = delete;
|
|
SvxJSearchOptionsDialog & operator == ( const SvxJSearchOptionsDialog & ) = delete;
|
|
|
|
public:
|
|
SvxJSearchOptionsDialog(vcl::Window *pParent,
|
|
const SfxItemSet& rOptionsSet, TransliterationFlags nInitialFlags);
|
|
virtual ~SvxJSearchOptionsDialog() override;
|
|
virtual void dispose() override;
|
|
|
|
// Window
|
|
virtual void Activate() override;
|
|
|
|
TransliterationFlags GetTransliterationFlags() const;
|
|
};
|
|
|
|
#endif
|
|
|
|
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|