1*ad7bc010SAndrew Rist/************************************************************** 2cdf0e10cSrcweir * 3*ad7bc010SAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one 4*ad7bc010SAndrew Rist * or more contributor license agreements. See the NOTICE file 5*ad7bc010SAndrew Rist * distributed with this work for additional information 6*ad7bc010SAndrew Rist * regarding copyright ownership. The ASF licenses this file 7*ad7bc010SAndrew Rist * to you under the Apache License, Version 2.0 (the 8*ad7bc010SAndrew Rist * "License"); you may not use this file except in compliance 9*ad7bc010SAndrew Rist * with the License. You may obtain a copy of the License at 10*ad7bc010SAndrew Rist * 11*ad7bc010SAndrew Rist * http://www.apache.org/licenses/LICENSE-2.0 12*ad7bc010SAndrew Rist * 13*ad7bc010SAndrew Rist * Unless required by applicable law or agreed to in writing, 14*ad7bc010SAndrew Rist * software distributed under the License is distributed on an 15*ad7bc010SAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16*ad7bc010SAndrew Rist * KIND, either express or implied. See the License for the 17*ad7bc010SAndrew Rist * specific language governing permissions and limitations 18*ad7bc010SAndrew Rist * under the License. 19*ad7bc010SAndrew Rist * 20*ad7bc010SAndrew Rist *************************************************************/ 21*ad7bc010SAndrew Rist 22*ad7bc010SAndrew Rist 23cdf0e10cSrcweir#ifndef __ooo_vba_word_XSelection_idl__ 24cdf0e10cSrcweir#define __ooo_vba_word_XSelection_idl__ 25cdf0e10cSrcweir 26cdf0e10cSrcweir#ifndef __com_sun_star_uno_XInterface_idl__ 27cdf0e10cSrcweir#include <com/sun/star/uno/XInterface.idl> 28cdf0e10cSrcweir#endif 29cdf0e10cSrcweir 30cdf0e10cSrcweir#ifndef __ooo_vba_XHelperInterface_idl__ 31cdf0e10cSrcweir#include <ooo/vba/XHelperInterface.idl> 32cdf0e10cSrcweir#endif 33cdf0e10cSrcweir 34cdf0e10cSrcweir 35cdf0e10cSrcweirmodule ooo { module vba { module word { 36cdf0e10cSrcweir 37cdf0e10cSrcweirinterface XRange; 38cdf0e10cSrcweirinterface XParagraphFormat; 39cdf0e10cSrcweirinterface XFind; 40cdf0e10cSrcweirinterface XFont; 41cdf0e10cSrcweirinterface XStyle; 42cdf0e10cSrcweirinterface XHeaderFooter; 43cdf0e10cSrcweirinterface XSelection 44cdf0e10cSrcweir{ 45cdf0e10cSrcweir interface ooo::vba::XHelperInterface; 46cdf0e10cSrcweir 47cdf0e10cSrcweir [attribute] string Text; 48cdf0e10cSrcweir [attribute, readonly] XRange Range; 49cdf0e10cSrcweir [attribute] XParagraphFormat ParagraphFormat; 50cdf0e10cSrcweir [attribute, readonly] XFind Find; 51cdf0e10cSrcweir [attribute] XStyle Style; 52cdf0e10cSrcweir [attribute, readonly] XFont Font; 53cdf0e10cSrcweir [attribute, readonly] XHeaderFooter HeaderFooter; 54cdf0e10cSrcweir [attribute] long LanguageID; 55cdf0e10cSrcweir [attribute] long Start; 56cdf0e10cSrcweir [attribute] long End; 57cdf0e10cSrcweir 58cdf0e10cSrcweir any Tables( [in] any Index ); 59cdf0e10cSrcweir any Fields( [in] any Index ); 60cdf0e10cSrcweir void TypeText( [in] string Text ); 61cdf0e10cSrcweir void HomeKey( [in] any Unit, [in] any Extend ); 62cdf0e10cSrcweir void EndKey( [in] any Unit, [in] any Extend ); 63cdf0e10cSrcweir void Delete( [in] any Unit, [in] any Count ); 64cdf0e10cSrcweir void MoveRight( [in] any Unit, [in] any Count, [in] any Extend ); 65cdf0e10cSrcweir void MoveLeft( [in] any Unit, [in] any Count, [in] any Extend ); 66cdf0e10cSrcweir void MoveDown( [in] any Unit, [in] any Count, [in] any Extend ); 67cdf0e10cSrcweir void TypeParagraph(); 68cdf0e10cSrcweir void InsertParagraph(); 69cdf0e10cSrcweir void InsertParagraphBefore(); 70cdf0e10cSrcweir void InsertParagraphAfter(); 71cdf0e10cSrcweir void TypeBackspace(); 72cdf0e10cSrcweir XRange GoTo( [in] any What, [in] any Which, [in] any Count, [in] any Name ); 73cdf0e10cSrcweir any Information( [in] long Type ); 74cdf0e10cSrcweir void InsertBreak( [in] any Type ); 75cdf0e10cSrcweir any ShapeRange(); 76cdf0e10cSrcweir}; 77cdf0e10cSrcweir 78cdf0e10cSrcweir}; }; }; 79cdf0e10cSrcweir 80cdf0e10cSrcweir#endif 81cdf0e10cSrcweir 82cdf0e10cSrcweir 83