tdf#158198 sw: prevent xBookmark.getAnchor().setString("") from deleting
[LibreOffice.git] / offapi / com / sun / star / drawing / Layer.idl
bloba0cb266eab62dfdc80d519e50c8ae4541ff61cd0
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 .
22 module com { module sun { module star { module drawing {
24 /** A layer is an entity inside a document which contains shapes.
27 <p>There could be zero or more Shapes attached to
28 such a layer.
30 </p>
31 <p>The properties of a Layer instance affect all Shapes
32 attached to the Layer.
34 </p>
36 @see DrawingDocument
37 @see LayerManager
39 published service Layer
42 /** The properties in this set affect all Shapes attached to
43 this Layer.
45 interface com::sun::star::beans::XPropertySet;
47 /** The name of a Layer is used to identify the
48 Layer in the user interface.
50 [property] string Name;
52 /** If a Layer is not visible, the objects in this
53 Layer are not shown in the user interface.
55 [property] boolean IsVisible;
57 /** If a Layer is not printable, the objects in
58 this Layer are not printed.
60 [property] boolean IsPrintable;
62 /** If a Layer is locked, the objects in this
63 Layer cannot be edited in the user interface.
65 [property] boolean IsLocked;
70 }; }; }; };
72 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */