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
b382ba95
Kaydet (Commit)
b382ba95
authored
Haz 27, 2001
tarafından
Michael Brauer
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
#88691#: load/store relative URLs
üst
1d4d6d02
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
30 additions
and
27 deletions
+30
-27
xmlmetae.cxx
xmloff/source/meta/xmlmetae.cxx
+7
-4
xmlmetai.cxx
xmloff/source/meta/xmlmetai.cxx
+4
-4
xmlscripti.cxx
xmloff/source/script/xmlscripti.cxx
+3
-3
XMLAutoMarkFileContext.cxx
xmloff/source/text/XMLAutoMarkFileContext.cxx
+3
-3
XMLSectionExport.cxx
xmloff/source/text/XMLSectionExport.cxx
+3
-3
XMLSectionSourceImportContext.cxx
xmloff/source/text/XMLSectionSourceImportContext.cxx
+3
-3
XMLTextFrameHyperlinkContext.cxx
xmloff/source/text/XMLTextFrameHyperlinkContext.cxx
+3
-3
txtparae.cxx
xmloff/source/text/txtparae.cxx
+4
-4
No files found.
xmloff/source/meta/xmlmetae.cxx
Dosyayı görüntüle @
b382ba95
...
...
@@ -2,9 +2,9 @@
*
* $RCSfile: xmlmetae.cxx,v $
*
* $Revision: 1.
5
$
* $Revision: 1.
6
$
*
* last change: $Author:
th $ $Date: 2001-05-14 08:43:31
$
* last change: $Author:
mib $ $Date: 2001-06-27 07:30:28
$
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
...
...
@@ -62,6 +62,9 @@
#include <tools/debug.hxx>
#include <tools/inetdef.hxx>
#include <tools/isolang.hxx>
#ifndef _URLOBJ_HXX
#include <tools/urlobj.hxx>
#endif
#include <unotools/configmgr.hxx>
#include "xmlmetae.hxx"
...
...
@@ -493,7 +496,7 @@ void SfxXMLMetaExport::Export( const SvXMLNamespaceMap& rNamespaceMap )
{
sAttrName
=
pNamespaceMap
->
GetQNameByKey
(
XML_NAMESPACE_XLINK
,
::
rtl
::
OUString
::
createFromAscii
(
sXML_href
)
);
pAttrList
->
AddAttribute
(
sAttrName
,
sCDATA
,
sReloadURL
);
pAttrList
->
AddAttribute
(
sAttrName
,
sCDATA
,
INetURLObject
::
AbsToRel
(
sReloadURL
)
);
}
aPropVal
=
xInfoProp
->
getPropertyValue
(
...
...
@@ -545,7 +548,7 @@ void SfxXMLMetaExport::Export( const SvXMLNamespaceMap& rNamespaceMap )
// template URL
sAttrName
=
pNamespaceMap
->
GetQNameByKey
(
XML_NAMESPACE_XLINK
,
::
rtl
::
OUString
::
createFromAscii
(
sXML_href
)
);
pAttrList
->
AddAttribute
(
sAttrName
,
sCDATA
,
sTplPath
);
pAttrList
->
AddAttribute
(
sAttrName
,
sCDATA
,
INetURLObject
::
AbsToRel
(
sTplPath
)
);
// template name
aPropVal
=
xInfoProp
->
getPropertyValue
(
...
...
xmloff/source/meta/xmlmetai.cxx
Dosyayı görüntüle @
b382ba95
...
...
@@ -2,9 +2,9 @@
*
* $RCSfile: xmlmetai.cxx,v $
*
* $Revision: 1.
6
$
* $Revision: 1.
7
$
*
* last change: $Author:
dvo $ $Date: 2001-06-15 17:13
:28 $
* last change: $Author:
mib $ $Date: 2001-06-27 07:30
:28 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
...
...
@@ -441,7 +441,7 @@ SfxXMLMetaElementContext::SfxXMLMetaElementContext( SvXMLImport& rImport, sal_uI
switch
(
aTokenMap
.
Get
(
nPrefix
,
aLocalName
)
)
{
case
XML_TOK_META_TEMPLATE_HREF
:
aPropAny
<<=
sValue
;
aPropAny
<<=
GetImport
().
GetAbsoluteReference
(
sValue
)
;
xInfoProp
->
setPropertyValue
(
::
rtl
::
OUString
::
createFromAscii
(
PROP_TEMPLATEURL
),
aPropAny
);
...
...
@@ -496,7 +496,7 @@ SfxXMLMetaElementContext::SfxXMLMetaElementContext( SvXMLImport& rImport, sal_uI
switch
(
aTokenMap
.
Get
(
nPrefix
,
aLocalName
)
)
{
case
XML_TOK_META_RELOAD_HREF
:
aPropAny
<<=
sValue
;
aPropAny
<<=
GetImport
().
GetAbsoluteReference
(
sValue
)
;
xInfoProp
->
setPropertyValue
(
::
rtl
::
OUString
::
createFromAscii
(
PROP_RELOADURL
),
aPropAny
);
...
...
xmloff/source/script/xmlscripti.cxx
Dosyayı görüntüle @
b382ba95
...
...
@@ -2,9 +2,9 @@
*
* $RCSfile: xmlscripti.cxx,v $
*
* $Revision: 1.
5
$
* $Revision: 1.
6
$
*
* last change: $Author:
pl $ $Date: 2001-05-14 08:52:21
$
* last change: $Author:
mib $ $Date: 2001-06-27 07:32:06
$
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
...
...
@@ -195,7 +195,7 @@ XMLScriptElementContext::XMLScriptElementContext( SvXMLImport& rImport, sal_uInt
else
if
(
(
XML_NAMESPACE_XLINK
==
nAttrPrefix
)
&&
bLinked
&&
sAttrName
.
equalsAsciiL
(
sXML_href
,
sizeof
(
sXML_href
)
-
1
)
)
{
sLinkTargetURL
=
xAttrList
->
getValueByIndex
(
i
);
sLinkTargetURL
=
GetImport
().
GetAbsoluteReference
(
xAttrList
->
getValueByIndex
(
i
)
);
}
//else if( msLName.equalsAsciiL( sXML_external_source_url, sizeof(sXML_external_source_url)-1 ) )
//{
...
...
xmloff/source/text/XMLAutoMarkFileContext.cxx
Dosyayı görüntüle @
b382ba95
...
...
@@ -2,9 +2,9 @@
*
* $RCSfile: XMLAutoMarkFileContext.cxx,v $
*
* $Revision: 1.
1
$
* $Revision: 1.
2
$
*
* last change: $Author:
dvo $ $Date: 2001-04-17 11:38:57
$
* last change: $Author:
mib $ $Date: 2001-06-27 07:33:58
$
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
...
...
@@ -138,7 +138,7 @@ void XMLAutoMarkFileContext::StartElement(
sLocalName
.
equalsAsciiL
(
sXML_href
,
sizeof
(
sXML_href
)
-
1
)
)
{
Any
aAny
;
aAny
<<=
xAttrList
->
getValueByIndex
(
i
);
aAny
<<=
GetImport
().
GetAbsoluteReference
(
xAttrList
->
getValueByIndex
(
i
)
);
Reference
<
XPropertySet
>
xPropertySet
(
GetImport
().
GetModel
(),
UNO_QUERY
);
if
(
xPropertySet
.
is
())
...
...
xmloff/source/text/XMLSectionExport.cxx
Dosyayı görüntüle @
b382ba95
...
...
@@ -2,9 +2,9 @@
*
* $RCSfile: XMLSectionExport.cxx,v $
*
* $Revision: 1.2
2
$
* $Revision: 1.2
3
$
*
* last change: $Author:
dvo $ $Date: 2001-06-20 14:16:28
$
* last change: $Author:
mib $ $Date: 2001-06-27 07:33:59
$
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
...
...
@@ -633,7 +633,7 @@ void XMLSectionExport::ExportRegularSectionStart(
if
(
aFileLink
.
FileURL
.
getLength
()
>
0
)
{
GetExport
().
AddAttribute
(
XML_NAMESPACE_XLINK
,
sXML_href
,
aFileLink
.
FileURL
);
GetExport
().
GetRelativeReference
(
aFileLink
.
FileURL
)
);
}
if
(
aFileLink
.
FilterName
.
getLength
()
>
0
)
...
...
xmloff/source/text/XMLSectionSourceImportContext.cxx
Dosyayı görüntüle @
b382ba95
...
...
@@ -2,9 +2,9 @@
*
* $RCSfile: XMLSectionSourceImportContext.cxx,v $
*
* $Revision: 1.
4
$
* $Revision: 1.
5
$
*
* last change: $Author:
dvo $ $Date: 2001-06-15 17:13:32
$
* last change: $Author:
mib $ $Date: 2001-06-27 07:33:59
$
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
...
...
@@ -191,7 +191,7 @@ void XMLSectionSourceImportContext::StartElement(
if
((
sURL
.
getLength
()
>
0
)
||
(
sFilterName
.
getLength
()
>
0
))
{
SectionFileLink
aFileLink
;
aFileLink
.
FileURL
=
sURL
;
aFileLink
.
FileURL
=
GetImport
().
GetAbsoluteReference
(
sURL
)
;
aFileLink
.
FilterName
=
sFilterName
;
aAny
<<=
aFileLink
;
...
...
xmloff/source/text/XMLTextFrameHyperlinkContext.cxx
Dosyayı görüntüle @
b382ba95
...
...
@@ -2,9 +2,9 @@
*
* $RCSfile: XMLTextFrameHyperlinkContext.cxx,v $
*
* $Revision: 1.
3
$
* $Revision: 1.
4
$
*
* last change: $Author: mib $ $Date: 2001-0
4-25 13:35:19
$
* last change: $Author: mib $ $Date: 2001-0
6-27 07:38:11
$
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
...
...
@@ -119,7 +119,7 @@ XMLTextFrameHyperlinkContext::XMLTextFrameHyperlinkContext(
switch
(
rTokenMap
.
Get
(
nPrefix
,
aLocalName
)
)
{
case
XML_TOK_TEXT_HYPERLINK_HREF
:
sHRef
=
rValue
;
sHRef
=
GetImport
().
GetAbsoluteReference
(
rValue
)
;
break
;
case
XML_TOK_TEXT_HYPERLINK_NAME
:
sName
=
rValue
;
...
...
xmloff/source/text/txtparae.cxx
Dosyayı görüntüle @
b382ba95
...
...
@@ -2,9 +2,9 @@
*
* $RCSfile: txtparae.cxx,v $
*
* $Revision: 1.8
4
$
* $Revision: 1.8
5
$
*
* last change: $Author: mib $ $Date: 2001-06-2
6 11:48:27
$
* last change: $Author: mib $ $Date: 2001-06-2
7 07:38:11
$
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
...
...
@@ -2440,7 +2440,7 @@ sal_Bool XMLTextParagraphExport::addHyperlinkAttributes(
{
GetExport
().
AddAttributeASCII
(
XML_NAMESPACE_XLINK
,
sXML_type
,
sXML_simple
);
GetExport
().
AddAttribute
(
XML_NAMESPACE_XLINK
,
sXML_href
,
sHRef
);
GetExport
().
AddAttribute
(
XML_NAMESPACE_XLINK
,
sXML_href
,
GetExport
().
GetRelativeReference
(
sHRef
)
);
if
(
sName
.
getLength
()
>
0
)
GetExport
().
AddAttribute
(
XML_NAMESPACE_OFFICE
,
sXML_name
,
sName
);
...
...
@@ -2690,7 +2690,7 @@ void XMLTextParagraphExport::exportTextDeclarations()
if
(
sUrl
.
getLength
()
>
0
)
{
GetExport
().
AddAttribute
(
XML_NAMESPACE_XLINK
,
sXML_href
,
sUrl
);
GetExport
().
GetRelativeReference
(
sUrl
)
);
SvXMLElementExport
aAutoMarkElement
(
GetExport
(),
XML_NAMESPACE_TEXT
,
sXML_alphabetical_index_auto_mark_file
,
...
...
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