Lines Matching refs:sal_Int32

77 const sal_Int32 OOX_COLOR_USEROFFSET        = 0;        /// First user defined color in palette (OO…
78 const sal_Int32 BIFF_COLOR_USEROFFSET = 8; /// First user defined color in palette (BI…
81 const sal_Int32 OOX_FONTFAMILY_NONE = 0;
82 const sal_Int32 OOX_FONTFAMILY_ROMAN = 1;
83 const sal_Int32 OOX_FONTFAMILY_SWISS = 2;
84 const sal_Int32 OOX_FONTFAMILY_MODERN = 3;
85 const sal_Int32 OOX_FONTFAMILY_SCRIPT = 4;
86 const sal_Int32 OOX_FONTFAMILY_DECORATIVE = 5;
89 const sal_Int32 OOX_XF_TEXTDIR_CONTEXT = 0;
90 const sal_Int32 OOX_XF_TEXTDIR_LTR = 1;
91 const sal_Int32 OOX_XF_TEXTDIR_RTL = 2;
94 const sal_Int32 OOX_XF_ROTATION_NONE = 0;
95 const sal_Int32 OOX_XF_ROTATION_90CCW = 90;
96 const sal_Int32 OOX_XF_ROTATION_90CW = 180;
97 const sal_Int32 OOX_XF_ROTATION_STACKED = 255;
100 const sal_Int32 OOX_XF_INDENT_NONE = 0;
103 const sal_Int32 OOX_STYLE_NORMAL = 0; /// Default cell style.
104 const sal_Int32 OOX_STYLE_ROWLEVEL = 1; /// RowLevel_x cell style.
105 const sal_Int32 OOX_STYLE_COLLEVEL = 2; /// ColLevel_x cell style.
107 const sal_Int32 OOX_STYLE_LEVELCOUNT = 7; /// Number of outline level styles.
122 const sal_Int32 BIFF12_FILL_GRADIENT = 40;
280 sal_Int32 lclReadRgbColor( BinaryInputStream& rStrm ) in lclReadRgbColor()
284 sal_Int32 nValue = nA; in lclReadRgbColor()
304 sal_Int32 ExcelGraphicHelper::getSchemeColor( sal_Int32 nToken ) const in getSchemeColor()
311 sal_Int32 ExcelGraphicHelper::getPaletteColor( sal_Int32 nPaletteIdx ) const in getPaletteColor()
324 void Color::setRgb( sal_Int32 nRgbValue, double fTint ) in setRgb()
331 void Color::setTheme( sal_Int32 nThemeIdx, double fTint ) in setTheme()
334 static const sal_Int32 spnColorTokens[] = { in setTheme()
341 void Color::setIndexed( sal_Int32 nPaletteIdx, double fTint ) in setIndexed()
440 static const sal_Int32 spnDefColors2[] =
446 static const sal_Int32 spnDefColors3[] =
454 static const sal_Int32 spnDefColors5[] =
467 static const sal_Int32 spnDefColors8[] =
519 sal_Int32 nRgb = lclReadRgbColor( rStrm ); in importPaletteColor()
533 sal_Int32 nRgb = lclReadRgbColor( rStrm ); in importPalette()
540 Sequence< sal_Int32 > rColorSeq; in importPalette()
543 const sal_Int32* pnColor = rColorSeq.getConstArray(); in importPalette()
544 const sal_Int32* pnColorEnd = pnColor + rColorSeq.getLength(); in importPalette()
550 sal_Int32 ColorPalette::getColor( sal_Int32 nPaletteIdx ) const in getColor()
552 sal_Int32 nColor = API_RGB_TRANSPARENT; in getColor()
553 … if( const sal_Int32* pnPaletteColor = ContainerHelper::getVectorElement( maColors, nPaletteIdx ) ) in getColor()
575 void ColorPalette::appendColor( sal_Int32 nRGBValue ) in appendColor()
624 static const sal_Int32 spnSchemes[] = { XML_none, XML_major, XML_minor }; in setBiff12Scheme()
653 static const sal_Int32 spnEscapes[] = { XML_baseline, XML_superscript, XML_subscript }; in setBiffEscapement()
729 void Font::importAttribs( sal_Int32 nElement, const AttributeList& rAttribs ) in importAttribs()
864 void Font::importDxfFlag( sal_Int32 nElement, SequenceInputStream& rStrm ) in importDxfFlag()
932 sal_Int32 nHeight, nColor; in importCfRule()
1234 static const sal_Int32 spnHorAligns[] = { in setBiffHorAlign()
1242 static const sal_Int32 spnVerAligns[] = { in setBiffVerAlign()
1249 static const sal_Int32 spnRotations[] = { in setBiffTextOrient()
1305 maModel.mnTextDir = extractValue< sal_Int32 >( nFlags, 26, 2 ); in setBiff12Data()
1306 maModel.mnRotation = extractValue< sal_Int32 >( nFlags, 0, 8 ); in setBiff12Data()
1344 maModel.mnTextDir = extractValue< sal_Int32 >( nMiscAttrib, 6, 2 ); // new in BIFF8 in setBiff8Data()
1345 maModel.mnRotation = extractValue< sal_Int32 >( nAlign, 8, 8 ); // new in BIFF8 in setBiff8Data()
1382 sal_Int32 nIndent = 0; in finalizeImport()
1401 sal_Int32 nOoxRot = maModel.mnRotation; in finalizeImport()
1503 void BorderLineModel::setBiffStyle( sal_Int32 nLineStyle ) in setBiffStyle()
1505 static const sal_Int32 spnStyleIds[] = { in setBiffStyle()
1603 inline sal_Int32 lclGetBorderLineWidth( const BorderLine& rBorderLine ) in lclGetBorderLineWidth()
1636 void Border::importStyle( sal_Int32 nElement, const AttributeList& rAttribs ) in importStyle()
1645 void Border::importColor( sal_Int32 nElement, const AttributeList& rAttribs ) in importColor()
1668 void Border::importDxfBorder( sal_Int32 nElement, SequenceInputStream& rStrm ) in importDxfBorder()
1779 BorderLineModel* Border::getBorderLine( sal_Int32 nElement ) in getBorderLine()
1829 void PatternFillModel::setBiffPattern( sal_Int32 nPattern ) in setBiffPattern()
1831 static const sal_Int32 spnPatternIds[] = { in setBiffPattern()
1862 sal_Int32 nType; in readGradient()
1864 static const sal_Int32 spnTypes[] = { XML_linear, XML_path }; in readGradient()
1906 inline sal_Int32 lclGetMixedColorComp( sal_Int32 nPatt, sal_Int32 nFill, sal_Int32 nAlpha ) in lclGetMixedColorComp()
1911 sal_Int32 lclGetMixedColor( sal_Int32 nPattColor, sal_Int32 nFillColor, sal_Int32 nAlpha ) in lclGetMixedColor()
1978 sal_Int32 nPattern = rStrm.readInt32(); in importFill()
1982 sal_Int32 nStopCount; in importFill()
1986 for( sal_Int32 nStop = 0; (nStop < nStopCount) && !rStrm.isEof(); ++nStop ) in importFill()
2127 sal_Int32 nAlpha = 0x80; in finalizeImport()
2150 sal_Int32 nWinTextColor = rGraphicHelper.getSystemColor( XML_windowText ); in finalizeImport()
2151 sal_Int32 nWinColor = rGraphicHelper.getSystemColor( XML_window ); in finalizeImport()
2155 sal_Int32 nPattColor = rModel.maPatternColor.getColor( rGraphicHelper, nWinTextColor ); in finalizeImport()
2159 sal_Int32 nFillColor = rModel.maFillColor.getColor( rGraphicHelper, nWinColor ); in finalizeImport()
2175 sal_Int32 nEndColor = aIt->second.getColor( rGraphicHelper, API_RGB_WHITE ); in finalizeImport()
2297 maModel.mnFontId = static_cast< sal_Int32 >( nFontId ); in importXf()
2298 maModel.mnNumFmtId = static_cast< sal_Int32 >( nNumFmtId & BIFF2_XF_VALFMT_MASK ); in importXf()
2311 maModel.mnStyleXfId = extractValue< sal_Int32 >( nAlign, 4, 12 ); // new in BIFF3 in importXf()
2320 maModel.mnFontId = static_cast< sal_Int32 >( nFontId ); in importXf()
2321 maModel.mnNumFmtId = static_cast< sal_Int32 >( nNumFmtId ); in importXf()
2334 maModel.mnStyleXfId = extractValue< sal_Int32 >( nTypeProt, 4, 12 ); in importXf()
2343 maModel.mnFontId = static_cast< sal_Int32 >( nFontId ); in importXf()
2344 maModel.mnNumFmtId = static_cast< sal_Int32 >( nNumFmtId ); in importXf()
2356 maModel.mnStyleXfId = extractValue< sal_Int32 >( nTypeProt, 4, 12 ); in importXf()
2365 maModel.mnFontId = static_cast< sal_Int32 >( nFontId ); in importXf()
2366 maModel.mnNumFmtId = static_cast< sal_Int32 >( nNumFmtId ); in importXf()
2378 maModel.mnStyleXfId = extractValue< sal_Int32 >( nTypeProt, 4, 12 ); in importXf()
2387 maModel.mnFontId = static_cast< sal_Int32 >( nFontId ); in importXf()
2388 maModel.mnNumFmtId = static_cast< sal_Int32 >( nNumFmtId ); in importXf()
2433sal_Int32 nBorderId = maModel.mbBorderUsed ? maModel.mnBorderId : (pStyleXf ? pStyleXf->maModel.mn… in finalizeImport()
2498 aXf.maModel.mnFontId = extractValue< sal_Int32 >( nFlags2, 6, 2 ); in writeBiff2CellFormatToPropertySet()
2499 aXf.maModel.mnNumFmtId = extractValue< sal_Int32 >( nFlags2, 0, 6 ); in writeBiff2CellFormatToPropertySet()
2582 sal_Int32 nNumFmtId = -1; in importDxf()
2694 const sal_Int32 snLegacyStyleNamesCount = static_cast< sal_Int32 >( STATIC_ARRAY_SIZE( sppcLegacySt…
2754 const sal_Int32 snStyleNamesCount = static_cast< sal_Int32 >( STATIC_ARRAY_SIZE( sppcStyleNames ) );
2756 OUString lclGetBuiltinStyleName( sal_Int32 nBuiltinId, const OUString& rName, sal_Int32 nLevel = 0 ) in lclGetBuiltinStyleName()
2777 bool lclIsBuiltinStyleName( const OUString& rStyleName, sal_Int32* pnBuiltinId, sal_Int32* pnNextCh… in lclIsBuiltinStyleName()
2781 sal_Int32 nPrefixLen = aPrefix.getLength(); in lclIsBuiltinStyleName()
2782 sal_Int32 nFoundId = 0; in lclIsBuiltinStyleName()
2783 sal_Int32 nNextChar = 0; in lclIsBuiltinStyleName()
2787 for( sal_Int32 nId = 0; nId < snStyleNamesCount; ++nId ) in lclIsBuiltinStyleName()
2814 bool lclGetBuiltinStyleId( sal_Int32& rnBuiltinId, sal_Int32& rnLevel, const OUString& rStyleName ) in lclGetBuiltinStyleId()
2816 sal_Int32 nBuiltinId; in lclGetBuiltinStyleId()
2817 sal_Int32 nNextChar; in lclGetBuiltinStyleId()
2823 sal_Int32 nLevel = aLevel.toInt32(); in lclGetBuiltinStyleId()
2902 maModel.mnXfId = static_cast< sal_Int32 >( nStyleXf & BIFF_STYLE_XFMASK ); in importStyle()
3023 for( sal_Int32 nIndex = 0, nCount = xStyleFamilyIA->getCount(); nIndex < nCount; ++nIndex ) in finalizeImport()
3075 sal_Int32 nIndex = 0; in finalizeImport()
3088 sal_Int32 CellStyleBuffer::getDefaultXfId() const in getDefaultXfId()
3098 OUString CellStyleBuffer::createCellStyle( sal_Int32 nXfId ) const in createCellStyle()
3159 FontRef StylesBuffer::createFont( sal_Int32* opnFontId ) in createFont()
3161 if( opnFontId ) *opnFontId = static_cast< sal_Int32 >( maFonts.size() ); in createFont()
3167 NumberFormatRef StylesBuffer::createNumFmt( sal_Int32 nNumFmtId, const OUString& rFmtCode ) in createNumFmt()
3172 BorderRef StylesBuffer::createBorder( sal_Int32* opnBorderId ) in createBorder()
3174 if( opnBorderId ) *opnBorderId = static_cast< sal_Int32 >( maBorders.size() ); in createBorder()
3180 FillRef StylesBuffer::createFill( sal_Int32* opnFillId ) in createFill()
3182 if( opnFillId ) *opnFillId = static_cast< sal_Int32 >( maFills.size() ); in createFill()
3188 XfRef StylesBuffer::createCellXf( sal_Int32* opnXfId ) in createCellXf()
3190 if( opnXfId ) *opnXfId = static_cast< sal_Int32 >( maCellXfs.size() ); in createCellXf()
3196 XfRef StylesBuffer::createStyleXf( sal_Int32* opnXfId ) in createStyleXf()
3198 if( opnXfId ) *opnXfId = static_cast< sal_Int32 >( maStyleXfs.size() ); in createStyleXf()
3204 DxfRef StylesBuffer::createDxf( sal_Int32* opnDxfId ) in createDxf()
3206 if( opnDxfId ) *opnDxfId = static_cast< sal_Int32 >( maDxfs.size() ); in createDxf()
3319 sal_Int32 StylesBuffer::getPaletteColor( sal_Int32 nPaletteIdx ) const in getPaletteColor()
3324 FontRef StylesBuffer::getFont( sal_Int32 nFontId ) const in getFont()
3329 BorderRef StylesBuffer::getBorder( sal_Int32 nBorderId ) const in getBorder()
3334 XfRef StylesBuffer::getCellXf( sal_Int32 nXfId ) const in getCellXf()
3339 XfRef StylesBuffer::getStyleXf( sal_Int32 nXfId ) const in getStyleXf()
3344 DxfRef StylesBuffer::getDxf( sal_Int32 nDxfId ) const in getDxf()
3349 FontRef StylesBuffer::getFontFromCellXf( sal_Int32 nXfId ) const in getFontFromCellXf()
3375 bool StylesBuffer::equalBorders( sal_Int32 nBorderId1, sal_Int32 nBorderId2 ) const in equalBorders()
3400 bool StylesBuffer::equalFills( sal_Int32 nFillId1, sal_Int32 nFillId2 ) const in equalFills()
3430 OUString StylesBuffer::createCellStyle( sal_Int32 nXfId ) const in createCellStyle()
3435 OUString StylesBuffer::createDxfStyle( sal_Int32 nDxfId ) const in createDxfStyle()
3456 void StylesBuffer::writeFontToPropertyMap( PropertyMap& rPropMap, sal_Int32 nFontId ) const in writeFontToPropertyMap()
3462 void StylesBuffer::writeNumFmtToPropertyMap( PropertyMap& rPropMap, sal_Int32 nNumFmtId ) const in writeNumFmtToPropertyMap()
3467 void StylesBuffer::writeBorderToPropertyMap( PropertyMap& rPropMap, sal_Int32 nBorderId ) const in writeBorderToPropertyMap()
3473 void StylesBuffer::writeFillToPropertyMap( PropertyMap& rPropMap, sal_Int32 nFillId ) const in writeFillToPropertyMap()
3479 void StylesBuffer::writeCellXfToPropertyMap( PropertyMap& rPropMap, sal_Int32 nXfId ) const in writeCellXfToPropertyMap()
3485 void StylesBuffer::writeStyleXfToPropertyMap( PropertyMap& rPropMap, sal_Int32 nXfId ) const in writeStyleXfToPropertyMap()
3491 void StylesBuffer::writeCellXfToPropertySet( PropertySet& rPropSet, sal_Int32 nXfId ) const in writeCellXfToPropertySet()
3497 void StylesBuffer::writeStyleXfToPropertySet( PropertySet& rPropSet, sal_Int32 nXfId ) const in writeStyleXfToPropertySet()