Lines Matching refs:rAttribs
348 void Color::importColor( const AttributeList& rAttribs ) in importColor() argument
350 if( rAttribs.getBool( XML_auto, false ) ) in importColor()
352 else if( rAttribs.hasAttribute( XML_rgb ) ) in importColor()
353 …setRgb( rAttribs.getIntegerHex( XML_rgb, API_RGB_TRANSPARENT ), rAttribs.getDouble( XML_tint, 0.0 … in importColor()
354 else if( rAttribs.hasAttribute( XML_theme ) ) in importColor()
355 setTheme( rAttribs.getInteger( XML_theme, -1 ), rAttribs.getDouble( XML_tint, 0.0 ) ); in importColor()
356 else if( rAttribs.hasAttribute( XML_indexed ) ) in importColor()
357 setIndexed( rAttribs.getInteger( XML_indexed, -1 ), rAttribs.getDouble( XML_tint, 0.0 ) ); in importColor()
512 void ColorPalette::importPaletteColor( const AttributeList& rAttribs ) in importPaletteColor() argument
514 appendColor( rAttribs.getIntegerHex( XML_rgb, API_RGB_WHITE ) ); in importPaletteColor()
729 void Font::importAttribs( sal_Int32 nElement, const AttributeList& rAttribs ) in importAttribs() argument
736 if( rAttribs.hasAttribute( XML_val ) ) in importAttribs()
738 maModel.maName = rAttribs.getXString( XML_val, OUString() ); in importAttribs()
743 maModel.mnScheme = rAttribs.getToken( XML_val, rDefModel.mnScheme ); in importAttribs()
746 maModel.mnFamily = rAttribs.getInteger( XML_val, rDefModel.mnFamily ); in importAttribs()
749 maModel.mnCharSet = rAttribs.getInteger( XML_val, rDefModel.mnCharSet ); in importAttribs()
752 maModel.mfHeight = rAttribs.getDouble( XML_val, rDefModel.mfHeight ); in importAttribs()
756 maModel.maColor.importColor( rAttribs ); in importAttribs()
760 maModel.mnUnderline = rAttribs.getToken( XML_val, XML_single ); in importAttribs()
764 maModel.mnEscapement = rAttribs.getToken( XML_val, XML_baseline ); in importAttribs()
768 maModel.mbBold = rAttribs.getBool( XML_val, true ); in importAttribs()
772 maModel.mbItalic = rAttribs.getBool( XML_val, true ); in importAttribs()
776 maModel.mbStrikeout = rAttribs.getBool( XML_val, true ); in importAttribs()
780 maModel.mbOutline = rAttribs.getBool( XML_val, true ); in importAttribs()
784 maModel.mbShadow = rAttribs.getBool( XML_val, true ); in importAttribs()
1289 void Alignment::importAlignment( const AttributeList& rAttribs ) in importAlignment() argument
1291 maModel.mnHorAlign = rAttribs.getToken( XML_horizontal, XML_general ); in importAlignment()
1292 maModel.mnVerAlign = rAttribs.getToken( XML_vertical, XML_bottom ); in importAlignment()
1293 maModel.mnTextDir = rAttribs.getInteger( XML_readingOrder, OOX_XF_TEXTDIR_CONTEXT ); in importAlignment()
1294 maModel.mnRotation = rAttribs.getInteger( XML_textRotation, OOX_XF_ROTATION_NONE ); in importAlignment()
1295 maModel.mnIndent = rAttribs.getInteger( XML_indent, OOX_XF_INDENT_NONE ); in importAlignment()
1296 maModel.mbWrapText = rAttribs.getBool( XML_wrapText, false ); in importAlignment()
1297 maModel.mbShrink = rAttribs.getBool( XML_shrinkToFit, false ); in importAlignment()
1298 maModel.mbJustLastLine = rAttribs.getBool( XML_justifyLastLine, false ); in importAlignment()
1459 void Protection::importProtection( const AttributeList& rAttribs ) in importProtection() argument
1461 maModel.mbLocked = rAttribs.getBool( XML_locked, true ); in importProtection()
1462 maModel.mbHidden = rAttribs.getBool( XML_hidden, false ); in importProtection()
1630 void Border::importBorder( const AttributeList& rAttribs ) in importBorder() argument
1632 maModel.mbDiagTLtoBR = rAttribs.getBool( XML_diagonalDown, false ); in importBorder()
1633 maModel.mbDiagBLtoTR = rAttribs.getBool( XML_diagonalUp, false ); in importBorder()
1636 void Border::importStyle( sal_Int32 nElement, const AttributeList& rAttribs ) in importStyle() argument
1640 pBorderLine->mnStyle = rAttribs.getToken( XML_style, XML_none ); in importStyle()
1645 void Border::importColor( sal_Int32 nElement, const AttributeList& rAttribs ) in importColor() argument
1648 pBorderLine->maColor.importColor( rAttribs ); in importColor()
1929 void Fill::importPatternFill( const AttributeList& rAttribs ) in importPatternFill() argument
1932 mxPatternModel->mnPattern = rAttribs.getToken( XML_patternType, XML_none ); in importPatternFill()
1934 mxPatternModel->mbPatternUsed = rAttribs.hasAttribute( XML_patternType ); in importPatternFill()
1937 void Fill::importFgColor( const AttributeList& rAttribs ) in importFgColor() argument
1942 mxPatternModel->maPatternColor.importColor( rAttribs ); in importFgColor()
1947 void Fill::importBgColor( const AttributeList& rAttribs ) in importBgColor() argument
1952 mxPatternModel->maFillColor.importColor( rAttribs ); in importBgColor()
1957 void Fill::importGradientFill( const AttributeList& rAttribs ) in importGradientFill() argument
1960 mxGradientModel->mnType = rAttribs.getToken( XML_type, XML_linear ); in importGradientFill()
1961 mxGradientModel->mfAngle = rAttribs.getDouble( XML_degree, 0.0 ); in importGradientFill()
1962 mxGradientModel->mfLeft = rAttribs.getDouble( XML_left, 0.0 ); in importGradientFill()
1963 mxGradientModel->mfRight = rAttribs.getDouble( XML_right, 0.0 ); in importGradientFill()
1964 mxGradientModel->mfTop = rAttribs.getDouble( XML_top, 0.0 ); in importGradientFill()
1965 mxGradientModel->mfBottom = rAttribs.getDouble( XML_bottom, 0.0 ); in importGradientFill()
1968 void Fill::importColor( const AttributeList& rAttribs, double fPosition ) in importColor() argument
1972 mxGradientModel->maColors[ fPosition ].importColor( rAttribs ); in importColor()
2225 void Xf::importXf( const AttributeList& rAttribs, bool bCellXf ) in importXf() argument
2228 maModel.mnStyleXfId = rAttribs.getInteger( XML_xfId, -1 ); in importXf()
2229 maModel.mnFontId = rAttribs.getInteger( XML_fontId, -1 ); in importXf()
2230 maModel.mnNumFmtId = rAttribs.getInteger( XML_numFmtId, -1 ); in importXf()
2231 maModel.mnBorderId = rAttribs.getInteger( XML_borderId, -1 ); in importXf()
2232 maModel.mnFillId = rAttribs.getInteger( XML_fillId, -1 ); in importXf()
2236 maModel.mbAlignUsed = rAttribs.getBool( XML_applyAlignment, !maModel.mbCellXf ); in importXf()
2237 maModel.mbProtUsed = rAttribs.getBool( XML_applyProtection, !maModel.mbCellXf ); in importXf()
2238 maModel.mbFontUsed = rAttribs.getBool( XML_applyFont, !maModel.mbCellXf ); in importXf()
2239 maModel.mbNumFmtUsed = rAttribs.getBool( XML_applyNumberFormat, !maModel.mbCellXf ); in importXf()
2240 maModel.mbBorderUsed = rAttribs.getBool( XML_applyBorder, !maModel.mbCellXf ); in importXf()
2241 maModel.mbAreaUsed = rAttribs.getBool( XML_applyFill, !maModel.mbCellXf ); in importXf()
2244 void Xf::importAlignment( const AttributeList& rAttribs ) in importAlignment() argument
2246 maAlignment.importAlignment( rAttribs ); in importAlignment()
2249 void Xf::importProtection( const AttributeList& rAttribs ) in importProtection() argument
2251 maProtection.importProtection( rAttribs ); in importProtection()
2563 void Dxf::importNumFmt( const AttributeList& rAttribs ) in importNumFmt() argument
2565 mxNumFmt = getStyles().importNumFmt( rAttribs ); in importNumFmt()
2568 void Dxf::importAlignment( const AttributeList& rAttribs ) in importAlignment() argument
2571 mxAlignment->importAlignment( rAttribs ); in importAlignment()
2574 void Dxf::importProtection( const AttributeList& rAttribs ) in importProtection() argument
2577 mxProtection->importProtection( rAttribs ); in importProtection()
2875 void CellStyle::importCellStyle( const AttributeList& rAttribs ) in importCellStyle() argument
2877 maModel.maName = rAttribs.getXString( XML_name, OUString() ); in importCellStyle()
2878 maModel.mnXfId = rAttribs.getInteger( XML_xfId, -1 ); in importCellStyle()
2879 maModel.mnBuiltinId = rAttribs.getInteger( XML_builtinId, -1 ); in importCellStyle()
2880 maModel.mnLevel = rAttribs.getInteger( XML_iLevel, 0 ); in importCellStyle()
2881 maModel.mbBuiltin = rAttribs.hasAttribute( XML_builtinId ); in importCellStyle()
2882 maModel.mbCustom = rAttribs.getBool( XML_customBuiltin, false ); in importCellStyle()
2883 maModel.mbHidden = rAttribs.getBool( XML_hidden, false ); in importCellStyle()
2979 CellStyleRef CellStyleBuffer::importCellStyle( const AttributeList& rAttribs ) in importCellStyle() argument
2982 xCellStyle->importCellStyle( rAttribs ); in importCellStyle()
3212 void StylesBuffer::importPaletteColor( const AttributeList& rAttribs ) in importPaletteColor() argument
3214 maPalette.importPaletteColor( rAttribs ); in importPaletteColor()
3217 NumberFormatRef StylesBuffer::importNumFmt( const AttributeList& rAttribs ) in importNumFmt() argument
3219 return maNumFmts.importNumFmt( rAttribs ); in importNumFmt()
3222 CellStyleRef StylesBuffer::importCellStyle( const AttributeList& rAttribs ) in importCellStyle() argument
3224 return maCellStyles.importCellStyle( rAttribs ); in importCellStyle()