2010-10-27 06:45:03 -05:00
|
|
|
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
|
2012-10-04 05:25:41 -05:00
|
|
|
/*
|
|
|
|
* 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 .
|
|
|
|
*/
|
2009-10-30 18:36:06 -05:00
|
|
|
|
|
|
|
#ifndef _MACROPG_IMPL_HXX
|
|
|
|
#define _MACROPG_IMPL_HXX
|
|
|
|
|
|
|
|
class _SvxMacroTabPage_Impl
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
_SvxMacroTabPage_Impl( const SfxItemSet& rAttrSet );
|
|
|
|
~_SvxMacroTabPage_Impl();
|
|
|
|
|
|
|
|
FixedText* pAssignFT;
|
|
|
|
PushButton* pAssignPB;
|
|
|
|
PushButton* pAssignComponentPB;
|
|
|
|
PushButton* pDeletePB;
|
|
|
|
Image* pMacroImg;
|
|
|
|
Image* pComponentImg;
|
|
|
|
String* pStrEvent;
|
|
|
|
String* pAssignedMacro;
|
|
|
|
_HeaderTabListBox* pEventLB;
|
2011-01-14 05:41:27 -06:00
|
|
|
sal_Bool bReadOnly;
|
|
|
|
sal_Bool bIDEDialogMode;
|
2009-10-30 18:36:06 -05:00
|
|
|
};
|
|
|
|
|
|
|
|
class AssignComponentDialog : public ModalDialog
|
|
|
|
{
|
|
|
|
private:
|
|
|
|
FixedText maMethodLabel;
|
|
|
|
Edit maMethodEdit;
|
|
|
|
OKButton maOKButton;
|
|
|
|
CancelButton maCancelButton;
|
|
|
|
HelpButton maHelpButton;
|
|
|
|
|
|
|
|
::rtl::OUString maURL;
|
|
|
|
|
2012-03-01 11:00:32 -06:00
|
|
|
DECL_LINK(ButtonHandler, void *);
|
2009-10-30 18:36:06 -05:00
|
|
|
|
|
|
|
public:
|
|
|
|
AssignComponentDialog( Window * pParent, const ::rtl::OUString& rURL );
|
|
|
|
~AssignComponentDialog();
|
|
|
|
|
|
|
|
::rtl::OUString getURL( void ) const
|
|
|
|
{ return maURL; }
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|
2010-10-27 06:45:03 -05:00
|
|
|
|
|
|
|
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|