Lines Matching refs:rAttribs
101 …lerRef DataValidationsContext::onCreateContext( sal_Int32 nElement, const AttributeList& rAttribs ) in onCreateContext() argument
108 importDataValidation( rAttribs ); in onCreateContext()
157 void DataValidationsContext::importDataValidation( const AttributeList& rAttribs ) in importDataValidation() argument
160 …getAddressConverter().convertToCellRangeList( mxValModel->maRanges, rAttribs.getString( XML_sqref,… in importDataValidation()
161 mxValModel->msRef = rAttribs.getString( XML_sqref, OUString() ); in importDataValidation()
162 mxValModel->maInputTitle = rAttribs.getXString( XML_promptTitle, OUString() ); in importDataValidation()
163 mxValModel->maInputMessage = rAttribs.getXString( XML_prompt, OUString() ); in importDataValidation()
164 mxValModel->maErrorTitle = rAttribs.getXString( XML_errorTitle, OUString() ); in importDataValidation()
165 mxValModel->maErrorMessage = rAttribs.getXString( XML_error, OUString() ); in importDataValidation()
166 mxValModel->mnType = rAttribs.getToken( XML_type, XML_none ); in importDataValidation()
167 mxValModel->mnOperator = rAttribs.getToken( XML_operator, XML_between ); in importDataValidation()
168 mxValModel->mnErrorStyle = rAttribs.getToken( XML_errorStyle, XML_stop ); in importDataValidation()
169 mxValModel->mbShowInputMsg = rAttribs.getBool( XML_showInputMessage, false ); in importDataValidation()
170 mxValModel->mbShowErrorMsg = rAttribs.getBool( XML_showErrorMessage, false ); in importDataValidation()
174 mxValModel->mbNoDropDown = rAttribs.getBool( XML_showDropDown, false ); in importDataValidation()
175 mxValModel->mbAllowBlank = rAttribs.getBool( XML_allowBlank, false ); in importDataValidation()
227 …tHandlerRef WorksheetFragment::onCreateContext( sal_Int32 nElement, const AttributeList& rAttribs ) in onCreateContext() argument
262 …case XLS_TOKEN( sheetPr ): getWorksheetSettings().importSheetPr( rAttribs ); … in onCreateContext()
263 …case XLS_TOKEN( dimension ): importDimension( rAttribs ); … in onCreateContext()
264 …case XLS_TOKEN( sheetFormatPr ): importSheetFormatPr( rAttribs ); … in onCreateContext()
265 …S_TOKEN( sheetProtection ): getWorksheetSettings().importSheetProtection( rAttribs ); break; in onCreateContext()
266 …XLS_TOKEN( phoneticPr ): getWorksheetSettings().importPhoneticPr( rAttribs ); bre… in onCreateContext()
267 …case XLS_TOKEN( printOptions ): getPageSettings().importPrintOptions( rAttribs ); … in onCreateContext()
268 …case XLS_TOKEN( pageMargins ): getPageSettings().importPageMargins( rAttribs ); … in onCreateContext()
269 …S_TOKEN( pageSetup ): getPageSettings().importPageSetup( getRelations(), rAttribs ); break; in onCreateContext()
270 …case XLS_TOKEN( headerFooter ): getPageSettings().importHeaderFooter( rAttribs ); … in onCreateContext()
271 …S_TOKEN( picture ): getPageSettings().importPicture( getRelations(), rAttribs ); break; in onCreateContext()
272 …case XLS_TOKEN( drawing ): importDrawing( rAttribs ); … in onCreateContext()
273 …case XLS_TOKEN( legacyDrawing ): importLegacyDrawing( rAttribs ); … in onCreateContext()
280 …case XLS_TOKEN( tabColor ): getWorksheetSettings().importTabColor( rAttribs ); … in onCreateContext()
281 … XLS_TOKEN( outlinePr ): getWorksheetSettings().importOutlinePr( rAttribs ); br… in onCreateContext()
282 …case XLS_TOKEN( pageSetUpPr ): importPageSetUpPr( rAttribs ); … in onCreateContext()
289 … XLS_TOKEN( sheetView ): getSheetViewSettings().importSheetView( rAttribs ); re… in onCreateContext()
295 …case XLS_TOKEN( pane ): getSheetViewSettings().importPane( rAttribs ); … in onCreateContext()
296 … XLS_TOKEN( selection ): getSheetViewSettings().importSelection( rAttribs ); br… in onCreateContext()
301 if( nElement == XLS_TOKEN( col ) ) importCol( rAttribs ); in onCreateContext()
304 if( nElement == XLS_TOKEN( mergeCell ) ) importMergeCell( rAttribs ); in onCreateContext()
307 if( nElement == XLS_TOKEN( hyperlink ) ) importHyperlink( rAttribs ); in onCreateContext()
310 if( nElement == XLS_TOKEN( brk ) ) importBrk( rAttribs, true ); in onCreateContext()
313 if( nElement == XLS_TOKEN( brk ) ) importBrk( rAttribs, false ); in onCreateContext()
329 if( nElement == XLS_TOKEN( oleObject ) ) importOleObject( rAttribs ); in onCreateContext()
332 if( nElement == XLS_TOKEN( control ) ) importControl( rAttribs ); in onCreateContext()
490 void WorksheetFragment::importPageSetUpPr( const AttributeList& rAttribs ) in importPageSetUpPr() argument
493 getPageSettings().setFitToPagesMode( rAttribs.getBool( XML_fitToPage, false ) ); in importPageSetUpPr()
496 void WorksheetFragment::importDimension( const AttributeList& rAttribs ) in importDimension() argument
499 …getAddressConverter().convertToCellRangeUnchecked( aRange, rAttribs.getString( XML_ref, OUString()… in importDimension()
508 void WorksheetFragment::importSheetFormatPr( const AttributeList& rAttribs ) in importSheetFormatPr() argument
511 setBaseColumnWidth( rAttribs.getInteger( XML_baseColWidth, 8 ) ); in importSheetFormatPr()
512 setDefaultColumnWidth( rAttribs.getDouble( XML_defaultColWidth, 0.0 ) ); in importSheetFormatPr()
515 rAttribs.getDouble( XML_defaultRowHeight, 0.0 ), in importSheetFormatPr()
516 rAttribs.getBool( XML_customHeight, false ), in importSheetFormatPr()
517 rAttribs.getBool( XML_zeroHeight, false ), in importSheetFormatPr()
518 rAttribs.getBool( XML_thickTop, false ), in importSheetFormatPr()
519 rAttribs.getBool( XML_thickBottom, false ) ); in importSheetFormatPr()
522 void WorksheetFragment::importCol( const AttributeList& rAttribs ) in importCol() argument
525 aModel.maRange.mnFirst = rAttribs.getInteger( XML_min, -1 ); in importCol()
526 aModel.maRange.mnLast = rAttribs.getInteger( XML_max, -1 ); in importCol()
527 aModel.mfWidth = rAttribs.getDouble( XML_width, 0.0 ); in importCol()
528 aModel.mnXfId = rAttribs.getInteger( XML_style, -1 ); in importCol()
529 aModel.mnLevel = rAttribs.getInteger( XML_outlineLevel, 0 ); in importCol()
530 aModel.mbShowPhonetic = rAttribs.getBool( XML_phonetic, false ); in importCol()
531 aModel.mbHidden = rAttribs.getBool( XML_hidden, false ); in importCol()
532 aModel.mbCollapsed = rAttribs.getBool( XML_collapsed, false ); in importCol()
537 void WorksheetFragment::importMergeCell( const AttributeList& rAttribs ) in importMergeCell() argument
540 …if( getAddressConverter().convertToCellRange( aRange, rAttribs.getString( XML_ref, OUString() ), g… in importMergeCell()
544 void WorksheetFragment::importHyperlink( const AttributeList& rAttribs ) in importHyperlink() argument
547 …if( getAddressConverter().convertToCellRange( aModel.maRange, rAttribs.getString( XML_ref, OUStrin… in importHyperlink()
549 …aModel.maTarget = getRelations().getExternalTargetFromRelId( rAttribs.getString( R_TOKEN( id ), … in importHyperlink()
550 aModel.maLocation = rAttribs.getXString( XML_location, OUString() ); in importHyperlink()
551 aModel.maDisplay = rAttribs.getXString( XML_display, OUString() ); in importHyperlink()
552 aModel.maTooltip = rAttribs.getXString( XML_tooltip, OUString() ); in importHyperlink()
557 void WorksheetFragment::importBrk( const AttributeList& rAttribs, bool bRowBreak ) in importBrk() argument
560 aModel.mnColRow = rAttribs.getInteger( XML_id, 0 ); in importBrk()
561 aModel.mnMin = rAttribs.getInteger( XML_id, 0 ); in importBrk()
562 aModel.mnMax = rAttribs.getInteger( XML_id, 0 ); in importBrk()
563 aModel.mbManual = rAttribs.getBool( XML_man, false ); in importBrk()
567 void WorksheetFragment::importDrawing( const AttributeList& rAttribs ) in importDrawing() argument
569 setDrawingPath( getFragmentPathFromRelId( rAttribs.getString( R_TOKEN( id ), OUString() ) ) ); in importDrawing()
572 void WorksheetFragment::importLegacyDrawing( const AttributeList& rAttribs ) in importLegacyDrawing() argument
574 … setVmlDrawingPath( getFragmentPathFromRelId( rAttribs.getString( R_TOKEN( id ), OUString() ) ) ); in importLegacyDrawing()
577 void WorksheetFragment::importOleObject( const AttributeList& rAttribs ) in importOleObject() argument
580 aInfo.setShapeId( rAttribs.getInteger( XML_shapeId, 0 ) ); in importOleObject()
581 OSL_ENSURE( rAttribs.hasAttribute( XML_link ) != rAttribs.hasAttribute( R_TOKEN( id ) ), in importOleObject()
583 aInfo.mbLinked = rAttribs.hasAttribute( XML_link ); in importOleObject()
585 …aInfo.maTargetLink = getFormulaParser().importOleTargetLink( rAttribs.getString( XML_link, OUStrin… in importOleObject()
586 else if( rAttribs.hasAttribute( R_TOKEN( id ) ) ) in importOleObject()
587 … importEmbeddedOleData( aInfo.maEmbeddedData, rAttribs.getString( R_TOKEN( id ), OUString() ) ); in importOleObject()
588 aInfo.maProgId = rAttribs.getString( XML_progId, OUString() ); in importOleObject()
589 … aInfo.mbShowAsIcon = rAttribs.getToken( XML_dvAspect, XML_DVASPECT_CONTENT ) == XML_DVASPECT_ICON; in importOleObject()
590 …aInfo.mbAutoUpdate = rAttribs.getToken( XML_oleUpdate, XML_OLEUPDATE_ONCALL ) == XML_OLEUPDATE_ALW… in importOleObject()
591 aInfo.mbAutoLoad = rAttribs.getBool( XML_autoLoad, false ); in importOleObject()
595 void WorksheetFragment::importControl( const AttributeList& rAttribs ) in importControl() argument
598 aInfo.setShapeId( rAttribs.getInteger( XML_shapeId, 0 ) ); in importControl()
599 …aInfo.maFragmentPath = getFragmentPathFromRelId( rAttribs.getString( R_TOKEN( id ), OUString() ) ); in importControl()
600 aInfo.maName = rAttribs.getString( XML_name, OUString() ); in importControl()