viewopt.cxx (4772d9af) viewopt.cxx (5ba3629c)
1/**************************************************************
1/**************************************************************
2 *
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
9 * with the License. You may obtain a copy of the License at
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
9 * with the License. You may obtain a copy of the License at
10 *
10 *
11 * http://www.apache.org/licenses/LICENSE-2.0
11 * http://www.apache.org/licenses/LICENSE-2.0
12 *
12 *
13 * Unless required by applicable law or agreed to in writing,
14 * software distributed under the License is distributed on an
15 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16 * KIND, either express or implied. See the License for the
17 * specific language governing permissions and limitations
18 * under the License.
13 * Unless required by applicable law or agreed to in writing,
14 * software distributed under the License is distributed on an
15 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16 * KIND, either express or implied. See the License for the
17 * specific language governing permissions and limitations
18 * under the License.
19 *
19 *
20 *************************************************************/
21
22
23
24// MARKER(update_precomp.py): autogen include statement, do not remove
25#include "precompiled_sw.hxx"
26
27

--- 190 unchanged lines hidden (view full) ---

218 bShowPlaceHolderFields( sal_True ),
219
220 nZoom( 100 ),
221 eZoom( SVX_ZOOM_PERCENT ),
222 nTblDest(TBL_DEST_CELL)
223{
224 // Initialisierung ist jetzt etwas einfacher
225 // alle Bits auf 0
20 *************************************************************/
21
22
23
24// MARKER(update_precomp.py): autogen include statement, do not remove
25#include "precompiled_sw.hxx"
26
27

--- 190 unchanged lines hidden (view full) ---

218 bShowPlaceHolderFields( sal_True ),
219
220 nZoom( 100 ),
221 eZoom( SVX_ZOOM_PERCENT ),
222 nTblDest(TBL_DEST_CELL)
223{
224 // Initialisierung ist jetzt etwas einfacher
225 // alle Bits auf 0
226 nCoreOptions =
227 VIEWOPT_1_HARDBLANK |
226 nCoreOptions =
227 VIEWOPT_1_HARDBLANK |
228 VIEWOPT_1_SOFTHYPH |
229 VIEWOPT_1_REF |
230 VIEWOPT_1_GRAPHIC |
228 VIEWOPT_1_SOFTHYPH |
229 VIEWOPT_1_REF |
230 VIEWOPT_1_GRAPHIC |
231 VIEWOPT_1_TABLE |
232 VIEWOPT_1_DRAW |
231 VIEWOPT_1_TABLE |
232 VIEWOPT_1_DRAW |
233 VIEWOPT_1_CONTROL |
234 VIEWOPT_1_PAGEBACK |
233 VIEWOPT_1_CONTROL |
234 VIEWOPT_1_PAGEBACK |
235 VIEWOPT_1_SOLIDMARKHDL | // default is enhanced handles
236 VIEWOPT_1_POSTITS;
235 VIEWOPT_1_POSTITS;
237
238 nCore2Options =
239 VIEWOPT_CORE2_BLACKFONT |
236
237 nCore2Options =
238 VIEWOPT_CORE2_BLACKFONT |
240 VIEWOPT_CORE2_HIDDENPARA |
241 VIEWOPT_CORE2_BIGMARKHDL; // default is big handles
239 VIEWOPT_CORE2_HIDDENPARA |
240 VIEWOPT_CORE2_BIGMARKHDL; // default is big handles
242
243 nUIOptions =
244 VIEWOPT_2_MODIFIED |
241
242 nUIOptions =
243 VIEWOPT_2_MODIFIED |
245 VIEWOPT_2_GRFKEEPZOOM |
246 VIEWOPT_2_ANY_RULER;
247
248 if(MEASURE_METRIC != SvtSysLocale().GetLocaleData().getMeasurementSystemEnum())
249 aSnapSize.Width() = aSnapSize.Height() = 720; // 1/2"
250 else
251 aSnapSize.Width() = aSnapSize.Height() = 567; // 1 cm
252 nDivisionX = nDivisionY = 1;

--- 402 unchanged lines hidden ---
244 VIEWOPT_2_GRFKEEPZOOM |
245 VIEWOPT_2_ANY_RULER;
246
247 if(MEASURE_METRIC != SvtSysLocale().GetLocaleData().getMeasurementSystemEnum())
248 aSnapSize.Width() = aSnapSize.Height() = 720; // 1/2"
249 else
250 aSnapSize.Width() = aSnapSize.Height() = 567; // 1 cm
251 nDivisionX = nDivisionY = 1;

--- 402 unchanged lines hidden ---