Lines Matching refs:rModel
228 SheetViewModel& rModel = *createSheetView(); in importSheetView() local
229 rModel.maGridColor.setIndexed( rAttribs.getInteger( XML_colorId, OOX_COLOR_WINDOWTEXT ) ); in importSheetView()
230 …rModel.maFirstPos = getAddressConverter().createValidCellAddress( rAttribs.getString( XML_t… in importSheetView()
231 rModel.mnWorkbookViewId = rAttribs.getToken( XML_workbookViewId, 0 ); in importSheetView()
232 rModel.mnViewType = rAttribs.getToken( XML_view, XML_normal ); in importSheetView()
233 rModel.mnCurrentZoom = rAttribs.getInteger( XML_zoomScale, 100 ); in importSheetView()
234 rModel.mnNormalZoom = rAttribs.getInteger( XML_zoomScaleNormal, 0 ); in importSheetView()
235 rModel.mnSheetLayoutZoom = rAttribs.getInteger( XML_zoomScaleSheetLayoutView, 0 ); in importSheetView()
236 rModel.mnPageLayoutZoom = rAttribs.getInteger( XML_zoomScalePageLayoutView, 0 ); in importSheetView()
237 rModel.mbSelected = rAttribs.getBool( XML_tabSelected, false ); in importSheetView()
238 rModel.mbRightToLeft = rAttribs.getBool( XML_rightToLeft, false ); in importSheetView()
239 rModel.mbDefGridColor = rAttribs.getBool( XML_defaultGridColor, true ); in importSheetView()
240 rModel.mbShowFormulas = rAttribs.getBool( XML_showFormulas, false ); in importSheetView()
241 rModel.mbShowGrid = rAttribs.getBool( XML_showGridLines, true ); in importSheetView()
242 rModel.mbShowHeadings = rAttribs.getBool( XML_showRowColHeaders, true ); in importSheetView()
243 rModel.mbShowZeros = rAttribs.getBool( XML_showZeros, true ); in importSheetView()
244 rModel.mbShowOutline = rAttribs.getBool( XML_showOutlineSymbols, true ); in importSheetView()
252 SheetViewModel& rModel = *maSheetViews.back(); in importPane() local
253 …rModel.maSecondPos = getAddressConverter().createValidCellAddress( rAttribs.getString( XML_topL… in importPane()
254 rModel.mnActivePaneId = rAttribs.getToken( XML_activePane, XML_topLeft ); in importPane()
255 rModel.mnPaneState = rAttribs.getToken( XML_state, XML_split ); in importPane()
256 rModel.mfSplitX = rAttribs.getDouble( XML_xSplit, 0.0 ); in importPane()
257 rModel.mfSplitY = rAttribs.getDouble( XML_ySplit, 0.0 ); in importPane()
280 SheetViewModel& rModel = *createSheetView(); in importChartSheetView() local
281 rModel.mnWorkbookViewId = rAttribs.getToken( XML_workbookViewId, 0 ); in importChartSheetView()
282 rModel.mnCurrentZoom = rAttribs.getInteger( XML_zoomScale, 100 ); in importChartSheetView()
283 rModel.mbSelected = rAttribs.getBool( XML_tabSelected, false ); in importChartSheetView()
284 rModel.mbZoomToFit = rAttribs.getBool( XML_zoomToFit, false ); in importChartSheetView()
289 SheetViewModel& rModel = *createSheetView(); in importSheetView() local
294 rModel.maGridColor.importColorId( rStrm ); in importSheetView()
295 rModel.mnCurrentZoom = rStrm.readuInt16(); in importSheetView()
296 rModel.mnNormalZoom = rStrm.readuInt16(); in importSheetView()
297 rModel.mnSheetLayoutZoom = rStrm.readuInt16(); in importSheetView()
298 rModel.mnPageLayoutZoom = rStrm.readuInt16(); in importSheetView()
299 rStrm >> rModel.mnWorkbookViewId; in importSheetView()
301 …rModel.maFirstPos = getAddressConverter().createValidCellAddress( aFirstPos, getSheetIndex(), fals… in importSheetView()
303 rModel.mnViewType = STATIC_ARRAY_SELECT( spnViewTypes, nViewType, XML_normal ); in importSheetView()
304 rModel.mbSelected = getFlag( nFlags, BIFF12_SHEETVIEW_SELECTED ); in importSheetView()
305 rModel.mbRightToLeft = getFlag( nFlags, BIFF12_SHEETVIEW_RIGHTTOLEFT ); in importSheetView()
306 rModel.mbDefGridColor = getFlag( nFlags, BIFF12_SHEETVIEW_DEFGRIDCOLOR ); in importSheetView()
307 rModel.mbShowFormulas = getFlag( nFlags, BIFF12_SHEETVIEW_SHOWFORMULAS ); in importSheetView()
308 rModel.mbShowGrid = getFlag( nFlags, BIFF12_SHEETVIEW_SHOWGRID ); in importSheetView()
309 rModel.mbShowHeadings = getFlag( nFlags, BIFF12_SHEETVIEW_SHOWHEADINGS ); in importSheetView()
310 rModel.mbShowZeros = getFlag( nFlags, BIFF12_SHEETVIEW_SHOWZEROS ); in importSheetView()
311 rModel.mbShowOutline = getFlag( nFlags, BIFF12_SHEETVIEW_SHOWOUTLINE ); in importSheetView()
319 SheetViewModel& rModel = *maSheetViews.back(); in importPane() local
324 rStrm >> rModel.mfSplitX >> rModel.mfSplitY >> aSecondPos >> nActivePaneId >> nFlags; in importPane()
326 …rModel.maSecondPos = getAddressConverter().createValidCellAddress( aSecondPos, getSheetIndex(),… in importPane()
327 rModel.mnActivePaneId = lclGetOoxPaneId( nActivePaneId, XML_topLeft ); in importPane()
328 …rModel.mnPaneState = getFlagValue( nFlags, BIFF12_PANE_FROZEN, getFlagValue( nFlags, BIFF12_PAN… in importPane()
354 SheetViewModel& rModel = *createSheetView(); in importChartSheetView() local
356 rStrm >> nFlags >> rModel.mnCurrentZoom >> rModel.mnWorkbookViewId; in importChartSheetView()
358 rModel.mbSelected = getFlag( nFlags, BIFF12_CHARTSHEETVIEW_SELECTED ); in importChartSheetView()
359 rModel.mbZoomToFit = getFlag( nFlags, BIFF12_CHARTSHEETVIEW_ZOOMTOFIT ); in importChartSheetView()
365 SheetViewModel& rModel = *createSheetView(); in importWindow2() local
368 rModel.mbShowFormulas = rStrm.readuInt8() != 0; in importWindow2()
369 rModel.mbShowGrid = rStrm.readuInt8() != 0; in importWindow2()
370 rModel.mbShowHeadings = rStrm.readuInt8() != 0; in importWindow2()
371 rModel.mnPaneState = (rStrm.readuInt8() == 0) ? XML_split : XML_frozen; in importWindow2()
372 rModel.mbShowZeros = rStrm.readuInt8() != 0; in importWindow2()
375 …rModel.maFirstPos = getAddressConverter().createValidCellAddress( aFirstPos, getSheetIndex(), fals… in importWindow2()
376 rModel.mbDefGridColor = rStrm.readuInt8() != 0; in importWindow2()
377 rModel.maGridColor.importColorRgb( rStrm ); in importWindow2()
385 …rModel.maFirstPos = getAddressConverter().createValidCellAddress( aFirstPos, getSheetIndex(), … in importWindow2()
386 …rModel.mnPaneState = getFlagValue( nFlags, BIFF_WINDOW2_FROZEN, getFlagValue( nFlags, BIFF_WIND… in importWindow2()
387 rModel.mbSelected = getFlag( nFlags, BIFF_WINDOW2_SELECTED ); in importWindow2()
388 rModel.mbRightToLeft = getFlag( nFlags, BIFF_WINDOW2_RIGHTTOLEFT ); in importWindow2()
389 rModel.mbDefGridColor = getFlag( nFlags, BIFF_WINDOW2_DEFGRIDCOLOR ); in importWindow2()
390 rModel.mbShowFormulas = getFlag( nFlags, BIFF_WINDOW2_SHOWFORMULAS ); in importWindow2()
391 rModel.mbShowGrid = getFlag( nFlags, BIFF_WINDOW2_SHOWGRID ); in importWindow2()
392 rModel.mbShowHeadings = getFlag( nFlags, BIFF_WINDOW2_SHOWHEADINGS ); in importWindow2()
393 rModel.mbShowZeros = getFlag( nFlags, BIFF_WINDOW2_SHOWZEROS ); in importWindow2()
394 rModel.mbShowOutline = getFlag( nFlags, BIFF_WINDOW2_SHOWOUTLINE ); in importWindow2()
398 …rModel.mnViewType = getFlagValue( nFlags, BIFF_WINDOW2_PAGEBREAKMODE, XML_pageBreakPreview, XML_no… in importWindow2()
400 rModel.maGridColor.importColorId( rStrm ); in importWindow2()
407 rModel.mnSheetLayoutZoom = nPageZoom; in importWindow2()
408 rModel.mnNormalZoom = nNormalZoom; in importWindow2()
413 rModel.maGridColor.importColorRgb( rStrm ); in importWindow2()
428 SheetViewModel& rModel = *maSheetViews.back(); in importPane() local
429 rModel.mfSplitX = nSplitX; in importPane()
430 rModel.mfSplitY = nSplitY; in importPane()
431 …rModel.maSecondPos = getAddressConverter().createValidCellAddress( aSecondPos, getSheetIndex(), fa… in importPane()
432 rModel.mnActivePaneId = lclGetOoxPaneId( nActivePaneId, XML_topLeft ); in importPane()
626 WorkbookViewModel& rModel = createWorkbookView(); in importWorkbookView() local
627 rModel.mnWinX = rAttribs.getInteger( XML_xWindow, 0 ); in importWorkbookView()
628 rModel.mnWinY = rAttribs.getInteger( XML_yWindow, 0 ); in importWorkbookView()
629 rModel.mnWinWidth = rAttribs.getInteger( XML_windowWidth, 0 ); in importWorkbookView()
630 rModel.mnWinHeight = rAttribs.getInteger( XML_windowHeight, 0 ); in importWorkbookView()
631 rModel.mnActiveSheet = rAttribs.getInteger( XML_activeTab, 0 ); in importWorkbookView()
632 rModel.mnFirstVisSheet = rAttribs.getInteger( XML_firstSheet, 0 ); in importWorkbookView()
633 rModel.mnTabBarWidth = rAttribs.getInteger( XML_tabRatio, 600 ); in importWorkbookView()
634 rModel.mnVisibility = rAttribs.getToken( XML_visibility, XML_visible ); in importWorkbookView()
635 rModel.mbShowTabBar = rAttribs.getBool( XML_showSheetTabs, true ); in importWorkbookView()
636 rModel.mbShowHorScroll = rAttribs.getBool( XML_showHorizontalScroll, true ); in importWorkbookView()
637 rModel.mbShowVerScroll = rAttribs.getBool( XML_showVerticalScroll, true ); in importWorkbookView()
638 rModel.mbMinimized = rAttribs.getBool( XML_minimized, false ); in importWorkbookView()
649 WorkbookViewModel& rModel = createWorkbookView(); in importWorkbookView() local
651 …rStrm >> rModel.mnWinX >> rModel.mnWinY >> rModel.mnWinWidth >> rModel.mnWinHeight >> rModel.mnTab… in importWorkbookView()
652 rModel.mnVisibility = getFlagValue( nFlags, BIFF12_WBVIEW_HIDDEN, XML_hidden, XML_visible ); in importWorkbookView()
653 rModel.mbShowTabBar = getFlag( nFlags, BIFF12_WBVIEW_SHOWTABBAR ); in importWorkbookView()
654 rModel.mbShowHorScroll = getFlag( nFlags, BIFF12_WBVIEW_SHOWHORSCROLL ); in importWorkbookView()
655 rModel.mbShowVerScroll = getFlag( nFlags, BIFF12_WBVIEW_SHOWVERSCROLL ); in importWorkbookView()
656 rModel.mbMinimized = getFlag( nFlags, BIFF12_WBVIEW_MINIMIZED ); in importWorkbookView()
674 WorkbookViewModel& rModel = createWorkbookView(); in importWindow1() local
675 rModel.mnWinX = nWinX; in importWindow1()
676 rModel.mnWinY = nWinY; in importWindow1()
677 rModel.mnWinWidth = nWinWidth; in importWindow1()
678 rModel.mnWinHeight = nWinHeight; in importWindow1()
684 rModel.mnVisibility = (nHidden == 0) ? XML_visible : XML_hidden; in importWindow1()
691 rModel.mnActiveSheet = nActiveTab; in importWindow1()
692 rModel.mnFirstVisSheet = nFirstVisTab; in importWindow1()
693 rModel.mnTabBarWidth = nTabBarWidth; in importWindow1()
694 rModel.mnVisibility = getFlagValue( nFlags, BIFF_WINDOW1_HIDDEN, XML_hidden, XML_visible ); in importWindow1()
695 rModel.mbMinimized = getFlag( nFlags, BIFF_WINDOW1_MINIMIZED ); in importWindow1()
696 rModel.mbShowHorScroll = getFlag( nFlags, BIFF_WINDOW1_SHOWHORSCROLL ); in importWindow1()
697 rModel.mbShowVerScroll = getFlag( nFlags, BIFF_WINDOW1_SHOWVERSCROLL ); in importWindow1()
698 rModel.mbShowTabBar = getFlag( nFlags, BIFF_WINDOW1_SHOWTABBAR ); in importWindow1()
727 …const WorkbookViewModel& rModel = maBookViews.empty() ? createWorkbookView() : *maBookViews.front(… in finalizeImport() local
751 aPropMap[ PROP_HasHorizontalScrollBar ] <<= rModel.mbShowHorScroll; in finalizeImport()
752 aPropMap[ PROP_HasVerticalScrollBar ] <<= rModel.mbShowVerScroll; in finalizeImport()
753 aPropMap[ PROP_HasSheetTabs ] <<= rModel.mbShowTabBar; in finalizeImport()
754 aPropMap[ PROP_RelativeHorizontalTabbarWidth ] <<= double( rModel.mnTabBarWidth / 1000.0 ); in finalizeImport()