1/*
2 * This file is part of the LibreOffice project.
3 *
4 * This Source Code Form is subject to the terms of the Mozilla Public
5 * License, v. 2.0. If a copy of the MPL was not distributed with this
6 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
7 *
8 * This file incorporates work covered by the following license notice:
9 *
10 *   Licensed to the Apache Software Foundation (ASF) under one or more
11 *   contributor license agreements. See the NOTICE file distributed
12 *   with this work for additional information regarding copyright
13 *   ownership. The ASF licenses this file to you under the Apache
14 *   License, Version 2.0 (the "License"); you may not use this file
15 *   except in compliance with the License. You may obtain a copy of
16 *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
17 */
18
19interface WebDrawBase : BaseTextDrawBase
20{
21    import BaseTextSelection;
22}
23
24shell SwWebDrawBaseShell : SwBaseShell
25{
26    import WebDrawBase;
27    import Sidebar;
28
29    SID_OBJECT_ALIGN
30    [
31        StateMethod = GetState ;
32        DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
33    ]
34    SID_OBJECT_ALIGN_LEFT
35    [
36        ExecMethod = Execute;
37        StateMethod = GetState;
38        DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
39    ]
40    SID_OBJECT_ALIGN_CENTER
41    [
42        ExecMethod = Execute;
43        StateMethod = GetState;
44        DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
45    ]
46    SID_OBJECT_ALIGN_RIGHT
47    [
48        ExecMethod = Execute;
49        StateMethod = GetState;
50        DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
51    ]
52    SID_OBJECT_ALIGN_UP
53    [
54        ExecMethod = Execute;
55        StateMethod = GetState;
56        DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
57    ]
58    SID_OBJECT_ALIGN_MIDDLE
59    [
60        ExecMethod = Execute;
61        StateMethod = GetState;
62        DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
63    ]
64    SID_OBJECT_ALIGN_DOWN
65    [
66        ExecMethod = Execute;
67        StateMethod = GetState;
68        DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
69    ]
70}
71
72