1/************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance 9 * with the License. You may obtain a copy of the License at 10 * 11 * http://www.apache.org/licenses/LICENSE-2.0 12 * 13 * Unless required by applicable law or agreed to in writing, 14 * software distributed under the License is distributed on an 15 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16 * KIND, either express or implied. See the License for the 17 * specific language governing permissions and limitations 18 * under the License. 19 * 20 *************************************************************/ 21 22 23 24#ifndef __com_sun_star_text_XMultiTextMarkup_idl__ 25#define __com_sun_star_text_XMultiTextMarkup_idl__ 26 27#ifndef __com_sun_star_container_XStringKeyMap_idl__ 28#include <com/sun/star/container/XStringKeyMap.idl> 29#endif 30 31#ifndef __com_sun_star_text_TextMarkupDescriptor_idl__ 32#include <com/sun/star/text/TextMarkupDescriptor.idl> 33#endif 34 35#ifndef __com_sun_star_lang_IllegalArgumentException_idl__ 36#include <com/sun/star/lang/IllegalArgumentException.idl> 37#endif 38 39//============================================================================= 40 41module com { module sun { module star { module text { 42 43//============================================================================= 44 45/** provides functionality to apply multiple text markups in one call. 46 47 @since OpenOffice 3.0.1 48 */ 49 50interface XMultiTextMarkup 51{ 52 //------------------------------------------------------------------------- 53 /** submits multiple new markup ranges. 54 55 <p>The main use of this function will probably be for proofreading to 56 allow for setting the markup of all found errors in a sentence in a single 57 call. For this the sequence needs to provide the markups for all errors along 58 with the markup for the identified sentence boundaries. 59 The order of those entries is arbitrary.</p> 60 61 @param aMarkups 62 a sequence of single text markups. 63 64 @see com::sun::star::text::XTextMarkup 65 @see com::sun::star::text::TextMarkupType 66 67 */ 68 void commitMultiTextMarkup( 69 [in] sequence< com::sun::star::text::TextMarkupDescriptor > aMarkups ) 70 raises( com::sun::star::lang::IllegalArgumentException ); 71}; 72 73}; }; }; }; 74 75#endif 76