Home
last modified time | relevance | path

Searched refs:nRecSize (Results 1 – 23 of 23) sorted by path

/trunk/main/oox/source/core/
H A Drecordparser.cxx209 sal_Int32 nRecSize = 0; in lclReadNextRecord() local
210 bool bValid = lclReadRecordHeader( ornRecId, nRecSize, rStrm ); in lclReadNextRecord()
213 orData.realloc( nRecSize ); in lclReadNextRecord()
214 bValid = (nRecSize == 0) || (rStrm.readData( orData, nRecSize ) == nRecSize); in lclReadNextRecord()
/trunk/main/oox/source/dump/
H A Dbiffdumper.cxx1602 sal_Int64 nRecSize = rStrm.size(); in implDumpRecordBody() local
1626 if( nRecSize >= 6 ) dumpDec< sal_uInt16 >( "build-id" ); in implDumpRecordBody()
1627 if( nRecSize >= 8 ) dumpDec< sal_uInt16 >( "build-year" ); in implDumpRecordBody()
1628 if( nRecSize >= 12 ) dumpHex< sal_uInt32 >( "history-flags", "BOF-HISTORY-FLAGS" ); in implDumpRecordBody()
1629 … if( nRecSize >= 16 ) dumpHex< sal_uInt32 >( "lowest-version", "BOF-LOWESTVERSION-FLAGS" ); in implDumpRecordBody()
H A Ddumperbase.cxx3140 sal_Int32 nRecSize = static_cast< sal_Int32 >( ornRecSize ); in implStartRecord() local
3141 mxRecData->realloc( nRecSize ); in implStartRecord()
3142 bValid = (nRecSize == 0) || (rBaseStrm.readData( *mxRecData, nRecSize ) == nRecSize); in implStartRecord()
H A Dxlsbdumper.cxx92 sal_Int32 nRecId = 0, nRecSize = 0; in implReadRecordHeader() local
93 …BaseStrm, nRecId ) && (nRecId >= 0) && readCompressedInt( rBaseStrm, nRecSize ) && (nRecSize >= 0); in implReadRecordHeader()
95 ornRecSize = nRecSize; in implReadRecordHeader()
/trunk/main/oox/source/ole/
H A Dvbahelper.cxx57 sal_Int32 nRecSize; in readDirRecord() local
58 rInStrm >> rnRecId >> nRecSize; in readDirRecord()
62 …OSL_ENSURE( nRecSize == 4, "VbaHelper::readDirRecord - unexpected record size for PROJECTVERSION" … in readDirRecord()
63 nRecSize = 6; in readDirRecord()
66 return !rInStrm.isEof() && (rInStrm.readData( rRecData, nRecSize ) == nRecSize); in readDirRecord()
H A Dvbamodule.cxx74 sal_Int32 nRecSize = aRecData.getLength(); in importDirRecords() local
80 maName = aRecStrm.readCharArrayUC( nRecSize, meTextEnc ); in importDirRecords()
85 maStreamName = aRecStrm.readCharArrayUC( nRecSize, meTextEnc ); in importDirRecords()
90 maDocString = aRecStrm.readCharArrayUC( nRecSize, meTextEnc ); in importDirRecords()
95 OOX_ENSURE_RECORDSIZE( nRecSize == 4 ); in importDirRecords()
99 OOX_ENSURE_RECORDSIZE( nRecSize == 4 ); in importDirRecords()
102 OOX_ENSURE_RECORDSIZE( nRecSize == 2 ); in importDirRecords()
105 OOX_ENSURE_RECORDSIZE( nRecSize == 0 ); in importDirRecords()
110 OOX_ENSURE_RECORDSIZE( nRecSize == 0 ); in importDirRecords()
115 OOX_ENSURE_RECORDSIZE( nRecSize == 0 ); in importDirRecords()
[all …]
H A Dvbaproject.cxx298 sal_Int32 nRecSize = aRecData.getLength(); in importVba() local
304 OOX_ENSURE_RECORDSIZE( nRecSize == 2 ); in importVba()
314 OUString aPrjName = aRecStrm.readCharArrayUC( nRecSize, eTextEnc ); in importVba()
321 OOX_ENSURE_RECORDSIZE( nRecSize == 2 ); in importVba()
327 OUString aName = aRecStrm.readCharArrayUC( nRecSize, eTextEnc ); in importVba()
/trunk/main/oox/source/xls/
H A Dbiffoutputstream.cxx54 sal_uInt16 nRecSize = getLimitedValue< sal_uInt16, size_t >( maData.size(), 0, SAL_MAX_UINT16 ); in endRecord() local
56 mrOutStrm << mnRecId << nRecSize; in endRecord()
57 if( nRecSize > 0 ) in endRecord()
58 mrOutStrm.writeMemory( &maData.front(), nRecSize ); in endRecord()
/trunk/main/sc/source/filter/excel/
H A Dxechart.cxx437 sal_uInt16 nFrType, sal_uInt16 nRecId, sal_Size nRecSize ) : in XclExpChGroupBase() argument
438 XclExpRecord( nRecId, nRecSize ), in XclExpChGroupBase()
483 XclFutureRecType eRecType, sal_uInt16 nRecId, sal_Size nRecSize ) : in XclExpChFutureRecordBase() argument
484 XclExpFutureRecord( eRecType, nRecId, nRecSize ), in XclExpChFutureRecordBase()
1081 sal_Size nRecSize = (1 + mxString->GetFormatsCount()) * ((GetBiff() == EXC_BIFF8) ? 2 : 1); in Save() local
1082 rStrm.StartRecord( EXC_ID_CHFORMATRUNS, nRecSize ); in Save()
H A Dxelink.cxx236 sal_uInt16 nRecId, sal_uInt32 nRecSize = 0 );
1315 …eetBase::XclExpExternSheetBase( const XclExpRoot& rRoot, sal_uInt16 nRecId, sal_uInt32 nRecSize ) : in XclExpExternSheetBase() argument
1316 XclExpRecord( nRecId, nRecSize ), in XclExpExternSheetBase()
H A Dxepivot.cxx893 sal_Size nRecSize = 0; in WriteSxindexlistList() local
896 nRecSize += maFieldList.GetRecord( nPos )->GetIndexSize(); in WriteSxindexlistList()
900 rStrm.StartRecord( EXC_ID_SXINDEXLIST, nRecSize ); in WriteSxindexlistList()
H A Dxerecord.cxx152 XclExpRecord::XclExpRecord( sal_uInt16 nRecId, sal_Size nRecSize ) : in XclExpRecord() argument
153 mnRecSize( nRecSize ), in XclExpRecord()
162 void XclExpRecord::SetRecHeader( sal_uInt16 nRecId, sal_Size nRecSize ) in SetRecHeader() argument
165 SetRecSize( nRecSize ); in SetRecHeader()
212 XclExpDummyRecord::XclExpDummyRecord( sal_uInt16 nRecId, const void* pRecData, sal_Size nRecSize ) : in XclExpDummyRecord() argument
215 SetData( pRecData, nRecSize ); in XclExpDummyRecord()
218 void XclExpDummyRecord::SetData( const void* pRecData, sal_Size nRecSize ) in SetData() argument
221 SetRecSize( pRecData ? nRecSize : 0 ); in SetData()
231 …tureRecord::XclExpFutureRecord( XclFutureRecType eRecType, sal_uInt16 nRecId, sal_Size nRecSize ) : in XclExpFutureRecord() argument
232 XclExpRecord( nRecId, nRecSize ), in XclExpFutureRecord()
H A Dxestream.cxx90 void XclExpStream::StartRecord( sal_uInt16 nRecId, sal_Size nRecSize ) in StartRecord() argument
95 mnPredictSize = nRecSize; in StartRecord()
H A Dxetable.cxx71 sal_uInt16 nRecId, sal_uInt32 nRecSize, const ScAddress& rScPos ) : in XclExpRangeFmlaBase() argument
72 XclExpRecord( nRecId, nRecSize ), in XclExpRangeFmlaBase()
81 sal_uInt16 nRecId, sal_uInt32 nRecSize, const ScRange& rScRange ) : in XclExpRangeFmlaBase() argument
82 XclExpRecord( nRecId, nRecSize ), in XclExpRangeFmlaBase()
H A Dxistream.cxx87 void XclImpDecrypter::Update( SvStream& rStrm, sal_uInt16 nRecSize ) in Update() argument
92 if( (mnOldPos != nNewPos) || (mnRecSize != nRecSize) ) in Update()
94 OnUpdate( mnOldPos, nNewPos, nRecSize ); in Update()
96 mnRecSize = nRecSize; in Update()
196 …lImpBiff5Decrypter::OnUpdate( sal_Size /*nOldStrmPos*/, sal_Size nNewStrmPos, sal_uInt16 nRecSize ) in OnUpdate() argument
199 maCodec.Skip( (nNewStrmPos + nRecSize) & 0x0F ); in OnUpdate()
/trunk/main/sc/source/filter/inc/
H A Dxechart.hxx176 sal_uInt16 nRecId, sal_Size nRecSize = 0 );
204 XclFutureRecType eRecType, sal_uInt16 nRecId, sal_Size nRecSize = 0 );
H A Dxerecord.hxx141 sal_Size nRecSize = 0 );
153 inline void SetRecSize( sal_Size nRecSize ) { mnRecSize = nRecSize; } in SetRecSize() argument
155 inline void AddRecSize( sal_Size nRecSize ) { mnRecSize += nRecSize; } in AddRecSize() argument
157 void SetRecHeader( sal_uInt16 nRecId, sal_Size nRecSize );
291 sal_uInt16 nRecId, const void* pRecData, sal_Size nRecSize );
294 void SetData( const void* pRecData, sal_Size nRecSize );
310 sal_uInt16 nRecId, sal_Size nRecSize = 0 );
H A Dxestream.hxx95 void StartRecord( sal_uInt16 nRecId, sal_Size nRecSize );
H A Dxetable.hxx79 sal_uInt16 nRecId, sal_uInt32 nRecSize, const ScAddress& rScPos );
82 sal_uInt16 nRecId, sal_uInt32 nRecSize, const ScRange& rScRange );
H A Dxistream.hxx68 void Update( SvStream& rStrm, sal_uInt16 nRecSize );
87 …virtual void OnUpdate( sal_Size nOldStrmPos, sal_Size nNewStrmPos, sal_uInt16 nRecSize ) = …
116 virtual void OnUpdate( sal_Size nOldStrmPos, sal_Size nNewStrmPos, sal_uInt16 nRecSize );
147 virtual void OnUpdate( sal_Size nOldStrmPos, sal_Size nNewStrmPos, sal_uInt16 nRecSize );
/trunk/main/svtools/source/filter/wmf/
H A Denhwmf.cxx246 sal_uInt32 nRecType, nRecSize, nNextPos, in ReadEnhWMF() local
256 *pWMF >> nRecType >> nRecSize; in ReadEnhWMF()
258 if ( ( nRecSize < 8 ) || ( nRecSize & 3 ) ) // Parameter sind immer durch 4 teilbar in ReadEnhWMF()
264 nNextPos = pWMF->Tell() + ( nRecSize - 8 ); in ReadEnhWMF()
827 ImplReadRegion( aPolyPoly, *pWMF, nRecSize ); in ReadEnhWMF()
1289 if ( ImplReadRegion( aPolyPoly, *pWMF, nRecSize ) ) in ReadEnhWMF()
H A Dwinmtf.hxx729 sal_uInt32 nRecSize; member in WMFReader
H A Dwinwmf.cxx830 sal_uInt64 nMetaRecSize = static_cast< sal_uInt64 >( nRecSize - 2 ) * 2; in ReadRecordParams()
839 if ( nRecSize >= 4 ) // minimal escape lenght in ReadRecordParams()
860 if ( nEscLen <= ( nRecSize * 2 ) ) in ReadRecordParams()
926 …l_uInt32 >(0x43464D57)) && (nLen >= 34) && ( (sal_Int32)(nLen + 10) <= (sal_Int32)(nRecSize * 2) )) in ReadRecordParams()
1120 *pWMF >> nRecSize >> nFunction; in ReadWMF()
1122 if( pWMF->GetError() || ( nRecSize < 3 ) || ( nRecSize==3 && nFunction==0 ) || pWMF->IsEof() ) in ReadWMF()
1172 nPos += nRecSize * 2; in ReadWMF()

Completed in 215 milliseconds