1*721f296aSOliver-Rainer Wittmann/************************************************************** 2*721f296aSOliver-Rainer Wittmann* 3*721f296aSOliver-Rainer Wittmann* Licensed to the Apache Software Foundation (ASF) under one 4*721f296aSOliver-Rainer Wittmann* or more contributor license agreements. See the NOTICE file 5*721f296aSOliver-Rainer Wittmann* distributed with this work for additional information 6*721f296aSOliver-Rainer Wittmann* regarding copyright ownership. The ASF licenses this file 7*721f296aSOliver-Rainer Wittmann* to you under the Apache License, Version 2.0 (the 8*721f296aSOliver-Rainer Wittmann* "License"); you may not use this file except in compliance 9*721f296aSOliver-Rainer Wittmann* with the License. You may obtain a copy of the License at 10*721f296aSOliver-Rainer Wittmann* 11*721f296aSOliver-Rainer Wittmann* http://www.apache.org/licenses/LICENSE-2.0 12*721f296aSOliver-Rainer Wittmann* 13*721f296aSOliver-Rainer Wittmann* Unless required by applicable law or agreed to in writing, 14*721f296aSOliver-Rainer Wittmann* software distributed under the License is distributed on an 15*721f296aSOliver-Rainer Wittmann* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16*721f296aSOliver-Rainer Wittmann* KIND, either express or implied. See the License for the 17*721f296aSOliver-Rainer Wittmann* specific language governing permissions and limitations 18*721f296aSOliver-Rainer Wittmann* under the License. 19*721f296aSOliver-Rainer Wittmann* 20*721f296aSOliver-Rainer Wittmann*************************************************************/ 21*721f296aSOliver-Rainer Wittmann 22*721f296aSOliver-Rainer Wittmann#include <sfx2/sidebar/propertypanel.hrc> 23*721f296aSOliver-Rainer Wittmann#include "PropertyPanel.hrc" 24*721f296aSOliver-Rainer Wittmann#include "WrapPropertyPanel.hrc" 25*721f296aSOliver-Rainer Wittmann#include "helpid.h" 26*721f296aSOliver-Rainer Wittmann 27*721f296aSOliver-Rainer Wittmann#define IMAGEBUTTON_WIDTH 16 28*721f296aSOliver-Rainer Wittmann#define IMAGEBUTTON_HEIGH 18 29*721f296aSOliver-Rainer Wittmann#define IMAGEBUTTON_GAP 1 30*721f296aSOliver-Rainer Wittmann 31*721f296aSOliver-Rainer WittmannControl RID_PROPERTYPANEL_SWOBJWRAP_PAGE 32*721f296aSOliver-Rainer Wittmann{ 33*721f296aSOliver-Rainer Wittmann OutputSize = TRUE; 34*721f296aSOliver-Rainer Wittmann DialogControl = TRUE; 35*721f296aSOliver-Rainer Wittmann Border = FALSE; 36*721f296aSOliver-Rainer Wittmann 37*721f296aSOliver-Rainer Wittmann Size = MAP_APPFONT( PROPERTYPAGE_WIDTH, SECTIONPAGE_MARGIN_VERTICAL_BOT + SECTIONPAGE_MARGIN_VERTICAL_TOP + IMAGEBUTTON_HEIGH ); 38*721f296aSOliver-Rainer Wittmann HelpID = HID_PROPERTYPANEL_WRAP_SECTION ; 39*721f296aSOliver-Rainer Wittmann Text [ en-US ] = "Wrap"; 40*721f296aSOliver-Rainer Wittmann 41*721f296aSOliver-Rainer Wittmann 42*721f296aSOliver-Rainer Wittmann ImageRadioButton RB_NO_WRAP 43*721f296aSOliver-Rainer Wittmann { 44*721f296aSOliver-Rainer Wittmann Pos = MAP_APPFONT ( SECTIONPAGE_MARGIN_HORIZONTAL, SECTIONPAGE_MARGIN_VERTICAL_TOP ); 45*721f296aSOliver-Rainer Wittmann Size = MAP_APPFONT ( IMAGEBUTTON_WIDTH , IMAGEBUTTON_HEIGH ); 46*721f296aSOliver-Rainer Wittmann TopImage = True; 47*721f296aSOliver-Rainer Wittmann HelpID = HID_PROPERTYPANEL_WRAP_RB_NO_WRAP ; 48*721f296aSOliver-Rainer Wittmann QuickHelpText [ en-US ] = "None"; 49*721f296aSOliver-Rainer Wittmann }; 50*721f296aSOliver-Rainer Wittmann ImageRadioButton RB_WRAP_LEFT 51*721f296aSOliver-Rainer Wittmann { 52*721f296aSOliver-Rainer Wittmann Pos = MAP_APPFONT ( SECTIONPAGE_MARGIN_HORIZONTAL + IMAGEBUTTON_WIDTH + IMAGEBUTTON_GAP, SECTIONPAGE_MARGIN_VERTICAL_TOP ); 53*721f296aSOliver-Rainer Wittmann Size = MAP_APPFONT ( IMAGEBUTTON_WIDTH , IMAGEBUTTON_HEIGH ); 54*721f296aSOliver-Rainer Wittmann TopImage = True; 55*721f296aSOliver-Rainer Wittmann HelpID = HID_PROPERTYPANEL_WRAP_RB_WRAP_LEFT ; 56*721f296aSOliver-Rainer Wittmann QuickHelpText [ en-US ] = "Before"; 57*721f296aSOliver-Rainer Wittmann }; 58*721f296aSOliver-Rainer Wittmann ImageRadioButton RB_WRAP_RIGHT 59*721f296aSOliver-Rainer Wittmann { 60*721f296aSOliver-Rainer Wittmann Pos = MAP_APPFONT ( SECTIONPAGE_MARGIN_HORIZONTAL + (IMAGEBUTTON_WIDTH + IMAGEBUTTON_GAP)*2 , SECTIONPAGE_MARGIN_VERTICAL_TOP ); 61*721f296aSOliver-Rainer Wittmann Size = MAP_APPFONT ( IMAGEBUTTON_WIDTH , IMAGEBUTTON_HEIGH ); 62*721f296aSOliver-Rainer Wittmann TopImage = True; 63*721f296aSOliver-Rainer Wittmann HelpID = HID_PROPERTYPANEL_WRAP_RB_WRAP_RIGHT ; 64*721f296aSOliver-Rainer Wittmann QuickHelpText [ en-US ] = "After"; 65*721f296aSOliver-Rainer Wittmann }; 66*721f296aSOliver-Rainer Wittmann ImageRadioButton RB_WRAP_PARALLEL 67*721f296aSOliver-Rainer Wittmann { 68*721f296aSOliver-Rainer Wittmann Pos = MAP_APPFONT ( SECTIONPAGE_MARGIN_HORIZONTAL + (IMAGEBUTTON_WIDTH + IMAGEBUTTON_GAP)*3 , SECTIONPAGE_MARGIN_VERTICAL_TOP ); 69*721f296aSOliver-Rainer Wittmann Size = MAP_APPFONT (IMAGEBUTTON_WIDTH , IMAGEBUTTON_HEIGH ); 70*721f296aSOliver-Rainer Wittmann TopImage = True; 71*721f296aSOliver-Rainer Wittmann HelpID = HID_PROPERTYPANEL_WRAP_RB_WRAP_PARALLEL ; 72*721f296aSOliver-Rainer Wittmann QuickHelpText [ en-US ] = "Parallel"; 73*721f296aSOliver-Rainer Wittmann }; 74*721f296aSOliver-Rainer Wittmann ImageRadioButton RB_WRAP_THROUGH 75*721f296aSOliver-Rainer Wittmann { 76*721f296aSOliver-Rainer Wittmann Pos = MAP_APPFONT ( SECTIONPAGE_MARGIN_HORIZONTAL + (IMAGEBUTTON_WIDTH + IMAGEBUTTON_GAP)*4 , SECTIONPAGE_MARGIN_VERTICAL_TOP ); 77*721f296aSOliver-Rainer Wittmann Size = MAP_APPFONT (IMAGEBUTTON_WIDTH , IMAGEBUTTON_HEIGH ); 78*721f296aSOliver-Rainer Wittmann TopImage = True; 79*721f296aSOliver-Rainer Wittmann HelpID = HID_PROPERTYPANEL_WRAP_RB_WRAP_THROUGH ; 80*721f296aSOliver-Rainer Wittmann QuickHelpText [ en-US ] = "Through"; 81*721f296aSOliver-Rainer Wittmann }; 82*721f296aSOliver-Rainer Wittmann ImageRadioButton RB_WRAP_IDEAL 83*721f296aSOliver-Rainer Wittmann { 84*721f296aSOliver-Rainer Wittmann Pos = MAP_APPFONT ( SECTIONPAGE_MARGIN_HORIZONTAL + (IMAGEBUTTON_WIDTH + IMAGEBUTTON_GAP)*5 , SECTIONPAGE_MARGIN_VERTICAL_TOP ); 85*721f296aSOliver-Rainer Wittmann Size = MAP_APPFONT (IMAGEBUTTON_WIDTH , IMAGEBUTTON_HEIGH ); 86*721f296aSOliver-Rainer Wittmann TopImage = True; 87*721f296aSOliver-Rainer Wittmann HelpID = HID_PROPERTYPANEL_WRAP_RB_WRAP_IDEAL ; 88*721f296aSOliver-Rainer Wittmann QuickHelpText [ en-US ] = "Optimal"; 89*721f296aSOliver-Rainer Wittmann }; 90*721f296aSOliver-Rainer Wittmann}; 91