summaryrefslogtreecommitdiff
path: root/idl/source
diff options
context:
space:
mode:
authorMathias Bauer <mba@openoffice.org>2002-04-17 11:53:07 +0000
committerMathias Bauer <mba@openoffice.org>2002-04-17 11:53:07 +0000
commit93199b8b47968baf2ee42c048f4eb6e9a7ead849 (patch)
tree74871e0cd779c3d7122dfc6b16a815d0c3c55edc /idl/source
parent408c08c265ee15d481ef5790e4e51feda7be17e9 (diff)
#97499#: new flag for image rotation
Diffstat (limited to 'idl/source')
-rw-r--r--idl/source/objects/slot.cxx30
-rw-r--r--idl/source/prj/command.cxx6
-rw-r--r--idl/source/prj/globals.cxx6
3 files changed, 21 insertions, 21 deletions
diff --git a/idl/source/objects/slot.cxx b/idl/source/objects/slot.cxx
index 22923996d7f4..0c665eff627e 100644
--- a/idl/source/objects/slot.cxx
+++ b/idl/source/objects/slot.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: slot.cxx,v $
*
- * $Revision: 1.3 $
+ * $Revision: 1.4 $
*
- * last change: $Author: mba $ $Date: 2002-04-12 10:38:30 $
+ * last change: $Author: mba $ $Date: 2002-04-17 12:53:07 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -212,7 +212,7 @@ void SvMetaSlot::Load( SvPersistStream & rStm )
TEST_READ
if( nMask & 0x4000 ) rStm >> aRecordAbsolute;
TEST_READ
- if( nMask & 0x8000 ) rStm >> aPlugComm;
+ if( nMask & 0x8000 ) rStm >> aImageRotation;
nMask = 0;
rStm >> nMask;
@@ -297,7 +297,7 @@ void SvMetaSlot::Save( SvPersistStream & rStm )
if( aContainer.IsSet() ) nMask |= 0x1000;
if( aSlotType.Is() ) nMask |= 0x2000;
if( aRecordAbsolute.IsSet() ) nMask |= 0x4000;
- if( aPlugComm.IsSet() ) nMask |= 0x8000;
+ if( aImageRotation.IsSet() ) nMask |= 0x8000;
// Daten schreiben
rStm << nMask;
@@ -332,7 +332,7 @@ void SvMetaSlot::Save( SvPersistStream & rStm )
TEST_WRITE
if( nMask & 0x4000 ) rStm << aRecordAbsolute;
TEST_WRITE
- if( nMask & 0x8000 ) rStm << aPlugComm;
+ if( nMask & 0x8000 ) rStm << aImageRotation;
nMask = 0;
if( aUnoName.IsSet() ) nMask |= 0x0001;
@@ -566,10 +566,10 @@ BOOL SvMetaSlot::GetContainer() const
return ((SvMetaSlot *)GetRef())->GetContainer();
}
-BOOL SvMetaSlot::GetPlugComm() const
+BOOL SvMetaSlot::GetImageRotation() const
{
- if( aPlugComm.IsSet() || !GetRef() ) return aPlugComm;
- return ((SvMetaSlot *)GetRef())->GetPlugComm();
+ if( aImageRotation.IsSet() || !GetRef() ) return aImageRotation;
+ return ((SvMetaSlot *)GetRef())->GetImageRotation();
}
const ByteString& SvMetaSlot::GetUnoName() const
@@ -685,7 +685,7 @@ void SvMetaSlot::ReadAttributesSvIdl( SvIdlDataBase & rBase,
SetAllConfig( aAllConfig ), bOk = TRUE;
bOk |= aFastCall.ReadSvIdl( SvHash_FastCall(), rInStm );
bOk |= aContainer.ReadSvIdl( SvHash_Container(), rInStm );
- bOk |= aPlugComm.ReadSvIdl( SvHash_PlugComm(), rInStm );
+ bOk |= aImageRotation.ReadSvIdl( SvHash_ImageRotation(), rInStm );
bOk |= aUnoName.ReadSvIdl( SvHash_UnoName(), rInStm );
if( !bOk )
@@ -906,9 +906,9 @@ void SvMetaSlot::WriteAttributesSvIdl( SvIdlDataBase & rBase,
( aOut += aDel ) += aContainer.GetSvIdlString( SvHash_Container() );
aDel = ", ";
}
- if( aPlugComm )
+ if( aImageRotation )
{
- ( aOut += aDel ) += aPlugComm.GetSvIdlString( SvHash_PlugComm() );
+ ( aOut += aDel ) += aImageRotation.GetSvIdlString( SvHash_ImageRotation() );
aDel = ", ";
}
@@ -1440,8 +1440,8 @@ void SvMetaSlot::WriteSlot( const ByteString & rShellName, USHORT nCount,
rOutStm << MakeSlotName( SvHash_Container() ).GetBuffer() << '|';
if ( GetReadOnlyDoc() )
rOutStm << MakeSlotName( SvHash_ReadOnlyDoc() ).GetBuffer() << '|';
- if( GetPlugComm() )
- rOutStm << MakeSlotName( SvHash_PlugComm() ).GetBuffer() << '|';
+ if( GetImageRotation() )
+ rOutStm << MakeSlotName( SvHash_ImageRotation() ).GetBuffer() << '|';
rOutStm << '0';
@@ -1873,8 +1873,8 @@ void SvMetaSlot::CompareSlotAttributes( SvMetaSlot* pSlot )
if ( GetContainer() != pSlot->GetContainer() )
aStr += " Container\n";
- if ( GetPlugComm() != pSlot->GetPlugComm() )
- aStr += " PlugComm\n";
+ if ( GetImageRotation() != pSlot->GetImageRotation() )
+ aStr += " ImageRotation\n";
if ( !GetPseudoPrefix().Equals( pSlot->GetPseudoPrefix() ) )
aStr += " PseudoPrefix\n";
diff --git a/idl/source/prj/command.cxx b/idl/source/prj/command.cxx
index 9961f737339d..a2f8322d05b6 100644
--- a/idl/source/prj/command.cxx
+++ b/idl/source/prj/command.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: command.cxx,v $
*
- * $Revision: 1.1.1.1 $
+ * $Revision: 1.2 $
*
- * last change: $Author: hr $ $Date: 2000-09-18 16:30:41 $
+ * last change: $Author: mba $ $Date: 2002-04-17 12:53:07 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -137,7 +137,7 @@ char* SyntaxStrings[] = {
"\t\tHasCoreId",
"\t\tHasDialog",
"\t\tIsCollection",
-"\t\tPlugComm",
+"\t\tImageRotation",
"\t\tPseudoPrefix = Identifier",
"\t\tPseudoSlots",
"\t\tReadOnly",
diff --git a/idl/source/prj/globals.cxx b/idl/source/prj/globals.cxx
index 9e3468439842..dbb1423917e4 100644
--- a/idl/source/prj/globals.cxx
+++ b/idl/source/prj/globals.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: globals.cxx,v $
*
- * $Revision: 1.1.1.1 $
+ * $Revision: 1.2 $
*
- * last change: $Author: hr $ $Date: 2000-09-18 16:30:41 $
+ * last change: $Author: mba $ $Date: 2002-04-17 12:53:07 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -215,7 +215,7 @@ SvGlobalHashNames::SvGlobalHashNames()
A_ENTRY(define)
A_ENTRY(SbxObject)
A_ENTRY(Container)
- A_ENTRY(PlugComm)
+ A_ENTRY(ImageRotation)
A_ENTRY(IsCollection)
A_ENTRY(ReadOnlyDoc)
A_ENTRY(ConfigName)