Lines Matching refs:maModel
333 maModel.mnAxis = rAttribs.getToken( XML_axis, XML_TOKEN_INVALID ); in importPivotField()
334 maModel.mnNumFmtId = rAttribs.getInteger( XML_numFmtId, 0 ); in importPivotField()
335 maModel.mnAutoShowItems = rAttribs.getInteger( XML_itemPageCount, 10 ); in importPivotField()
336 maModel.mnAutoShowRankBy = rAttribs.getInteger( XML_rankBy, -1 ); in importPivotField()
337 maModel.mnSortType = rAttribs.getToken( XML_sortType, XML_manual ); in importPivotField()
338 maModel.mbDataField = rAttribs.getBool( XML_dataField, false ); in importPivotField()
339 maModel.mbDefaultSubtotal = rAttribs.getBool( XML_defaultSubtotal, true ); in importPivotField()
340 maModel.mbSumSubtotal = rAttribs.getBool( XML_sumSubtotal, false ); in importPivotField()
341 maModel.mbCountASubtotal = rAttribs.getBool( XML_countASubtotal, false ); in importPivotField()
342 maModel.mbAverageSubtotal = rAttribs.getBool( XML_avgSubtotal, false ); in importPivotField()
343 maModel.mbMaxSubtotal = rAttribs.getBool( XML_maxSubtotal, false ); in importPivotField()
344 maModel.mbMinSubtotal = rAttribs.getBool( XML_minSubtotal, false ); in importPivotField()
345 maModel.mbProductSubtotal = rAttribs.getBool( XML_productSubtotal, false ); in importPivotField()
346 maModel.mbCountSubtotal = rAttribs.getBool( XML_countSubtotal, false ); in importPivotField()
347 maModel.mbStdDevSubtotal = rAttribs.getBool( XML_stdDevSubtotal, false ); in importPivotField()
348 maModel.mbStdDevPSubtotal = rAttribs.getBool( XML_stdDevPSubtotal, false ); in importPivotField()
349 maModel.mbVarSubtotal = rAttribs.getBool( XML_varSubtotal, false ); in importPivotField()
350 maModel.mbVarPSubtotal = rAttribs.getBool( XML_varPSubtotal, false ); in importPivotField()
351 maModel.mbShowAll = rAttribs.getBool( XML_showAll, true ); in importPivotField()
352 maModel.mbOutline = rAttribs.getBool( XML_outline, true ); in importPivotField()
353 maModel.mbSubtotalTop = rAttribs.getBool( XML_subtotalTop, true ); in importPivotField()
354 maModel.mbInsertBlankRow = rAttribs.getBool( XML_insertBlankRow, false ); in importPivotField()
355 maModel.mbInsertPageBreak = rAttribs.getBool( XML_insertPageBreak, false ); in importPivotField()
356 maModel.mbAutoShow = rAttribs.getBool( XML_autoShow, false ); in importPivotField()
357 maModel.mbTopAutoShow = rAttribs.getBool( XML_topAutoShow, true ); in importPivotField()
358 maModel.mbMultiPageItems = rAttribs.getBool( XML_multipleItemSelectionAllowed, false ); in importPivotField()
374 …maModel.mnSortRefField = static_cast< sal_Int32 >( rAttribs.getUnsigned( XML_field, SAL_MAX_UINT32… in importReference()
379 maModel.mnSortRefItem = rAttribs.getInteger( XML_v, -1 ); in importReferenceItem()
385 …rStrm >> nFlags1 >> maModel.mnNumFmtId >> nFlags2 >> maModel.mnAutoShowItems >> maModel.mnAutoShow… in importPTField()
387 maModel.setBiffAxis( extractValue< sal_uInt8 >( nFlags1, 0, 3 ) ); in importPTField()
388 maModel.mbDataField = getFlag( nFlags1, BIFF12_PTFIELD_DATAFIELD ); in importPTField()
389 maModel.mbDefaultSubtotal = getFlag( nFlags1, BIFF12_PTFIELD_DEFAULT ); in importPTField()
390 maModel.mbSumSubtotal = getFlag( nFlags1, BIFF12_PTFIELD_SUM ); in importPTField()
391 maModel.mbCountASubtotal = getFlag( nFlags1, BIFF12_PTFIELD_COUNTA ); in importPTField()
392 maModel.mbAverageSubtotal = getFlag( nFlags1, BIFF12_PTFIELD_AVERAGE ); in importPTField()
393 maModel.mbMaxSubtotal = getFlag( nFlags1, BIFF12_PTFIELD_MAX ); in importPTField()
394 maModel.mbMinSubtotal = getFlag( nFlags1, BIFF12_PTFIELD_MIN ); in importPTField()
395 maModel.mbProductSubtotal = getFlag( nFlags1, BIFF12_PTFIELD_PRODUCT ); in importPTField()
396 maModel.mbCountSubtotal = getFlag( nFlags1, BIFF12_PTFIELD_COUNT ); in importPTField()
397 maModel.mbStdDevSubtotal = getFlag( nFlags1, BIFF12_PTFIELD_STDDEV ); in importPTField()
398 maModel.mbStdDevPSubtotal = getFlag( nFlags1, BIFF12_PTFIELD_STDDEVP ); in importPTField()
399 maModel.mbVarSubtotal = getFlag( nFlags1, BIFF12_PTFIELD_VAR ); in importPTField()
400 maModel.mbVarPSubtotal = getFlag( nFlags1, BIFF12_PTFIELD_VARP ); in importPTField()
402 maModel.mbShowAll = getFlag( nFlags2, BIFF12_PTFIELD_SHOWALL ); in importPTField()
403 maModel.mbOutline = getFlag( nFlags2, BIFF12_PTFIELD_OUTLINE ); in importPTField()
404 maModel.mbSubtotalTop = getFlag( nFlags2, BIFF12_PTFIELD_SUBTOTALTOP ); in importPTField()
405 maModel.mbInsertBlankRow = getFlag( nFlags2, BIFF12_PTFIELD_INSERTBLANKROW ); in importPTField()
406 maModel.mbInsertPageBreak = getFlag( nFlags2, BIFF12_PTFIELD_INSERTPAGEBREAK ); in importPTField()
407 maModel.mbAutoShow = getFlag( nFlags2, BIFF12_PTFIELD_AUTOSHOW ); in importPTField()
408 maModel.mbTopAutoShow = getFlag( nFlags2, BIFF12_PTFIELD_AUTOSHOWTOP ); in importPTField()
409 maModel.mbMultiPageItems = getFlag( nFlags2, BIFF12_PTFIELD_MULTIPAGEITEMS ); in importPTField()
413 maModel.mnSortType = bAutoSort ? (bAscending ? XML_ascending : XML_descending) : XML_manual; in importPTField()
432 rStrm >> maModel.mnSortRefField; in importPTReference()
437 rStrm >> maModel.mnSortRefItem; in importPTReferenceItem()
446 maModel.setBiffAxis( extractValue< sal_uInt8 >( nAxis, 0, 3 ) ); in importPTField()
447 maModel.mbDataField = getFlag( nAxis, BIFF_PTFIELD_DATAFIELD ); in importPTField()
449 maModel.mbDefaultSubtotal = getFlag( nSubtotals, BIFF_PTFIELD_DEFAULT ); in importPTField()
450 maModel.mbSumSubtotal = getFlag( nSubtotals, BIFF_PTFIELD_SUM ); in importPTField()
451 maModel.mbCountASubtotal = getFlag( nSubtotals, BIFF_PTFIELD_COUNTA ); in importPTField()
452 maModel.mbAverageSubtotal = getFlag( nSubtotals, BIFF_PTFIELD_AVERAGE ); in importPTField()
453 maModel.mbMaxSubtotal = getFlag( nSubtotals, BIFF_PTFIELD_MAX ); in importPTField()
454 maModel.mbMinSubtotal = getFlag( nSubtotals, BIFF_PTFIELD_MIN ); in importPTField()
455 maModel.mbProductSubtotal = getFlag( nSubtotals, BIFF_PTFIELD_PRODUCT ); in importPTField()
456 maModel.mbCountSubtotal = getFlag( nSubtotals, BIFF_PTFIELD_COUNT ); in importPTField()
457 maModel.mbStdDevSubtotal = getFlag( nSubtotals, BIFF_PTFIELD_STDDEV ); in importPTField()
458 maModel.mbStdDevPSubtotal = getFlag( nSubtotals, BIFF_PTFIELD_STDDEVP ); in importPTField()
459 maModel.mbVarSubtotal = getFlag( nSubtotals, BIFF_PTFIELD_VAR ); in importPTField()
460 maModel.mbVarPSubtotal = getFlag( nSubtotals, BIFF_PTFIELD_VARP ); in importPTField()
463 maModel.mbShowAll = maModel.mbOutline = maModel.mbSubtotalTop = false; in importPTField()
478 maModel.mnSortRefItem = rStrm.readInt16(); in importPTField2()
479 maModel.mnAutoShowRankBy = rStrm.readInt16(); in importPTField2()
480 maModel.mnNumFmtId = rStrm.readuInt16(); in importPTField2()
482 maModel.mnAutoShowItems = extractValue< sal_Int32 >( nFlags, 24, 8 ); in importPTField2()
483 maModel.mbShowAll = getFlag( nFlags, BIFF_PTFIELD2_SHOWALL ); in importPTField2()
484 maModel.mbOutline = getFlag( nFlags, BIFF_PTFIELD2_OUTLINE ); in importPTField2()
485 maModel.mbSubtotalTop = getFlag( nFlags, BIFF_PTFIELD2_SUBTOTALTOP ); in importPTField2()
486 maModel.mbInsertBlankRow = getFlag( nFlags, BIFF_PTFIELD2_INSERTBLANKROW ); in importPTField2()
487 maModel.mbAutoShow = getFlag( nFlags, BIFF_PTFIELD2_AUTOSHOW ); in importPTField2()
488 maModel.mbTopAutoShow = getFlag( nFlags, BIFF_PTFIELD2_AUTOSHOWTOP ); in importPTField2()
492 maModel.mnSortType = bAutoSort ? (bAscending ? XML_ascending : XML_descending) : XML_manual; in importPTField2()
494 if( maModel.mnSortRefItem >= 0 ) in importPTField2()
495 maModel.mnSortRefField = OOX_PT_DATALAYOUTFIELD; in importPTField2()
620 if( maModel.mbMultiPageItems ) in convertPageField()
659 OSL_ENSURE( maModel.mbDataField, "PivotTableField::convertDataField - not a data field" ); in convertDataField()
736 …OSL_ENSURE( bDataLayout || (nAxis == maModel.mnAxis), "PivotTableField::convertRowColPageField - f… in convertRowColPageField()
769 if( maModel.mbSumSubtotal ) aSubtotals.push_back( GeneralFunction_SUM ); in convertRowColPageField()
770 if( maModel.mbCountASubtotal ) aSubtotals.push_back( GeneralFunction_COUNT ); in convertRowColPageField()
771 if( maModel.mbAverageSubtotal ) aSubtotals.push_back( GeneralFunction_AVERAGE ); in convertRowColPageField()
772 if( maModel.mbMaxSubtotal ) aSubtotals.push_back( GeneralFunction_MAX ); in convertRowColPageField()
773 if( maModel.mbMinSubtotal ) aSubtotals.push_back( GeneralFunction_MIN ); in convertRowColPageField()
774 if( maModel.mbProductSubtotal ) aSubtotals.push_back( GeneralFunction_PRODUCT ); in convertRowColPageField()
775 if( maModel.mbCountSubtotal ) aSubtotals.push_back( GeneralFunction_COUNTNUMS ); in convertRowColPageField()
776 if( maModel.mbStdDevSubtotal ) aSubtotals.push_back( GeneralFunction_STDEV ); in convertRowColPageField()
777 if( maModel.mbStdDevPSubtotal ) aSubtotals.push_back( GeneralFunction_STDEVP ); in convertRowColPageField()
778 if( maModel.mbVarSubtotal ) aSubtotals.push_back( GeneralFunction_VAR ); in convertRowColPageField()
779 if( maModel.mbVarPSubtotal ) aSubtotals.push_back( GeneralFunction_VARP ); in convertRowColPageField()
781 if( aSubtotals.empty() && maModel.mbDefaultSubtotal ) in convertRowColPageField()
787 aLayoutInfo.LayoutMode = maModel.mbOutline ? in convertRowColPageField()
788 …(maModel.mbSubtotalTop ? DataPilotFieldLayoutMode::OUTLINE_SUBTOTALS_TOP : DataPilotFieldLayoutMod… in convertRowColPageField()
790 aLayoutInfo.AddEmptyLines = maModel.mbInsertBlankRow; in convertRowColPageField()
792 aPropSet.setProperty( PROP_ShowEmpty, maModel.mbShowAll ); in convertRowColPageField()
795 if( maModel.mbAutoShow ) in convertRowColPageField()
799 …aAutoShowInfo.ShowItemsMode = maModel.mbTopAutoShow ? DataPilotFieldShowItemsMode::FROM_TOP : Data… in convertRowColPageField()
800 aAutoShowInfo.ItemCount = maModel.mnAutoShowItems; in convertRowColPageField()
801 …st PivotCacheField* pCacheField = mrPivotTable.getCacheFieldOfDataField( maModel.mnAutoShowRankBy … in convertRowColPageField()
808 aSortInfo.IsAscending = maModel.mnSortType == XML_ascending; in convertRowColPageField()
809 if( (maModel.mnSortType != XML_ascending) && (maModel.mnSortType != XML_descending) ) in convertRowColPageField()
815 … const PivotCacheField* pCacheField = (maModel.mnSortRefField == OOX_PT_DATALAYOUTFIELD) ? in convertRowColPageField()
816 mrPivotTable.getCacheFieldOfDataField( maModel.mnSortRefItem ) : 0; in convertRowColPageField()
883 maModel.maName = rAttribs.getXString( XML_name, OUString() ); in importFilter()
884 maModel.maDescription = rAttribs.getXString( XML_description, OUString() ); in importFilter()
885 maModel.maStrValue1 = rAttribs.getXString( XML_stringValue1, OUString() ); in importFilter()
886 maModel.maStrValue2 = rAttribs.getXString( XML_stringValue2, OUString() ); in importFilter()
887 maModel.mnField = rAttribs.getInteger( XML_fld, -1 ); in importFilter()
888 maModel.mnMemPropField = rAttribs.getInteger( XML_mpFld, -1 ); in importFilter()
889 maModel.mnType = rAttribs.getToken( XML_type, XML_TOKEN_INVALID ); in importFilter()
890 maModel.mnEvalOrder = rAttribs.getInteger( XML_evalOrder, 0 ); in importFilter()
891 maModel.mnId = rAttribs.getInteger( XML_id, -1 ); in importFilter()
892 maModel.mnMeasureField = rAttribs.getInteger( XML_iMeasureFld, -1 ); in importFilter()
893 maModel.mnMeasureHier = rAttribs.getInteger( XML_iMeasureHier, -1 ); in importFilter()
898 OSL_ENSURE( rAttribs.getBool( XML_percent, false ) == (maModel.mnType == XML_percent), in importTop10()
900 maModel.mfValue = rAttribs.getDouble( XML_val, 0.0 ); in importTop10()
901 maModel.mbTopFilter = rAttribs.getBool( XML_top, true ); in importTop10()
908 rStrm >> maModel.mnField >> maModel.mnMemPropField >> nType; in importPTFilter()
910 rStrm >> maModel.mnId >> maModel.mnMeasureField >> maModel.mnMeasureHier >> nFlags; in importPTFilter()
912 rStrm >> maModel.maName; in importPTFilter()
914 rStrm >> maModel.maDescription; in importPTFilter()
916 rStrm >> maModel.maStrValue1; in importPTFilter()
918 rStrm >> maModel.maStrValue2; in importPTFilter()
941 maModel.mnType = STATIC_ARRAY_SELECT( spnTypes, nType, XML_TOKEN_INVALID ); in importPTFilter()
947 rStrm >> nFlags >> maModel.mfValue; in importTop10Filter()
949 OSL_ENSURE( getFlag( nFlags, BIFF12_TOP10FILTER_PERCENT ) == (maModel.mnType == XML_percent), in importTop10Filter()
951 maModel.mbTopFilter = getFlag( nFlags, BIFF12_TOP10FILTER_TOP ); in importTop10Filter()
957 if( maModel.mnType == XML_count ) in finalizeImport()
959 PropertySet aPropSet( mrPivotTable.getDataPilotField( maModel.mnField ) ); in finalizeImport()
965 …aAutoShowInfo.ShowItemsMode = maModel.mbTopFilter ? DataPilotFieldShowItemsMode::FROM_TOP : DataPi… in finalizeImport()
966 …aAutoShowInfo.ItemCount = getLimitedValue< sal_Int32, double >( maModel.mfValue, 0, SAL_MAX_INT32 … in finalizeImport()
967 …if( const PivotCacheField* pCacheField = mrPivotTable.getCacheFieldOfDataField( maModel.mnMeasureF… in finalizeImport()