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
b0fe6086
Kaydet (Commit)
b0fe6086
authored
Mar 02, 2011
tarafından
Mathias Bauer
Kaydeden (comit)
Bjoern Michaelsen
Haz 16, 2011
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
CWS gnumake4: convert xmlscript to new build system [hg:d4df54d61f2a]
üst
270dd44c
Hide whitespace changes
Inline
Side-by-side
Showing
23 changed files
with
152 additions
and
352 deletions
+152
-352
Library_xcr.mk
xmlscript/Library_xcr.mk
+38
-17
Makefile
xmlscript/Makefile
+9
-18
Module_xmlscript.mk
xmlscript/Module_xmlscript.mk
+8
-20
Package_dtd.mk
xmlscript/Package_dtd.mk
+7
-22
Package_inc.mk
xmlscript/Package_inc.mk
+9
-22
xcrdllapi.h
xmlscript/inc/xmlscript/xcrdllapi.h
+43
-0
xml_helper.hxx
xmlscript/inc/xmlscript/xml_helper.hxx
+4
-3
xmldlg_imexp.hxx
xmlscript/inc/xmlscript/xmldlg_imexp.hxx
+5
-5
xmllib_imexp.hxx
xmlscript/inc/xmlscript/xmllib_imexp.hxx
+7
-7
xmlmod_imexp.hxx
xmlscript/inc/xmlscript/xmlmod_imexp.hxx
+4
-4
build.lst
xmlscript/prj/build.lst
+2
-9
d.lst
xmlscript/prj/d.lst
+0
-14
makefile.mk
xmlscript/prj/makefile.mk
+10
-5
xml_import.hxx
xmlscript/source/inc/xml_import.hxx
+0
-1
unoservices.cxx
xmlscript/source/misc/unoservices.cxx
+2
-2
makefile.mk
xmlscript/source/xml_helper/makefile.mk
+0
-50
xml_impctx.cxx
xmlscript/source/xml_helper/xml_impctx.cxx
+1
-1
makefile.mk
xmlscript/source/xmldlg_imexp/makefile.mk
+0
-52
xmldlg_import.cxx
xmlscript/source/xmldlg_imexp/xmldlg_import.cxx
+1
-1
xmllib_import.cxx
xmlscript/source/xmllib_imexp/xmllib_import.cxx
+1
-1
xmlmod_import.cxx
xmlscript/source/xmlmod_imexp/xmlmod_import.cxx
+1
-1
makefile.mk
xmlscript/util/makefile.mk
+0
-84
xcr.flt
xmlscript/util/xcr.flt
+0
-13
No files found.
xmlscript/
source/xmllib_imexp/makefile
.mk
→
xmlscript/
Library_xcr
.mk
Dosyayı görüntüle @
b0fe6086
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
#
#
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
#
# Copyright 2000, 201
0
Oracle and/or its affiliates.
# Copyright 2000, 201
1
Oracle and/or its affiliates.
#
#
# OpenOffice.org - a multi-platform office productivity suite
# OpenOffice.org - a multi-platform office productivity suite
#
#
...
@@ -24,27 +24,48 @@
...
@@ -24,27 +24,48 @@
# for a copy of the LGPLv3 License.
# for a copy of the LGPLv3 License.
#
#
#*************************************************************************
#*************************************************************************
PRJ
=
..
$/
..
PRJNAME
=
xmlscript
$(eval $(call gb_Library_Library,xcr))
TARGET
=
xmllib_imexp
NO_BSYMBOLIC
=
TRUE
ENABLE_EXCEPTIONS
=
TRUE
# --- Settings -----------------------------------------------------
$(eval $(call gb_Library_add_package_headers,xcr,xmlscript_inc))
.INCLUDE
:
settings.mk
$(eval $(call gb_Library_set_componentfile,xcr,xmlscript/util/xcr))
.IF
"$(L10N_framework)"
==
""
#-----------------------------------------------------------
SLOFILES
=
\
$(eval $(call gb_Library_set_include,xcr,\
$(SLO)$/
xmllib_import.obj
\
-I$(SRCDIR)/xmlscript/source/inc \
$(SLO)$/
xmllib_export.obj
-I$(SRCDIR)/xmlscript/inc/pch \
$$(INCLUDE) \
-I$(OUTDIR)/inc/offuh \
))
# --- Targets ------------------------------------------------------
$(eval $(call gb_Library_set_defs,xcr,\
$$(DEFS) \
-DXCR_DLLIMPLEMENTATION \
))
.INCLUDE
:
$(PRJ)$/util$/target.pmk
$(eval $(call gb_Library_add_linked_libs,xcr,\
sal \
cppu \
cppuhelper \
$(gb_STDLIBS) \
))
.ENDIF
# L10N_framework
$(eval $(call gb_Library_add_exception_objects,xcr,\
xmlscript/source/xmldlg_imexp/xmldlg_impmodels \
xmlscript/source/xmldlg_imexp/xmldlg_import \
xmlscript/source/xmldlg_imexp/xmldlg_addfunc \
xmlscript/source/xmldlg_imexp/xmldlg_export \
xmlscript/source/xmldlg_imexp/xmldlg_expmodels \
xmlscript/source/misc/unoservices \
xmlscript/source/xml_helper/xml_byteseq \
xmlscript/source/xml_helper/xml_impctx \
xmlscript/source/xml_helper/xml_element \
xmlscript/source/xmlflat_imexp/xmlbas_import \
xmlscript/source/xmlflat_imexp/xmlbas_export \
xmlscript/source/xmllib_imexp/xmllib_import \
xmlscript/source/xmllib_imexp/xmllib_export \
xmlscript/source/xmlmod_imexp/xmlmod_import \
xmlscript/source/xmlmod_imexp/xmlmod_export \
))
.INCLUDE
:
target.mk
# vim: set noet sw=4 ts=4:
xmlscript/
inc/makefile.mk
→
xmlscript/
Makefile
Dosyayı görüntüle @
b0fe6086
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
#
#
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
#
# Copyright 2000, 201
0
Oracle and/or its affiliates.
# Copyright 2000, 201
1
Oracle and/or its affiliates.
#
#
# OpenOffice.org - a multi-platform office productivity suite
# OpenOffice.org - a multi-platform office productivity suite
#
#
...
@@ -24,24 +24,15 @@
...
@@ -24,24 +24,15 @@
# for a copy of the LGPLv3 License.
# for a copy of the LGPLv3 License.
#
#
#*************************************************************************
#*************************************************************************
PRJ
=
..
PRJNAME
=
xmlscript
ifeq
($(strip
$(SOLARENV)),)
TARGET
=
inc
$(error
No
environment
set!)
endif
# --- Settings -----------------------------------------------------
gb_PARTIALBUILD
:=
T
GBUILDDIR
:=
$(SOLARENV)
/gbuild
include
$(GBUILDDIR)/gbuild.mk
.INCLUDE
:
settings.mk
$(eval
$(call
gb_Module_make_global_targets,$(shell
ls
$(dir
$(realpath
$(firstword
$(MAKEFILE_LIST))))/Module*.mk)))
# --- Files --------------------------------------------------------
# --- Targets -------------------------------------------------------
.INCLUDE
:
target.mk
.IF
"$(ENABLE_PCH)"
!=
""
ALLTAR
:
\
$(SLO)$/precompiled.pch
\
$(SLO)$/precompiled_ex.pch
.ENDIF
# "$(ENABLE_PCH)"!=""
# vim: set noet sw=4 ts=4:
xmlscript/
source/misc/makefile
.mk
→
xmlscript/
Module_xmlscript
.mk
Dosyayı görüntüle @
b0fe6086
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
#
#
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
#
# Copyright 2000, 201
0
Oracle and/or its affiliates.
# Copyright 2000, 201
1
Oracle and/or its affiliates.
#
#
# OpenOffice.org - a multi-platform office productivity suite
# OpenOffice.org - a multi-platform office productivity suite
#
#
...
@@ -25,24 +25,12 @@
...
@@ -25,24 +25,12 @@
#
#
#*************************************************************************
#*************************************************************************
PRJ
=
..
$/
..
$(eval $(call gb_Module_Module,xmlscript))
PRJNAME
=
xmlscript
$(eval $(call gb_Module_add_targets,xmlscript,\
TARGET
=
misc
Library_xcr \
NO_BSYMBOLIC
=
TRUE
Package_inc \
ENABLE_EXCEPTIONS
=
TRUE
Package_dtd \
))
# --- Settings -----------------------------------------------------
# vim: set noet sw=4 ts=4:
.INCLUDE
:
settings.mk
.IF
"$(L10N_framework)"
==
""
#-----------------------------------------------------------
SLOFILES
=
\
$(SLO)$/
unoservices.obj
# --- Targets ------------------------------------------------------
.INCLUDE
:
$(PRJ)$/util$/target.pmk
.ENDIF
# L10N_framework
.INCLUDE
:
target.mk
xmlscript/
source/xmlmod_imexp/makefile
.mk
→
xmlscript/
Package_dtd
.mk
Dosyayı görüntüle @
b0fe6086
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
#
#
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
#
# Copyright 2000, 201
0
Oracle and/or its affiliates.
# Copyright 2000, 201
1
Oracle and/or its affiliates.
#
#
# OpenOffice.org - a multi-platform office productivity suite
# OpenOffice.org - a multi-platform office productivity suite
#
#
...
@@ -24,26 +24,11 @@
...
@@ -24,26 +24,11 @@
# for a copy of the LGPLv3 License.
# for a copy of the LGPLv3 License.
#
#
#*************************************************************************
#*************************************************************************
PRJ
=
..
$/
..
PRJNAME
=
xmlscript
$(eval $(call gb_Package_Package,xmlscript_inc,$(SRCDIR)/xmlscript/dtd))
TARGET
=
xmlmod_imexp
$(eval $(call gb_Package_add_file,xmlscript_inc,bin/dialog.dtd,dialog.dtd))
NO_BSYMBOLIC
=
TRUE
$(eval $(call gb_Package_add_file,xmlscript_inc,bin/libraries.dtd,libraries.dtd))
ENABLE_EXCEPTIONS
=
TRUE
$(eval $(call gb_Package_add_file,xmlscript_inc,bin/library.dtd,library.dtd))
$(eval $(call gb_Package_add_file,xmlscript_inc,bin/module.dtd,module.dtd))
# --- Settings -----------------------------------------------------
# vim: set noet sw=4 ts=4:
.INCLUDE
:
settings.mk
.IF
"$(L10N_framework)"
==
""
#-----------------------------------------------------------
SLOFILES
=
\
$(SLO)$/
xmlmod_import.obj
\
$(SLO)$/
xmlmod_export.obj
# --- Targets ------------------------------------------------------
.INCLUDE
:
$(PRJ)$/util$/target.pmk
.ENDIF
# L10N_framework
.INCLUDE
:
target.mk
xmlscript/
source/xmlflat_imexp/makefile
.mk
→
xmlscript/
Package_inc
.mk
Dosyayı görüntüle @
b0fe6086
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
#
#
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
#
# Copyright 2000, 201
0
Oracle and/or its affiliates.
# Copyright 2000, 201
1
Oracle and/or its affiliates.
#
#
# OpenOffice.org - a multi-platform office productivity suite
# OpenOffice.org - a multi-platform office productivity suite
#
#
...
@@ -25,26 +25,13 @@
...
@@ -25,26 +25,13 @@
#
#
#*************************************************************************
#*************************************************************************
PRJ
=
..
$/
..
$(eval $(call gb_Package_Package,xmlscript_inc,$(SRCDIR)/xmlscript/inc))
PRJNAME
=
xmlscript
$(eval $(call gb_Package_add_file,xmlscript_inc,inc/xmlscript/xmldlg_imexp.hxx,xmlscript/xmldlg_imexp.hxx))
TARGET
=
xmlflat_imexp
$(eval $(call gb_Package_add_file,xmlscript_inc,inc/xmlscript/xml_helper.hxx,xmlscript/xml_helper.hxx))
NO_BSYMBOLIC
=
TRUE
$(eval $(call gb_Package_add_file,xmlscript_inc,inc/xmlscript/xmllib_imexp.hxx,xmlscript/xmllib_imexp.hxx))
ENABLE_EXCEPTIONS
=
TRUE
$(eval $(call gb_Package_add_file,xmlscript_inc,inc/xmlscript/xmlmod_imexp.hxx,xmlscript/xmlmod_imexp.hxx))
$(eval $(call gb_Package_add_file,xmlscript_inc,inc/xmlscript/xmlns.h,xmlscript/xmlns.h))
$(eval $(call gb_Package_add_file,xmlscript_inc,inc/xmlscript/xcrdllapi.h,xmlscript/xcrdllapi.h))
# --- Settings -----------------------------------------------------
# vim: set noet sw=4 ts=4:
.INCLUDE
:
settings.mk
.IF
"$(L10N_framework)"
==
""
#-----------------------------------------------------------
SLOFILES
=
\
$(SLO)$/
xmlbas_export.obj
\
$(SLO)$/
xmlbas_import.obj
# --- Targets ------------------------------------------------------
.INCLUDE
:
$(PRJ)$/util$/target.pmk
.ENDIF
# L10N_framework
.INCLUDE
:
target.mk
xmlscript/inc/xmlscript/xcrdllapi.h
0 → 100644
Dosyayı görüntüle @
b0fe6086
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* Copyright 2008 by Sun Microsystems, Inc.
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: XCRdllapi.h,v $
* $Revision: 1.4 $
*
* 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 INCLUDED_XCRDLLAPI_H
#define INCLUDED_XCRDLLAPI_H
#include "sal/types.h"
#if defined(XCR_DLLIMPLEMENTATION)
#define XCR_DLLPUBLIC SAL_DLLPUBLIC_EXPORT
#else
#define XCR_DLLPUBLIC SAL_DLLPUBLIC_IMPORT
#endif
#define XCR_DLLPRIVATE SAL_DLLPRIVATE
#endif
xmlscript/inc/xmlscript/xml_helper.hxx
Dosyayı görüntüle @
b0fe6086
...
@@ -34,6 +34,7 @@
...
@@ -34,6 +34,7 @@
#include <com/sun/star/io/XInputStream.hpp>
#include <com/sun/star/io/XInputStream.hpp>
#include <com/sun/star/io/XOutputStream.hpp>
#include <com/sun/star/io/XOutputStream.hpp>
#include "xmlscript/xcrdllapi.h"
namespace
xmlscript
namespace
xmlscript
{
{
...
@@ -45,7 +46,7 @@ namespace xmlscript
...
@@ -45,7 +46,7 @@ namespace xmlscript
##################################################################################################*/
##################################################################################################*/
//==================================================================================================
//==================================================================================================
class
XMLElement
class
X
CR_DLLPUBLIC
X
MLElement
:
public
::
cppu
::
WeakImplHelper1
<
::
com
::
sun
::
star
::
xml
::
sax
::
XAttributeList
>
:
public
::
cppu
::
WeakImplHelper1
<
::
com
::
sun
::
star
::
xml
::
sax
::
XAttributeList
>
{
{
public
:
public
:
...
@@ -130,13 +131,13 @@ protected:
...
@@ -130,13 +131,13 @@ protected:
##################################################################################################*/
##################################################################################################*/
//==================================================================================================
//==================================================================================================
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
io
::
XInputStream
>
XCR_DLLPUBLIC
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
io
::
XInputStream
>
SAL_CALL
createInputStream
(
SAL_CALL
createInputStream
(
::
rtl
::
ByteSequence
const
&
rInData
)
::
rtl
::
ByteSequence
const
&
rInData
)
SAL_THROW
(
()
);
SAL_THROW
(
()
);
//==================================================================================================
//==================================================================================================
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
io
::
XOutputStream
>
XCR_DLLPUBLIC
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
io
::
XOutputStream
>
SAL_CALL
createOutputStream
(
SAL_CALL
createOutputStream
(
::
rtl
::
ByteSequence
*
pOutData
)
::
rtl
::
ByteSequence
*
pOutData
)
SAL_THROW
(
()
);
SAL_THROW
(
()
);
...
...
xmlscript/inc/xmlscript/xmldlg_imexp.hxx
Dosyayı görüntüle @
b0fe6086
...
@@ -41,13 +41,13 @@
...
@@ -41,13 +41,13 @@
#endif
#endif
#include "xmlscript/xmlns.h"
#include "xmlscript/xmlns.h"
#include "xmlscript/xcrdllapi.h"
namespace
xmlscript
namespace
xmlscript
{
{
//==============================================================================
//==============================================================================
void
SAL_CALL
exportDialogModel
(
XCR_DLLPUBLIC
void
SAL_CALL
exportDialogModel
(
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
xml
::
sax
::
XExtendedDocumentHandler
>
const
&
xOut
,
::
com
::
sun
::
star
::
xml
::
sax
::
XExtendedDocumentHandler
>
const
&
xOut
,
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
uno
::
Reference
<
...
@@ -55,7 +55,7 @@ void SAL_CALL exportDialogModel(
...
@@ -55,7 +55,7 @@ void SAL_CALL exportDialogModel(
SAL_THROW
(
(
::
com
::
sun
::
star
::
uno
::
Exception
)
);
SAL_THROW
(
(
::
com
::
sun
::
star
::
uno
::
Exception
)
);
//==============================================================================
//==============================================================================
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
xml
::
sax
::
XDocumentHandler
>
XCR_DLLPUBLIC
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
xml
::
sax
::
XDocumentHandler
>
SAL_CALL
importDialogModel
(
SAL_CALL
importDialogModel
(
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
container
::
XNameContainer
>
const
&
xDialogModel
,
::
com
::
sun
::
star
::
container
::
XNameContainer
>
const
&
xDialogModel
,
...
@@ -66,7 +66,7 @@ SAL_CALL importDialogModel(
...
@@ -66,7 +66,7 @@ SAL_CALL importDialogModel(
// additional functions for convenience
// additional functions for convenience
//==============================================================================
//==============================================================================
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
io
::
XInputStreamProvider
>
XCR_DLLPUBLIC
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
io
::
XInputStreamProvider
>
SAL_CALL
exportDialogModel
(
SAL_CALL
exportDialogModel
(
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
container
::
XNameContainer
>
const
&
xDialogModel
,
::
com
::
sun
::
star
::
container
::
XNameContainer
>
const
&
xDialogModel
,
...
@@ -75,7 +75,7 @@ SAL_CALL exportDialogModel(
...
@@ -75,7 +75,7 @@ SAL_CALL exportDialogModel(
SAL_THROW
(
(
::
com
::
sun
::
star
::
uno
::
Exception
)
);
SAL_THROW
(
(
::
com
::
sun
::
star
::
uno
::
Exception
)
);
//==============================================================================
//==============================================================================
void
SAL_CALL
importDialogModel
(
XCR_DLLPUBLIC
void
SAL_CALL
importDialogModel
(
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
io
::
XInputStream
>
xInput
,
::
com
::
sun
::
star
::
io
::
XInputStream
>
xInput
,
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
uno
::
Reference
<
...
...
xmlscript/inc/xmlscript/xmllib_imexp.hxx
Dosyayı görüntüle @
b0fe6086
...
@@ -31,7 +31,7 @@
...
@@ -31,7 +31,7 @@
#include <com/sun/star/uno/Sequence.hxx>
#include <com/sun/star/uno/Sequence.hxx>
#include "xmlscript/xmlns.h"
#include "xmlscript/xmlns.h"
#include "xmlscript/xcrdllapi.h"
namespace
xmlscript
namespace
xmlscript
{
{
...
@@ -41,7 +41,7 @@ namespace xmlscript
...
@@ -41,7 +41,7 @@ namespace xmlscript
// HACK C++ struct to transport info. Later the container
// HACK C++ struct to transport info. Later the container
// itself should do the export/import and use exportet XML
// itself should do the export/import and use exportet XML
// functionality from xmlscript
// functionality from xmlscript
struct
LibDescriptor
struct
XCR_DLLPUBLIC
LibDescriptor
{
{
::
rtl
::
OUString
aName
;
::
rtl
::
OUString
aName
;
::
rtl
::
OUString
aStorageURL
;
::
rtl
::
OUString
aStorageURL
;
...
@@ -52,7 +52,7 @@ struct LibDescriptor
...
@@ -52,7 +52,7 @@ struct LibDescriptor
sal_Bool
bPreload
;
sal_Bool
bPreload
;
};
};
struct
LibDescriptorArray
struct
XCR_DLLPUBLIC
LibDescriptorArray
{
{
LibDescriptor
*
mpLibs
;
LibDescriptor
*
mpLibs
;
sal_Int32
mnLibCount
;
sal_Int32
mnLibCount
;
...
@@ -64,27 +64,27 @@ struct LibDescriptorArray
...
@@ -64,27 +64,27 @@ struct LibDescriptorArray
};
};
void
XCR_DLLPUBLIC
void
SAL_CALL
exportLibraryContainer
(
SAL_CALL
exportLibraryContainer
(
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
xml
::
sax
::
XExtendedDocumentHandler
>
const
&
xOut
,
::
com
::
sun
::
star
::
xml
::
sax
::
XExtendedDocumentHandler
>
const
&
xOut
,
const
LibDescriptorArray
*
pLibArray
)
const
LibDescriptorArray
*
pLibArray
)
SAL_THROW
(
(
::
com
::
sun
::
star
::
uno
::
Exception
)
);
SAL_THROW
(
(
::
com
::
sun
::
star
::
uno
::
Exception
)
);
::
com
::
sun
::
star
::
uno
::
Reference
<
XCR_DLLPUBLIC
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
xml
::
sax
::
XDocumentHandler
>
::
com
::
sun
::
star
::
xml
::
sax
::
XDocumentHandler
>
SAL_CALL
importLibraryContainer
(
LibDescriptorArray
*
pLibArray
)
SAL_CALL
importLibraryContainer
(
LibDescriptorArray
*
pLibArray
)
SAL_THROW
(
(
::
com
::
sun
::
star
::
uno
::
Exception
)
);
SAL_THROW
(
(
::
com
::
sun
::
star
::
uno
::
Exception
)
);
void
XCR_DLLPUBLIC
void
SAL_CALL
exportLibrary
(
SAL_CALL
exportLibrary
(
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
xml
::
sax
::
XExtendedDocumentHandler
>
const
&
xOut
,
::
com
::
sun
::
star
::
xml
::
sax
::
XExtendedDocumentHandler
>
const
&
xOut
,
const
LibDescriptor
&
rLib
)
const
LibDescriptor
&
rLib
)
SAL_THROW
(
(
::
com
::
sun
::
star
::
uno
::
Exception
)
);
SAL_THROW
(
(
::
com
::
sun
::
star
::
uno
::
Exception
)
);
::
com
::
sun
::
star
::
uno
::
Reference
<
XCR_DLLPUBLIC
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
xml
::
sax
::
XDocumentHandler
>
::
com
::
sun
::
star
::
xml
::
sax
::
XDocumentHandler
>
SAL_CALL
importLibrary
(
LibDescriptor
&
rLib
)
SAL_CALL
importLibrary
(
LibDescriptor
&
rLib
)
SAL_THROW
(
(
::
com
::
sun
::
star
::
uno
::
Exception
)
);
SAL_THROW
(
(
::
com
::
sun
::
star
::
uno
::
Exception
)
);
...
...
xmlscript/inc/xmlscript/xmlmod_imexp.hxx
Dosyayı görüntüle @
b0fe6086
...
@@ -30,7 +30,7 @@
...
@@ -30,7 +30,7 @@
#include <com/sun/star/xml/sax/XExtendedDocumentHandler.hpp>
#include <com/sun/star/xml/sax/XExtendedDocumentHandler.hpp>
#include <com/sun/star/uno/Sequence.hxx>
#include <com/sun/star/uno/Sequence.hxx>
#include <xmlscript/xmlns.h>
#include <xmlscript/xmlns.h>
#include "xmlscript/xcrdllapi.h"
namespace
xmlscript
namespace
xmlscript
{
{
...
@@ -40,7 +40,7 @@ namespace xmlscript
...
@@ -40,7 +40,7 @@ namespace xmlscript
// HACK C++ struct to transport info. Later the container
// HACK C++ struct to transport info. Later the container
// itself should do the export/import and use exportet XML
// itself should do the export/import and use exportet XML
// functionality from xmlscript
// functionality from xmlscript
struct
ModuleDescriptor
struct
XCR_DLLPUBLIC
ModuleDescriptor
{
{
::
rtl
::
OUString
aName
;
::
rtl
::
OUString
aName
;
::
rtl
::
OUString
aLanguage
;
::
rtl
::
OUString
aLanguage
;
...
@@ -48,14 +48,14 @@ struct ModuleDescriptor
...
@@ -48,14 +48,14 @@ struct ModuleDescriptor
::
rtl
::
OUString
aModuleType
;
// VBA
::
rtl
::
OUString
aModuleType
;
// VBA
};
};
void
XCR_DLLPUBLIC
void
SAL_CALL
exportScriptModule
(
SAL_CALL
exportScriptModule
(
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
xml
::
sax
::
XExtendedDocumentHandler
>
const
&
xOut
,
::
com
::
sun
::
star
::
xml
::
sax
::
XExtendedDocumentHandler
>
const
&
xOut
,
const
ModuleDescriptor
&
rMod
)
const
ModuleDescriptor
&
rMod
)
SAL_THROW
(
(
::
com
::
sun
::
star
::
uno
::
Exception
)
);
SAL_THROW
(
(
::
com
::
sun
::
star
::
uno
::
Exception
)
);
::
com
::
sun
::
star
::
uno
::
Reference
<
XCR_DLLPUBLIC
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
xml
::
sax
::
XDocumentHandler
>
::
com
::
sun
::
star
::
xml
::
sax
::
XDocumentHandler
>
SAL_CALL
importScriptModule
(
ModuleDescriptor
&
rMod
)
SAL_CALL
importScriptModule
(
ModuleDescriptor
&
rMod
)
SAL_THROW
(
(
::
com
::
sun
::
star
::
uno
::
Exception
)
);
SAL_THROW
(
(
::
com
::
sun
::
star
::
uno
::
Exception
)
);
...
...
xmlscript/prj/build.lst
Dosyayı görüntüle @
b0fe6086
xt xmlscript : comphelper tools offapi LIBXSLT:libxslt NULL
xt xmlscript : comphelper tools offapi LIBXSLT:libxslt NULL
xt xmlscript usr1 - all xt_mkout NULL
xt xmlscript\prj nmake - all xt_prj NULL
xt xmlscript\inc nmake - all xt_inc NULL
xt xmlscript\source\xml_helper nmake - all xt_xml_helper xt_inc NULL
xt xmlscript\source\xmldlg_imexp nmake - all xt_xmldlg_imexp xt_inc NULL
xt xmlscript\source\xmllib_imexp nmake - all xt_xmllib_imexp xt_inc NULL
xt xmlscript\source\xmlmod_imexp nmake - all xt_xmlmod_imexp xt_inc NULL
xt xmlscript\source\xmlflat_imexp nmake - all xt_xmlflat_imexp xt_inc NULL
xt xmlscript\source\misc nmake - all xt_misc xt_inc NULL
xt xmlscript\util nmake - all xt_util xt_xml_helper xt_xmldlg_imexp xt_xmllib_imexp xt_xmlmod_imexp xt_xmlflat_imexp xt_misc NULL
xmlscript/prj/d.lst
Dosyayı görüntüle @
b0fe6086
mkdir: %_DEST%\inc%_EXT%\xmlscript
..\%__SRC%\bin\*.dll %_DEST%\bin%_EXT%\*.dll
..\%__SRC%\lib\*.lib %_DEST%\lib%_EXT%\*.lib
..\%__SRC%\lib\lib*.so %_DEST%\lib%_EXT%\lib*.so
..\%__SRC%\lib\*.dylib %_DEST%\lib%_EXT%\*.dylib
..\inc\xmlscript\xml_helper.hxx %_DEST%\inc%_EXT%\xmlscript\xml_helper.hxx
..\inc\xmlscript\xmldlg_imexp.hxx %_DEST%\inc%_EXT%\xmlscript\xmldlg_imexp.hxx
..\inc\xmlscript\xmllib_imexp.hxx %_DEST%\inc%_EXT%\xmlscript\xmllib_imexp.hxx
..\inc\xmlscript\xmlmod_imexp.hxx %_DEST%\inc%_EXT%\xmlscript\xmlmod_imexp.hxx
..\inc\xmlscript\xmlns.h %_DEST%\inc%_EXT%\xmlscript\xmlns.h
..\dtd\*.dtd %_DEST%\bin%_EXT%\*.dtd
..\%__SRC%\misc\xcr.component %_DEST%\xml%_EXT%\xcr.component
xmlscript/
util/target.p
mk
→
xmlscript/
prj/makefile.
mk
Dosyayı görüntüle @
b0fe6086
...
@@ -24,12 +24,17 @@
...
@@ -24,12 +24,17 @@
# for a copy of the LGPLv3 License.
# for a copy of the LGPLv3 License.
#
#
#*************************************************************************
#*************************************************************************
.IF "$(debug)" != ""
# msvc++: no inlining
PRJ
=
..
.IF "$(COM)" == "MSC"
TARGET
=
prj
CFLAGS += /Ob0
.
ENDIF
.
INCLUDE
:
settings.mk
.IF
"$(VERBOSE)"
!=
""
VERBOSEFLAG
:=
.ELSE
VERBOSEFLAG
:=
-s
.ENDIF
.ENDIF
all
:
cd
$(PRJ)
&&
$(GNUMAKE)
$(VERBOSEFLAG)
-r
-j
$(MAXPROCESS)
$(gb_MAKETARGET)
&&
$(GNUMAKE)
$(VERBOSEFLAG)
-r
deliverlog
xmlscript/
inc/xmlscript
/xml_import.hxx
→
xmlscript/
source/inc
/xml_import.hxx
Dosyayı görüntüle @
b0fe6086
...
@@ -30,7 +30,6 @@
...
@@ -30,7 +30,6 @@
#include "com/sun/star/xml/input/XRoot.hpp"
#include "com/sun/star/xml/input/XRoot.hpp"
#include "com/sun/star/xml/sax/XExtendedDocumentHandler.hpp"
#include "com/sun/star/xml/sax/XExtendedDocumentHandler.hpp"
namespace
xmlscript
namespace
xmlscript
{
{
...
...
xmlscript/source/misc/unoservices.cxx
Dosyayı görüntüle @
b0fe6086
...
@@ -107,7 +107,7 @@ namespace xmlscript
...
@@ -107,7 +107,7 @@ namespace xmlscript
extern
"C"
extern
"C"
{
{
void
SAL_CALL
component_getImplementationEnvironment
(
SAL_DLLPUBLIC_EXPORT
void
SAL_CALL
component_getImplementationEnvironment
(
const
sal_Char
**
ppEnvTypeName
,
uno_Environment
**
)
const
sal_Char
**
ppEnvTypeName
,
uno_Environment
**
)
{
{
*
ppEnvTypeName
=
CPPU_CURRENT_LANGUAGE_BINDING_NAME
;
*
ppEnvTypeName
=
CPPU_CURRENT_LANGUAGE_BINDING_NAME
;
...
@@ -115,7 +115,7 @@ extern "C"
...
@@ -115,7 +115,7 @@ extern "C"
// -----------------------------------------------------------------------------
// -----------------------------------------------------------------------------
void
*
SAL_CALL
component_getFactory
(
SAL_DLLPUBLIC_EXPORT
void
*
SAL_CALL
component_getFactory
(
const
sal_Char
*
pImplName
,
void
*
pServiceManager
,
void
*
pRegistryKey
)
const
sal_Char
*
pImplName
,
void
*
pServiceManager
,
void
*
pRegistryKey
)
{
{
return
::
cppu
::
component_getFactoryHelper
(
return
::
cppu
::
component_getFactoryHelper
(
...
...
xmlscript/source/xml_helper/makefile.mk
deleted
100644 → 0
Dosyayı görüntüle @
270dd44c
#*************************************************************************
#
# 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
=
..
$/
..
PRJNAME
=
xmlscript
TARGET
=
xml_helper
NO_BSYMBOLIC
=
TRUE
ENABLE_EXCEPTIONS
=
TRUE
# --- Settings -----------------------------------------------------
.INCLUDE
:
settings.mk
.IF
"$(L10N_framework)"
==
""
#-----------------------------------------------------------
SLOFILES
=
\
$(SLO)$/
xml_impctx.obj
\
$(SLO)$/
xml_element.obj
\
$(SLO)$/
xml_byteseq.obj
# --- Targets ------------------------------------------------------
.INCLUDE
:
$(PRJ)$/util$/target.pmk
.ENDIF
# L10N_framework
.INCLUDE
:
target.mk
xmlscript/source/xml_helper/xml_impctx.cxx
Dosyayı görüntüle @
b0fe6086
...
@@ -35,7 +35,7 @@
...
@@ -35,7 +35,7 @@
#include "cppuhelper/implementationentry.hxx"
#include "cppuhelper/implementationentry.hxx"
#include "cppuhelper/implbase1.hxx"
#include "cppuhelper/implbase1.hxx"
#include "cppuhelper/implbase3.hxx"
#include "cppuhelper/implbase3.hxx"
#include "xml
script/xml
_import.hxx"
#include "xml_import.hxx"
#include "com/sun/star/xml/input/XAttributes.hpp"
#include "com/sun/star/xml/input/XAttributes.hpp"
#include "com/sun/star/lang/XInitialization.hpp"
#include "com/sun/star/lang/XInitialization.hpp"
...
...
xmlscript/source/xmldlg_imexp/makefile.mk
deleted
100644 → 0
Dosyayı görüntüle @
270dd44c
#*************************************************************************
#
# 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
=
..
$/
..
PRJNAME
=
xmlscript
TARGET
=
xmldlg_imexp
NO_BSYMBOLIC
=
TRUE
ENABLE_EXCEPTIONS
=
TRUE
# --- Settings -----------------------------------------------------
.INCLUDE
:
settings.mk
.IF
"$(L10N_framework)"
==
""
#-----------------------------------------------------------
SLOFILES
=
\
$(SLO)$/
xmldlg_import.obj
\
$(SLO)$/
xmldlg_impmodels.obj
\
$(SLO)$/
xmldlg_export.obj
\
$(SLO)$/
xmldlg_expmodels.obj
\
$(SLO)$/
xmldlg_addfunc.obj
# --- Targets ------------------------------------------------------
.INCLUDE
:
$(PRJ)$/util$/target.pmk
.ENDIF
# L10N_framework
.INCLUDE
:
target.mk
xmlscript/source/xmldlg_imexp/xmldlg_import.cxx
Dosyayı görüntüle @
b0fe6086
...
@@ -35,7 +35,7 @@
...
@@ -35,7 +35,7 @@
#include <rtl/ustrbuf.hxx>
#include <rtl/ustrbuf.hxx>
#include <xml
script/xml
_import.hxx>
#include <xml_import.hxx>
#include <comphelper/processfactory.hxx>
#include <comphelper/processfactory.hxx>
#include <com/sun/star/awt/CharSet.hpp>
#include <com/sun/star/awt/CharSet.hpp>
...
...
xmlscript/source/xmllib_imexp/xmllib_import.cxx
Dosyayı görüntüle @
b0fe6086
...
@@ -33,7 +33,7 @@
...
@@ -33,7 +33,7 @@
#include <rtl/ustrbuf.hxx>
#include <rtl/ustrbuf.hxx>
#include <xml
script/xml
_import.hxx>
#include <xml_import.hxx>
#include <comphelper/processfactory.hxx>
#include <comphelper/processfactory.hxx>
...
...
xmlscript/source/xmlmod_imexp/xmlmod_import.cxx
Dosyayı görüntüle @
b0fe6086
...
@@ -33,7 +33,7 @@
...
@@ -33,7 +33,7 @@
#include <rtl/ustrbuf.hxx>
#include <rtl/ustrbuf.hxx>
#include <xml
script/xml
_import.hxx>
#include <xml_import.hxx>
#include <comphelper/processfactory.hxx>
#include <comphelper/processfactory.hxx>
...
...
xmlscript/util/makefile.mk
deleted
100644 → 0
Dosyayı görüntüle @
270dd44c
#*************************************************************************
#
# 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
=
..
PRJNAME
=
xmlscript
TARGET
=
xcr
NO_BSYMBOLIC
=
TRUE
#USE_DEFFILE=TRUE
ENABLE_EXCEPTIONS
=
TRUE
# --- Settings -----------------------------------------------------
.INCLUDE
:
settings.mk
#-------------------------------------------------------------------
LIB1TARGET
=
$(SLB)$/$(TARGET)
.lib
LIB1FILES
=
\
$(SLB)$/
xml_helper.lib
\
$(SLB)$/
xmldlg_imexp.lib
\
$(SLB)$/
xmllib_imexp.lib
\
$(SLB)$/
xmlmod_imexp.lib
\
$(SLB)$/
xmlflat_imexp.lib
\
$(SLB)$/
misc.lib
SHL1TARGET
=
$(TARGET)$(DLLPOSTFIX)
SHL1LIBS
=
\
$(LIB1TARGET)
SHL1STDLIBS
=
\
$(CPPUHELPERLIB)
\
$(CPPULIB)
\
$(SALLIB)
SHL1DEPN
=
SHL1IMPLIB
=
i
$(TARGET)
SHL1DEF
=
$(MISC)$/$(SHL1TARGET)
.def
DEF1NAME
=
$(SHL1TARGET)
DEFLIB1NAME
=
$(TARGET)
DEF1DEPN
=
$(MISC)$/$(SHL1TARGET)
.flt
# --- Targets -------------------------------------------------------
.INCLUDE
:
target.mk
$(MISC)$/$(SHL1TARGET).flt
:
makefile.mk xcr.flt
@echo
------------------------------
@echo Making
:
$@
$(TYPE)
xcr.flt
>
$@
ALLTAR
:
$(MISC)/xcr.component
$(MISC)/xcr.component .ERRREMOVE
:
$(SOLARENV)/bin/createcomponent.xslt
\
xcr.component
$(XSLTPROC)
--nonet
--stringparam
uri
\
'$(COMPONENTPREFIX_BASIS_NATIVE)$(SHL1TARGETN:f)'
-o
$@
\
$(SOLARENV)/bin/createcomponent.xslt
xcr.component
xmlscript/util/xcr.flt
deleted
100644 → 0
Dosyayı görüntüle @
270dd44c
??_7
??_8
??_C
??_E
??_F
??_G
??_H
??_I
0Imp
Impl@@
Imp@@
__CT
_STL
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