Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
63d114a7
Kaydet (Commit)
63d114a7
authored
Tem 02, 2011
tarafından
Matus Kukan
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Remove preload library related code
üst
25a4c95f
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
14 changed files
with
1 addition
and
1122 deletions
+1
-1122
build.lst
extensions/prj/build.lst
+1
-2
d.lst
extensions/prj/d.lst
+0
-1
makefile.mk
extensions/source/preload/makefile.mk
+0
-93
modulepreload.cxx
extensions/source/preload/modulepreload.cxx
+0
-34
oemwiz.cxx
extensions/source/preload/oemwiz.cxx
+0
-0
oemwiz.hxx
extensions/source/preload/oemwiz.hxx
+0
-156
preload.component
extensions/source/preload/preload.component
+0
-34
preload.hrc
extensions/source/preload/preload.hrc
+0
-58
preload.src
extensions/source/preload/preload.src
+0
-290
preloadservices.cxx
extensions/source/preload/preloadservices.cxx
+0
-73
preloadservices.hxx
extensions/source/preload/preloadservices.hxx
+0
-57
services.cxx
extensions/source/preload/services.cxx
+0
-87
unoautopilot.hxx
extensions/source/preload/unoautopilot.hxx
+0
-109
unoautopilot.inl
extensions/source/preload/unoautopilot.inl
+0
-128
No files found.
extensions/prj/build.lst
Dosyayı görüntüle @
63d114a7
...
@@ -25,14 +25,13 @@ ex extensions\source\abpilot nmake - all ex_abpilot ex_in
...
@@ -25,14 +25,13 @@ ex extensions\source\abpilot nmake - all ex_abpilot ex_in
ex extensions\source\logging nmake - all ex_logging ex_inc NULL
ex extensions\source\logging nmake - all ex_logging ex_inc NULL
ex extensions\source\oooimprovecore nmake - all ex_oooimprovecore ex_inc NULL
ex extensions\source\oooimprovecore nmake - all ex_oooimprovecore ex_inc NULL
ex extensions\source\oooimprovement nmake - all ex_oooimprovement ex_inc NULL
ex extensions\source\oooimprovement nmake - all ex_oooimprovement ex_inc NULL
ex extensions\source\preload nmake - all ex_preload ex_inc NULL
ex extensions\source\config\ldap nmake - all ex_ldap ex_inc NULL
ex extensions\source\config\ldap nmake - all ex_ldap ex_inc NULL
ex extensions\source\nsplugin\source nmake - u ex_nsplugin ex_inc NULL
ex extensions\source\nsplugin\source nmake - u ex_nsplugin ex_inc NULL
ex extensions\source\nsplugin\source nmake - w ex_nsplugin ex_inc NULL
ex extensions\source\nsplugin\source nmake - w ex_nsplugin ex_inc NULL
ex extensions\source\update\feed nmake - all ex_updchkfeed ex_inc NULL
ex extensions\source\update\feed nmake - all ex_updchkfeed ex_inc NULL
ex extensions\source\update\check nmake - all ex_updchk ex_inc NULL
ex extensions\source\update\check nmake - all ex_updchk ex_inc NULL
ex extensions\source\update\ui nmake - all ex_updchkui ex_inc NULL
ex extensions\source\update\ui nmake - all ex_updchkui ex_inc NULL
ex extensions\util nmake - all ex_util ex_
preload ex_
abpilot ex_dbpilots ex_logging ex_ldap ex_propctrlr ex_bib ex_plutil ex_oooimprovecore NULL
ex extensions\util nmake - all ex_util ex_abpilot ex_dbpilots ex_logging ex_ldap ex_propctrlr ex_bib ex_plutil ex_oooimprovecore NULL
# Fails at the moment
# Fails at the moment
# ex extensions\qa\complex\extensions nmake - all ex_complex ex_util NULL
# ex extensions\qa\complex\extensions nmake - all ex_complex ex_util NULL
extensions/prj/d.lst
Dosyayı görüntüle @
63d114a7
...
@@ -49,7 +49,6 @@ mkdir: %_DEST%\xml\registry\spool\org\openoffice\Office\Logging
...
@@ -49,7 +49,6 @@ mkdir: %_DEST%\xml\registry\spool\org\openoffice\Office\Logging
..\%__SRC%\misc\oooimprovement.component %_DEST%\xml\oooimprovement.component
..\%__SRC%\misc\oooimprovement.component %_DEST%\xml\oooimprovement.component
..\%__SRC%\misc\pcr.component %_DEST%\xml\pcr.component
..\%__SRC%\misc\pcr.component %_DEST%\xml\pcr.component
..\%__SRC%\misc\pl.component %_DEST%\xml\pl.component
..\%__SRC%\misc\pl.component %_DEST%\xml\pl.component
..\%__SRC%\misc\preload.component %_DEST%\xml\preload.component
..\%__SRC%\misc\res.component %_DEST%\xml\res.component
..\%__SRC%\misc\res.component %_DEST%\xml\res.component
..\%__SRC%\misc\scn.component %_DEST%\xml\scn.component
..\%__SRC%\misc\scn.component %_DEST%\xml\scn.component
..\%__SRC%\misc\updatefeed.component %_DEST%\xml\updatefeed.component
..\%__SRC%\misc\updatefeed.component %_DEST%\xml\updatefeed.component
...
...
extensions/source/preload/makefile.mk
deleted
100644 → 0
Dosyayı görüntüle @
25a4c95f
#*************************************************************************
#
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# Copyright 2000, 2010 Oracle and/or its affiliates.
#
# OpenOffice.org - a multi-platform office productivity suite
#
# This file is part of OpenOffice.org.
#
# OpenOffice.org is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License version 3
# only, as published by the Free Software Foundation.
#
# OpenOffice.org is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License version 3 for more details
# (a copy is included in the LICENSE file that accompanied this code).
#
# You should have received a copy of the GNU Lesser General Public License
# version 3 along with OpenOffice.org. If not, see
# <http://www.openoffice.org/license.html>
# for a copy of the LGPLv3 License.
#
#*************************************************************************
PRJ
=
..
$/
..
PRJINC
=
..
$/
inc
PRJNAME
=
extensions
TARGET
=
preload
ENABLE_EXCEPTIONS
=
TRUE
VISIBILITY_HIDDEN
=
TRUE
USE_DEFFILE
=
TRUE
# --- Settings -----------------------------------------------------
.INCLUDE
:
$(PRJ)$/util$/makefile.pmk
# --- defines ------------------------------------------------------
CDEFS
+=
-DCOMPMOD_NAMESPACE
=
preload
CDEFS
+=
-DCOMPMOD_RESPREFIX
=
preload
# --- Files --------------------------------------------------------
SLOFILES
=
$(SLO)$/
services.obj
\
$(SLO)$/
modulepreload.obj
\
$(SLO)$/
preloadservices.obj
\
$(SLO)$/
oemwiz.obj
SRS1NAME
=
$(TARGET)
SRC1FILES
=
preload.src
RESLIB1NAME
=
preload
RESLIB1IMAGES
=
$(PRJ)$/
res
RESLIB1SRSFILES
=
$(SRS)$/
preload.srs
SHL1TARGET
=
$(TARGET)$(DLLPOSTFIX)
SHL1VERSIONMAP
=
$(SOLARENV)
/src/component.map
SHL1STDLIBS
=
\
$(SFXLIB)
\
$(SVTOOLLIB)
\
$(VCLLIB)
\
$(SVLLIB)
\
$(TOOLSLIB)
\
$(UNOTOOLSLIB)
\
$(COMPHELPERLIB)
\
$(CPPUHELPERLIB)
\
$(CPPULIB)
\
$(SALLIB)
SHL1LIBS
=
$(SLB)$/$(TARGET)
.lib
SHL1IMPLIB
=
i
$(TARGET)
SHL1DEPN
=
$(SHL1LIBS)
SHL1DEF
=
$(MISC)$/$(SHL1TARGET)
.def
DEF1NAME
=
$(SHL1TARGET)
# --- Targets ------------------------------------------------------
.INCLUDE
:
target.mk
ALLTAR
:
$(MISC)/preload.component
$(MISC)/preload.component .ERRREMOVE
:
$(SOLARENV)/bin/createcomponent.xslt
\
preload.component
$(XSLTPROC)
--nonet
--stringparam
uri
\
'$(COMPONENTPREFIX_BASIS_NATIVE)$(SHL1TARGETN:f)'
-o
$@
\
$(SOLARENV)/bin/createcomponent.xslt
preload.component
extensions/source/preload/modulepreload.cxx
deleted
100644 → 0
Dosyayı görüntüle @
25a4c95f
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
*
* This file is part of OpenOffice.org.
*
* OpenOffice.org is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License version 3
* only, as published by the Free Software Foundation.
*
* OpenOffice.org is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License version 3 for more details
* (a copy is included in the LICENSE file that accompanied this code).
*
* You should have received a copy of the GNU Lesser General Public License
* version 3 along with OpenOffice.org. If not, see
* <http://www.openoffice.org/license.html>
* for a copy of the LGPLv3 License.
*
************************************************************************/
// MARKER(update_precomp.py): autogen include statement, do not remove
#include "precompiled_extensions.hxx"
#include "componentmodule.cxx"
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
extensions/source/preload/oemwiz.cxx
deleted
100644 → 0
Dosyayı görüntüle @
25a4c95f
This diff is collapsed.
Click to expand it.
extensions/source/preload/oemwiz.hxx
deleted
100644 → 0
Dosyayı görüntüle @
25a4c95f
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
*
* This file is part of OpenOffice.org.
*
* OpenOffice.org is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License version 3
* only, as published by the Free Software Foundation.
*
* OpenOffice.org is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License version 3 for more details
* (a copy is included in the LICENSE file that accompanied this code).
*
* You should have received a copy of the GNU Lesser General Public License
* version 3 along with OpenOffice.org. If not, see
* <http://www.openoffice.org/license.html>
* for a copy of the LGPLv3 License.
*
************************************************************************/
#ifndef _EXTENSIONS_PRELOAD_OEMWIZ_HXX_
#define _EXTENSIONS_PRELOAD_OEMWIZ_HXX_
#include <com/sun/star/beans/XPropertySet.hpp>
#include <com/sun/star/lang/XMultiServiceFactory.hpp>
#include <svtools/wizdlg.hxx>
#include <vcl/button.hxx>
#include <vcl/tabpage.hxx>
#include <vcl/fixed.hxx>
#include <svtools/svmedit.hxx>
#include <svl/lstner.hxx>
#include <vcl/scrbar.hxx>
//.........................................................................
namespace
preload
{
#define OEM_WELCOME 0
#define OEM_LICENSE 1
#define OEM_USERDATA 2
//.........................................................................
//=====================================================================
//= OEMPreloadDialog
//=====================================================================
struct
OEMPreloadDialog_Impl
;
class
OEMPreloadDialog
:
public
WizardDialog
{
PushButton
aPrevPB
;
PushButton
aNextPB
;
CancelButton
aCancelPB
;
String
aNextST
;
String
aAcceptST
;
String
aFinishST
;
String
aDlgTitle
;
String
aLicense
;
String
aUserData
;
OEMPreloadDialog_Impl
*
pImpl
;
DECL_LINK
(
NextPrevPageHdl
,
PushButton
*
);
protected
:
public
:
OEMPreloadDialog
(
Window
*
_pParent
,
const
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
beans
::
XPropertySet
>&
_rxObjectModel
,
const
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
lang
::
XMultiServiceFactory
>&
_rxORB
);
~
OEMPreloadDialog
();
const
String
&
GetAcceptString
()
const
{
return
aAcceptST
;}
const
String
GetCancelString
()
const
{
return
aCancelPB
.
GetText
();}
void
SetCancelString
(
const
String
&
rText
);
static
sal_Bool
LoadFromLocalFile
(
const
String
&
rFileName
,
String
&
rContent
);
};
class
OEMWelcomeTabPage
:
public
TabPage
{
FixedText
aInfoFT
;
public
:
OEMWelcomeTabPage
(
Window
*
pParent
);
~
OEMWelcomeTabPage
();
};
class
LicenceView
:
public
MultiLineEdit
,
public
SfxListener
{
sal_Bool
mbEndReached
;
Link
maEndReachedHdl
;
Link
maScrolledHdl
;
public
:
LicenceView
(
Window
*
pParent
,
const
ResId
&
rResId
);
~
LicenceView
();
void
ScrollDown
(
ScrollType
eScroll
);
sal_Bool
IsEndReached
()
const
;
sal_Bool
EndReached
()
const
{
return
mbEndReached
;
}
void
SetEndReached
(
sal_Bool
bEnd
)
{
mbEndReached
=
bEnd
;
}
void
SetEndReachedHdl
(
const
Link
&
rHdl
)
{
maEndReachedHdl
=
rHdl
;
}
const
Link
&
GetAutocompleteHdl
()
const
{
return
maEndReachedHdl
;
}
void
SetScrolledHdl
(
const
Link
&
rHdl
)
{
maScrolledHdl
=
rHdl
;
}
const
Link
&
GetScrolledHdl
()
const
{
return
maScrolledHdl
;
}
virtual
void
Notify
(
SfxBroadcaster
&
rBC
,
const
SfxHint
&
rHint
);
private
:
using
MultiLineEdit
::
Notify
;
};
class
OEMLicenseTabPage
:
public
TabPage
{
LicenceView
aLicenseML
;
FixedText
aInfo1FT
;
FixedText
aInfo2FT
;
FixedText
aInfo3FT
;
FixedText
aInfo2_1FT
;
FixedText
aInfo3_1FT
;
CheckBox
aCBAccept
;
PushButton
aPBPageDown
;
FixedImage
aArrow
;
String
aStrAccept
;
String
aStrNotAccept
;
String
aOldCancelText
;
sal_Bool
bEndReached
;
OEMPreloadDialog
*
pPreloadDialog
;
void
EnableControls
();
DECL_LINK
(
AcceptHdl
,
CheckBox
*
);
DECL_LINK
(
PageDownHdl
,
PushButton
*
);
DECL_LINK
(
EndReachedHdl
,
LicenceView
*
);
DECL_LINK
(
ScrolledHdl
,
LicenceView
*
);
public
:
OEMLicenseTabPage
(
OEMPreloadDialog
*
pParent
);
~
OEMLicenseTabPage
();
virtual
void
ActivatePage
();
};
//.........................................................................
}
// namespace preload
//.........................................................................
#endif // _EXTENSIONS_PRELOAD_OEMWIZ_HXX_
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
extensions/source/preload/preload.component
deleted
100644 → 0
Dosyayı görüntüle @
25a4c95f
<?xml version="1.0" encoding="UTF-8"?>
<!--**********************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
*
* This file is part of OpenOffice.org.
*
* OpenOffice.org is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License version 3
* only, as published by the Free Software Foundation.
*
* OpenOffice.org is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License version 3 for more details
* (a copy is included in the LICENSE file that accompanied this code).
*
* You should have received a copy of the GNU Lesser General Public License
* version 3 along with OpenOffice.org. If not, see
* <http://www.openoffice.org/license.html>
* for a copy of the LGPLv3 License.
*
**********************************************************************-->
<component
loader=
"com.sun.star.loader.SharedLibrary"
xmlns=
"http://openoffice.org/2010/uno-components"
>
<implementation
name=
"org.openoffice.comp.preload.OEMPreloadWizard"
>
<service
name=
"org.openoffice.comp.preload.OEMPreloadWizard"
/>
</implementation>
</component>
extensions/source/preload/preload.hrc
deleted
100644 → 0
Dosyayı görüntüle @
25a4c95f
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
*
* This file is part of OpenOffice.org.
*
* OpenOffice.org is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License version 3
* only, as published by the Free Software Foundation.
*
* OpenOffice.org is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License version 3 for more details
* (a copy is included in the LICENSE file that accompanied this code).
*
* You should have received a copy of the GNU Lesser General Public License
* version 3 along with OpenOffice.org. If not, see
* <http://www.openoffice.org/license.html>
* for a copy of the LGPLv3 License.
*
************************************************************************/
#ifndef _EXTENSIONS_PRELOAD_PRELOAD_HRC_
#define _EXTENSIONS_PRELOAD_PRELOAD_HRC_
#define RID_DLG_OEMWIZARD 1024
#define RID_TP_LICENSE 1025
#define RID_TP_WELCOME 1027
#define PB_PREV 1
#define PB_NEXT 2
#define PB_CANCEL 3
#define ST_ACCEPT 5
#define ST_FINISH 6
#define FT_INFO 7
#define ML_README 8
#define FT_INFO1 9
#define FT_INFO2 10
#define ML_LICENSE 11
#define ST_LICENSE_AGREEMENT 12
#define ST_INSERT_USER_DATA 13
#define IMG_ARROW 14
#define FT_INFO2_1 15
#define FT_INFO3_1 16
#define FT_INFO3 17
#define PB_PAGEDOWN 18
#define CB_ACCEPT 19
#define LICENCE_ACCEPT 20
#define LICENCE_NOTACCEPT 21
#endif
extensions/source/preload/preload.src
deleted
100644 → 0
Dosyayı görüntüle @
25a4c95f
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
*
* This file is part of OpenOffice.org.
*
* OpenOffice.org is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License version 3
* only, as published by the Free Software Foundation.
*
* OpenOffice.org is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License version 3 for more details
* (a copy is included in the LICENSE file that accompanied this code).
*
* You should have received a copy of the GNU Lesser General Public License
* version 3 along with OpenOffice.org. If not, see
* <http://www.openoffice.org/license.html>
* for a copy of the LGPLv3 License.
*
************************************************************************/
#ifndef _EXTENSIONS_PRELOAD_PRELOAD_HRC_
#include "preload.hrc"
#endif
ModalDialog RID_DLG_OEMWIZARD
{
HelpID = "extensions:ModalDialog:RID_DLG_OEMWIZARD";
Text = "%PRODUCTNAME %PRODUCTVERSION";
OutputSize = TRUE ;
SVLook = TRUE ;
Moveable = TRUE ;
Closeable = TRUE ;
Hide = TRUE;
PushButton PB_PREV
{
HelpID = "extensions:PushButton:RID_DLG_OEMWIZARD:PB_PREV";
Size = MAP_APPFONT ( 50 , 14 ) ;
Text [ en-US ] = "<< Back" ;
};
PushButton PB_NEXT
{
HelpID = "extensions:PushButton:RID_DLG_OEMWIZARD:PB_NEXT";
Size = MAP_APPFONT ( 50 , 14 ) ;
Text [ en-US ] = "Next >>" ;
};
CancelButton PB_CANCEL
{
Size = MAP_APPFONT ( 50 , 14 ) ;
};
String ST_ACCEPT
{
Text [ en-US ] = "Accept";
};
String ST_FINISH
{
Text [ en-US ] = "Finish";
};
String ST_LICENSE_AGREEMENT
{
Text [ en-US ] = " - Software License Agreement";
};
String ST_INSERT_USER_DATA
{
Text [ en-US ] = "- User Data";
};
};
TabPage RID_TP_WELCOME
{
HelpID = "extensions:TabPage:RID_TP_WELCOME";
// HelpId = ;
OutputSize = TRUE ;
SVLook = TRUE ;
Hide = TRUE ;
Size = MAP_APPFONT ( 260 , 185 ) ;
Text [ en-US ] = "Welcome";
FixedText FT_INFO
{
Pos = MAP_APPFONT ( 6 , 3 ) ;
Size = MAP_APPFONT ( 248 , 174 ) ;
WordBreak = TRUE ;
Text [ en-US ] = "Welcome to %PRODUCTNAME %PRODUCTVERSION OEM\n\nTo start the %PRODUCTNAME %PRODUCTVERSION OEM, "
"please enter your personal data in the dialog following the license text. Important information is contained "
"in the readme files which are located in the %PRODUCTNAME product directory. Please read these files carefully. "
"You can also find detailed information at the Oracle website \n\n"
"http://www.oracle.com/us/products/applications/open-office.";
};
};
#define LICENSE_DIALOG_WIDTH 260
#define LICENSE_DIALOG_HEIGTH 185
#define LICENSE_RIGHT_BORDER 7
#define LICENSE_BOTTOM_BORDER 0
#define LICENSE_ROW_1 (7)
#define LICENSE_COL_1 (7)
#define OFFSET 2
#define COL2_WIDTH 10
#define OFFSET_IMG 10
#define FT_HEIGHT 8
#define PB_HEIGHT 14
#define PD_WIDTH 40
#define LICENCE_HEIGHT 102
#define LICENSE_ROW_2 (LICENSE_ROW_1 + OFFSET + LICENCE_HEIGHT)
#define LICENSE_ROW_3 (LICENSE_ROW_2 + OFFSET + FT_HEIGHT)
#define LICENSE_ROW_4 (LICENSE_ROW_3 + OFFSET + 3*FT_HEIGHT )
#define LICENSE_ROW_5 (LICENSE_ROW_4 + OFFSET + FT_HEIGHT)
/*
#define LICENSE_ROW_5 (LICENSE_DIALOG_HEIGTH - LICENSE_BOTTOM_BORDER - OFFSET - FT_HEIGHT)
#define LICENSE_ROW_4 (LICENSE_ROW_5 - OFFSET - FT_HEIGHT)
#define LICENSE_ROW_3 (LICENSE_ROW_4 - OFFSET - 3*FT_HEIGHT)
#define LICENSE_ROW_2 (LICENSE_ROW_3 - OFFSET - FT_HEIGHT)
#define LICENCE_HEIGHT (LICENSE_ROW_2-LICENSE_ROW_1-OFFSET)
*/
#define LICENSE_COL_2 (LICENSE_COL_1 + OFFSET_IMG)
#define LICENSE_COL_3 (LICENSE_COL_2 + COL2_WIDTH +1)
#define LICENSE_COL_4 (LICENSE_DIALOG_WIDTH - LICENSE_RIGHT_BORDER - PD_WIDTH)
#define LICENSE_WIDTH (LICENSE_DIALOG_WIDTH - LICENSE_RIGHT_BORDER - LICENSE_ROW_1)
#define COL3_WIDTH (LICENSE_COL_4 - LICENSE_COL_3)
TabPage RID_TP_LICENSE
{
HelpID = "extensions:TabPage:RID_TP_LICENSE";
OutputSize = TRUE ;
SVLook = TRUE ;
Hide = TRUE ;
Size = MAP_APPFONT ( LICENSE_DIALOG_WIDTH , LICENSE_DIALOG_HEIGTH ) ;
Text [ en-US ] = "License Agreement";
MultiLineEdit ML_LICENSE
{
HelpID = "extensions:MultiLineEdit:RID_TP_LICENSE:ML_LICENSE";
PosSize = MAP_APPFONT ( LICENSE_COL_1 , LICENSE_ROW_1 , LICENSE_WIDTH , LICENCE_HEIGHT ) ;
Border = TRUE ;
VScroll = TRUE ;
ReadOnly = TRUE ;
};
FixedText FT_INFO1
{
WordBreak = TRUE ;
Pos = MAP_APPFONT ( LICENSE_COL_1 , LICENSE_ROW_2 ) ;
Size = MAP_APPFONT ( LICENSE_WIDTH , FT_HEIGHT ) ;
Text [ en-US ] = "Please follow these steps to proceed with the installation:" ;
};
FixedImage IMG_ARROW
{
Pos = MAP_APPFONT ( LICENSE_COL_1 , LICENSE_ROW_3 ) ;
Size = MAP_PIXEL ( 16 , 16 ) ;
Fixed = Image
{
ImageBitmap = Bitmap
{
File = "arrow.bmp" ;
File[ ar ] = "m_arrow.bmp" ;
};
MaskColor = Color { Red = 0xFFFF ; Green = 0x0000 ; Blue = 0xFFFF ; };
};
};
FixedText FT_INFO2_1
{
WordBreak = TRUE ;
Pos = MAP_APPFONT ( LICENSE_COL_2 , LICENSE_ROW_3 ) ;
Size = MAP_APPFONT ( COL2_WIDTH , FT_HEIGHT ) ;
Text [ en-US ] = "1." ;
};
FixedText FT_INFO2
{
WordBreak = TRUE ;
Pos = MAP_APPFONT ( LICENSE_COL_3 , LICENSE_ROW_3 ) ;
Size = MAP_APPFONT ( COL3_WIDTH, 3*FT_HEIGHT ) ;
Text [ en-US ] = "View the complete License Agreement. Please use the scroll bar or the '%PAGEDOWN' button in this dialog to view the entire license text." ;
};
PushButton PB_PAGEDOWN
{
HelpID = "extensions:PushButton:RID_TP_LICENSE:PB_PAGEDOWN";
TabStop = TRUE ;
Pos = MAP_APPFONT ( LICENSE_COL_4 , LICENSE_ROW_3 ) ;
Size = MAP_APPFONT ( PD_WIDTH , PB_HEIGHT ) ;
Text [ en-US ] = "Page Down" ;
};
FixedText FT_INFO3_1
{
WordBreak = TRUE ;
Pos = MAP_APPFONT ( LICENSE_COL_2 , LICENSE_ROW_4 ) ;
Size = MAP_APPFONT ( COL2_WIDTH, FT_HEIGHT ) ;
Text [ en-US ] = "2." ;
};
FixedText FT_INFO3
{
WordBreak = TRUE ;
Pos = MAP_APPFONT ( LICENSE_COL_3, LICENSE_ROW_4 ) ;
Size = MAP_APPFONT ( COL3_WIDTH, FT_HEIGHT ) ;
Text [ en-US ] = "Accept the License Agreement." ;
};
CheckBox CB_ACCEPT
{
HelpID = "extensions:CheckBox:RID_TP_LICENSE:CB_ACCEPT";
TabStop = TRUE ;
Pos = MAP_APPFONT ( LICENSE_COL_3, LICENSE_ROW_5 ) ;
Size = MAP_APPFONT ( COL3_WIDTH, FT_HEIGHT ) ;
Text [ en-US ] = "I accept the terms of the Agreement." ;
};
String LICENCE_ACCEPT
{
Text [ en-US ] = "~Accept" ;
};
String LICENCE_NOTACCEPT
{
Text [ en-US ] = "Decline" ;
};
};
extensions/source/preload/preloadservices.cxx
deleted
100644 → 0
Dosyayı görüntüle @
25a4c95f
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
*
* This file is part of OpenOffice.org.
*
* OpenOffice.org is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License version 3
* only, as published by the Free Software Foundation.
*
* OpenOffice.org is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License version 3 for more details
* (a copy is included in the LICENSE file that accompanied this code).
*
* You should have received a copy of the GNU Lesser General Public License
* version 3 along with OpenOffice.org. If not, see
* <http://www.openoffice.org/license.html>
* for a copy of the LGPLv3 License.
*
************************************************************************/
// MARKER(update_precomp.py): autogen include statement, do not remove
#include "precompiled_extensions.hxx"
#include "preloadservices.hxx"
#include "componentmodule.hxx"
#include "unoautopilot.hxx"
#include "oemwiz.hxx"
// the registration methods
extern
"C"
void
SAL_CALL
createRegistryInfo_OEMPreloadDialog
()
{
static
::
preload
::
OMultiInstanceAutoRegistration
<
::
preload
::
OUnoAutoPilot
<
::
preload
::
OEMPreloadDialog
,
::
preload
::
OEMPreloadSI
>
>
aAutoRegistration
;
}
static
const
char
cServiceName
[]
=
"org.openoffice.comp.preload.OEMPreloadWizard"
;
//.........................................................................
namespace
preload
{
//.........................................................................
using
namespace
::
com
::
sun
::
star
::
uno
;
//=====================================================================
//= OEMPreloadSI
//=====================================================================
//---------------------------------------------------------------------
::
rtl
::
OUString
OEMPreloadSI
::
getImplementationName
()
const
{
return
::
rtl
::
OUString
::
createFromAscii
(
cServiceName
);
}
//---------------------------------------------------------------------
Sequence
<
::
rtl
::
OUString
>
OEMPreloadSI
::
getServiceNames
()
const
{
Sequence
<
::
rtl
::
OUString
>
aReturn
(
1
);
aReturn
[
0
]
=
::
rtl
::
OUString
::
createFromAscii
(
cServiceName
);
return
aReturn
;
}
//.........................................................................
}
// namespace preload
//.........................................................................
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
extensions/source/preload/preloadservices.hxx
deleted
100644 → 0
Dosyayı görüntüle @
25a4c95f
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
*
* This file is part of OpenOffice.org.
*
* OpenOffice.org is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License version 3
* only, as published by the Free Software Foundation.
*
* OpenOffice.org is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License version 3 for more details
* (a copy is included in the LICENSE file that accompanied this code).
*
* You should have received a copy of the GNU Lesser General Public License
* version 3 along with OpenOffice.org. If not, see
* <http://www.openoffice.org/license.html>
* for a copy of the LGPLv3 License.
*
************************************************************************/
#ifndef _EXTENSIONS_PRELOAD_PRELOADSERVICES_HXX_
#define _EXTENSIONS_PRELOAD_PRELOADSERVICES_HXX_
#include <com/sun/star/uno/Sequence.hxx>
#include <rtl/ustring.hxx>
//.........................................................................
namespace
preload
{
//.........................................................................
//=====================================================================
//= OGroupBoxSI
//=====================================================================
/// service info for the OEM preload wizard
struct
OEMPreloadSI
{
public
:
::
rtl
::
OUString
getImplementationName
()
const
;
::
com
::
sun
::
star
::
uno
::
Sequence
<
::
rtl
::
OUString
>
getServiceNames
()
const
;
};
//.........................................................................
}
// namespace preload
//.........................................................................
#endif // _EXTENSIONS_PRELOAD_PRELOADSERVICES_HXX_
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
extensions/source/preload/services.cxx
deleted
100644 → 0
Dosyayı görüntüle @
25a4c95f
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
*
* This file is part of OpenOffice.org.
*
* OpenOffice.org is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License version 3
* only, as published by the Free Software Foundation.
*
* OpenOffice.org is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License version 3 for more details
* (a copy is included in the LICENSE file that accompanied this code).
*
* You should have received a copy of the GNU Lesser General Public License
* version 3 along with OpenOffice.org. If not, see
* <http://www.openoffice.org/license.html>
* for a copy of the LGPLv3 License.
*
************************************************************************/
// MARKER(update_precomp.py): autogen include statement, do not remove
#include "precompiled_extensions.hxx"
#include "componentmodule.hxx"
//---------------------------------------------------------------------------------------
using
namespace
::
rtl
;
using
namespace
::
com
::
sun
::
star
::
uno
;
using
namespace
::
com
::
sun
::
star
::
lang
;
using
namespace
::
com
::
sun
::
star
::
registry
;
//---------------------------------------------------------------------------------------
extern
"C"
void
SAL_CALL
createRegistryInfo_OEMPreloadDialog
();
//---------------------------------------------------------------------------------------
extern
"C"
void
SAL_CALL
preload_initializeModule
()
{
static
sal_Bool
s_bInit
=
sal_False
;
if
(
!
s_bInit
)
{
createRegistryInfo_OEMPreloadDialog
();
::
preload
::
OModule
::
setResourceFilePrefix
(
"preload"
);
s_bInit
=
sal_True
;
}
}
//---------------------------------------------------------------------------------------
extern
"C"
SAL_DLLPUBLIC_EXPORT
void
SAL_CALL
component_getImplementationEnvironment
(
const
sal_Char
**
ppEnvTypeName
,
uno_Environment
**
/*ppEnv*/
)
{
preload_initializeModule
();
*
ppEnvTypeName
=
CPPU_CURRENT_LANGUAGE_BINDING_NAME
;
}
//---------------------------------------------------------------------------------------
extern
"C"
SAL_DLLPUBLIC_EXPORT
void
*
SAL_CALL
component_getFactory
(
const
sal_Char
*
pImplementationName
,
void
*
pServiceManager
,
void
*
/*pRegistryKey*/
)
{
Reference
<
XInterface
>
xRet
;
if
(
pServiceManager
&&
pImplementationName
)
{
xRet
=
::
preload
::
OModule
::
getComponentFactory
(
::
rtl
::
OUString
::
createFromAscii
(
pImplementationName
),
static_cast
<
XMultiServiceFactory
*
>
(
pServiceManager
));
}
if
(
xRet
.
is
())
xRet
->
acquire
();
return
xRet
.
get
();
};
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
extensions/source/preload/unoautopilot.hxx
deleted
100644 → 0
Dosyayı görüntüle @
25a4c95f
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
*
* This file is part of OpenOffice.org.
*
* OpenOffice.org is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License version 3
* only, as published by the Free Software Foundation.
*
* OpenOffice.org is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License version 3 for more details
* (a copy is included in the LICENSE file that accompanied this code).
*
* You should have received a copy of the GNU Lesser General Public License
* version 3 along with OpenOffice.org. If not, see
* <http://www.openoffice.org/license.html>
* for a copy of the LGPLv3 License.
*
************************************************************************/
#ifndef _EXTENSIONS_PRELOAD_UNOAUTOPILOT_HXX_
#define _EXTENSIONS_PRELOAD_UNOAUTOPILOT_HXX_
#include <svtools/genericunodialog.hxx>
#include <comphelper/proparrhlp.hxx>
#include "componentmodule.hxx"
#include <cppuhelper/typeprovider.hxx>
#include <com/sun/star/beans/XPropertySet.hpp>
#include <com/sun/star/beans/PropertyValue.hpp>
//.........................................................................
namespace
preload
{
//.........................................................................
//=====================================================================
//= IServiceInfo
//=====================================================================
/** interface for the SERVICEINFO template parameter of the OUnoAutoPilot class
*/
struct
IServiceInfo
{
public
:
::
rtl
::
OUString
getImplementationName
()
const
;
::
com
::
sun
::
star
::
uno
::
Sequence
<
::
rtl
::
OUString
>
getServiceNames
()
const
;
};
//=====================================================================
//= OUnoAutoPilot
//=====================================================================
typedef
::
svt
::
OGenericUnoDialog
OUnoAutoPilot_Base
;
template
<
class
TYPE
,
class
SERVICEINFO
>
class
OUnoAutoPilot
:
public
OUnoAutoPilot_Base
,
public
::
comphelper
::
OPropertyArrayUsageHelper
<
OUnoAutoPilot
<
TYPE
,
SERVICEINFO
>
>
,
public
OModuleResourceClient
{
OUnoAutoPilot
(
const
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
lang
::
XMultiServiceFactory
>&
_rxORB
);
protected
:
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
beans
::
XPropertySet
>
m_xObjectModel
;
public
:
// XTypeProvider
virtual
::
com
::
sun
::
star
::
uno
::
Sequence
<
sal_Int8
>
SAL_CALL
getImplementationId
(
)
throw
(
::
com
::
sun
::
star
::
uno
::
RuntimeException
);
// XServiceInfo
virtual
::
rtl
::
OUString
SAL_CALL
getImplementationName
()
throw
(
::
com
::
sun
::
star
::
uno
::
RuntimeException
);
virtual
::
comphelper
::
StringSequence
SAL_CALL
getSupportedServiceNames
()
throw
(
::
com
::
sun
::
star
::
uno
::
RuntimeException
);
// XServiceInfo - static methods
static
::
com
::
sun
::
star
::
uno
::
Sequence
<
::
rtl
::
OUString
>
getSupportedServiceNames_Static
(
void
)
throw
(
::
com
::
sun
::
star
::
uno
::
RuntimeException
);
static
::
rtl
::
OUString
getImplementationName_Static
(
void
)
throw
(
::
com
::
sun
::
star
::
uno
::
RuntimeException
);
static
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
uno
::
XInterface
>
SAL_CALL
Create
(
const
::
com
::
sun
::
star
::
uno
::
Reference
<
com
::
sun
::
star
::
lang
::
XMultiServiceFactory
>&
);
// XPropertySet
virtual
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
beans
::
XPropertySetInfo
>
SAL_CALL
getPropertySetInfo
()
throw
(
::
com
::
sun
::
star
::
uno
::
RuntimeException
);
virtual
::
cppu
::
IPropertyArrayHelper
&
SAL_CALL
getInfoHelper
();
// OPropertyArrayUsageHelper
virtual
::
cppu
::
IPropertyArrayHelper
*
createArrayHelper
(
)
const
;
protected
:
// OGenericUnoDialog overridables
virtual
Dialog
*
createDialog
(
Window
*
_pParent
);
virtual
void
implInitialize
(
const
com
::
sun
::
star
::
uno
::
Any
&
_rValue
);
};
#include "unoautopilot.inl"
//.........................................................................
}
// namespace dbp
//.........................................................................
#endif // _EXTENSIONS_PRELOAD_UNOAUTOPILOT_HXX_
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
extensions/source/preload/unoautopilot.inl
deleted
100644 → 0
Dosyayı görüntüle @
25a4c95f
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
*
* This file is part of OpenOffice.org.
*
* OpenOffice.org is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License version 3
* only, as published by the Free Software Foundation.
*
* OpenOffice.org is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License version 3 for more details
* (a copy is included in the LICENSE file that accompanied this code).
*
* You should have received a copy of the GNU Lesser General Public License
* version 3 along with OpenOffice.org. If not, see
* <http://www.openoffice.org/license.html>
* for a copy of the LGPLv3 License.
*
************************************************************************/
// no include protecttion
// this file is included from unoautopilot.hxx directly
//=====================================================================
//= OUnoAutoPilot
//=====================================================================
template <class TYPE, class SERVICEINFO>
OUnoAutoPilot<TYPE, SERVICEINFO>::OUnoAutoPilot(const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >& _rxORB)
:OUnoAutoPilot_Base(_rxORB)
{
}
//---------------------------------------------------------------------
template <class TYPE, class SERVICEINFO>
::com::sun::star::uno::Sequence<sal_Int8> SAL_CALL OUnoAutoPilot<TYPE, SERVICEINFO>::getImplementationId( ) throw(::com::sun::star::uno::RuntimeException)
{
static ::cppu::OImplementationId aId;
return aId.getImplementationId();
}
//---------------------------------------------------------------------
template <class TYPE, class SERVICEINFO>
::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > SAL_CALL OUnoAutoPilot<TYPE, SERVICEINFO>::Create(const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >& _rxFactory)
{
return *(new OUnoAutoPilot<TYPE, SERVICEINFO>(_rxFactory));
}
//---------------------------------------------------------------------
template <class TYPE, class SERVICEINFO>
::rtl::OUString SAL_CALL OUnoAutoPilot<TYPE, SERVICEINFO>::getImplementationName() throw(::com::sun::star::uno::RuntimeException)
{
return getImplementationName_Static();
}
//---------------------------------------------------------------------
template <class TYPE, class SERVICEINFO>
::rtl::OUString OUnoAutoPilot<TYPE, SERVICEINFO>::getImplementationName_Static() throw(::com::sun::star::uno::RuntimeException)
{
return SERVICEINFO().getImplementationName();
}
//---------------------------------------------------------------------
template <class TYPE, class SERVICEINFO>
::comphelper::StringSequence SAL_CALL OUnoAutoPilot<TYPE, SERVICEINFO>::getSupportedServiceNames() throw(::com::sun::star::uno::RuntimeException)
{
return getSupportedServiceNames_Static();
}
//---------------------------------------------------------------------
template <class TYPE, class SERVICEINFO>
::comphelper::StringSequence OUnoAutoPilot<TYPE, SERVICEINFO>::getSupportedServiceNames_Static() throw(::com::sun::star::uno::RuntimeException)
{
return SERVICEINFO().getServiceNames();
}
//---------------------------------------------------------------------
template <class TYPE, class SERVICEINFO>
::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySetInfo > SAL_CALL OUnoAutoPilot<TYPE, SERVICEINFO>::getPropertySetInfo() throw(::com::sun::star::uno::RuntimeException)
{
::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySetInfo > xInfo( createPropertySetInfo( getInfoHelper() ) );
return xInfo;
}
//---------------------------------------------------------------------
template <class TYPE, class SERVICEINFO>
::cppu::IPropertyArrayHelper& OUnoAutoPilot<TYPE, SERVICEINFO>::getInfoHelper()
{
return *const_cast<OUnoAutoPilot*>(this)->getArrayHelper();
}
//--------------------------------------------------------------------------
template <class TYPE, class SERVICEINFO>
::cppu::IPropertyArrayHelper* OUnoAutoPilot<TYPE, SERVICEINFO>::createArrayHelper( ) const
{
::com::sun::star::uno::Sequence< ::com::sun::star::beans::Property > aProps;
describeProperties(aProps);
return new ::cppu::OPropertyArrayHelper(aProps);
}
//--------------------------------------------------------------------------
template <class TYPE, class SERVICEINFO>
Dialog* OUnoAutoPilot<TYPE, SERVICEINFO>::createDialog(Window* _pParent)
{
return new TYPE(_pParent, m_xObjectModel, m_aContext.getLegacyServiceFactory());
}
//--------------------------------------------------------------------------
template <class TYPE, class SERVICEINFO>
void OUnoAutoPilot<TYPE, SERVICEINFO>::implInitialize(const com::sun::star::uno::Any& _rValue)
{
::com::sun::star::beans::PropertyValue aArgument;
if (_rValue >>= aArgument)
if (0 == aArgument.Name.compareToAscii("ObjectModel"))
{
aArgument.Value >>= m_xObjectModel;
return;
}
OUnoAutoPilot_Base::implInitialize(_rValue);
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment