summaryrefslogtreecommitdiffstats
path: root/offapi/com/sun/star/text/XFlatParagraphIteratorProvider.idl
diff options
context:
space:
mode:
authorOliver Bolte <obo@openoffice.org>2008-02-26 08:54:04 +0000
committerOliver Bolte <obo@openoffice.org>2008-02-26 08:54:04 +0000
commit4ecc7bbec080de067d54a293a92f195fcbbc5e3a (patch)
tree25e42c8c80f90ae6fb4a38e22f282d7fa0a544f6 /offapi/com/sun/star/text/XFlatParagraphIteratorProvider.idl
parentINTEGRATION: CWS gcframework_DEV300 (1.1.2); FILE ADDED (diff)
downloadcore-4ecc7bbec080de067d54a293a92f195fcbbc5e3a.tar.gz
core-4ecc7bbec080de067d54a293a92f195fcbbc5e3a.zip
INTEGRATION: CWS gcframework_DEV300 (1.1.2); FILE ADDED
2007/09/26 10:45:35 fme 1.1.2.3: ## New grammar checking API 2007/09/25 08:19:52 fme 1.1.2.2: ## New grammar checking API 2007/09/20 14:04:16 cd 1.1.2.1: ## Fix typo in IDL description
Diffstat (limited to 'offapi/com/sun/star/text/XFlatParagraphIteratorProvider.idl')
-rw-r--r--offapi/com/sun/star/text/XFlatParagraphIteratorProvider.idl95
1 files changed, 95 insertions, 0 deletions
diff --git a/offapi/com/sun/star/text/XFlatParagraphIteratorProvider.idl b/offapi/com/sun/star/text/XFlatParagraphIteratorProvider.idl
new file mode 100644
index 000000000000..acb1c7ef2fe5
--- /dev/null
+++ b/offapi/com/sun/star/text/XFlatParagraphIteratorProvider.idl
@@ -0,0 +1,95 @@
+/*************************************************************************
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * $RCSfile: XFlatParagraphIteratorProvider.idl,v $
+ *
+ * $Revision: 1.2 $
+ *
+ * last change: $Author: obo $ $Date: 2008-02-26 09:54:04 $
+ *
+ * The Contents of this file are made available subject to
+ * the terms of GNU Lesser General Public License Version 2.1.
+ *
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2005 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ ************************************************************************/
+
+#ifndef __com_sun_star_text_XFlatParagraphIteratorProvider_idl__
+#define __com_sun_star_text_XFlatParagraphIteratorProvider_idl__
+
+#ifndef __com_sun_star_uno_XInterface_idl__
+#include <com/sun/star/uno/XInterface.idl>
+#endif
+
+#ifndef __com_sun_star_lang_IllegalArgumentException_idl__
+#include <com/sun/star/lang/IllegalArgumentException.idl>
+#endif
+
+#ifndef __com_sun_star_text_XFlatParagraphIterator_idl__
+#include <com/sun/star/text/XFlatParagraphIterator.idl>
+#endif
+
+//---------------------------------------Note----------------------------------
+// allows for different iterators for grammar checking and smart tags,
+// interface must be implemented exactly once for each document since
+// the interface pointer will be used to get an unique document id.
+//-----------------------------------------------------------------------------
+
+//=============================================================================
+
+module com { module sun { module star { module text {
+
+//=============================================================================
+
+/** provides functionality to ...
+
+ @since OOo 3.0
+ */
+
+interface XFlatParagraphIteratorProvider: com::sun::star::uno::XInterface
+{
+ //-------------------------------------------------------------------------
+ /** get XFlatParagraphIterator
+
+ @param nType
+ Type of text markup see <type>TextMarkupType</type>.
+
+ @param bAutomatic
+ Automatic or interactive checking.
+
+ @returns
+ the iterator.
+
+ @throws IllegalArgumentException
+ if any argument is wrong.
+
+ */
+ com::sun::star::text::XFlatParagraphIterator getFlatParagraphIterator( [in] long nType,
+ [in] boolean bAutomatic )
+ raises( com::sun::star::lang::IllegalArgumentException );
+};
+
+//=============================================================================
+
+}; }; }; };
+
+#endif