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
cbfee4be
Kaydet (Commit)
cbfee4be
authored
Mar 14, 2001
tarafından
Daniel Boelzle
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
modified im/export
üst
a9b1723d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
29 additions
and
33 deletions
+29
-33
xml_helper.hxx
xmlscript/inc/xmlscript/xml_helper.hxx
+6
-6
xmldlg_imexp.hxx
xmlscript/inc/xmlscript/xmldlg_imexp.hxx
+23
-27
No files found.
xmlscript/inc/xmlscript/xml_helper.hxx
Dosyayı görüntüle @
cbfee4be
...
@@ -2,9 +2,9 @@
...
@@ -2,9 +2,9 @@
*
*
* $RCSfile: xml_helper.hxx,v $
* $RCSfile: xml_helper.hxx,v $
*
*
* $Revision: 1.
2
$
* $Revision: 1.
3
$
*
*
* last change: $Author: dbo $ $Date: 2001-0
2-27 12:45:16
$
* last change: $Author: dbo $ $Date: 2001-0
3-14 16:39:40
$
*
*
* The Contents of this file are made available subject to the terms of
* The Contents of this file are made available subject to the terms of
* either of the following licenses
* either of the following licenses
...
@@ -87,7 +87,7 @@ struct NameSpaceUid
...
@@ -87,7 +87,7 @@ struct NameSpaceUid
::
rtl
::
OUString
sURI
;
::
rtl
::
OUString
sURI
;
sal_Int32
nUid
;
sal_Int32
nUid
;
NameSpaceUid
(
::
rtl
::
OUString
const
&
sURI_
,
sal_Int32
nUid_
)
inline
NameSpaceUid
(
::
rtl
::
OUString
const
&
sURI_
,
sal_Int32
nUid_
)
SAL_THROW
(
()
)
:
sURI
(
sURI_
)
:
sURI
(
sURI_
)
,
nUid
(
nUid_
)
,
nUid
(
nUid_
)
{}
{}
...
@@ -100,18 +100,18 @@ SAL_CALL createDocumentHandler(
...
@@ -100,18 +100,18 @@ SAL_CALL createDocumentHandler(
sal_Int32
nUnknownNamespaceUid
,
sal_Int32
nUnknownNamespaceUid
,
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
xml
::
XImporter
>
const
&
xImporter
,
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
xml
::
XImporter
>
const
&
xImporter
,
bool
bSingleThreadedUse
=
true
)
bool
bSingleThreadedUse
=
true
)
throw
(
);
SAL_THROW
(
()
);
//==================================================================================================
//==================================================================================================
SAL_DLLEXPORT
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
io
::
XInputStream
>
SAL_DLLEXPORT
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
io
::
XInputStream
>
SAL_CALL
createInputStream
(
SAL_CALL
createInputStream
(
::
rtl
::
ByteSequence
const
&
rInData
)
::
rtl
::
ByteSequence
const
&
rInData
)
throw
(
);
SAL_THROW
(
()
);
//==================================================================================================
//==================================================================================================
SAL_DLLEXPORT
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
io
::
XOutputStream
>
SAL_DLLEXPORT
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
io
::
XOutputStream
>
SAL_CALL
createOutputStream
(
SAL_CALL
createOutputStream
(
::
rtl
::
ByteSequence
*
pOutData
)
::
rtl
::
ByteSequence
*
pOutData
)
throw
(
);
SAL_THROW
(
()
);
};
};
...
...
xmlscript/inc/xmlscript/xmldlg_imexp.hxx
Dosyayı görüntüle @
cbfee4be
...
@@ -2,9 +2,9 @@
...
@@ -2,9 +2,9 @@
*
*
* $RCSfile: xmldlg_imexp.hxx,v $
* $RCSfile: xmldlg_imexp.hxx,v $
*
*
* $Revision: 1.
6
$
* $Revision: 1.
7
$
*
*
* last change: $Author: dbo $ $Date: 2001-0
2-28 18:22:07
$
* last change: $Author: dbo $ $Date: 2001-0
3-14 16:39:40
$
*
*
* The Contents of this file are made available subject to the terms of
* The Contents of this file are made available subject to the terms of
* either of the following licenses
* either of the following licenses
...
@@ -64,12 +64,12 @@
...
@@ -64,12 +64,12 @@
#ifndef _COM_SUN_STAR_CONTAINER_XNAMECONTAINER_HXX_
#ifndef _COM_SUN_STAR_CONTAINER_XNAMECONTAINER_HXX_
#include <com/sun/star/container/XNameContainer.hpp>
#include <com/sun/star/container/XNameContainer.hpp>
#endif
#endif
#ifndef _COM_SUN_STAR_IO_XINPUTSTREAMPROVIDER_HXX_
#include <com/sun/star/io/XInputStreamProvider.hpp>
#endif
#ifndef _COM_SUN_STAR_XML_SAX_XEXTENDEDDOCUMENTHANDLER_HXX_
#ifndef _COM_SUN_STAR_XML_SAX_XEXTENDEDDOCUMENTHANDLER_HXX_
#include <com/sun/star/xml/sax/XExtendedDocumentHandler.hpp>
#include <com/sun/star/xml/sax/XExtendedDocumentHandler.hpp>
#endif
#endif
#ifndef _COM_SUN_STAR_UNO_SEQUENCE_HXX_
#include <com/sun/star/uno/Sequence.hxx>
#endif
namespace
xmlscript
namespace
xmlscript
...
@@ -77,38 +77,34 @@ namespace xmlscript
...
@@ -77,38 +77,34 @@ namespace xmlscript
#define XMLNS_DIALOGS_URI "http://openoffice.org/2000/dialog"
#define XMLNS_DIALOGS_URI "http://openoffice.org/2000/dialog"
#define XMLNS_DIALOGS_UID 1
#define XMLNS_DIALOGS_UID 1
#define XMLNS_DIALOGS_PREFIX "d
ialo
g"
#define XMLNS_DIALOGS_PREFIX "d
l
g"
//==================================================================================================
//==================================================================================================
SAL_DLLEXPORT
void
SAL_DLLEXPORT
void
SAL_CALL
exportDialogModels
(
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
::
container
::
XNameContainer
>
const
&
xDialogModel
)
::
com
::
sun
::
star
::
uno
::
Sequence
<
::
com
::
sun
::
star
::
uno
::
Reference
<
SAL_THROW
(
(
::
com
::
sun
::
star
::
uno
::
Exception
)
);
::
com
::
sun
::
star
::
container
::
XNameContainer
>
>
const
&
rInModels
)
throw
(
::
com
::
sun
::
star
::
uno
::
Exception
);
//==================================================================================================
//==================================================================================================
SAL_DLLEXPORT
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
xml
::
sax
::
XDocumentHandler
>
SAL_DLLEXPORT
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
xml
::
sax
::
XDocumentHandler
>
SAL_CALL
importDialogModels
(
SAL_CALL
importDialogModel
(
::
com
::
sun
::
star
::
uno
::
Sequence
<
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
container
::
XNameContainer
>
const
&
xDialogModel
)
::
com
::
sun
::
star
::
container
::
XNameContainer
>
>
*
pOutModels
)
SAL_THROW
(
(
::
com
::
sun
::
star
::
uno
::
Exception
)
);
throw
(
::
com
::
sun
::
star
::
uno
::
Exception
);
// additional functions for convenience
//==================================================================================================
//==================================================================================================
SAL_DLLEXPORT
void
SAL_DLLEXPORT
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
io
::
XInputStreamProvider
>
SAL_CALL
exportDialogModelsToByteSequence
(
SAL_CALL
exportDialogModel
(
::
com
::
sun
::
star
::
uno
::
Sequence
<
sal_Int8
>
*
pOutBytes
,
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
container
::
XNameContainer
>
const
&
xDialogModel
)
::
com
::
sun
::
star
::
uno
::
Sequence
<
::
com
::
sun
::
star
::
uno
::
Reference
<
SAL_THROW
(
(
::
com
::
sun
::
star
::
uno
::
Exception
)
);
::
com
::
sun
::
star
::
container
::
XNameContainer
>
>
const
&
rInModels
)
throw
(
::
com
::
sun
::
star
::
uno
::
Exception
);
//==================================================================================================
//==================================================================================================
SAL_DLLEXPORT
void
SAL_DLLEXPORT
void
SAL_CALL
importDialogModelsFromByteSequence
(
SAL_CALL
importDialogModel
(
::
com
::
sun
::
star
::
uno
::
Sequence
<
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
io
::
XInputStream
>
xInput
,
::
com
::
sun
::
star
::
container
::
XNameContainer
>
>
*
pOutModels
,
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
container
::
XNameContainer
>
const
&
xDialogModel
)
::
com
::
sun
::
star
::
uno
::
Sequence
<
sal_Int8
>
const
&
rInBytes
)
SAL_THROW
(
(
::
com
::
sun
::
star
::
uno
::
Exception
)
);
throw
(
::
com
::
sun
::
star
::
uno
::
Exception
);
};
};
...
...
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