17a32b0c8SAndre Fischer/************************************************************** 27a32b0c8SAndre Fischer * 37a32b0c8SAndre Fischer * Licensed to the Apache Software Foundation (ASF) under one 47a32b0c8SAndre Fischer * or more contributor license agreements. See the NOTICE file 57a32b0c8SAndre Fischer * distributed with this work for additional information 67a32b0c8SAndre Fischer * regarding copyright ownership. The ASF licenses this file 77a32b0c8SAndre Fischer * to you under the Apache License, Version 2.0 (the 87a32b0c8SAndre Fischer * "License"); you may not use this file except in compliance 97a32b0c8SAndre Fischer * with the License. You may obtain a copy of the License at 107a32b0c8SAndre Fischer * 117a32b0c8SAndre Fischer * http://www.apache.org/licenses/LICENSE-2.0 127a32b0c8SAndre Fischer * 137a32b0c8SAndre Fischer * Unless required by applicable law or agreed to in writing, 147a32b0c8SAndre Fischer * software distributed under the License is distributed on an 157a32b0c8SAndre Fischer * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 167a32b0c8SAndre Fischer * KIND, either express or implied. See the License for the 177a32b0c8SAndre Fischer * specific language governing permissions and limitations 187a32b0c8SAndre Fischer * under the License. 197a32b0c8SAndre Fischer * 207a32b0c8SAndre Fischer *************************************************************/ 217a32b0c8SAndre Fischer 227a32b0c8SAndre Fischer#ifndef __com_sun_star_ui_LayoutSize_idl__ 237a32b0c8SAndre Fischer#define __com_sun_star_ui_LayoutSize_idl__ 247a32b0c8SAndre Fischer 257a32b0c8SAndre Fischermodule com { module sun { module star { module ui { 267a32b0c8SAndre Fischer 277a32b0c8SAndre Fischer/** Size used for layouting windows. 287a32b0c8SAndre Fischer It specifies a range of valid values and a preferred value. 29*d562cd87SAndre Fischer The values must not violate the relation 0 <= Minimum <= Preferred <= Maximum. 307a32b0c8SAndre Fischer 317a32b0c8SAndre Fischer @param Minimum 327a32b0c8SAndre Fischer Zero or positive. The value itself is included in the valid 337a32b0c8SAndre Fischer range. 347a32b0c8SAndre Fischer @param Maximum 357a32b0c8SAndre Fischer A value larger than or equal to Minimum. 367a32b0c8SAndre Fischer The special value -1 means that there is no upper bound. Every value larger than or 377a32b0c8SAndre Fischer equal to Minimum is valid. 387a32b0c8SAndre Fischer @param Preferred 397a32b0c8SAndre Fischer The preferred size inside the valid range. 407a32b0c8SAndre Fischer*/ 417a32b0c8SAndre Fischerstruct LayoutSize 427a32b0c8SAndre Fischer{ 437a32b0c8SAndre Fischer long Minimum; 447a32b0c8SAndre Fischer long Maximum; 457a32b0c8SAndre Fischer long Preferred; 467a32b0c8SAndre Fischer}; 477a32b0c8SAndre Fischer 487a32b0c8SAndre Fischer}; }; }; }; 497a32b0c8SAndre Fischer 507a32b0c8SAndre Fischer#endif 51