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
51ea10e2
Kaydet (Commit)
51ea10e2
authored
Tem 16, 2002
tarafından
Christian Lippka
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
#100843# added code to convert a api numbering rule to implementation rule
üst
d2e8d121
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
39 additions
and
2 deletions
+39
-2
unonrule.cxx
svx/source/unodraw/unonrule.cxx
+39
-2
No files found.
svx/source/unodraw/unonrule.cxx
Dosyayı görüntüle @
51ea10e2
...
...
@@ -2,9 +2,9 @@
*
* $RCSfile: unonrule.cxx,v $
*
* $Revision: 1.1
5
$
* $Revision: 1.1
6
$
*
* last change: $Author: cl $ $Date: 200
1-08-06 15:48:32
$
* last change: $Author: cl $ $Date: 200
2-07-16 10:25:08
$
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
...
...
@@ -554,6 +554,43 @@ const SvxNumRule& SvxGetNumRule( uno::Reference< container::XIndexReplace > xRul
return
pRule
->
getNumRule
();
}
bool
SvxGetNumRule
(
uno
::
Reference
<
container
::
XIndexReplace
>
xRule
,
SvxNumRule
&
rNumRule
)
{
SvxUnoNumberingRules
*
pRule
=
SvxUnoNumberingRules
::
getImplementation
(
xRule
);
if
(
pRule
)
{
rNumRule
=
pRule
->
getNumRule
();
}
else
if
(
xRule
.
is
()
)
{
try
{
pRule
=
new
SvxUnoNumberingRules
(
rNumRule
);
uno
::
Reference
<
container
::
XIndexReplace
>
xDestRule
(
pRule
);
const
sal_Int32
nCount
=
min
(
xRule
->
getCount
(),
xDestRule
->
getCount
()
);
sal_Int32
nLevel
;
for
(
nLevel
=
0
;
nLevel
<
nCount
;
nLevel
++
)
{
xDestRule
->
replaceByIndex
(
nLevel
,
xRule
->
getByIndex
(
nLevel
)
);
}
rNumRule
=
pRule
->
getNumRule
();
}
catch
(
uno
::
Exception
&
)
{
return
false
;
}
}
else
{
return
false
;
}
return
true
;
}
///////////////////////////////////////////////////////////////////////
uno
::
Reference
<
container
::
XIndexReplace
>
SvxCreateNumRule
(
const
SvxNumRule
*
pRule
)
throw
()
...
...
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