From 7b99224020f3105bcb15eec03bb5a48ab4691a9b Mon Sep 17 00:00:00 2001 From: RĂ¼diger Timm Date: Fri, 6 Jun 2008 10:46:21 +0000 Subject: INTEGRATION: CWS xmlfix2 (1.3.34); FILE MERGED 2008/05/15 17:05:48 mst 1.3.34.2: RESYNC: (1.3-1.4); FILE MERGED 2008/04/09 16:14:24 mst 1.3.34.1: interface change: XDocumentProperties - offapi/com/sun/star/document/XDocumentProperties.idl: + setting EditingDuration, EditingCycles and AutoloadSecs may now throw IllegalArgumentException --- .../com/sun/star/document/XDocumentProperties.idl | 23 ++++++++++++++++++---- 1 file changed, 19 insertions(+), 4 deletions(-) (limited to 'offapi/com/sun/star/document') diff --git a/offapi/com/sun/star/document/XDocumentProperties.idl b/offapi/com/sun/star/document/XDocumentProperties.idl index 9e0f2c8f6381..a1831ef5303a 100755 --- a/offapi/com/sun/star/document/XDocumentProperties.idl +++ b/offapi/com/sun/star/document/XDocumentProperties.idl @@ -7,7 +7,7 @@ * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: XDocumentProperties.idl,v $ - * $Revision: 1.4 $ + * $Revision: 1.5 $ * * This file is part of OpenOffice.org. * @@ -236,10 +236,15 @@ interface XDocumentProperties describes a case where no autoload is specified.

+ @throws com::sun::star::lang::IllegalArgumentException + if argument is negative + @see AutoloadURL */ - [attribute] long AutoloadSecs; + [attribute] long AutoloadSecs { + set raises ( com::sun::star::lang::IllegalArgumentException ); + }; //------------------------------------------------------------------------- /** contains the name of the default frame into which @@ -265,17 +270,27 @@ interface XDocumentProperties /** describes how often the document was edited and saved.

+ + @throws com::sun::star::lang::IllegalArgumentException + if argument is negative */ - [attribute] short EditingCycles; + [attribute] short EditingCycles { + set raises ( com::sun::star::lang::IllegalArgumentException ); + }; //------------------------------------------------------------------------- /** contains the net time of editing the document (in seconds).

+ + @throws com::sun::star::lang::IllegalArgumentException + if argument is negative */ - [attribute] long EditingDuration; + [attribute] long EditingDuration { + set raises ( com::sun::star::lang::IllegalArgumentException ); + }; //------------------------------------------------------------------------- /** resets all attributes that could identify the user. -- cgit