1721f296aSOliver-Rainer Wittmann/************************************************************** 2721f296aSOliver-Rainer Wittmann* 3721f296aSOliver-Rainer Wittmann* Licensed to the Apache Software Foundation (ASF) under one 4721f296aSOliver-Rainer Wittmann* or more contributor license agreements. See the NOTICE file 5721f296aSOliver-Rainer Wittmann* distributed with this work for additional information 6721f296aSOliver-Rainer Wittmann* regarding copyright ownership. The ASF licenses this file 7721f296aSOliver-Rainer Wittmann* to you under the Apache License, Version 2.0 (the 8721f296aSOliver-Rainer Wittmann* "License"); you may not use this file except in compliance 9721f296aSOliver-Rainer Wittmann* with the License. You may obtain a copy of the License at 10721f296aSOliver-Rainer Wittmann* 11721f296aSOliver-Rainer Wittmann* http://www.apache.org/licenses/LICENSE-2.0 12721f296aSOliver-Rainer Wittmann* 13721f296aSOliver-Rainer Wittmann* Unless required by applicable law or agreed to in writing, 14721f296aSOliver-Rainer Wittmann* software distributed under the License is distributed on an 15721f296aSOliver-Rainer Wittmann* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16721f296aSOliver-Rainer Wittmann* KIND, either express or implied. See the License for the 17721f296aSOliver-Rainer Wittmann* specific language governing permissions and limitations 18721f296aSOliver-Rainer Wittmann* under the License. 19721f296aSOliver-Rainer Wittmann* 20721f296aSOliver-Rainer Wittmann*************************************************************/ 21721f296aSOliver-Rainer Wittmann 22*d29c2fc2SAndre Fischer#include <sfx2/sidebar/ResourceDefinitions.hrc> 23721f296aSOliver-Rainer Wittmann#include "PropertyPanel.hrc" 24721f296aSOliver-Rainer Wittmann#include "WrapPropertyPanel.hrc" 25721f296aSOliver-Rainer Wittmann#include "helpid.h" 26721f296aSOliver-Rainer Wittmann 27721f296aSOliver-Rainer Wittmann#define IMAGEBUTTON_WIDTH 16 28721f296aSOliver-Rainer Wittmann#define IMAGEBUTTON_HEIGH 18 29721f296aSOliver-Rainer Wittmann#define IMAGEBUTTON_GAP 1 30721f296aSOliver-Rainer Wittmann 31721f296aSOliver-Rainer WittmannControl RID_PROPERTYPANEL_SWOBJWRAP_PAGE 32721f296aSOliver-Rainer Wittmann{ 33721f296aSOliver-Rainer Wittmann OutputSize = TRUE; 34721f296aSOliver-Rainer Wittmann DialogControl = TRUE; 35721f296aSOliver-Rainer Wittmann Border = FALSE; 36721f296aSOliver-Rainer Wittmann 37721f296aSOliver-Rainer Wittmann Size = MAP_APPFONT( PROPERTYPAGE_WIDTH, SECTIONPAGE_MARGIN_VERTICAL_BOT + SECTIONPAGE_MARGIN_VERTICAL_TOP + IMAGEBUTTON_HEIGH ); 38721f296aSOliver-Rainer Wittmann HelpID = HID_PROPERTYPANEL_WRAP_SECTION ; 39721f296aSOliver-Rainer Wittmann Text [ en-US ] = "Wrap"; 40721f296aSOliver-Rainer Wittmann 41721f296aSOliver-Rainer Wittmann 42721f296aSOliver-Rainer Wittmann ImageRadioButton RB_NO_WRAP 43721f296aSOliver-Rainer Wittmann { 44721f296aSOliver-Rainer Wittmann Pos = MAP_APPFONT ( SECTIONPAGE_MARGIN_HORIZONTAL, SECTIONPAGE_MARGIN_VERTICAL_TOP ); 45721f296aSOliver-Rainer Wittmann Size = MAP_APPFONT ( IMAGEBUTTON_WIDTH , IMAGEBUTTON_HEIGH ); 46721f296aSOliver-Rainer Wittmann TopImage = True; 47721f296aSOliver-Rainer Wittmann HelpID = HID_PROPERTYPANEL_WRAP_RB_NO_WRAP ; 48721f296aSOliver-Rainer Wittmann QuickHelpText [ en-US ] = "None"; 49721f296aSOliver-Rainer Wittmann }; 50721f296aSOliver-Rainer Wittmann ImageRadioButton RB_WRAP_LEFT 51721f296aSOliver-Rainer Wittmann { 52721f296aSOliver-Rainer Wittmann Pos = MAP_APPFONT ( SECTIONPAGE_MARGIN_HORIZONTAL + IMAGEBUTTON_WIDTH + IMAGEBUTTON_GAP, SECTIONPAGE_MARGIN_VERTICAL_TOP ); 53721f296aSOliver-Rainer Wittmann Size = MAP_APPFONT ( IMAGEBUTTON_WIDTH , IMAGEBUTTON_HEIGH ); 54721f296aSOliver-Rainer Wittmann TopImage = True; 55721f296aSOliver-Rainer Wittmann HelpID = HID_PROPERTYPANEL_WRAP_RB_WRAP_LEFT ; 56721f296aSOliver-Rainer Wittmann QuickHelpText [ en-US ] = "Before"; 57721f296aSOliver-Rainer Wittmann }; 58721f296aSOliver-Rainer Wittmann ImageRadioButton RB_WRAP_RIGHT 59721f296aSOliver-Rainer Wittmann { 60721f296aSOliver-Rainer Wittmann Pos = MAP_APPFONT ( SECTIONPAGE_MARGIN_HORIZONTAL + (IMAGEBUTTON_WIDTH + IMAGEBUTTON_GAP)*2 , SECTIONPAGE_MARGIN_VERTICAL_TOP ); 61721f296aSOliver-Rainer Wittmann Size = MAP_APPFONT ( IMAGEBUTTON_WIDTH , IMAGEBUTTON_HEIGH ); 62721f296aSOliver-Rainer Wittmann TopImage = True; 63721f296aSOliver-Rainer Wittmann HelpID = HID_PROPERTYPANEL_WRAP_RB_WRAP_RIGHT ; 64721f296aSOliver-Rainer Wittmann QuickHelpText [ en-US ] = "After"; 65721f296aSOliver-Rainer Wittmann }; 66721f296aSOliver-Rainer Wittmann ImageRadioButton RB_WRAP_PARALLEL 67721f296aSOliver-Rainer Wittmann { 68721f296aSOliver-Rainer Wittmann Pos = MAP_APPFONT ( SECTIONPAGE_MARGIN_HORIZONTAL + (IMAGEBUTTON_WIDTH + IMAGEBUTTON_GAP)*3 , SECTIONPAGE_MARGIN_VERTICAL_TOP ); 69721f296aSOliver-Rainer Wittmann Size = MAP_APPFONT (IMAGEBUTTON_WIDTH , IMAGEBUTTON_HEIGH ); 70721f296aSOliver-Rainer Wittmann TopImage = True; 71721f296aSOliver-Rainer Wittmann HelpID = HID_PROPERTYPANEL_WRAP_RB_WRAP_PARALLEL ; 72721f296aSOliver-Rainer Wittmann QuickHelpText [ en-US ] = "Parallel"; 73721f296aSOliver-Rainer Wittmann }; 74721f296aSOliver-Rainer Wittmann ImageRadioButton RB_WRAP_THROUGH 75721f296aSOliver-Rainer Wittmann { 76721f296aSOliver-Rainer Wittmann Pos = MAP_APPFONT ( SECTIONPAGE_MARGIN_HORIZONTAL + (IMAGEBUTTON_WIDTH + IMAGEBUTTON_GAP)*4 , SECTIONPAGE_MARGIN_VERTICAL_TOP ); 77721f296aSOliver-Rainer Wittmann Size = MAP_APPFONT (IMAGEBUTTON_WIDTH , IMAGEBUTTON_HEIGH ); 78721f296aSOliver-Rainer Wittmann TopImage = True; 79721f296aSOliver-Rainer Wittmann HelpID = HID_PROPERTYPANEL_WRAP_RB_WRAP_THROUGH ; 80721f296aSOliver-Rainer Wittmann QuickHelpText [ en-US ] = "Through"; 81721f296aSOliver-Rainer Wittmann }; 82721f296aSOliver-Rainer Wittmann ImageRadioButton RB_WRAP_IDEAL 83721f296aSOliver-Rainer Wittmann { 84721f296aSOliver-Rainer Wittmann Pos = MAP_APPFONT ( SECTIONPAGE_MARGIN_HORIZONTAL + (IMAGEBUTTON_WIDTH + IMAGEBUTTON_GAP)*5 , SECTIONPAGE_MARGIN_VERTICAL_TOP ); 85721f296aSOliver-Rainer Wittmann Size = MAP_APPFONT (IMAGEBUTTON_WIDTH , IMAGEBUTTON_HEIGH ); 86721f296aSOliver-Rainer Wittmann TopImage = True; 87721f296aSOliver-Rainer Wittmann HelpID = HID_PROPERTYPANEL_WRAP_RB_WRAP_IDEAL ; 88721f296aSOliver-Rainer Wittmann QuickHelpText [ en-US ] = "Optimal"; 89721f296aSOliver-Rainer Wittmann }; 90721f296aSOliver-Rainer Wittmann}; 91