Lines Matching refs:rStrm

150 …erRef DataValidationsContext::onCreateRecordContext( sal_Int32 nRecId, SequenceInputStream& rStrm )  in onCreateRecordContext()  argument
153 importDataValidation( rStrm ); in onCreateRecordContext()
178 void DataValidationsContext::importDataValidation( SequenceInputStream& rStrm ) in importDataValidation() argument
184rStrm >> nFlags >> aRanges >> aModel.maErrorTitle >> aModel.maErrorMessage >> aModel.maInputTitle … in importDataValidation()
201 aModel.maTokens1 = rParser.importFormula( aBaseAddr, FORMULATYPE_VALIDATION, rStrm ); in importDataValidation()
202 aModel.maTokens2 = rParser.importFormula( aBaseAddr, FORMULATYPE_VALIDATION, rStrm ); in importDataValidation()
353 …HandlerRef WorksheetFragment::onCreateRecordContext( sal_Int32 nRecId, SequenceInputStream& rStrm ) in onCreateRecordContext() argument
378 … case BIFF12_ID_SHEETPR: getWorksheetSettings().importSheetPr( rStrm ); break; in onCreateRecordContext()
379 … case BIFF12_ID_DIMENSION: importDimension( rStrm ); break; in onCreateRecordContext()
380 … case BIFF12_ID_SHEETFORMATPR: importSheetFormatPr( rStrm ); break; in onCreateRecordContext()
381 … case BIFF12_ID_HYPERLINK: importHyperlink( rStrm ); break; in onCreateRecordContext()
382 … case BIFF12_ID_PAGEMARGINS: getPageSettings().importPageMargins( rStrm ); break; in onCreateRecordContext()
383 … case BIFF12_ID_PAGESETUP: getPageSettings().importPageSetup( getRelations(), rStrm ); break; in onCreateRecordContext()
384 … case BIFF12_ID_PRINTOPTIONS: getPageSettings().importPrintOptions( rStrm ); break; in onCreateRecordContext()
385 … case BIFF12_ID_HEADERFOOTER: getPageSettings().importHeaderFooter( rStrm ); break; in onCreateRecordContext()
386 … case BIFF12_ID_PICTURE: getPageSettings().importPicture( getRelations(), rStrm ); break; in onCreateRecordContext()
387 … case BIFF12_ID_SHEETPROTECTION: getWorksheetSettings().importSheetProtection( rStrm ); break; in onCreateRecordContext()
388 … case BIFF12_ID_PHONETICPR: getWorksheetSettings().importPhoneticPr( rStrm ); break; in onCreateRecordContext()
389 … case BIFF12_ID_DRAWING: importDrawing( rStrm ); break; in onCreateRecordContext()
390 … case BIFF12_ID_LEGACYDRAWING: importLegacyDrawing( rStrm ); break; in onCreateRecordContext()
397 …case BIFF12_ID_SHEETVIEW: getSheetViewSettings().importSheetView( rStrm ); return… in onCreateRecordContext()
403 … case BIFF12_ID_PANE: getSheetViewSettings().importPane( rStrm ); break; in onCreateRecordContext()
404 … case BIFF12_ID_SELECTION: getSheetViewSettings().importSelection( rStrm ); break; in onCreateRecordContext()
409 if( nRecId == BIFF12_ID_COL ) importCol( rStrm ); in onCreateRecordContext()
412 if( nRecId == BIFF12_ID_MERGECELL ) importMergeCell( rStrm ); in onCreateRecordContext()
415 if( nRecId == BIFF12_ID_BRK ) importBrk( rStrm, true ); in onCreateRecordContext()
418 if( nRecId == BIFF12_ID_BRK ) importBrk( rStrm, false ); in onCreateRecordContext()
421 if( nRecId == BIFF12_ID_OLEOBJECT ) importOleObject( rStrm ); in onCreateRecordContext()
424 if( nRecId == BIFF12_ID_CONTROL ) importControl( rStrm ); in onCreateRecordContext()
604 void WorksheetFragment::importDimension( SequenceInputStream& rStrm ) in importDimension() argument
607 aBinRange.read( rStrm ); in importDimension()
618 void WorksheetFragment::importSheetFormatPr( SequenceInputStream& rStrm ) in importSheetFormatPr() argument
622 rStrm >> nDefaultWidth >> nBaseWidth >> nDefaultHeight >> nFlags; in importSheetFormatPr()
637 void WorksheetFragment::importCol( SequenceInputStream& rStrm ) in importCol() argument
643 rStrm >> aModel.maRange.mnFirst >> aModel.maRange.mnLast >> nWidth >> aModel.mnXfId >> nFlags; in importCol()
659 void WorksheetFragment::importMergeCell( SequenceInputStream& rStrm ) in importMergeCell() argument
662 rStrm >> aBinRange; in importMergeCell()
668 void WorksheetFragment::importHyperlink( SequenceInputStream& rStrm ) in importHyperlink() argument
671 rStrm >> aBinRange; in importHyperlink()
675 … aModel.maTarget = getRelations().getExternalTargetFromRelId( BiffHelper::readString( rStrm ) ); in importHyperlink()
676 rStrm >> aModel.maLocation >> aModel.maTooltip >> aModel.maDisplay; in importHyperlink()
681 void WorksheetFragment::importBrk( SequenceInputStream& rStrm, bool bRowBreak ) in importBrk() argument
685 rStrm >> aModel.mnColRow >> aModel.mnMin >> aModel.mnMax >> nManual; in importBrk()
690 void WorksheetFragment::importDrawing( SequenceInputStream& rStrm ) in importDrawing() argument
692 setDrawingPath( getFragmentPathFromRelId( BiffHelper::readString( rStrm ) ) ); in importDrawing()
695 void WorksheetFragment::importLegacyDrawing( SequenceInputStream& rStrm ) in importLegacyDrawing() argument
697 setVmlDrawingPath( getFragmentPathFromRelId( BiffHelper::readString( rStrm ) ) ); in importLegacyDrawing()
700 void WorksheetFragment::importOleObject( SequenceInputStream& rStrm ) in importOleObject() argument
705 rStrm >> nAspect >> nUpdateMode >> nShapeId >> nFlags >> aInfo.maProgId; in importOleObject()
708 aInfo.maTargetLink = getFormulaParser().importOleTargetLink( rStrm ); in importOleObject()
710 importEmbeddedOleData( aInfo.maEmbeddedData, BiffHelper::readString( rStrm ) ); in importOleObject()
718 void WorksheetFragment::importControl( SequenceInputStream& rStrm ) in importControl() argument
721 aInfo.setShapeId( rStrm.readInt32() ); in importControl()
722 aInfo.maFragmentPath = getFragmentPathFromRelId( BiffHelper::readString( rStrm ) ); in importControl()
723 rStrm >> aInfo.maName; in importControl()
761 BiffInputStream& rStrm = getInputStream(); in importFragment() local
762 while( rStrm.startNextRecord() && (rStrm.getRecId() != BIFF_ID_EOF) ) in importFragment()
764 if( BiffHelper::isBofRecord( rStrm ) ) in importFragment()
772 sal_Int64 nStrmPos = rStrm.tellBase(); in importFragment()
773 sal_uInt16 nRecId = rStrm.getRecId(); in importFragment()
778 case BIFF_ID_BOTTOMMARGIN: rPageSett.importBottomMargin( rStrm ); break; in importFragment()
779 case BIFF_ID_CALCCOUNT: rWorkbookSett.importCalcCount( rStrm ); break; in importFragment()
780 case BIFF_ID_CALCMODE: rWorkbookSett.importCalcMode( rStrm ); break; in importFragment()
781 case BIFF_ID_DEFCOLWIDTH: importDefColWidth( rStrm ); break; in importFragment()
782 case BIFF_ID_DELTA: rWorkbookSett.importDelta( rStrm ); break; in importFragment()
783 case BIFF2_ID_DIMENSION: importDimension( rStrm ); break; in importFragment()
784 case BIFF3_ID_DIMENSION: importDimension( rStrm ); break; in importFragment()
785 case BIFF_ID_FOOTER: rPageSett.importFooter( rStrm ); break; in importFragment()
786 case BIFF_ID_HEADER: rPageSett.importHeader( rStrm ); break; in importFragment()
787 case BIFF_ID_HORPAGEBREAKS: importPageBreaks( rStrm, true ); break; in importFragment()
788 case BIFF_ID_ITERATION: rWorkbookSett.importIteration( rStrm ); break; in importFragment()
789 case BIFF_ID_LEFTMARGIN: rPageSett.importLeftMargin( rStrm ); break; in importFragment()
790 case BIFF_ID_NOTE: importNote( rStrm ); break; in importFragment()
791 case BIFF_ID_PANE: rSheetViewSett.importPane( rStrm ); break; in importFragment()
792 case BIFF_ID_PASSWORD: rWorksheetSett.importPassword( rStrm ); break; in importFragment()
793 case BIFF_ID_PRINTGRIDLINES: rPageSett.importPrintGridLines( rStrm ); break; in importFragment()
794 case BIFF_ID_PRINTHEADERS: rPageSett.importPrintHeaders( rStrm ); break; in importFragment()
795 case BIFF_ID_PROTECT: rWorksheetSett.importProtect( rStrm ); break; in importFragment()
796 case BIFF_ID_REFMODE: rWorkbookSett.importRefMode( rStrm ); break; in importFragment()
797 case BIFF_ID_RIGHTMARGIN: rPageSett.importRightMargin( rStrm ); break; in importFragment()
798 case BIFF_ID_SELECTION: rSheetViewSett.importSelection( rStrm ); break; in importFragment()
799 case BIFF_ID_TOPMARGIN: rPageSett.importTopMargin( rStrm ); break; in importFragment()
800 case BIFF_ID_VERPAGEBREAKS: importPageBreaks( rStrm, false ); break; in importFragment()
807 case BIFF_ID_COLUMNDEFAULT: importColumnDefault( rStrm ); break; in importFragment()
808 case BIFF_ID_COLWIDTH: importColWidth( rStrm ); break; in importFragment()
809 case BIFF2_ID_DEFROWHEIGHT: importDefRowHeight( rStrm ); break; in importFragment()
810 case BIFF2_ID_WINDOW2: rSheetViewSett.importWindow2( rStrm ); break; in importFragment()
816 … case BIFF_ID_COLINFO: importColInfo( rStrm ); break; in importFragment()
817 … case BIFF_ID_DEFCOLWIDTH: importDefColWidth( rStrm ); break; in importFragment()
818 … case BIFF3_ID_DEFROWHEIGHT: importDefRowHeight( rStrm ); break; in importFragment()
819 … case BIFF_ID_HCENTER: rPageSett.importHorCenter( rStrm ); break; in importFragment()
820 … case BIFF_ID_OBJ: rDrawing.importObj( rStrm ); break; in importFragment()
821 … case BIFF_ID_OBJECTPROTECT: rWorksheetSett.importObjectProtect( rStrm ); break; in importFragment()
822 … case BIFF_ID_SAVERECALC: rWorkbookSett.importSaveRecalc( rStrm ); break; in importFragment()
823 … case BIFF_ID_SHEETPR: rWorksheetSett.importSheetPr( rStrm ); break; in importFragment()
824 … case BIFF_ID_UNCALCED: rWorkbookSett.importUncalced( rStrm ); break; in importFragment()
825 … case BIFF_ID_VCENTER: rPageSett.importVerCenter( rStrm ); break; in importFragment()
826 … case BIFF3_ID_WINDOW2: rSheetViewSett.importWindow2( rStrm ); break; in importFragment()
832 … case BIFF_ID_COLINFO: importColInfo( rStrm ); break; in importFragment()
833 … case BIFF3_ID_DEFROWHEIGHT: importDefRowHeight( rStrm ); break; in importFragment()
834 … case BIFF_ID_HCENTER: rPageSett.importHorCenter( rStrm ); break; in importFragment()
835 … case BIFF_ID_OBJ: rDrawing.importObj( rStrm ); break; in importFragment()
836 … case BIFF_ID_OBJECTPROTECT: rWorksheetSett.importObjectProtect( rStrm ); break; in importFragment()
837 … case BIFF_ID_PAGESETUP: rPageSett.importPageSetup( rStrm ); break; in importFragment()
838 … case BIFF_ID_SAVERECALC: rWorkbookSett.importSaveRecalc( rStrm ); break; in importFragment()
839 … case BIFF_ID_SHEETPR: rWorksheetSett.importSheetPr( rStrm ); break; in importFragment()
840 … case BIFF_ID_STANDARDWIDTH: importStandardWidth( rStrm ); break; in importFragment()
841 … case BIFF_ID_UNCALCED: rWorkbookSett.importUncalced( rStrm ); break; in importFragment()
842 … case BIFF_ID_VCENTER: rPageSett.importVerCenter( rStrm ); break; in importFragment()
843 … case BIFF3_ID_WINDOW2: rSheetViewSett.importWindow2( rStrm ); break; in importFragment()
849 … case BIFF_ID_AUTOFILTER: importAutoFilter( rStrm ); break; in importFragment()
850 … case BIFF_ID_COLINFO: importColInfo( rStrm ); break; in importFragment()
851 … case BIFF3_ID_DEFROWHEIGHT: importDefRowHeight( rStrm ); break; in importFragment()
852 … case BIFF_ID_HCENTER: rPageSett.importHorCenter( rStrm ); break; in importFragment()
853 …case BIFF_ID_MERGEDCELLS: importMergedCells( rStrm ); break; // #i62300# al… in importFragment()
854 … case BIFF_ID_OBJ: rDrawing.importObj( rStrm ); break; in importFragment()
855 … case BIFF_ID_OBJECTPROTECT: rWorksheetSett.importObjectProtect( rStrm ); break; in importFragment()
856 … case BIFF_ID_PAGESETUP: rPageSett.importPageSetup( rStrm ); break; in importFragment()
857 … case BIFF_ID_PTDEFINITION: importPTDefinition( rStrm ); break; in importFragment()
858 … case BIFF_ID_SAVERECALC: rWorkbookSett.importSaveRecalc( rStrm ); break; in importFragment()
859 … case BIFF_ID_SCENPROTECT: rWorksheetSett.importScenProtect( rStrm ); break; in importFragment()
860 … case BIFF_ID_SCL: rSheetViewSett.importScl( rStrm ); break; in importFragment()
861 … case BIFF_ID_SHEETPR: rWorksheetSett.importSheetPr( rStrm ); break; in importFragment()
862 … case BIFF_ID_STANDARDWIDTH: importStandardWidth( rStrm ); break; in importFragment()
863 … case BIFF_ID_UNCALCED: rWorkbookSett.importUncalced( rStrm ); break; in importFragment()
864 … case BIFF_ID_VCENTER: rPageSett.importVerCenter( rStrm ); break; in importFragment()
865 … case BIFF3_ID_WINDOW2: rSheetViewSett.importWindow2( rStrm ); break; in importFragment()
871 … case BIFF_ID_AUTOFILTER: importAutoFilter( rStrm ); break; in importFragment()
872 … case BIFF_ID_CFHEADER: rCondFormats.importCfHeader( rStrm ); break; in importFragment()
873 … case BIFF_ID_CODENAME: rWorksheetSett.importCodeName( rStrm ); break; in importFragment()
874 … case BIFF_ID_COLINFO: importColInfo( rStrm ); break; in importFragment()
875 … case BIFF_ID_DATAVALIDATION: importDataValidation( rStrm ); break; in importFragment()
876 … case BIFF_ID_DATAVALIDATIONS: importDataValidations( rStrm ); break; in importFragment()
877 … case BIFF3_ID_DEFROWHEIGHT: importDefRowHeight( rStrm ); break; in importFragment()
878 … case BIFF_ID_HCENTER: rPageSett.importHorCenter( rStrm ); break; in importFragment()
879 … case BIFF_ID_HYPERLINK: importHyperlink( rStrm ); break; in importFragment()
880 … case BIFF_ID_LABELRANGES: importLabelRanges( rStrm ); break; in importFragment()
881 … case BIFF_ID_MERGEDCELLS: importMergedCells( rStrm ); break; in importFragment()
882 … case BIFF_ID_OBJ: rDrawing.importObj( rStrm ); break; in importFragment()
883 … case BIFF_ID_OBJECTPROTECT: rWorksheetSett.importObjectProtect( rStrm ); break; in importFragment()
884 … case BIFF_ID_PAGESETUP: rPageSett.importPageSetup( rStrm ); break; in importFragment()
885 … case BIFF_ID_PHONETICPR: rWorksheetSett.importPhoneticPr( rStrm ); break; in importFragment()
886 … case BIFF_ID_PICTURE: rPageSett.importPicture( rStrm ); break; in importFragment()
887 … case BIFF_ID_PTDEFINITION: importPTDefinition( rStrm ); break; in importFragment()
888 … case BIFF_ID_QUERYTABLE: importQueryTable( rStrm ); break; in importFragment()
889 … case BIFF_ID_SAVERECALC: rWorkbookSett.importSaveRecalc( rStrm ); break; in importFragment()
890 … case BIFF_ID_SCENARIOS: importScenarios( rStrm ); break; in importFragment()
891 … case BIFF_ID_SCENPROTECT: rWorksheetSett.importScenProtect( rStrm ); break; in importFragment()
892 … case BIFF_ID_SCL: rSheetViewSett.importScl( rStrm ); break; in importFragment()
893 … case BIFF_ID_SHEETEXT: rWorksheetSett.importSheetExt( rStrm ); break; in importFragment()
894 … case BIFF_ID_SHEETPR: rWorksheetSett.importSheetPr( rStrm ); break; in importFragment()
895 … case BIFF_ID_SHAREDFEATHEAD: importSharedFeatHead( rStrm ); break; in importFragment()
896 … case BIFF_ID_STANDARDWIDTH: importStandardWidth( rStrm ); break; in importFragment()
897 … case BIFF_ID_UNCALCED: rWorkbookSett.importUncalced( rStrm ); break; in importFragment()
898 … case BIFF_ID_VCENTER: rPageSett.importVerCenter( rStrm ); break; in importFragment()
899 … case BIFF3_ID_WINDOW2: rSheetViewSett.importWindow2( rStrm ); break; in importFragment()
908 if( rStrm.tellBase() == nStrmPos ) in importFragment()
911 aSheetData.importRecord( rStrm ); in importFragment()
916 if( rStrm.tellBase() == nStrmPos ) in importFragment()
917 mxContext->importRecord( rStrm ); in importFragment()
927 return rStrm.getRecId() == BIFF_ID_EOF; in importFragment()
932 void BiffWorksheetFragment::importAutoFilter( BiffInputStream& rStrm ) in importAutoFilter() argument
935 mxContext->importRecord( rStrm ); in importAutoFilter()
938 void BiffWorksheetFragment::importColInfo( BiffInputStream& rStrm ) in importColInfo() argument
941 rStrm >> nFirstCol >> nLastCol >> nWidth >> nXfId >> nFlags; in importColInfo()
958 void BiffWorksheetFragment::importColumnDefault( BiffInputStream& rStrm ) in importColumnDefault() argument
961 rStrm >> nFirstCol >> nLastCol >> nXfId; in importColumnDefault()
965 void BiffWorksheetFragment::importColWidth( BiffInputStream& rStrm ) in importColWidth() argument
969 rStrm >> nFirstCol >> nLastCol >> nWidth; in importColWidth()
981 void BiffWorksheetFragment::importDefColWidth( BiffInputStream& rStrm ) in importDefColWidth() argument
986 setBaseColumnWidth( rStrm.readuInt16() ); in importDefColWidth()
989 void BiffWorksheetFragment::importDefRowHeight( BiffInputStream& rStrm ) in importDefRowHeight() argument
993 rStrm >> nFlags; in importDefRowHeight()
994 rStrm >> nHeight; in importDefRowHeight()
1006 void BiffWorksheetFragment::importDataValidations( BiffInputStream& rStrm ) in importDataValidations() argument
1009 rStrm.skip( 10 ); in importDataValidations()
1010 rStrm >> nObjId; in importDataValidations()
1016 OUString lclReadDataValMessage( BiffInputStream& rStrm ) in lclReadDataValMessage() argument
1019 OUString aMessage = rStrm.readUniString( true ); in lclReadDataValMessage()
1025 ApiTokenSequence lclReadDataValFormula( BiffInputStream& rStrm, FormulaParser& rParser ) in lclReadDataValFormula() argument
1027 sal_uInt16 nFmlaSize = rStrm.readuInt16(); in lclReadDataValFormula()
1028 rStrm.skip( 2 ); in lclReadDataValFormula()
1029 return rParser.importFormula( CellAddress(), FORMULATYPE_VALIDATION, rStrm, &nFmlaSize ); in lclReadDataValFormula()
1034 void BiffWorksheetFragment::importDataValidation( BiffInputStream& rStrm ) in importDataValidation() argument
1040 rStrm >> nFlags; in importDataValidation()
1050 aModel.maInputTitle = lclReadDataValMessage( rStrm ); in importDataValidation()
1051 aModel.maErrorTitle = lclReadDataValMessage( rStrm ); in importDataValidation()
1052 aModel.maInputMessage = lclReadDataValMessage( rStrm ); in importDataValidation()
1053 aModel.maErrorMessage = lclReadDataValMessage( rStrm ); in importDataValidation()
1057 aModel.maTokens1 = lclReadDataValFormula( rStrm, rParser ); in importDataValidation()
1058 aModel.maTokens2 = lclReadDataValFormula( rStrm, rParser ); in importDataValidation()
1065 rStrm >> aRanges; in importDataValidation()
1072 void BiffWorksheetFragment::importDimension( BiffInputStream& rStrm ) in importDimension() argument
1075 bool bInt32Rows = (rStrm.getRecId() == BIFF3_ID_DIMENSION) && (getBiff() == BIFF8); in importDimension()
1077 aBinRange.read( rStrm, true, bInt32Rows ); in importDimension()
1091 void BiffWorksheetFragment::importHyperlink( BiffInputStream& rStrm ) in importHyperlink() argument
1097 rStrm >> aBiffRange; in importHyperlink()
1105 if( !::oox::ole::OleHelper::importStdHlink( aModel, rStrm, true ) ) in importHyperlink()
1109 if( (rStrm.getNextRecId() == BIFF_ID_SCREENTIP) && rStrm.startNextRecord() ) in importHyperlink()
1111 rStrm.skip( 2 ); // repeated record id in importHyperlink()
1113 rStrm >> aBiffRange; in importHyperlink()
1123 aModel.maTooltip = rStrm.readNulUnicodeArray(); in importHyperlink()
1131 void BiffWorksheetFragment::importLabelRanges( BiffInputStream& rStrm ) in importLabelRanges() argument
1134 rStrm >> aBiffRowRanges >> aBiffColRanges; in importLabelRanges()
1141 void BiffWorksheetFragment::importMergedCells( BiffInputStream& rStrm ) in importMergedCells() argument
1144 rStrm >> aBiffRanges; in importMergedCells()
1151 void BiffWorksheetFragment::importNote( BiffInputStream& rStrm ) in importNote() argument
1153 getComments().createComment()->importNote( rStrm ); in importNote()
1156 void BiffWorksheetFragment::importPageBreaks( BiffInputStream& rStrm, bool bRowBreak ) in importPageBreaks() argument
1163 rStrm >> nCount; in importPageBreaks()
1164 for( sal_uInt16 nIndex = 0; !rStrm.isEof() && (nIndex < nCount); ++nIndex ) in importPageBreaks()
1166 aModel.mnColRow = rStrm.readuInt16(); in importPageBreaks()
1169 rStrm.skip( 4 ); in importPageBreaks()
1173 void BiffWorksheetFragment::importPTDefinition( BiffInputStream& rStrm ) in importPTDefinition() argument
1176 mxContext->importRecord( rStrm ); in importPTDefinition()
1179 void BiffWorksheetFragment::importQueryTable( BiffInputStream& rStrm ) in importQueryTable() argument
1182 mxContext->importRecord( rStrm ); in importQueryTable()
1185 void BiffWorksheetFragment::importScenarios( BiffInputStream& rStrm ) in importScenarios() argument
1187 getScenarios().createSheetScenarios( getSheetIndex() ).importScenarios( rStrm ); in importScenarios()
1190 void BiffWorksheetFragment::importSharedFeatHead( BiffInputStream& rStrm ) in importSharedFeatHead() argument
1192 rStrm.skip( 12 ); in importSharedFeatHead()
1193 sal_uInt16 nType = rStrm.readuInt16(); in importSharedFeatHead()
1194 rStrm.skip( 5 ); in importSharedFeatHead()
1198 if( rStrm.getRemaining() >= 4 ) in importSharedFeatHead()
1199 getWorksheetSettings().importSheetProtection( rStrm ); in importSharedFeatHead()
1204 void BiffWorksheetFragment::importStandardWidth( BiffInputStream& rStrm ) in importStandardWidth() argument
1207 rStrm >> nWidth; in importStandardWidth()