1*b63233d8Sdamjan/************************************************************** 2*b63233d8Sdamjan * 3*b63233d8Sdamjan * Licensed to the Apache Software Foundation (ASF) under one 4*b63233d8Sdamjan * or more contributor license agreements. See the NOTICE file 5*b63233d8Sdamjan * distributed with this work for additional information 6*b63233d8Sdamjan * regarding copyright ownership. The ASF licenses this file 7*b63233d8Sdamjan * to you under the Apache License, Version 2.0 (the 8*b63233d8Sdamjan * "License"); you may not use this file except in compliance 9*b63233d8Sdamjan * with the License. You may obtain a copy of the License at 10*b63233d8Sdamjan * 11*b63233d8Sdamjan * http://www.apache.org/licenses/LICENSE-2.0 12*b63233d8Sdamjan * 13*b63233d8Sdamjan * Unless required by applicable law or agreed to in writing, 14*b63233d8Sdamjan * software distributed under the License is distributed on an 15*b63233d8Sdamjan * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16*b63233d8Sdamjan * KIND, either express or implied. See the License for the 17*b63233d8Sdamjan * specific language governing permissions and limitations 18*b63233d8Sdamjan * under the License. 19*b63233d8Sdamjan * 20*b63233d8Sdamjan *************************************************************/ 21*b63233d8Sdamjan 22*b63233d8Sdamjan 23*b63233d8Sdamjan 24*b63233d8Sdamjan#ifndef __com_sun_star_drawing_XSlideSorterBase_idl__ 25*b63233d8Sdamjan#define __com_sun_star_drawing_XSlideSorterBase_idl__ 26*b63233d8Sdamjan 27*b63233d8Sdamjan#ifndef __com_sun_star_drawing_framework_XView_idl__ 28*b63233d8Sdamjan#include <com/sun/star/drawing/framework/XView.idl> 29*b63233d8Sdamjan#endif 30*b63233d8Sdamjan#ifndef __com_sun_star_drawing_XDrawView_idl__ 31*b63233d8Sdamjan#include <com/sun/star/drawing/XDrawView.idl> 32*b63233d8Sdamjan#endif 33*b63233d8Sdamjan#ifndef __com_sun_star_awt_XWindow_idl__ 34*b63233d8Sdamjan#include <com/sun/star/awt/XWindow.idl> 35*b63233d8Sdamjan#endif 36*b63233d8Sdamjan#ifndef __com_sun_star_container_XIndexAccess_idl__ 37*b63233d8Sdamjan#include <com/sun/star/container/XIndexAccess.idl> 38*b63233d8Sdamjan#endif 39*b63233d8Sdamjan#ifndef __com_sun_star_frame_XController_idl__ 40*b63233d8Sdamjan#include <com/sun/star/frame/XController.idl> 41*b63233d8Sdamjan#endif 42*b63233d8Sdamjan#ifndef __com_sun_star_util_Color_idl__ 43*b63233d8Sdamjan#include <com/sun/star/util/Color.idl> 44*b63233d8Sdamjan#endif 45*b63233d8Sdamjan 46*b63233d8Sdamjanmodule com { module sun { module star { module drawing { 47*b63233d8Sdamjan 48*b63233d8Sdamjan/** This interface exists only because services do not directly support 49*b63233d8Sdamjan multiple inheritance and attributes. 50*b63233d8Sdamjan <p>It provides the interfaces and attributes that every object that 51*b63233d8Sdamjan implements the <type>SlideSorter</type> service.</p> 52*b63233d8Sdamjan*/ 53*b63233d8Sdamjaninterface XSlideSorterBase 54*b63233d8Sdamjan{ 55*b63233d8Sdamjan /** This interface is included to mark a <type>SlideSorter</type> object 56*b63233d8Sdamjan as view of the drawing framework and to provide a 57*b63233d8Sdamjan <type>ResourceId</type>. 58*b63233d8Sdamjan */ 59*b63233d8Sdamjan interface ::com::sun::star::drawing::framework::XView; 60*b63233d8Sdamjan 61*b63233d8Sdamjan /** The <type>XDrawView</type> interface is included to provide access 62*b63233d8Sdamjan to the current slide (especially write access). 63*b63233d8Sdamjan */ 64*b63233d8Sdamjan interface ::com::sun::star::drawing::XDrawView; 65*b63233d8Sdamjan 66*b63233d8Sdamjan /** The set of slides that are displayed by the implementing object. 67*b63233d8Sdamjan <p>The default value is the set of all slides of the document for 68*b63233d8Sdamjan which a slide sorter is created.</p> 69*b63233d8Sdamjan */ 70*b63233d8Sdamjan [attribute] ::com::sun::star::container::XIndexAccess DocumentSlides; 71*b63233d8Sdamjan 72*b63233d8Sdamjan /** Set this flag to <TRUE/> in order to have the current slide 73*b63233d8Sdamjan highlighted. 74*b63233d8Sdamjan <p>The default value is <FALSE/>.</p> 75*b63233d8Sdamjan */ 76*b63233d8Sdamjan [attribute] boolean IsHighlightCurrentSlide; 77*b63233d8Sdamjan 78*b63233d8Sdamjan /** Set this flag to <TRUE/> in order to visualize the selection of 79*b63233d8Sdamjan slides (typically a bold frame around the selected slides). 80*b63233d8Sdamjan <p>The default value is <TRUE/>.</p> 81*b63233d8Sdamjan */ 82*b63233d8Sdamjan [attribute] boolean IsShowSelection; 83*b63233d8Sdamjan 84*b63233d8Sdamjan /** Set this flag to <TRUE/> to visualize to where the focus is by 85*b63233d8Sdamjan showing a dotted rectangle around the focused slide. 86*b63233d8Sdamjan <p>The default value is <TRUE/>.</p> 87*b63233d8Sdamjan */ 88*b63233d8Sdamjan [attribute] boolean IsShowFocus; 89*b63233d8Sdamjan 90*b63233d8Sdamjan /** When this flag has the value <TRUE/> then every time the current 91*b63233d8Sdamjan slide is changed the visual area is shifted so that the new current 92*b63233d8Sdamjan slide is display in the center of the slide sorter window. 93*b63233d8Sdamjan <p>It is not always possible to move the current slide into the 94*b63233d8Sdamjan exact center of the window, for example when slides are located near 95*b63233d8Sdamjan the start or end of a document.</p> 96*b63233d8Sdamjan <p>The default value is <FALSE/>. 97*b63233d8Sdamjan */ 98*b63233d8Sdamjan [attribute] boolean IsCenterSelection; 99*b63233d8Sdamjan 100*b63233d8Sdamjan /** This flag controls whether updates of previews are created during 101*b63233d8Sdamjan full screen presentations (<FALSE/>) or not (<TRUE/>). The 102*b63233d8Sdamjan suspension of preview creations is an optimization for not slowing 103*b63233d8Sdamjan down a running presentation. 104*b63233d8Sdamjan <p>The default value is <TRUE/>.</p> 105*b63233d8Sdamjan */ 106*b63233d8Sdamjan [attribute] boolean IsSuspendPreviewUpdatesDuringFullScreenPresentation; 107*b63233d8Sdamjan 108*b63233d8Sdamjan /** The orientation of a slide sorter can be either vertical (<TRUE/>) 109*b63233d8Sdamjan or horizontal (<FALSE/>). 110*b63233d8Sdamjan */ 111*b63233d8Sdamjan [attribute] boolean IsOrientationVertical; 112*b63233d8Sdamjan 113*b63233d8Sdamjan /** This flag is a hint to make scrolling look smooth. 114*b63233d8Sdamjan */ 115*b63233d8Sdamjan [attribute] boolean IsSmoothScrolling; 116*b63233d8Sdamjan 117*b63233d8Sdamjan [attribute] ::com::sun::star::util::Color BackgroundColor; 118*b63233d8Sdamjan [attribute] ::com::sun::star::util::Color TextColor; 119*b63233d8Sdamjan [attribute] ::com::sun::star::util::Color SelectionColor; 120*b63233d8Sdamjan [attribute] ::com::sun::star::util::Color HighlightColor; 121*b63233d8Sdamjan 122*b63233d8Sdamjan /** This flag controls whether the model can be modified by using 123*b63233d8Sdamjan keyboard or mouse. 124*b63233d8Sdamjan <p>The default value is <TRUE/>.</p> 125*b63233d8Sdamjan */ 126*b63233d8Sdamjan [attribute] boolean IsUIReadOnly; 127*b63233d8Sdamjan}; 128*b63233d8Sdamjan 129*b63233d8Sdamjan 130*b63233d8Sdamjan 131*b63233d8Sdamjan}; }; }; }; 132*b63233d8Sdamjan 133*b63233d8Sdamjan#endif 134