viewdata.cxx (b3f79822) | viewdata.cxx (4f32937c) |
---|---|
1/************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance --- 2571 unchanged lines hidden (view full) --- 2580 rTabSett.maSplitPos, MapMode( MAP_TWIP ) ); //! Zoom? 2581 // #109648# - the test for use of printer metrics for text formatting here 2582 // effectively results in the nFactor = 1.0 regardless of the Option setting. 2583 if( pDocShell && SC_MOD()->GetInputOptions().GetTextWysiwyg()) 2584 { 2585 double nFactor = pDocShell->GetOutputFactor(); 2586 aPixel.X() = (long)( aPixel.X() * nFactor + 0.5 ); 2587 } | 1/************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance --- 2571 unchanged lines hidden (view full) --- 2580 rTabSett.maSplitPos, MapMode( MAP_TWIP ) ); //! Zoom? 2581 // #109648# - the test for use of printer metrics for text formatting here 2582 // effectively results in the nFactor = 1.0 regardless of the Option setting. 2583 if( pDocShell && SC_MOD()->GetInputOptions().GetTextWysiwyg()) 2584 { 2585 double nFactor = pDocShell->GetOutputFactor(); 2586 aPixel.X() = (long)( aPixel.X() * nFactor + 0.5 ); 2587 } |
2588 2589 bHSplit = bHSplit && aPixel.X() > 0; 2590 bVSplit = bVSplit && aPixel.Y() > 0; |
|
2588 if( bHSplit ) 2589 { 2590 rViewTab.eHSplitMode = SC_SPLIT_NORMAL; 2591 rViewTab.nHSplitPos = aPixel.X(); 2592 } 2593 if( bVSplit ) 2594 { 2595 rViewTab.eVSplitMode = SC_SPLIT_NORMAL; --- 580 unchanged lines hidden --- | 2591 if( bHSplit ) 2592 { 2593 rViewTab.eHSplitMode = SC_SPLIT_NORMAL; 2594 rViewTab.nHSplitPos = aPixel.X(); 2595 } 2596 if( bVSplit ) 2597 { 2598 rViewTab.eVSplitMode = SC_SPLIT_NORMAL; --- 580 unchanged lines hidden --- |