Lines Matching refs:rInst
318 void RscClass::Destroy( const RSCINST & rInst ) in Destroy() argument
322 RscTop::Destroy( rInst ); in Destroy()
330 aTmpI = GetInstData( rInst.pData, i, sal_True ); in Destroy()
436 const RSCINST & rInst, in GetVariable() argument
452 aTmpI = GetVariable( rInst, in GetVariable()
468 aTmpI = GetInstData( rInst.pData, i ); in GetVariable()
482 (rInst.pData + pVarTypeList[ i ].nOffset ); in GetVariable()
492 = (CLASS_DATA *)(rInst.pData + pVarTypeList[ i ].nOffset); in GetVariable()
499 SetVarDflt( rInst.pData, i, sal_False ); in GetVariable()
503 return( RscTop::GetVariable( rInst, nVarName, rInitInst, in GetVariable()
516 const RSCINST & rInst, in GetCopyVar() argument
530 aVarI = GetCopyVar( rInst, pVarTypeList[ i ].nDataBaseName ); in GetCopyVar()
535 if( IsDflt( rInst.pData, i ) ) in GetCopyVar()
538 aVarI = GetVariable( rInst, nVarName, RSCINST(), sal_True ); in GetCopyVar()
539 SetVarDflt( rInst.pData, i, sal_True ); in GetCopyVar()
542 aVarI = GetInstData( rInst.pData, i, sal_True ); in GetCopyVar()
548 return RscTop::GetCopyVar( rInst, nVarName ); in GetCopyVar()
558 sal_Bool RscClass::IsConsistent( const RSCINST & rInst, RscInconsList * pList ) in IsConsistent() argument
564 bRet = RscTop::IsConsistent( rInst, pList ); in IsConsistent()
570 aTmpI = GetInstData( rInst.pData, i, sal_True ); in IsConsistent()
588 void RscClass::SetToDefault( const RSCINST & rInst ) in SetToDefault() argument
594 pClass = (RscClassInst *)(rInst.pData + nSuperSize ); in SetToDefault()
602 aTmpI = GetInstData( rInst.pData, i, sal_True ); in SetToDefault()
609 RscTop::SetToDefault( rInst ); in SetToDefault()
619 sal_Bool RscClass::IsDefault( const RSCINST & rInst ) in IsDefault() argument
629 if( !IsDflt( rInst.pData, i ) ) in IsDefault()
633 return( RscTop::IsDefault( rInst ) ); in IsDefault()
696 sal_Bool RscClass::IsValueDefault( const RSCINST & rInst, CLASS_DATA pDef ) in IsValueDefault() argument
702 if( !RscTop::IsValueDefault( rInst, pDef ) ) in IsValueDefault()
709 aTmpI = GetInstData( rInst.pData, i, sal_True ); in IsValueDefault()
738 void RscClass::SetDefault( const RSCINST & rInst, Atom nVarName ) in SetDefault() argument
748 aTmpI = GetInstData( rInst.pData, i, sal_True ); in SetDefault()
753 SetVarDflt( rInst.pData, i, sal_True ); in SetDefault()
757 RscTop::SetDefault( rInst, nVarName ); in SetDefault()
771 const RSCINST & rInst, in WriteSrc() argument
781 RscTop::WriteSrc( rInst, fOutput, pTC, nTab, pVarName ); in WriteSrc()
791 if( !IsDflt( rInst.pData, i ) //MapUnit in WriteSrc()
792 || !IsDflt( rInst.pData, i+1 ) //X, Width in WriteSrc()
793 || !IsDflt( rInst.pData, i+2 ) )//Y, Height in WriteSrc()
802 if( !IsDflt( rInst.pData, i ) ) in WriteSrc()
804 aTmpI = GetInstData( rInst.pData, i, sal_True ); in WriteSrc()
810 aTmpI = GetInstData( rInst.pData, i+1, sal_True ); in WriteSrc()
817 aTmpI = GetInstData( rInst.pData, i+2, sal_True ); in WriteSrc()
826 else if( !IsDflt( rInst.pData, i ) in WriteSrc()
827 && !IsValueDflt( rInst.pData, i ) ) in WriteSrc()
829 aTmpI = GetInstData( rInst.pData, i, sal_True ); in WriteSrc()
859 const RSCINST & rInst, in GetCorrectValues() argument
869 RSCINST aTmpI = GetInstData( rInst.pData, nVarPos, sal_True ); in GetCorrectValues()
873 aTmpI = rInst.pClass->GetVariable( rInst, nRsc_DELTALANG, RSCINST() ); in GetCorrectValues()
886 const RSCINST & rInst, in WriteInstRc() argument
915 if( !IsDflt( rInst.pData, i ) ) in WriteInstRc()
919 sal_Int32 nVal = GetCorrectValues( rInst, i, 0, pTC ); in WriteInstRc()
924 sal_Int32 nVal = GetCorrectValues( rInst, i, 1, pTC ); in WriteInstRc()
929 sal_Int32 nVal = GetCorrectValues( rInst, i, 2, pTC ); in WriteInstRc()
934 sal_Int32 nVal = GetCorrectValues( rInst, i, 3, pTC ); in WriteInstRc()
939 aTmpI = GetInstData( rInst.pData, i, sal_True ); in WriteInstRc()
955 if( IsDflt( rInst.pData, i ) ) in WriteInstRc()
961 aTmpI = GetInstData( rInst.pData, i, sal_True ); in WriteInstRc()
986 const RSCINST & rInst, in WriteRc() argument
995 aError = RscTop::WriteRc( rInst, rMem, pTC, nDeep, bExtra ); in WriteRc()
997 aError = WriteInstRc( rInst, rMem, pTC, nDeep, bExtra ); in WriteRc()
1109 ERRTYPE RscSysDepend::WriteSysDependRc( const RSCINST & rInst, RscWriteRc & rMem, in WriteSysDependRc() argument
1117 aFileName = RscClass::GetCopyVar( rInst, pHS->getID( "FILE", true ) ); in WriteSysDependRc()
1129 nId = pTC->PutSysName( rInst.pClass->GetTypId(), in WriteSysDependRc()
1150 ERRTYPE RscSysDepend::WriteRc( const RSCINST & rInst, RscWriteRc & rMem, in WriteRc() argument
1153 ERRTYPE aError = RscClass::WriteRc( rInst, rMem, pTC, nDeep, bExtra ); in WriteRc()
1155 if( this == rInst.pClass ) in WriteRc()
1157 aError = WriteSysDependRc( rInst, rMem, pTC, nDeep, bExtra ); in WriteRc()
1180 ERRTYPE RscFirstSysDepend::WriteRc( const RSCINST & rInst, RscWriteRc & rMem, in WriteRc() argument
1183 ERRTYPE aError = RscClass::WriteRc( rInst, rMem, pTC, nDeep, bExtra ); in WriteRc()
1184 aError = WriteSysDependRc( rInst, rMem, pTC, nDeep, bExtra, sal_True ); in WriteRc()
1206 RSCINST RscTupel::GetTupelVar( const RSCINST & rInst, sal_uInt32 nPos, in GetTupelVar() argument
1214 return GetVariable( rInst, pVarTypeList[ nPos ].nVarName, rInitInst ); in GetTupelVar()
1224 void RscTupel::WriteSrc( const RSCINST & rInst, FILE * fOutput, in WriteSrc() argument
1231 RscTop::WriteSrc( rInst, fOutput, pTC, nTab, pVarName ); in WriteSrc()
1238 if( !IsDflt( rInst.pData, i ) in WriteSrc()
1239 && !IsValueDflt( rInst.pData, i ) ) in WriteSrc()
1241 aTmpI = GetInstData( rInst.pData, i, sal_True ); in WriteSrc()