1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: PageNumber.src,v $
12 * This file is part of OpenOffice.org.
14 * OpenOffice.org is free software: you can redistribute it and/or modify
15 * it under the terms of the GNU Lesser General Public License version 3
16 * only, as published by the Free Software Foundation.
18 * OpenOffice.org is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU Lesser General Public License version 3 for more details
22 * (a copy is included in the LICENSE file that accompanied this code).
24 * You should have received a copy of the GNU Lesser General Public License
25 * version 3 along with OpenOffice.org. If not, see
26 * <http://www.openoffice.org/license.html>
27 * for a copy of the LGPLv3 License.
29 ************************************************************************/
30 #include "PageNumber.hrc"
31 #include "RptResId.hrc"
32 #include "helpids.hrc"
34 #include <svx/globlmn.hrc>
37 #include <svx/svxids.hrc>
41 ModalDialog RID_PAGENUMBERS
45 Size = MAP_APPFONT ( PAGE_WIDTH , PAGE_HEIGHT ) ;
46 Text [ en-US ] = "Page Numbers" ;
47 HelpId = HID_RPT_PAGENUMBERS_DLG;
53 Pos = MAP_APPFONT ( RELATED_CONTROLS , RELATED_CONTROLS ) ;
54 Size = MAP_APPFONT ( PAGE_WIDTH - 2*RELATED_CONTROLS, FIXEDTEXT_HEIGHT ) ;
55 Text [ en-US ] = "Format";
60 Pos = MAP_APPFONT ( UNRELATED_CONTROLS + RELATED_CONTROLS, 2*RELATED_CONTROLS + FIXEDTEXT_HEIGHT) ;
61 Size = MAP_APPFONT ( PAGE_WIDTH - 2*RELATED_CONTROLS , FIXEDTEXT_HEIGHT ) ;
64 Text [ en-US ] = "Page N";
66 RadioButton RB_PAGE_N_OF_M
68 Pos = MAP_APPFONT ( UNRELATED_CONTROLS + RELATED_CONTROLS, 3*RELATED_CONTROLS + 2*FIXEDTEXT_HEIGHT) ;
69 Size = MAP_APPFONT ( PAGE_WIDTH - 2*RELATED_CONTROLS , FIXEDTEXT_HEIGHT ) ;
70 Text [ en-US ] = "Page N of M";
75 Pos = MAP_APPFONT ( RELATED_CONTROLS , 3*RELATED_CONTROLS + UNRELATED_CONTROLS + 3*FIXEDTEXT_HEIGHT) ;
76 Size = MAP_APPFONT ( PAGE_WIDTH - 2*RELATED_CONTROLS , FIXEDTEXT_HEIGHT ) ;
77 Text [ en-US ] = "Position";
80 RadioButton RB_PAGE_TOPPAGE
82 Pos = MAP_APPFONT ( UNRELATED_CONTROLS + RELATED_CONTROLS, 4*RELATED_CONTROLS + UNRELATED_CONTROLS + 4*FIXEDTEXT_HEIGHT) ;
83 Size = MAP_APPFONT ( PAGE_WIDTH - 2*RELATED_CONTROLS , FIXEDTEXT_HEIGHT ) ;
86 Text [ en-US ] = "Top of Page (Header)";
88 RadioButton RB_PAGE_BOTTOMPAGE
90 Pos = MAP_APPFONT ( UNRELATED_CONTROLS + RELATED_CONTROLS, 5*RELATED_CONTROLS + UNRELATED_CONTROLS + 5*FIXEDTEXT_HEIGHT) ;
91 Size = MAP_APPFONT ( PAGE_WIDTH - 2*RELATED_CONTROLS , FIXEDTEXT_HEIGHT ) ;
92 Text [ en-US ] = "Bottom of Page (Footer)";
97 Pos = MAP_APPFONT ( RELATED_CONTROLS , 5*RELATED_CONTROLS + 2*UNRELATED_CONTROLS + 6*FIXEDTEXT_HEIGHT) ;
98 Size = MAP_APPFONT ( PAGE_WIDTH - 2*RELATED_CONTROLS , FIXEDTEXT_HEIGHT ) ;
99 Text [ en-US ] = "General";
102 FixedText FL_ALIGNMENT
104 Pos = MAP_APPFONT ( UNRELATED_CONTROLS , 6*RELATED_CONTROLS + 2*UNRELATED_CONTROLS + 7*FIXEDTEXT_HEIGHT) ;
105 Size = MAP_APPFONT ( FIXEDTEXT_WIDTH, FIXEDTEXT_HEIGHT ) ;
106 Text [ en-US ] = "Alignment:";
108 ListBox LST_ALIGNMENT
111 Pos = MAP_APPFONT( 2*UNRELATED_CONTROLS + FIXEDTEXT_WIDTH , 6*RELATED_CONTROLS + 2*UNRELATED_CONTROLS + 7*FIXEDTEXT_HEIGHT -1);
112 Size = MAP_APPFONT( LISTBOX_WIDTH, 60 );
116 StringList [ en-US ] =
118 < "Left" ; Default ; > ;
119 < "Center" ; Default ; > ;
120 < "Right" ; Default ; > ;
121 //< "Inside" ; Default ; > ;
122 //< "Outside" ; Default ; > ;
125 CheckBox CB_SHOWNUMBERONFIRSTPAGE
127 Pos = MAP_APPFONT ( UNRELATED_CONTROLS , 6*RELATED_CONTROLS + 3*UNRELATED_CONTROLS + 8*FIXEDTEXT_HEIGHT) ;
128 Size = MAP_APPFONT ( PAGE_WIDTH - 2*RELATED_CONTROLS , FIXEDTEXT_HEIGHT ) ;
130 Text [ en-US ] = "Show Number on First Page";
132 FixedLine FL_SEPARATOR1
134 Pos = MAP_APPFONT ( RELATED_CONTROLS , 6*RELATED_CONTROLS + 4*UNRELATED_CONTROLS + 9*FIXEDTEXT_HEIGHT ) ;
135 Size = MAP_APPFONT ( PAGE_WIDTH - 2*RELATED_CONTROLS , 1 ) ;
139 Pos = MAP_APPFONT ( UNRELATED_CONTROLS, 7*RELATED_CONTROLS + 4*UNRELATED_CONTROLS + 9*FIXEDTEXT_HEIGHT +1) ;
140 Size = MAP_APPFONT ( BUTTON_WIDTH , BUTTON_HEIGHT ) ;
144 CancelButton PB_CANCEL
146 Pos = MAP_APPFONT ( RELATED_CONTROLS + UNRELATED_CONTROLS + BUTTON_WIDTH , 7*RELATED_CONTROLS + 4*UNRELATED_CONTROLS + 9*FIXEDTEXT_HEIGHT +1) ;
147 Size = MAP_APPFONT ( BUTTON_WIDTH , BUTTON_HEIGHT ) ;
153 Pos = MAP_APPFONT ( RELATED_CONTROLS + 2*UNRELATED_CONTROLS + 2*BUTTON_WIDTH , 7*RELATED_CONTROLS + 4*UNRELATED_CONTROLS + 9*FIXEDTEXT_HEIGHT +1) ;
154 Size = MAP_APPFONT ( BUTTON_WIDTH , BUTTON_HEIGHT ) ;
155 Text [ en-US ] = "~Help";
158 String STR_RPT_PN_PAGE
160 Text [ en-US ] = "\"Page \" & #PAGENUMBER#" ;
161 Text [ x-comment ] = "The space after the word is no error. #PAGENUMBER# is a replacement and & must not be translated as well as \"";
163 String STR_RPT_PN_PAGE_OF
165 Text [ en-US ] = " & \" of \" & #PAGECOUNT#" ;
166 Text [ x-comment ] = "The space before and after the word is no error. #PAGECOUNT# is a replacement and & must not be translated as well as \"";