Debian Codegraph @

oovbaapi/ooo/vba/word/XSelection.idl

raw
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
4 *
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/.
8 *
9 * This file incorporates work covered by the following license notice:
10 *
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 .
18 */
19
20
21 module ooo { module vba { module word {
22
23 interface XRange;
24 interface XParagraphFormat;
25 interface XFind;
26 interface XFont;
27 interface XStyle;
28 interface XHeaderFooter;
29 interface XSelection
30 {
31 interface ooo::vba::XHelperInterface;
32
33 [attribute] string Text;
34 [attribute, readonly] XRange Range;
35 [attribute] XParagraphFormat ParagraphFormat;
36 [attribute, readonly] XFind Find;
37 [attribute] any Style;
38 [attribute, readonly] XFont Font;
39 [attribute, readonly] XHeaderFooter HeaderFooter;
40 [attribute] long LanguageID;
41 [attribute] long Start;
42 [attribute] long End;
43
44 any Tables( [in] any Index );
45 any Fields( [in] any Index );
46 void TypeText( [in] string Text );
47 void HomeKey( [in] any Unit, [in] any Extend );
48 void EndKey( [in] any Unit, [in] any Extend );
49 void Delete( [in] any Unit, [in] any Count );
50 void MoveRight( [in] any Unit, [in] any Count, [in] any Extend ) raises (com::sun::star::script::BasicErrorException);
51 void MoveLeft( [in] any Unit, [in] any Count, [in] any Extend ) raises (com::sun::star::script::BasicErrorException);
52 void MoveDown( [in] any Unit, [in] any Count, [in] any Extend ) raises (com::sun::star::script::BasicErrorException);
53 void MoveUp( [in] any Unit, [in] any Count, [in] any Extend ) raises (com::sun::star::script::BasicErrorException);
54 void TypeParagraph();
55 void InsertParagraph();
56 void InsertParagraphBefore();
57 void InsertParagraphAfter();
58 void TypeBackspace();
59 XRange GoTo( [in] any What, [in] any Which, [in] any Count, [in] any Name ) raises (com::sun::star::script::BasicErrorException);
60 any Information( [in] long Type );
61 void InsertBreak( [in] any Type );
62 any ShapeRange();
63 void SelectColumn();
64 void SelectRow();
65 any Rows( [in] any aIndex );
66 any Columns( [in] any aIndex );
67 any Cells( [in] any aIndex );
68 void Copy();
69 void CopyAsPicture();
70 void Paste();
71 void Collapse([in] any Direction);
72 void WholeStory();
73 boolean InRange( [in] XRange Range );
74 void SplitTable();
75 any Paragraphs( [in] any aIndex );
76 };
77
78 }; }; };
79
80
81 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */