1*8660f102SAndrew Rist/************************************************************** 2cdf0e10cSrcweir * 3*8660f102SAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one 4*8660f102SAndrew Rist * or more contributor license agreements. See the NOTICE file 5*8660f102SAndrew Rist * distributed with this work for additional information 6*8660f102SAndrew Rist * regarding copyright ownership. The ASF licenses this file 7*8660f102SAndrew Rist * to you under the Apache License, Version 2.0 (the 8*8660f102SAndrew Rist * "License"); you may not use this file except in compliance 9*8660f102SAndrew Rist * with the License. You may obtain a copy of the License at 10*8660f102SAndrew Rist * 11*8660f102SAndrew Rist * http://www.apache.org/licenses/LICENSE-2.0 12*8660f102SAndrew Rist * 13*8660f102SAndrew Rist * Unless required by applicable law or agreed to in writing, 14*8660f102SAndrew Rist * software distributed under the License is distributed on an 15*8660f102SAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16*8660f102SAndrew Rist * KIND, either express or implied. See the License for the 17*8660f102SAndrew Rist * specific language governing permissions and limitations 18*8660f102SAndrew Rist * under the License. 19*8660f102SAndrew Rist * 20*8660f102SAndrew Rist *************************************************************/ 21*8660f102SAndrew Rist 22*8660f102SAndrew Rist 23cdf0e10cSrcweir 24cdf0e10cSrcweir#include <svx/svxids.hrc> 25cdf0e10cSrcweir#include "pview.hrc" 26cdf0e10cSrcweir#include "helpid.h" 27cdf0e10cSrcweir#include "cmdid.h" 28cdf0e10cSrcweir 29cdf0e10cSrcweirModalDialog DLG_PAGEPREVIEW_ZOOM 30cdf0e10cSrcweir{ 31cdf0e10cSrcweir HelpID = HID_PPREV_ZOOM ; 32cdf0e10cSrcweir OutputSize = TRUE ; 33cdf0e10cSrcweir SVLook = TRUE ; 34cdf0e10cSrcweir Size = MAP_APPFONT ( 141 , 69 ) ; 35cdf0e10cSrcweir Text [ en-US ] = "Multiple Pages" ; 36cdf0e10cSrcweir Moveable = TRUE ; 37cdf0e10cSrcweir FixedText FT_COL 38cdf0e10cSrcweir { 39cdf0e10cSrcweir Pos = MAP_APPFONT ( 12 , 34 ) ; 40cdf0e10cSrcweir Size = MAP_APPFONT ( 27 , 10 ) ; 41cdf0e10cSrcweir Text [ en-US ] = "~Columns" ; 42cdf0e10cSrcweir Left = TRUE ; 43cdf0e10cSrcweir }; 44cdf0e10cSrcweir FixedText FT_ROW 45cdf0e10cSrcweir { 46cdf0e10cSrcweir Pos = MAP_APPFONT ( 12 , 14 ) ; 47cdf0e10cSrcweir Size = MAP_APPFONT ( 27 , 10 ) ; 48cdf0e10cSrcweir Text [ en-US ] = "~Rows" ; 49cdf0e10cSrcweir Left = TRUE ; 50cdf0e10cSrcweir }; 51cdf0e10cSrcweir NumericField ED_COL 52cdf0e10cSrcweir { 53cdf0e10cSrcweir HelpID = "sw:NumericField:DLG_PAGEPREVIEW_ZOOM:ED_COL"; 54cdf0e10cSrcweir Border = TRUE ; 55cdf0e10cSrcweir Size = MAP_APPFONT ( 28 , 12 ) ; 56cdf0e10cSrcweir Pos = MAP_APPFONT ( 48 , 34 ) ; 57cdf0e10cSrcweir TabStop = TRUE ; 58cdf0e10cSrcweir Left = TRUE ; 59cdf0e10cSrcweir Repeat = TRUE ; 60cdf0e10cSrcweir Spin = TRUE ; 61cdf0e10cSrcweir Minimum = PVIEW_MIN_COL ; 62cdf0e10cSrcweir Maximum = PVIEW_MAX_COL ; 63cdf0e10cSrcweir Value = 1 ; 64cdf0e10cSrcweir First = PVIEW_MIN_COL ; 65cdf0e10cSrcweir Last = PVIEW_MAX_COL ; 66cdf0e10cSrcweir }; 67cdf0e10cSrcweir NumericField ED_ROW 68cdf0e10cSrcweir { 69cdf0e10cSrcweir HelpID = "sw:NumericField:DLG_PAGEPREVIEW_ZOOM:ED_ROW"; 70cdf0e10cSrcweir Border = TRUE ; 71cdf0e10cSrcweir Pos = MAP_APPFONT ( 48 , 13 ) ; 72cdf0e10cSrcweir Size = MAP_APPFONT ( 28 , 12 ) ; 73cdf0e10cSrcweir TabStop = TRUE ; 74cdf0e10cSrcweir Left = TRUE ; 75cdf0e10cSrcweir Repeat = TRUE ; 76cdf0e10cSrcweir Spin = TRUE ; 77cdf0e10cSrcweir Minimum = PVIEW_MIN_ROW ; 78cdf0e10cSrcweir Maximum = PVIEW_MAX_ROW ; 79cdf0e10cSrcweir Value = 1 ; 80cdf0e10cSrcweir First = PVIEW_MIN_ROW ; 81cdf0e10cSrcweir Last = PVIEW_MAX_ROW ; 82cdf0e10cSrcweir }; 83cdf0e10cSrcweir OKButton BT_OK 84cdf0e10cSrcweir { 85cdf0e10cSrcweir Pos = MAP_APPFONT ( 88 , 6 ) ; 86cdf0e10cSrcweir Size = MAP_APPFONT ( 50 , 14 ) ; 87cdf0e10cSrcweir TabStop = TRUE ; 88cdf0e10cSrcweir DefButton = TRUE ; 89cdf0e10cSrcweir }; 90cdf0e10cSrcweir CancelButton BT_CANCEL 91cdf0e10cSrcweir { 92cdf0e10cSrcweir Pos = MAP_APPFONT ( 88 , 23 ) ; 93cdf0e10cSrcweir Size = MAP_APPFONT ( 50 , 14 ) ; 94cdf0e10cSrcweir TabStop = TRUE ; 95cdf0e10cSrcweir }; 96cdf0e10cSrcweir HelpButton BT_HELP 97cdf0e10cSrcweir { 98cdf0e10cSrcweir Pos = MAP_APPFONT ( 88 , 49 ) ; 99cdf0e10cSrcweir Size = MAP_APPFONT ( 50 , 14 ) ; 100cdf0e10cSrcweir TabStop = TRUE ; 101cdf0e10cSrcweir }; 102cdf0e10cSrcweir}; 103cdf0e10cSrcweirString RID_PVIEW_TOOLBOX 104cdf0e10cSrcweir{ 105cdf0e10cSrcweir Text [ en-US ] = "Page Preview" ; 106cdf0e10cSrcweir}; 107cdf0e10cSrcweir 108