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
6f90ab5a
Kaydet (Commit)
6f90ab5a
authored
Agu 23, 2002
tarafından
Mathias Bauer
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
#98399#: different flags for ImageRotation and ImageReflection
üst
a3d8ae1f
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
42 additions
and
11 deletions
+42
-11
globals.hxx
idl/inc/globals.hxx
+4
-2
slot.hxx
idl/inc/slot.hxx
+6
-2
slot.cxx
idl/source/objects/slot.cxx
+26
-3
command.cxx
idl/source/prj/command.cxx
+3
-2
globals.cxx
idl/source/prj/globals.cxx
+3
-2
No files found.
idl/inc/globals.hxx
Dosyayı görüntüle @
6f90ab5a
...
@@ -2,9 +2,9 @@
...
@@ -2,9 +2,9 @@
*
*
* $RCSfile: globals.hxx,v $
* $RCSfile: globals.hxx,v $
*
*
* $Revision: 1.
2
$
* $Revision: 1.
3
$
*
*
* last change: $Author: mba $ $Date: 2002-0
4-17 12:53:06
$
* last change: $Author: mba $ $Date: 2002-0
8-23 11:13:19
$
*
*
* 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
...
@@ -144,6 +144,7 @@ struct SvGlobalHashNames
...
@@ -144,6 +144,7 @@ struct SvGlobalHashNames
SvStringHashEntryRef
MM_SbxObject
;
SvStringHashEntryRef
MM_SbxObject
;
SvStringHashEntryRef
MM_Container
;
SvStringHashEntryRef
MM_Container
;
SvStringHashEntryRef
MM_ImageRotation
;
SvStringHashEntryRef
MM_ImageRotation
;
SvStringHashEntryRef
MM_ImageReflection
;
SvStringHashEntryRef
MM_IsCollection
;
SvStringHashEntryRef
MM_IsCollection
;
SvStringHashEntryRef
MM_ReadOnlyDoc
;
SvStringHashEntryRef
MM_ReadOnlyDoc
;
SvStringHashEntryRef
MM_ConfigName
;
SvStringHashEntryRef
MM_ConfigName
;
...
@@ -254,6 +255,7 @@ HASH_INLINE(FastCall)
...
@@ -254,6 +255,7 @@ HASH_INLINE(FastCall)
HASH_INLINE
(
SbxObject
)
HASH_INLINE
(
SbxObject
)
HASH_INLINE
(
Container
)
HASH_INLINE
(
Container
)
HASH_INLINE
(
ImageRotation
)
HASH_INLINE
(
ImageRotation
)
HASH_INLINE
(
ImageReflection
)
HASH_INLINE
(
IsCollection
)
HASH_INLINE
(
IsCollection
)
HASH_INLINE
(
ReadOnlyDoc
)
HASH_INLINE
(
ReadOnlyDoc
)
HASH_INLINE
(
ConfigName
)
HASH_INLINE
(
ConfigName
)
...
...
idl/inc/slot.hxx
Dosyayı görüntüle @
6f90ab5a
...
@@ -2,9 +2,9 @@
...
@@ -2,9 +2,9 @@
*
*
* $RCSfile: slot.hxx,v $
* $RCSfile: slot.hxx,v $
*
*
* $Revision: 1.
2
$
* $Revision: 1.
3
$
*
*
* last change: $Author: mba $ $Date: 2002-0
4-17 12:53:06
$
* last change: $Author: mba $ $Date: 2002-0
8-23 11:13:20
$
*
*
* 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
...
@@ -104,6 +104,7 @@ class SvMetaSlot : public SvMetaAttribute
...
@@ -104,6 +104,7 @@ class SvMetaSlot : public SvMetaAttribute
SvBOOL
aFastCall
;
SvBOOL
aFastCall
;
SvBOOL
aContainer
;
SvBOOL
aContainer
;
SvBOOL
aImageRotation
;
SvBOOL
aImageRotation
;
SvBOOL
aImageReflection
;
SvIdentifier
aPseudoPrefix
;
SvIdentifier
aPseudoPrefix
;
SvString
aDisableFlags
;
SvString
aDisableFlags
;
SvMetaSlot
*
pLinkedSlot
;
SvMetaSlot
*
pLinkedSlot
;
...
@@ -210,6 +211,8 @@ protected:
...
@@ -210,6 +211,8 @@ protected:
{
aContainer
=
bSet
;
}
{
aContainer
=
bSet
;
}
void
SetImageRotation
(
BOOL
bSet
)
void
SetImageRotation
(
BOOL
bSet
)
{
aImageRotation
=
bSet
;
}
{
aImageRotation
=
bSet
;
}
void
SetImageReflection
(
BOOL
bSet
)
{
aImageReflection
=
bSet
;
}
public
:
public
:
SV_DECL_META_FACTORY1
(
SvMetaSlot
,
SvMetaReference
,
11
)
SV_DECL_META_FACTORY1
(
SvMetaSlot
,
SvMetaReference
,
11
)
...
@@ -258,6 +261,7 @@ public:
...
@@ -258,6 +261,7 @@ public:
BOOL
GetFastCall
()
const
;
BOOL
GetFastCall
()
const
;
BOOL
GetContainer
()
const
;
BOOL
GetContainer
()
const
;
BOOL
GetImageRotation
()
const
;
BOOL
GetImageRotation
()
const
;
BOOL
GetImageReflection
()
const
;
SvMetaSlot
*
GetLinkedSlot
()
const
SvMetaSlot
*
GetLinkedSlot
()
const
{
return
pLinkedSlot
;
}
{
return
pLinkedSlot
;
}
SvMetaSlot
*
GetNextSlot
()
const
SvMetaSlot
*
GetNextSlot
()
const
...
...
idl/source/objects/slot.cxx
Dosyayı görüntüle @
6f90ab5a
...
@@ -2,9 +2,9 @@
...
@@ -2,9 +2,9 @@
*
*
* $RCSfile: slot.cxx,v $
* $RCSfile: slot.cxx,v $
*
*
* $Revision: 1.
8
$
* $Revision: 1.
9
$
*
*
* last change: $Author:
rt $ $Date: 2002-06-14 12:22:12
$
* last change: $Author:
mba $ $Date: 2002-08-23 11:13:21
$
*
*
* 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
...
@@ -219,6 +219,7 @@ void SvMetaSlot::Load( SvPersistStream & rStm )
...
@@ -219,6 +219,7 @@ void SvMetaSlot::Load( SvPersistStream & rStm )
TEST_READ
TEST_READ
if
(
nMask
&
0x0001
)
rStm
>>
aUnoName
;
if
(
nMask
&
0x0001
)
rStm
>>
aUnoName
;
if
(
nMask
&
0x0002
)
rStm
>>
aImageReflection
;
}
}
void
SvMetaSlot
::
Save
(
SvPersistStream
&
rStm
)
void
SvMetaSlot
::
Save
(
SvPersistStream
&
rStm
)
...
@@ -335,11 +336,14 @@ void SvMetaSlot::Save( SvPersistStream & rStm )
...
@@ -335,11 +336,14 @@ void SvMetaSlot::Save( SvPersistStream & rStm )
if
(
nMask
&
0x8000
)
rStm
<<
aImageRotation
;
if
(
nMask
&
0x8000
)
rStm
<<
aImageRotation
;
nMask
=
0
;
nMask
=
0
;
if
(
aUnoName
.
IsSet
()
)
nMask
|=
0x0001
;
if
(
aUnoName
.
IsSet
()
)
nMask
|=
0x0001
;
if
(
aImageReflection
.
IsSet
()
)
nMask
|=
0x0002
;
rStm
<<
nMask
;
rStm
<<
nMask
;
TEST_WRITE
TEST_WRITE
if
(
nMask
&
0x0001
)
rStm
<<
aUnoName
;
if
(
nMask
&
0x0001
)
rStm
<<
aUnoName
;
TEST_WRITE
if
(
nMask
&
0x0002
)
rStm
<<
aImageReflection
;
}
}
/*************************************************************************
/*************************************************************************
...
@@ -572,6 +576,12 @@ BOOL SvMetaSlot::GetImageRotation() const
...
@@ -572,6 +576,12 @@ BOOL SvMetaSlot::GetImageRotation() const
return
((
SvMetaSlot
*
)
GetRef
())
->
GetImageRotation
();
return
((
SvMetaSlot
*
)
GetRef
())
->
GetImageRotation
();
}
}
BOOL
SvMetaSlot
::
GetImageReflection
()
const
{
if
(
aImageReflection
.
IsSet
()
||
!
GetRef
()
)
return
aImageReflection
;
return
((
SvMetaSlot
*
)
GetRef
())
->
GetImageReflection
();
}
const
ByteString
&
SvMetaSlot
::
GetUnoName
()
const
const
ByteString
&
SvMetaSlot
::
GetUnoName
()
const
{
{
if
(
aUnoName
.
IsSet
()
||
!
GetRef
()
)
return
aUnoName
;
if
(
aUnoName
.
IsSet
()
||
!
GetRef
()
)
return
aUnoName
;
...
@@ -686,6 +696,7 @@ void SvMetaSlot::ReadAttributesSvIdl( SvIdlDataBase & rBase,
...
@@ -686,6 +696,7 @@ void SvMetaSlot::ReadAttributesSvIdl( SvIdlDataBase & rBase,
bOk
|=
aFastCall
.
ReadSvIdl
(
SvHash_FastCall
(),
rInStm
);
bOk
|=
aFastCall
.
ReadSvIdl
(
SvHash_FastCall
(),
rInStm
);
bOk
|=
aContainer
.
ReadSvIdl
(
SvHash_Container
(),
rInStm
);
bOk
|=
aContainer
.
ReadSvIdl
(
SvHash_Container
(),
rInStm
);
bOk
|=
aImageRotation
.
ReadSvIdl
(
SvHash_ImageRotation
(),
rInStm
);
bOk
|=
aImageRotation
.
ReadSvIdl
(
SvHash_ImageRotation
(),
rInStm
);
bOk
|=
aImageReflection
.
ReadSvIdl
(
SvHash_ImageReflection
(),
rInStm
);
bOk
|=
aUnoName
.
ReadSvIdl
(
SvHash_UnoName
(),
rInStm
);
bOk
|=
aUnoName
.
ReadSvIdl
(
SvHash_UnoName
(),
rInStm
);
if
(
!
bOk
)
if
(
!
bOk
)
...
@@ -912,6 +923,12 @@ void SvMetaSlot::WriteAttributesSvIdl( SvIdlDataBase & rBase,
...
@@ -912,6 +923,12 @@ void SvMetaSlot::WriteAttributesSvIdl( SvIdlDataBase & rBase,
aDel
=
", "
;
aDel
=
", "
;
}
}
if
(
aImageReflection
)
{
(
aOut
+=
aDel
)
+=
aImageReflection
.
GetSvIdlString
(
SvHash_ImageReflection
()
);
aDel
=
", "
;
}
if
(
aOut
.
Len
()
)
if
(
aOut
.
Len
()
)
{
{
WriteTab
(
rOutStm
,
nTab
);
WriteTab
(
rOutStm
,
nTab
);
...
@@ -1453,6 +1470,8 @@ void SvMetaSlot::WriteSlot( const ByteString & rShellName, USHORT nCount,
...
@@ -1453,6 +1470,8 @@ void SvMetaSlot::WriteSlot( const ByteString & rShellName, USHORT nCount,
rOutStm
<<
MakeSlotName
(
SvHash_ReadOnlyDoc
()
).
GetBuffer
()
<<
'|'
;
rOutStm
<<
MakeSlotName
(
SvHash_ReadOnlyDoc
()
).
GetBuffer
()
<<
'|'
;
if
(
GetImageRotation
()
)
if
(
GetImageRotation
()
)
rOutStm
<<
MakeSlotName
(
SvHash_ImageRotation
()
).
GetBuffer
()
<<
'|'
;
rOutStm
<<
MakeSlotName
(
SvHash_ImageRotation
()
).
GetBuffer
()
<<
'|'
;
if
(
GetImageReflection
()
)
rOutStm
<<
MakeSlotName
(
SvHash_ImageReflection
()
).
GetBuffer
()
<<
'|'
;
rOutStm
<<
'0'
;
rOutStm
<<
'0'
;
...
@@ -1887,6 +1906,9 @@ void SvMetaSlot::CompareSlotAttributes( SvMetaSlot* pSlot )
...
@@ -1887,6 +1906,9 @@ void SvMetaSlot::CompareSlotAttributes( SvMetaSlot* pSlot )
if
(
GetImageRotation
()
!=
pSlot
->
GetImageRotation
()
)
if
(
GetImageRotation
()
!=
pSlot
->
GetImageRotation
()
)
aStr
+=
" ImageRotation
\n
"
;
aStr
+=
" ImageRotation
\n
"
;
if
(
GetImageReflection
()
!=
pSlot
->
GetImageReflection
()
)
aStr
+=
" ImageReflection
\n
"
;
if
(
!
GetPseudoPrefix
().
Equals
(
pSlot
->
GetPseudoPrefix
()
)
)
if
(
!
GetPseudoPrefix
().
Equals
(
pSlot
->
GetPseudoPrefix
()
)
)
aStr
+=
" PseudoPrefix
\n
"
;
aStr
+=
" PseudoPrefix
\n
"
;
...
@@ -1944,6 +1966,7 @@ void SvMetaSlot::WriteCSV( SvIdlDataBase& rBase, SvStream& rStrm )
...
@@ -1944,6 +1966,7 @@ void SvMetaSlot::WriteCSV( SvIdlDataBase& rBase, SvStream& rStrm )
WriteBool
(
GetHasDialog
(),
rStrm
);
WriteBool
(
GetHasDialog
(),
rStrm
);
WriteBool
(
GetReadOnlyDoc
(),
rStrm
);
WriteBool
(
GetReadOnlyDoc
(),
rStrm
);
WriteBool
(
GetImageRotation
(),
rStrm
);
WriteBool
(
GetImageRotation
(),
rStrm
);
WriteBool
(
GetImageReflection
(),
rStrm
);
rStrm
<<
GetDisableFlags
().
GetBuffer
()
<<
','
;
rStrm
<<
GetDisableFlags
().
GetBuffer
()
<<
','
;
...
...
idl/source/prj/command.cxx
Dosyayı görüntüle @
6f90ab5a
...
@@ -2,9 +2,9 @@
...
@@ -2,9 +2,9 @@
*
*
* $RCSfile: command.cxx,v $
* $RCSfile: command.cxx,v $
*
*
* $Revision: 1.
2
$
* $Revision: 1.
3
$
*
*
* last change: $Author: mba $ $Date: 2002-0
4-17 12:53:07
$
* last change: $Author: mba $ $Date: 2002-0
8-23 11:13:22
$
*
*
* 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
...
@@ -138,6 +138,7 @@ char* SyntaxStrings[] = {
...
@@ -138,6 +138,7 @@ char* SyntaxStrings[] = {
"
\t\t
HasDialog"
,
"
\t\t
HasDialog"
,
"
\t\t
IsCollection"
,
"
\t\t
IsCollection"
,
"
\t\t
ImageRotation"
,
"
\t\t
ImageRotation"
,
"
\t\t
ImageReflection"
,
"
\t\t
PseudoPrefix = Identifier"
,
"
\t\t
PseudoPrefix = Identifier"
,
"
\t\t
PseudoSlots"
,
"
\t\t
PseudoSlots"
,
"
\t\t
ReadOnly"
,
"
\t\t
ReadOnly"
,
...
...
idl/source/prj/globals.cxx
Dosyayı görüntüle @
6f90ab5a
...
@@ -2,9 +2,9 @@
...
@@ -2,9 +2,9 @@
*
*
* $RCSfile: globals.cxx,v $
* $RCSfile: globals.cxx,v $
*
*
* $Revision: 1.
2
$
* $Revision: 1.
3
$
*
*
* last change: $Author: mba $ $Date: 2002-0
4-17 12:53:07
$
* last change: $Author: mba $ $Date: 2002-0
8-23 11:13:22
$
*
*
* 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
...
@@ -216,6 +216,7 @@ SvGlobalHashNames::SvGlobalHashNames()
...
@@ -216,6 +216,7 @@ SvGlobalHashNames::SvGlobalHashNames()
A_ENTRY
(
SbxObject
)
A_ENTRY
(
SbxObject
)
A_ENTRY
(
Container
)
A_ENTRY
(
Container
)
A_ENTRY
(
ImageRotation
)
A_ENTRY
(
ImageRotation
)
A_ENTRY
(
ImageReflection
)
A_ENTRY
(
IsCollection
)
A_ENTRY
(
IsCollection
)
A_ENTRY
(
ReadOnlyDoc
)
A_ENTRY
(
ReadOnlyDoc
)
A_ENTRY
(
ConfigName
)
A_ENTRY
(
ConfigName
)
...
...
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