2012-05-28 20:23:01 -05:00
|
|
|
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
|
|
|
|
/*
|
|
|
|
* Copyright 2012 LibreOffice contributors.
|
|
|
|
*
|
|
|
|
* 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/.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef TEMPLATEDLG_HXX
|
|
|
|
#define TEMPLATEDLG_HXX
|
|
|
|
|
|
|
|
#include <vcl/dialog.hxx>
|
|
|
|
#include <vcl/button.hxx>
|
|
|
|
|
2012-06-10 10:50:01 -05:00
|
|
|
class ThumbnailView;
|
|
|
|
|
2012-05-28 20:23:01 -05:00
|
|
|
class SfxTemplateManagerDlg : public ModalDialog
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
|
|
|
|
SfxTemplateManagerDlg (Window *parent = NULL);
|
|
|
|
|
|
|
|
~SfxTemplateManagerDlg ();
|
|
|
|
|
|
|
|
DECL_LINK(ViewAllHdl, void*);
|
|
|
|
DECL_LINK(ViewDocsHdl, void*);
|
|
|
|
DECL_LINK(ViewPresentsHdl, void*);
|
|
|
|
DECL_LINK(ViewSheetsHdl, void*);
|
|
|
|
DECL_LINK(ViewDrawsHdl, void*);
|
|
|
|
|
2012-06-16 12:03:34 -05:00
|
|
|
private:
|
|
|
|
|
|
|
|
DECL_LINK(OnClickSelectionMode, ImageButton*);
|
|
|
|
|
2012-05-28 20:23:01 -05:00
|
|
|
private:
|
|
|
|
|
|
|
|
PushButton aButtonAll;
|
|
|
|
PushButton aButtonDocs;
|
|
|
|
PushButton aButtonPresents;
|
|
|
|
PushButton aButtonSheets;
|
|
|
|
PushButton aButtonDraws;
|
2012-06-16 12:03:34 -05:00
|
|
|
ImageButton maButtonSelMode;
|
2012-06-01 12:55:06 -05:00
|
|
|
|
2012-06-10 10:50:01 -05:00
|
|
|
ThumbnailView *maView;
|
2012-05-28 20:23:01 -05:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // TEMPLATEDLG_HXX
|
|
|
|
|
|
|
|
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|