tdf#164393 Change themes UI as per UX feedback
[LibreOffice.git] / offapi / com / sun / star / sheet / SpreadsheetDrawPage.idl
blob2e46ad3880455ad6b4b14e0d3f5536b10e4f9040
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 * This file incorporates work covered by the following license notice:
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
21 module com { module sun { module star { module sheet {
24 /** This abstract service is implemented by every page of a
25 SpreadsheetDocument.
27 Example: create and insert a couple of com::sun::star::drawing::LineShapes:
29 @code{.bas}
30 xPage = xDoc.DrawPages(0)
31 for x% = 0 to 200
32 xShape = xProv.createInstance( "com.sun.star.drawing.LineShape" )
33 xShape.LineColor = rgb( 255, 0, n%+20 )
34 xShape.LineWidth = 20
35 xShape.Position = Point( x%, 2*x% )
36 xShape.Size = Size( 300-x%, 20 )
37 xPage.add( xShape )
38 next x%
39 @endcode
41 @since OOo 1.1.2
43 published service SpreadsheetDrawPage
47 /** manages the com::sun::star::drawing::Shapes of this page.
49 <p>It also lets you add new com::sun::star::drawing::Shapes. The program currently
50 requires that these com::sun::star::drawing::Shapes be created by the factory of
51 the document.
53 @see SpreadsheetDocument
55 interface com::sun::star::drawing::XDrawPage;
58 /** With this interface you can group/ungroup a collection of
59 com::sun::star::drawing::Shapes.
61 interface com::sun::star::drawing::XShapeGrouper;
66 }; }; }; };
68 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */