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
6dd888e8
Kaydet (Commit)
6dd888e8
authored
Ock 01, 2013
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
callcatcher: update unused code
Change-Id: Ic896ea234c3ea7bfaa94ab2441471926beae427d
üst
5d4a4f75
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
0 additions
and
208 deletions
+0
-208
SpellDialog.cxx
cui/source/dialogs/SpellDialog.cxx
+0
-10
SpellDialog.hxx
cui/source/inc/SpellDialog.hxx
+0
-1
numvset.hxx
svx/inc/svx/numvset.hxx
+0
-2
svxbmpnumvalueset.cxx
svx/source/dialog/svxbmpnumvalueset.cxx
+0
-12
unusedcode.easy
unusedcode.easy
+0
-4
SalGtkPicker.cxx
vcl/unx/gtk/fpicker/SalGtkPicker.cxx
+0
-5
SalGtkPicker.hxx
vcl/unx/gtk/fpicker/SalGtkPicker.hxx
+0
-1
WW8Document.hxx
writerfilter/inc/doctok/WW8Document.hxx
+0
-4
analyzer.xsl
writerfilter/source/doctok/analyzer.xsl
+0
-28
qnametostr.xsl
writerfilter/source/doctok/qnametostr.xsl
+0
-2
resourcetools.xsl
writerfilter/source/doctok/resourcetools.xsl
+0
-105
qnametostr.xsl
writerfilter/source/ooxml/qnametostr.xsl
+0
-34
No files found.
cui/source/dialogs/SpellDialog.cxx
Dosyayı görüntüle @
6dd888e8
...
@@ -1189,16 +1189,6 @@ bool SpellDialog::ApplyChangeAllList_Impl(SpellPortions& rSentence, bool &bHasRe
...
@@ -1189,16 +1189,6 @@ bool SpellDialog::ApplyChangeAllList_Impl(SpellPortions& rSentence, bool &bHasRe
return
bRet
;
return
bRet
;
}
}
//-----------------------------------------------------------------------
SentenceEditWindow_Impl
::
SentenceEditWindow_Impl
(
Window
*
pParent
,
const
ResId
&
rResId
)
:
MultiLineEdit
(
pParent
,
rResId
)
,
m_nErrorStart
(
0
)
,
m_nErrorEnd
(
0
)
,
m_bIsUndoEditMode
(
false
)
{
DisableSelectionOnFocus
();
}
//-----------------------------------------------------------------------
//-----------------------------------------------------------------------
SentenceEditWindow_Impl
::
SentenceEditWindow_Impl
(
Window
*
pParent
,
WinBits
nBits
)
SentenceEditWindow_Impl
::
SentenceEditWindow_Impl
(
Window
*
pParent
,
WinBits
nBits
)
:
MultiLineEdit
(
pParent
,
nBits
)
:
MultiLineEdit
(
pParent
,
nBits
)
...
...
cui/source/inc/SpellDialog.hxx
Dosyayı görüntüle @
6dd888e8
...
@@ -75,7 +75,6 @@ protected:
...
@@ -75,7 +75,6 @@ protected:
virtual
long
PreNotify
(
NotifyEvent
&
rNEvt
);
virtual
long
PreNotify
(
NotifyEvent
&
rNEvt
);
public
:
public
:
SentenceEditWindow_Impl
(
Window
*
pParent
,
const
ResId
&
rResId
);
SentenceEditWindow_Impl
(
Window
*
pParent
,
WinBits
nBits
);
SentenceEditWindow_Impl
(
Window
*
pParent
,
WinBits
nBits
);
~
SentenceEditWindow_Impl
();
~
SentenceEditWindow_Impl
();
...
...
svx/inc/svx/numvset.hxx
Dosyayı görüntüle @
6dd888e8
...
@@ -66,7 +66,6 @@ class SVX_DLLPUBLIC SvxNumValueSet : public ValueSet
...
@@ -66,7 +66,6 @@ class SVX_DLLPUBLIC SvxNumValueSet : public ValueSet
com
::
sun
::
star
::
container
::
XIndexAccess
>
>
aOutlineSettings
;
com
::
sun
::
star
::
container
::
XIndexAccess
>
>
aOutlineSettings
;
public
:
public
:
SvxNumValueSet
(
Window
*
pParent
,
const
ResId
&
rResId
,
sal_uInt16
nType
);
SvxNumValueSet
(
Window
*
pParent
,
WinBits
nWinBits
=
WB_TABSTOP
);
SvxNumValueSet
(
Window
*
pParent
,
WinBits
nWinBits
=
WB_TABSTOP
);
void
init
(
sal_uInt16
nType
);
void
init
(
sal_uInt16
nType
);
~
SvxNumValueSet
();
~
SvxNumValueSet
();
...
@@ -106,7 +105,6 @@ class SVX_DLLPUBLIC SvxBmpNumValueSet : public SvxNumValueSet
...
@@ -106,7 +105,6 @@ class SVX_DLLPUBLIC SvxBmpNumValueSet : public SvxNumValueSet
Timer
&
GetFormatTimer
()
{
return
aFormatTimer
;}
Timer
&
GetFormatTimer
()
{
return
aFormatTimer
;}
public
:
public
:
SvxBmpNumValueSet
(
Window
*
pParent
,
const
ResId
&
rResId
);
SvxBmpNumValueSet
(
Window
*
pParent
,
WinBits
nWinBits
=
WB_TABSTOP
);
SvxBmpNumValueSet
(
Window
*
pParent
,
WinBits
nWinBits
=
WB_TABSTOP
);
~
SvxBmpNumValueSet
();
~
SvxBmpNumValueSet
();
...
...
svx/source/dialog/svxbmpnumvalueset.cxx
Dosyayı görüntüle @
6dd888e8
...
@@ -393,12 +393,6 @@ void SvxNumValueSet::UserDraw( const UserDrawEvent& rUDEvt )
...
@@ -393,12 +393,6 @@ void SvxNumValueSet::UserDraw( const UserDrawEvent& rUDEvt )
pDev
->
SetLineColor
(
aOldColor
);
pDev
->
SetLineColor
(
aOldColor
);
}
}
SvxNumValueSet
::
SvxNumValueSet
(
Window
*
pParent
,
const
ResId
&
rResId
,
sal_uInt16
nType
)
:
ValueSet
(
pParent
,
rResId
)
{
init
(
nType
);
}
SvxNumValueSet
::
SvxNumValueSet
(
Window
*
pParent
,
WinBits
nWinBits
)
SvxNumValueSet
::
SvxNumValueSet
(
Window
*
pParent
,
WinBits
nWinBits
)
:
ValueSet
(
pParent
,
nWinBits
)
:
ValueSet
(
pParent
,
nWinBits
)
{
{
...
@@ -470,12 +464,6 @@ void SvxNumValueSet::SetOutlineNumberingSettings(
...
@@ -470,12 +464,6 @@ void SvxNumValueSet::SetOutlineNumberingSettings(
}
}
}
}
SvxBmpNumValueSet
::
SvxBmpNumValueSet
(
Window
*
pParent
,
const
ResId
&
rResId
)
:
SvxNumValueSet
(
pParent
,
rResId
,
NUM_PAGETYPE_BMP
)
{
init
();
}
SvxBmpNumValueSet
::
SvxBmpNumValueSet
(
Window
*
pParent
,
WinBits
nWinBits
)
SvxBmpNumValueSet
::
SvxBmpNumValueSet
(
Window
*
pParent
,
WinBits
nWinBits
)
:
SvxNumValueSet
(
pParent
,
nWinBits
)
:
SvxNumValueSet
(
pParent
,
nWinBits
)
{
{
...
...
unusedcode.easy
Dosyayı görüntüle @
6dd888e8
...
@@ -54,9 +54,5 @@ unicode::isDigit(unsigned short)
...
@@ -54,9 +54,5 @@ unicode::isDigit(unsigned short)
unicode::isLower(unsigned short)
unicode::isLower(unsigned short)
unicode::isPrint(unsigned short)
unicode::isPrint(unsigned short)
unicode::isUpper(unsigned short)
unicode::isUpper(unsigned short)
writerfilter::doctokidsToXML(std::basic_ostream<char, std::char_traits<char> >&)
writerfilter::logger(std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >)
writerfilter::logger(std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >)
writerfilter::ooxmlidsToXML(std::basic_ostream<char, std::char_traits<char> >&)
writerfilter::ooxmlsprmidsToXML(std::basic_ostream<char, std::char_traits<char> >&)
writerfilter::rtftok::RTFSprms::swap(writerfilter::rtftok::RTFSprms&)
writerfilter::rtftok::RTFSprms::swap(writerfilter::rtftok::RTFSprms&)
writerfilter::sprmidsToXML(std::basic_ostream<char, std::char_traits<char> >&)
vcl/unx/gtk/fpicker/SalGtkPicker.cxx
Dosyayı görüntüle @
6dd888e8
...
@@ -256,9 +256,4 @@ void SAL_CALL SalGtkPicker::implsetTitle( const rtl::OUString& aTitle ) throw( u
...
@@ -256,9 +256,4 @@ void SAL_CALL SalGtkPicker::implsetTitle( const rtl::OUString& aTitle ) throw( u
gtk_window_set_title
(
GTK_WINDOW
(
m_pDialog
),
aWindowTitle
.
getStr
()
);
gtk_window_set_title
(
GTK_WINDOW
(
m_pDialog
),
aWindowTitle
.
getStr
()
);
}
}
uno
::
Reference
<
uno
::
XInterface
>
SalGtkPicker
::
createInstance
(
const
rtl
::
OUString
&
rName
)
{
return
m_xContext
->
getServiceManager
()
->
createInstanceWithContext
(
rName
,
m_xContext
);
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
vcl/unx/gtk/fpicker/SalGtkPicker.hxx
Dosyayı görüntüle @
6dd888e8
...
@@ -61,7 +61,6 @@ class SalGtkPicker
...
@@ -61,7 +61,6 @@ class SalGtkPicker
// to instantiate own services
// to instantiate own services
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
uno
::
XComponentContext
>
m_xContext
;
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
uno
::
XComponentContext
>
m_xContext
;
::
com
::
sun
::
star
::
uno
::
Reference
<
com
::
sun
::
star
::
uno
::
XInterface
>
createInstance
(
const
rtl
::
OUString
&
rName
);
rtl
::
OUString
getResString
(
sal_Int32
aId
);
rtl
::
OUString
getResString
(
sal_Int32
aId
);
private
:
private
:
...
...
writerfilter/inc/doctok/WW8Document.hxx
Dosyayı görüntüle @
6dd888e8
...
@@ -427,10 +427,6 @@ public:
...
@@ -427,10 +427,6 @@ public:
createDocument
(
WW8Stream
::
Pointer_t
rpStream
);
createDocument
(
WW8Stream
::
Pointer_t
rpStream
);
};
};
void
sprmidsToXML
(
::
std
::
iostream
&
out
);
void
doctokidsToXML
(
::
std
::
iostream
&
out
);
}}
}}
#endif // INCLUDED_WW8_DOCUMENT_HXX
#endif // INCLUDED_WW8_DOCUMENT_HXX
...
...
writerfilter/source/doctok/analyzer.xsl
deleted
100644 → 0
Dosyayı görüntüle @
5d4a4f75
<!--
* This file is part of the LibreOffice project.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*
* This file incorporates work covered by the following license notice:
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed
* with this work for additional information regarding copyright
* ownership. The ASF licenses this file to you under the Apache
* License, Version 2.0 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
-->
<xsl:stylesheet
version=
"1.0"
xmlns:xsl=
"http://www.w3.org/1999/XSL/Transform"
xmlns:office=
"urn:oasis:names:tc:opendocument:xmlns:office:1.0"
xmlns:style=
"urn:oasis:names:tc:opendocument:xmlns:style:1.0"
xmlns:text=
"urn:oasis:names:tc:opendocument:xmlns:text:1.0"
xmlns:table=
"urn:oasis:names:tc:opendocument:xmlns:table:1.0"
xmlns:draw=
"urn:oasis:names:tc:opendocument:xmlns:drawing:1.0"
xmlns:fo=
"urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0"
xmlns:xlink=
"http://www.w3.org/1999/xlink"
xmlns:dc=
"http://purl.org/dc/elements/1.1/"
xmlns:meta=
"urn:oasis:names:tc:opendocument:xmlns:meta:1.0"
xmlns:number=
"urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0"
xmlns:svg=
"urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0"
xmlns:chart=
"urn:oasis:names:tc:opendocument:xmlns:chart:1.0"
xmlns:dr3d=
"urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0"
xmlns:math=
"http://www.w3.org/1998/Math/MathML"
xmlns:form=
"urn:oasis:names:tc:opendocument:xmlns:form:1.0"
xmlns:script=
"urn:oasis:names:tc:opendocument:xmlns:script:1.0"
xmlns:config=
"urn:oasis:names:tc:opendocument:xmlns:config:1.0"
xmlns:ooo=
"http://openoffice.org/2004/office"
xmlns:ooow=
"http://openoffice.org/2004/writer"
xmlns:oooc=
"http://openoffice.org/2004/calc"
xmlns:dom=
"http://www.w3.org/2001/xml-events"
xmlns:xforms=
"http://www.w3.org/2002/xforms"
xmlns:xsd=
"http://www.w3.org/2001/XMLSchema"
xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"
xmlns:rdf=
"http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:rdfs=
"http://www.w3.org/2000/01/rdf-schema#"
xmlns:UML =
'org.omg.xmi.namespace.UML'
xml:space=
"default"
>
<xsl:output
method=
"text"
/>
<xsl:include
href=
"resourcetools.xsl"
/>
<xsl:template
match=
"/"
>
<xsl:call-template
name=
"analyzerdoctokids"
/>
</xsl:template>
</xsl:stylesheet>
\ No newline at end of file
writerfilter/source/doctok/qnametostr.xsl
Dosyayı görüntüle @
6dd888e8
...
@@ -28,8 +28,6 @@
...
@@ -28,8 +28,6 @@
namespace writerfilter
namespace writerfilter
{
{
<xsl:apply-templates
select=
".//UML:Model"
mode=
"qnametostr"
/>
<xsl:apply-templates
select=
".//UML:Model"
mode=
"qnametostr"
/>
<xsl:apply-templates
select=
'.//UML:Model'
mode=
'sprmidstoxml'
/>
<xsl:apply-templates
select=
'.//UML:Model'
mode=
'analyzerdoctokids'
/>
}
}
</xsl:template>
</xsl:template>
</xsl:stylesheet>
</xsl:stylesheet>
writerfilter/source/doctok/resourcetools.xsl
Dosyayı görüntüle @
6dd888e8
...
@@ -371,34 +371,6 @@ namespace NS_sprm { </xsl:text>
...
@@ -371,34 +371,6 @@ namespace NS_sprm { </xsl:text>
<xsl:text>
| cat


</xsl:text>
<xsl:text>
| cat


</xsl:text>
</xsl:template>
</xsl:template>
<xsl:template
match=
"UML:Model"
mode=
"sprmidstoxml"
>
<xsl:text>
void sprmidsToXML(::std::ostream
&
out)
{
</xsl:text>
<xsl:for-each
select=
".//UML:Class[.//UML:Stereotype/@xmi.idref='ww8sprm']"
>
<xsl:variable
name=
"sprmcode"
>
<xsl:value-of
select=
".//UML:TaggedValue[.//UML:TagDefinition/@xmi.idref = 'sprmcode']/UML:TaggedValue.dataValue"
/>
</xsl:variable>
<xsl:variable
name=
"sprmcodelower"
>
<xsl:value-of
select=
"translate($sprmcode, 'ABCDEF', 'abcdef')"
/>
</xsl:variable>
<xsl:variable
name=
"sprmidname"
>
<xsl:text>
sprm:
</xsl:text>
<xsl:value-of
select=
"substring-after(@name, 'sprm')"
/>
</xsl:variable>
<xsl:text>
out
<<
"
<
theid name=\"
</xsl:text>
<xsl:value-of
select=
"$sprmidname"
/>
<xsl:text>
\"
>
</xsl:text>
<xsl:value-of
select=
"$sprmcodelower"
/>
<xsl:text>
<
/theid
>
"
<<
endl;
</xsl:text>
</xsl:for-each>
<xsl:text>
}
</xsl:text>
</xsl:template>
<xsl:template
match=
"UML:Model"
mode=
'sprmreplace'
>
<xsl:template
match=
"UML:Model"
mode=
'sprmreplace'
>
<xsl:for-each
select=
".//UML:Class[.//UML:Stereotype/@xmi.idref='ww8sprm']"
>
<xsl:for-each
select=
".//UML:Class[.//UML:Stereotype/@xmi.idref='ww8sprm']"
>
<xsl:variable
name=
"pattern"
>
<xsl:variable
name=
"pattern"
>
...
@@ -439,83 +411,6 @@ sed "s/</xsl:text>
...
@@ -439,83 +411,6 @@ sed "s/</xsl:text>
<xsl:key
name=
"same-valued-tagged-data"
<xsl:key
name=
"same-valued-tagged-data"
match=
"UML:TaggedValue.dataValue"
use=
"."
/>
match=
"UML:TaggedValue.dataValue"
use=
"."
/>
<xsl:template
name=
"analyzerdoctokidsattrs"
>
<xsl:text>
/* Attributes */
</xsl:text>
<xsl:for-each
select=
'.//UML:Attribute[@name!="reserved"]'
>
<xsl:if
test=
'count(.//UML:Stereotype[@xmi.idref="noqname"]) = 0'
>
<xsl:for-each
select=
'.//UML:TaggedValue[.//UML:TagDefinition/@xmi.idref="attrid"]'
>
<xsl:choose>
<xsl:when
test=
'generate-id(UML:TaggedValue.dataValue) != generate-id(key("same-valued-tagged-data", UML:TaggedValue.dataValue)[1])'
/>
<xsl:otherwise>
<xsl:text>
out
<<
"
<
theid name=\"
</xsl:text>
<xsl:value-of
select=
".//UML:TaggedValue.dataValue"
/>
<xsl:text>
\"
>
</xsl:text>
<xsl:value-of
select=
'10000 + position()'
/>
<xsl:text>
<
/theid
>
"
<<
endl;
</xsl:text>
</xsl:otherwise>
</xsl:choose>
</xsl:for-each>
</xsl:if>
</xsl:for-each>
</xsl:template>
<xsl:template
name=
"analyzerdoctokidsops"
>
<xsl:text>
/* Operations */
</xsl:text>
<xsl:for-each
select=
'.//UML:Operation[@name!="reserved"]'
>
<xsl:if
test=
'count(.//UML:Stereotype[@xmi.idref="noqname"]) = 0'
>
<xsl:for-each
select=
'.//UML:TaggedValue[.//UML:TagDefinition/@xmi.idref="opid"]'
>
<xsl:choose>
<xsl:when
test=
'generate-id(UML:TaggedValue.dataValue) != generate-id(key("same-valued-tagged-data", UML:TaggedValue.dataValue)[1])'
/>
<xsl:otherwise>
<xsl:text>
out
<<
"
<
theid name=\"
</xsl:text>
<xsl:value-of
select=
".//UML:TaggedValue.dataValue"
/>
<xsl:text>
\"
>
</xsl:text>
<xsl:value-of
select=
'20000 + position()'
/>
<xsl:text>
<
/theid
>
"
<<
endl;
</xsl:text>
</xsl:otherwise>
</xsl:choose>
</xsl:for-each>
</xsl:if>
</xsl:for-each>
</xsl:template>
<xsl:template
name=
"analyzerdoctokidsclasses"
>
<xsl:text>
/* clases */
</xsl:text>
<xsl:for-each
select=
'.//UML:Class[@name!="reserved"]'
>
<xsl:for-each
select=
'.//UML:TaggedValue[.//UML:TagDefinition/@xmi.idref="classid"]'
>
<xsl:choose>
<xsl:when
test=
'.//UML:Stereotype[@xmi.idref="noqname"]'
/>
<xsl:when
test=
'generate-id(UML:TaggedValue.dataValue) != generate-id(key("same-valued-tagged-data", UML:TaggedValue.dataValue)[1])'
/>
<xsl:otherwise>
<xsl:text>
out
<<
"
<
theid name=\"
</xsl:text>
<xsl:value-of
select=
".//UML:TaggedValue.dataValue"
/>
<xsl:text>
\"
>
</xsl:text>
<xsl:value-of
select=
'30000 + position()'
/>
<xsl:text>
<
/theid
>
"
<<
endl;
</xsl:text>
</xsl:otherwise>
</xsl:choose>
</xsl:for-each>
</xsl:for-each>
</xsl:template>
<xsl:template
match=
"UML:Model"
mode=
"analyzerdoctokids"
>
<xsl:text>
void doctokidsToXML(::std::ostream
&
out)
{
</xsl:text>
<xsl:call-template
name=
"analyzerdoctokidsattrs"
/>
<xsl:call-template
name=
"analyzerdoctokidsops"
/>
<xsl:call-template
name=
"analyzerdoctokidsclasses"
/>
<xsl:text>
}
</xsl:text>
</xsl:template>
<xsl:template
name=
"licenseheader"
>
<xsl:template
name=
"licenseheader"
>
<xsl:text>
<xsl:text>
/*
/*
...
...
writerfilter/source/ooxml/qnametostr.xsl
Dosyayı görüntüle @
6dd888e8
...
@@ -79,39 +79,6 @@ void QNameToString::init_ooxml()
...
@@ -79,39 +79,6 @@ void QNameToString::init_ooxml()
</xsl:text>
</xsl:text>
</xsl:template>
</xsl:template>
<xsl:template
name=
"ooxmlidstoxml"
>
<xsl:text>
void ooxmlsprmidsToXML(::std::ostream
&
out)
{
</xsl:text>
<xsl:for-each
select=
"//@tokenid"
>
<xsl:if
test=
"contains(., 'ooxml:') and generate-id(.) = generate-id(key('tokenids', .)[1]) and ancestor::element"
>
<xsl:text>
out
<<
"
<
theid name=\"
</xsl:text>
<xsl:value-of
select=
"."
/>
<xsl:text>
\"
>
</xsl:text>
<xsl:value-of
select=
"90000 + position()"
/>
<xsl:text>
<
/theid
>
"
<<
endl;
</xsl:text>
</xsl:if>
</xsl:for-each>
<xsl:text>
}
</xsl:text>
<xsl:text>
void ooxmlidsToXML(::std::ostream
&
out)
{
</xsl:text>
<xsl:for-each
select=
"//@tokenid"
>
<xsl:if
test=
"contains(., 'ooxml:') and generate-id(.) = generate-id(key('tokenids', .)[1]) and ancestor::attribute"
>
<xsl:text>
out
<<
"
<
theid name=\"
</xsl:text>
<xsl:value-of
select=
"."
/>
<xsl:text>
\"
>
</xsl:text>
<xsl:value-of
select=
"90000 + position()"
/>
<xsl:text>
<
/theid
>
"
<<
endl;
</xsl:text>
</xsl:if>
</xsl:for-each>
<xsl:text>
}
</xsl:text>
</xsl:template>
<xsl:template
match=
"/"
>
<xsl:template
match=
"/"
>
#include "ooxml/resourceids.hxx"
#include "ooxml/resourceids.hxx"
#include "resourcemodel/QNameToString.hxx"
#include "resourcemodel/QNameToString.hxx"
...
@@ -119,7 +86,6 @@ void ooxmlidsToXML(::std::ostream & out)
...
@@ -119,7 +86,6 @@ void ooxmlidsToXML(::std::ostream & out)
namespace writerfilter
namespace writerfilter
{
{
<xsl:call-template
name=
"qnametostr"
/>
<xsl:call-template
name=
"qnametostr"
/>
<xsl:call-template
name=
"ooxmlidstoxml"
/>
}
}
</xsl:template>
</xsl:template>
...
...
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