2010-10-14 08:30:41 +02:00
|
|
|
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
|
2012-06-21 14:30:25 +01: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 .
|
|
|
|
*/
|
2013-11-05 02:17:53 +01:00
|
|
|
#ifndef INCLUDED_SW_SOURCE_UI_INC_FLDWRAP_HXX
|
|
|
|
#define INCLUDED_SW_SOURCE_UI_INC_FLDWRAP_HXX
|
2000-09-18 16:15:01 +00:00
|
|
|
|
|
|
|
#include "chldwrap.hxx"
|
2004-05-10 15:28:31 +00:00
|
|
|
class AbstractSwFldDlg;
|
2000-09-18 16:15:01 +00:00
|
|
|
|
|
|
|
class SwFldDlgWrapper : public SwChildWinWrapper
|
|
|
|
{
|
|
|
|
public:
|
2007-09-27 10:59:44 +00:00
|
|
|
AbstractSwFldDlg * pDlgInterface;
|
2011-01-17 15:06:54 +01:00
|
|
|
SwFldDlgWrapper( Window* pParent, sal_uInt16 nId,
|
2000-09-18 16:15:01 +00:00
|
|
|
SfxBindings* pBindings, SfxChildWinInfo* pInfo );
|
|
|
|
|
2012-06-16 14:12:33 +01:00
|
|
|
SFX_DECL_CHILDWINDOW_WITHID(SwFldDlgWrapper);
|
2000-09-18 16:15:01 +00:00
|
|
|
|
2011-01-17 15:06:54 +01:00
|
|
|
virtual sal_Bool ReInitDlg(SwDocShell *pDocSh);
|
2013-08-21 20:52:30 +01:00
|
|
|
void ShowReferencePage();
|
2000-09-18 16:15:01 +00:00
|
|
|
};
|
2010-10-13 10:32:10 +05:30
|
|
|
|
2011-03-14 21:40:39 +01:00
|
|
|
/* --------------------------------------------------
|
2003-03-27 14:45:43 +00:00
|
|
|
* field dialog only showing database page to support
|
|
|
|
* mail merge
|
|
|
|
* --------------------------------------------------*/
|
|
|
|
class SwFldDataOnlyDlgWrapper : public SwChildWinWrapper
|
|
|
|
{
|
|
|
|
public:
|
2007-09-27 10:59:44 +00:00
|
|
|
AbstractSwFldDlg * pDlgInterface;
|
2011-01-17 15:06:54 +01:00
|
|
|
SwFldDataOnlyDlgWrapper( Window* pParent, sal_uInt16 nId,
|
2003-03-27 14:45:43 +00:00
|
|
|
SfxBindings* pBindings, SfxChildWinInfo* pInfo );
|
|
|
|
|
|
|
|
SFX_DECL_CHILDWINDOW(SwFldDataOnlyDlgWrapper);
|
|
|
|
|
2011-01-17 15:06:54 +01:00
|
|
|
virtual sal_Bool ReInitDlg(SwDocShell *pDocSh);
|
2003-03-27 14:45:43 +00:00
|
|
|
};
|
2000-09-18 16:15:01 +00:00
|
|
|
|
|
|
|
#endif
|
2010-10-14 08:30:41 +02:00
|
|
|
|
|
|
|
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|