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
c64a2233
Kaydet (Commit)
c64a2233
authored
Kas 15, 2002
tarafından
Christian Lippka
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
#102531# writer wants to have less properties for drawing pool api
üst
51f456cb
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
32 additions
and
11 deletions
+32
-11
unopool.hxx
svx/inc/unopool.hxx
+7
-2
unopool.cxx
svx/source/unodraw/unopool.cxx
+19
-7
unoprov.cxx
svx/source/unodraw/unoprov.cxx
+6
-2
No files found.
svx/inc/unopool.hxx
Dosyayı görüntüle @
c64a2233
...
...
@@ -2,9 +2,9 @@
*
* $RCSfile: unopool.hxx,v $
*
* $Revision: 1.
4
$
* $Revision: 1.
5
$
*
* last change: $Author:
hr $ $Date: 2001-10-16 17:14:12
$
* last change: $Author:
cl $ $Date: 2002-11-15 15:33:09
$
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
...
...
@@ -89,6 +89,9 @@ class SvxUnoDrawPool : public ::cppu::OWeakAggObject,
public
comphelper
::
PropertySetHelper
{
public
:
SvxUnoDrawPool
(
SdrModel
*
pModel
,
sal_Int32
nServiceId
)
throw
();
/** deprecated */
SvxUnoDrawPool
(
SdrModel
*
pModel
)
throw
();
virtual
~
SvxUnoDrawPool
()
throw
();
...
...
@@ -121,6 +124,8 @@ public:
virtual
::
com
::
sun
::
star
::
uno
::
Sequence
<
rtl
::
OUString
>
SAL_CALL
getSupportedServiceNames
()
throw
(
::
com
::
sun
::
star
::
uno
::
RuntimeException
);
protected
:
void
init
();
virtual
void
getAny
(
SfxItemPool
*
pPool
,
const
comphelper
::
PropertyMapEntry
*
pEntry
,
::
com
::
sun
::
star
::
uno
::
Any
&
rValue
)
throw
(
::
com
::
sun
::
star
::
beans
::
UnknownPropertyException
);
virtual
void
putAny
(
SfxItemPool
*
pPool
,
const
comphelper
::
PropertyMapEntry
*
pEntry
,
const
::
com
::
sun
::
star
::
uno
::
Any
&
rValue
)
throw
(
::
com
::
sun
::
star
::
beans
::
UnknownPropertyException
,
::
com
::
sun
::
star
::
lang
::
IllegalArgumentException
);
...
...
svx/source/unodraw/unopool.cxx
Dosyayı görüntüle @
c64a2233
...
...
@@ -2,9 +2,9 @@
*
* $RCSfile: unopool.cxx,v $
*
* $Revision: 1.
9
$
* $Revision: 1.
10
$
*
* last change: $Author:
oj $ $Date: 2002-08-23 11:39:12
$
* last change: $Author:
cl $ $Date: 2002-11-15 15:35:11
$
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
...
...
@@ -123,8 +123,25 @@ using namespace ::com::sun::star::beans;
using
namespace
::
rtl
;
using
namespace
::
cppu
;
SvxUnoDrawPool
::
SvxUnoDrawPool
(
SdrModel
*
pModel
,
sal_Int32
nServiceId
)
throw
()
:
PropertySetHelper
(
SvxPropertySetInfoPool
::
getOrCreate
(
nServiceId
)
),
mpModel
(
pModel
)
{
init
();
}
/* deprecated */
SvxUnoDrawPool
::
SvxUnoDrawPool
(
SdrModel
*
pModel
)
throw
()
:
PropertySetHelper
(
SvxPropertySetInfoPool
::
getOrCreate
(
SVXUNO_SERVICEID_COM_SUN_STAR_DRAWING_DEFAULTS
)
),
mpModel
(
pModel
)
{
init
();
}
SvxUnoDrawPool
::~
SvxUnoDrawPool
()
throw
()
{
delete
mpDefaultsPool
;
}
void
SvxUnoDrawPool
::
init
()
{
mpDefaultsPool
=
new
SdrItemPool
(
SDRATTR_START
,
SDRATTR_END
);
SfxItemPool
*
pOutlPool
=
EditEngine
::
CreatePool
();
...
...
@@ -136,11 +153,6 @@ SvxUnoDrawPool::SvxUnoDrawPool( SdrModel* pModel ) throw()
mpDefaultsPool
->
FreezeIdRanges
();
}
SvxUnoDrawPool
::~
SvxUnoDrawPool
()
throw
()
{
delete
mpDefaultsPool
;
}
SfxItemPool
*
SvxUnoDrawPool
::
getModelPool
(
sal_Bool
bReadOnly
)
throw
()
{
if
(
mpModel
)
...
...
svx/source/unodraw/unoprov.cxx
Dosyayı görüntüle @
c64a2233
...
...
@@ -2,9 +2,9 @@
*
* $RCSfile: unoprov.cxx,v $
*
* $Revision: 1.4
6
$
* $Revision: 1.4
7
$
*
* last change: $Author: cl $ $Date: 2002-1
0-01 13:57:3
1 $
* last change: $Author: cl $ $Date: 2002-1
1-15 15:35:1
1 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
...
...
@@ -1300,6 +1300,10 @@ comphelper::PropertySetInfo* SvxPropertySetInfoPool::getOrCreate( sal_Int32 nSer
case
SVXUNO_SERVICEID_COM_SUN_STAR_DRAWING_DEFAULTS
:
mpInfos
[
SVXUNO_SERVICEID_COM_SUN_STAR_DRAWING_DEFAULTS
]
->
add
(
ImplGetSvxDrawingDefaultsPropertyMap
()
);
break
;
case
SVXUNO_SERVICEID_COM_SUN_STAR_DRAWING_DEFAULTS_WRITER
:
mpInfos
[
SVXUNO_SERVICEID_COM_SUN_STAR_DRAWING_DEFAULTS_WRITER
]
->
add
(
ImplGetSvxDrawingDefaultsPropertyMap
()
);
mpInfos
[
SVXUNO_SERVICEID_COM_SUN_STAR_DRAWING_DEFAULTS_WRITER
]
->
remove
(
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
UNO_NAME_EDIT_PARA_IS_HANGING_PUNCTUATION
)
)
);
break
;
default
:
DBG_ERROR
(
"unknown service id!"
);
...
...
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