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
c4377403
Kaydet (Commit)
c4377403
authored
Ara 02, 2000
tarafından
Michael Brauer
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
#80795#: use packages
üst
36ca059d
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
24 additions
and
21 deletions
+24
-21
xmlimp.cxx
xmloff/source/core/xmlimp.cxx
+11
-7
XMLBackgroundImageContext.cxx
xmloff/source/style/XMLBackgroundImageContext.cxx
+3
-3
xmlnumi.cxx
xmloff/source/style/xmlnumi.cxx
+7
-8
XMLTextFrameContext.cxx
xmloff/source/text/XMLTextFrameContext.cxx
+3
-3
No files found.
xmloff/source/core/xmlimp.cxx
Dosyayı görüntüle @
c4377403
...
@@ -2,9 +2,9 @@
...
@@ -2,9 +2,9 @@
*
*
* $RCSfile: xmlimp.cxx,v $
* $RCSfile: xmlimp.cxx,v $
*
*
* $Revision: 1.1
1
$
* $Revision: 1.1
2
$
*
*
* last change: $Author:
ka $ $Date: 2000-12-01 11:14:43
$
* last change: $Author:
mib $ $Date: 2000-12-02 10:25:08
$
*
*
* 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
...
@@ -101,8 +101,12 @@
...
@@ -101,8 +101,12 @@
#include "xmlnumfi.hxx"
#include "xmlnumfi.hxx"
#endif
#endif
#ifndef _COM_SUN_STAR_LANG_SERVICENOTREGISTEREDEXCEPTION_HDL_
#ifndef _XMLOFF_PROGRESSBARHELPER_HXX
#include <com/sun/star/lang/ServiceNotRegisteredException.hdl>
#include "ProgressBarHelper.hxx"
#endif
#ifndef _COM_SUN_STAR_LANG_SERVICENOTREGISTEREDEXCEPTION_HPP_
#include <com/sun/star/lang/ServiceNotRegisteredException.hpp>
#endif
#endif
using
namespace
::
rtl
;
using
namespace
::
rtl
;
...
@@ -194,8 +198,6 @@ void SvXMLImport::_InitCtor()
...
@@ -194,8 +198,6 @@ void SvXMLImport::_InitCtor()
sXML_n_table_old
,
XML_NAMESPACE_TABLE
);
sXML_n_table_old
,
XML_NAMESPACE_TABLE
);
pNamespaceMap
->
AddAtIndex
(
XML_OLD_NAMESPACE_META_IDX
,
sXML_np__meta_old
,
pNamespaceMap
->
AddAtIndex
(
XML_OLD_NAMESPACE_META_IDX
,
sXML_np__meta_old
,
sXML_n_meta_old
,
XML_NAMESPACE_META
);
sXML_n_meta_old
,
XML_NAMESPACE_META
);
sPicturesPath
=
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"#Pictures/"
)
);
sPackageProtocol
=
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"vnd.sun.star.Package:"
)
);
sPackageProtocol
=
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"vnd.sun.star.Package:"
)
);
}
}
...
@@ -610,7 +612,9 @@ const Reference< container::XNameContainer > & SvXMLImport::GetDashHelper()
...
@@ -610,7 +612,9 @@ const Reference< container::XNameContainer > & SvXMLImport::GetDashHelper()
return
xDashHelper
;
return
xDashHelper
;
}
}
::
rtl
::
OUString
SvXMLImport
::
ResolveGraphicObjectURL
(
const
::
rtl
::
OUString
&
rURL
,
sal_Bool
bLoadOnDemand
)
::
rtl
::
OUString
SvXMLImport
::
ResolveGraphicObjectURL
(
const
::
rtl
::
OUString
&
rURL
,
sal_Bool
bLoadOnDemand
)
{
{
::
rtl
::
OUString
sRet
;
::
rtl
::
OUString
sRet
;
...
...
xmloff/source/style/XMLBackgroundImageContext.cxx
Dosyayı görüntüle @
c4377403
...
@@ -2,9 +2,9 @@
...
@@ -2,9 +2,9 @@
*
*
* $RCSfile: XMLBackgroundImageContext.cxx,v $
* $RCSfile: XMLBackgroundImageContext.cxx,v $
*
*
* $Revision: 1.
1
$
* $Revision: 1.
2
$
*
*
* last change: $Author: mib $ $Date: 2000-1
0-19 14:25:17
$
* last change: $Author: mib $ $Date: 2000-1
2-02 10:25:46
$
*
*
* 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
...
@@ -366,7 +366,7 @@ void XMLBackgroundImageContext::ProcessAttrs(
...
@@ -366,7 +366,7 @@ void XMLBackgroundImageContext::ProcessAttrs(
else
if
(
GraphicLocation_NONE
==
ePos
)
else
if
(
GraphicLocation_NONE
==
ePos
)
ePos
=
GraphicLocation_TILED
;
ePos
=
GraphicLocation_TILED
;
aProp
.
maValue
<<=
sURL
;
aProp
.
maValue
<<=
GetImport
().
ResolveGraphicObjectURL
(
sURL
,
sal_False
)
;
aPosProp
.
maValue
<<=
ePos
;
aPosProp
.
maValue
<<=
ePos
;
aFilterProp
.
maValue
<<=
sFilter
;
aFilterProp
.
maValue
<<=
sFilter
;
}
}
...
...
xmloff/source/style/xmlnumi.cxx
Dosyayı görüntüle @
c4377403
...
@@ -2,9 +2,9 @@
...
@@ -2,9 +2,9 @@
*
*
* $RCSfile: xmlnumi.cxx,v $
* $RCSfile: xmlnumi.cxx,v $
*
*
* $Revision: 1.
5
$
* $Revision: 1.
6
$
*
*
* last change: $Author:
cl $ $Date: 2000-12-01 18:59:51
$
* last change: $Author:
mib $ $Date: 2000-12-02 10:25:46
$
*
*
* 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
...
@@ -285,7 +285,7 @@ public:
...
@@ -285,7 +285,7 @@ public:
sal_Int32
GetLevel
()
const
{
return
nLevel
;
}
sal_Int32
GetLevel
()
const
{
return
nLevel
;
}
Sequence
<
beans
::
PropertyValue
>
GetProperties
(
Sequence
<
beans
::
PropertyValue
>
GetProperties
(
const
SvI18NMap
*
pI18NMap
=
0
)
const
;
const
SvI18NMap
*
pI18NMap
=
0
);
};
};
SvxXMLListLevelStyleContext_Impl
::
SvxXMLListLevelStyleContext_Impl
(
SvxXMLListLevelStyleContext_Impl
::
SvxXMLListLevelStyleContext_Impl
(
...
@@ -427,7 +427,7 @@ SvXMLImportContext *SvxXMLListLevelStyleContext_Impl::CreateChildContext(
...
@@ -427,7 +427,7 @@ SvXMLImportContext *SvxXMLListLevelStyleContext_Impl::CreateChildContext(
}
}
Sequence
<
beans
::
PropertyValue
>
SvxXMLListLevelStyleContext_Impl
::
GetProperties
(
Sequence
<
beans
::
PropertyValue
>
SvxXMLListLevelStyleContext_Impl
::
GetProperties
(
const
SvI18NMap
*
pI18NMap
)
const
const
SvI18NMap
*
pI18NMap
)
{
{
sal_Int16
eType
;
sal_Int16
eType
;
...
@@ -530,11 +530,10 @@ Sequence<beans::PropertyValue> SvxXMLListLevelStyleContext_Impl::GetProperties(
...
@@ -530,11 +530,10 @@ Sequence<beans::PropertyValue> SvxXMLListLevelStyleContext_Impl::GetProperties(
if
(
bImage
)
if
(
bImage
)
{
{
String
sURL
(
sImageURL
);
INetURLObject
::
RelToAbs
(
sURL
);
pProps
[
nPos
].
Name
=
pProps
[
nPos
].
Name
=
OUString
::
createFromAscii
(
XML_UNO_NAME_NRULE_GRAPHICURL
);
OUString
::
createFromAscii
(
XML_UNO_NAME_NRULE_GRAPHICURL
);
pProps
[
nPos
++
].
Value
<<=
OUString
(
sURL
);
pProps
[
nPos
++
].
Value
<<=
GetImport
().
ResolveGraphicObjectURL
(
sImageURL
,
sal_False
);
awt
::
Size
aSize
(
nImageWidth
,
nImageHeight
);
awt
::
Size
aSize
(
nImageWidth
,
nImageHeight
);
pProps
[
nPos
].
Name
=
pProps
[
nPos
].
Name
=
...
@@ -939,7 +938,7 @@ void SvxXMLListStyleContext::FillUnoNumRule(
...
@@ -939,7 +938,7 @@ void SvxXMLListStyleContext::FillUnoNumRule(
sal_Int32
nLevels
=
rNumRule
->
getCount
();
sal_Int32
nLevels
=
rNumRule
->
getCount
();
for
(
sal_uInt16
i
=
0
;
i
<
nCount
;
i
++
)
for
(
sal_uInt16
i
=
0
;
i
<
nCount
;
i
++
)
{
{
const
SvxXMLListLevelStyleContext_Impl
*
pLevelStyle
=
SvxXMLListLevelStyleContext_Impl
*
pLevelStyle
=
(
*
pLevelStyles
)[
i
];
(
*
pLevelStyles
)[
i
];
sal_Int32
nLevel
=
pLevelStyle
->
GetLevel
();
sal_Int32
nLevel
=
pLevelStyle
->
GetLevel
();
if
(
nLevel
>=
0
&&
nLevel
<
nLevels
)
if
(
nLevel
>=
0
&&
nLevel
<
nLevels
)
...
...
xmloff/source/text/XMLTextFrameContext.cxx
Dosyayı görüntüle @
c4377403
...
@@ -2,9 +2,9 @@
...
@@ -2,9 +2,9 @@
*
*
* $RCSfile: XMLTextFrameContext.cxx,v $
* $RCSfile: XMLTextFrameContext.cxx,v $
*
*
* $Revision: 1.1
0
$
* $Revision: 1.1
1
$
*
*
* last change: $Author: mib $ $Date: 2000-1
1-27 13:37:09
$
* last change: $Author: mib $ $Date: 2000-1
2-02 10:26:15
$
*
*
* 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
...
@@ -580,7 +580,7 @@ XMLTextFrameContext::XMLTextFrameContext(
...
@@ -580,7 +580,7 @@ XMLTextFrameContext::XMLTextFrameContext(
if
(
XML_TEXT_FRAME_GRAPHIC
==
nType
)
if
(
XML_TEXT_FRAME_GRAPHIC
==
nType
)
{
{
// URL
// URL
aAny
<<=
sHRef
;
aAny
<<=
GetImport
().
ResolveGraphicObjectURL
(
sHRef
,
sal_False
)
;
xPropSet
->
setPropertyValue
(
sGraphicURL
,
aAny
);
xPropSet
->
setPropertyValue
(
sGraphicURL
,
aAny
);
// filter name
// filter name
...
...
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