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#include <helpid.h> 24cdf0e10cSrcweir#include <dialog.hrc> 25cdf0e10cSrcweir#include <wordcountdialog.hrc> 26cdf0e10cSrcweirModalDialog DLG_WORDCOUNT 27cdf0e10cSrcweir{ 28cdf0e10cSrcweir HelpID = HID_DLG_WORDCOUNT ; 29cdf0e10cSrcweir OutputSize = TRUE ; 30cdf0e10cSrcweir SVLook = TRUE ; 31cdf0e10cSrcweir Size = MAP_APPFONT ( 170 , 108 ) ; 32cdf0e10cSrcweir Text [ en-US ] = "Word Count" ; 33cdf0e10cSrcweir Moveable = TRUE ; 34cdf0e10cSrcweir 35cdf0e10cSrcweir FixedLine FL_CURRENT 36cdf0e10cSrcweir { 37cdf0e10cSrcweir Pos = MAP_APPFONT ( 6 , 3 ) ; 38cdf0e10cSrcweir Size = MAP_APPFONT ( 158 , 8 ) ; 39cdf0e10cSrcweir Text [ en-US ] = "Current selection"; 40cdf0e10cSrcweir }; 41cdf0e10cSrcweir FixedText FT_CURRENTWORD 42cdf0e10cSrcweir { 43cdf0e10cSrcweir Pos = MAP_APPFONT ( 12 , 14 ) ; 44cdf0e10cSrcweir Size = MAP_APPFONT ( 80 , 8 ) ; 45cdf0e10cSrcweir Text [ en-US ] = "Words:"; 46cdf0e10cSrcweir }; 47cdf0e10cSrcweir FixedText FI_CURRENTWORD 48cdf0e10cSrcweir { 49cdf0e10cSrcweir Pos = MAP_APPFONT ( 111 , 14 ) ; 50cdf0e10cSrcweir Size = MAP_APPFONT ( 50 , 8 ) ; 51cdf0e10cSrcweir Right = TRUE; 52cdf0e10cSrcweir }; 53cdf0e10cSrcweir FixedText FT_CURRENTCHARACTER 54cdf0e10cSrcweir { 55cdf0e10cSrcweir Pos = MAP_APPFONT ( 12 , 26 ) ; 56cdf0e10cSrcweir Size = MAP_APPFONT ( 80 , 8 ) ; 57cdf0e10cSrcweir Text [ en-US ] = "Characters:"; 58cdf0e10cSrcweir }; 59cdf0e10cSrcweir FixedText FI_CURRENTCHARACTER 60cdf0e10cSrcweir { 61cdf0e10cSrcweir Pos = MAP_APPFONT ( 111 , 26 ) ; 62cdf0e10cSrcweir Size = MAP_APPFONT ( 50 , 8 ) ; 63cdf0e10cSrcweir Right = TRUE; 64cdf0e10cSrcweir }; 65cdf0e10cSrcweir FixedLine FL_DOC 66cdf0e10cSrcweir { 67cdf0e10cSrcweir Pos = MAP_APPFONT ( 6, 40 ) ; 68cdf0e10cSrcweir Size = MAP_APPFONT ( 158 , 8 ) ; 69cdf0e10cSrcweir Text [ en-US ] = "Whole document"; 70cdf0e10cSrcweir }; 71cdf0e10cSrcweir FixedText FT_DOCWORD 72cdf0e10cSrcweir { 73cdf0e10cSrcweir Pos = MAP_APPFONT ( 12, 51 ) ; 74cdf0e10cSrcweir Size = MAP_APPFONT ( 80 , 8 ) ; 75cdf0e10cSrcweir Text [ en-US ] = "Words:"; 76cdf0e10cSrcweir }; 77cdf0e10cSrcweir FixedText FI_DOCWORD 78cdf0e10cSrcweir { 79cdf0e10cSrcweir Pos = MAP_APPFONT ( 111 , 51 ) ; 80cdf0e10cSrcweir Size = MAP_APPFONT ( 50 , 8 ) ; 81cdf0e10cSrcweir Right = TRUE; 82cdf0e10cSrcweir }; 83cdf0e10cSrcweir FixedText FT_DOCCHARACTER 84cdf0e10cSrcweir { 85cdf0e10cSrcweir Pos = MAP_APPFONT ( 12 , 63 ) ; 86cdf0e10cSrcweir Size = MAP_APPFONT ( 80 , 8 ) ; 87cdf0e10cSrcweir Text [ en-US ] = "Characters:"; 88cdf0e10cSrcweir }; 89cdf0e10cSrcweir FixedText FI_DOCCHARACTER 90cdf0e10cSrcweir { 91cdf0e10cSrcweir Pos = MAP_APPFONT ( 111, 63 ) ; 92cdf0e10cSrcweir Size = MAP_APPFONT ( 50, 8 ) ; 93cdf0e10cSrcweir Right = TRUE; 94cdf0e10cSrcweir }; 95cdf0e10cSrcweir FixedLine FL_BOTTOM 96cdf0e10cSrcweir { 97cdf0e10cSrcweir Pos = MAP_APPFONT ( 6 , 77 ) ; 98cdf0e10cSrcweir Size = MAP_APPFONT ( 158 , 8 ) ; 99cdf0e10cSrcweir }; 100cdf0e10cSrcweir OKButton PB_OK 101cdf0e10cSrcweir { 102cdf0e10cSrcweir Pos = MAP_APPFONT ( 61 , 88 ) ; 103cdf0e10cSrcweir Size = MAP_APPFONT ( 50 , 14 ) ; 104cdf0e10cSrcweir DefButton = TRUE ; 105cdf0e10cSrcweir }; 106cdf0e10cSrcweir HelpButton PB_HELP 107cdf0e10cSrcweir { 108cdf0e10cSrcweir Pos = MAP_APPFONT ( 114 , 88 ) ; 109cdf0e10cSrcweir Size = MAP_APPFONT ( 50 , 14 ) ; 110cdf0e10cSrcweir }; 111cdf0e10cSrcweir}; 112