/* -*- 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 DBAUI_WIZ_NAMEMATCHING_HXX #define DBAUI_WIZ_NAMEMATCHING_HXX #include "WTabPage.hxx" #include "marktree.hxx" #include "DExport.hxx" #include #include #include "WCopyTable.hxx" namespace dbaui { // ======================================================== // columns are at root only no children // ======================================================== class OColumnTreeBox : public OMarkableTreeListBox { sal_Bool m_bReadOnly; protected: virtual void InitEntry(SvTreeListEntry* pEntry, const OUString& rStr, const Image& rImg1, const Image& rImg2, SvLBoxButtonKind eButtonKind); public: OColumnTreeBox( Window* pParent, const ResId& rResId ); void FillListBox( const ODatabaseExport::TColumnVector& _rList); void SetReadOnly(sal_Bool _bRo=sal_True) { m_bReadOnly = _bRo; } virtual sal_Bool Select( SvTreeListEntry* pEntry, sal_Bool bSelect=sal_True ); private: using OMarkableTreeListBox::Select; }; // ======================================================== // Wizard Page: OWizNameMatching // Name matching for data appending // ======================================================== class OWizNameMatching : public OWizardPage { FixedText m_FT_TABLE_LEFT; FixedText m_FT_TABLE_RIGHT; OColumnTreeBox m_CTRL_LEFT; // left side OColumnTreeBox m_CTRL_RIGHT; // right side ImageButton m_ibColumn_up; ImageButton m_ibColumn_down; ImageButton m_ibColumn_up_right; ImageButton m_ibColumn_down_right; PushButton m_pbAll; PushButton m_pbNone; String m_sSourceText; String m_sDestText; DECL_LINK( ButtonClickHdl, Button * ); DECL_LINK( RightButtonClickHdl, Button * ); DECL_LINK( AllNoneClickHdl, Button * ); DECL_LINK( TableListClickHdl, void* ); DECL_LINK( TableListRightSelectHdl, void* ); public: virtual void Reset ( ); virtual void ActivatePage(); virtual sal_Bool LeavePage(); virtual String GetTitle() const ; OWizNameMatching(Window* pParent); virtual ~OWizNameMatching(); }; } #endif // DBAUI_WIZ_NAMEMATCHING_HXX /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ value='distro/collabora/co-24.04.6'>distro/collabora/co-24.04.6 LibreOffice 核心代码仓库文档基金会
summaryrefslogtreecommitdiff
AgeCommit message (Expand)Author
2017-07-31loplugin:constparams in cuiNoel Grandin
2016-10-05Remove _TYPED suffix from tools/link.hxx macrosStephan Bergmann
2016-10-04remove bogus include checksNoel Grandin
2016-09-13loplugin:override: No more need for the "MSVC dtor override" workaroundStephan Bergmann
2015-11-10loplugin:nullptr (automatic rewrite)Stephan Bergmann
2015-10-12Replace "SAL_OVERRIDE" with "override" in LIBO_INTERNAL_ONLY codeStephan Bergmann
2015-09-26convert Link<> to typedNoel Grandin
2015-09-11convert Link<> to typedNoel Grandin
2015-09-08convert Link<> to typedNoel Grandin
2015-08-31convert Link<> to typedNoel Grandin
2015-08-26Convert vcl Button Link<> click handler to typed Link<Button*,void>Noel Grandin
2015-07-17loplugin:unusedmethods cuiNoel Grandin
2015-06-19cui: prefix remaining svx::DbRegistrationOptionsPage membersMiklos Vajna
2015-05-15tdf#62475: partial handmade fixesAndrea Gelmini
2015-05-06Remove unused SvxControlFocusHelperStephan Bergmann
2015-04-30Get rid of initial :: for the svx namespaceTor Lillqvist
2015-04-28cui: fix GCC-4.7 buildMiklos Vajna
2015-04-17Fix SfxTabPage creation to use VclPtr.Michael Meeks
2015-04-10vclwidget: change all vcl::window fields to be wrapped in VclPtrNoel Grandin
2015-04-09vcl: VclPtr conversion in cuiNoel Grandin
2014-09-23fdo#82577: Handle WindowNoel Grandin
2014-06-11Change SfxTabPage ctor SfxItemSet param from ref to pointerStephan Bergmann
2014-06-11Change SfxTabPage::Reset param from ref to pointerStephan Bergmann
2014-06-10Change SfxTabPage::FillItemSet param from ref to pointerStephan Bergmann
2014-04-27constLuboš Luňák
2014-04-16cui: sal_Bool->boolNoel Grandin
2014-04-01Explicitly mark overriding destructors as "virtual"Stephan Bergmann
2014-03-27Second batch of adding SAL_OVERRIDE to overriding function declarationsStephan Bergmann
2014-03-27sfx2: sal_Bool->boolNoel Grandin
2014-02-26Remove visual noise from cuiAlexander Wilms
2014-01-10Resolves: fdo#73260 fix Registered Database single tab dialogCaolán McNamara
2013-12-06Clean up includes of comphelper/stl_types.hxxStephan Bergmann
2013-10-28fixincludeguards.sh: cuiThomas Arnhold
2013-10-01convert CUI module from String to OUStringNoel Grandin
2013-09-29Convert dbregister to .ui + adapt code.Jan Holesovsky
2013-09-25Related: fdo#38838 remove UniString::EqualsIgnoreCaseAsciiCaolán McNamara