From 9adfb8278bdb0a985fc7e8253744c3517476046d Mon Sep 17 00:00:00 2001 From: Kurt Zenker Date: Tue, 9 Oct 2007 14:34:14 +0000 Subject: INTEGRATION: CWS basmgr03 (1.1.2); FILE ADDED 2007/08/24 05:41:08 fs 1.1.2.1: #i73331# moved herein from unotools, to be able to use it in TDOC UCP --- comphelper/inc/comphelper/documentinfo.hxx | 67 ++++++++++++++++++++++++++++++ 1 file changed, 67 insertions(+) create mode 100644 comphelper/inc/comphelper/documentinfo.hxx (limited to 'comphelper') diff --git a/comphelper/inc/comphelper/documentinfo.hxx b/comphelper/inc/comphelper/documentinfo.hxx new file mode 100644 index 000000000000..f7c88b08fcca --- /dev/null +++ b/comphelper/inc/comphelper/documentinfo.hxx @@ -0,0 +1,67 @@ +/************************************************************************* + * + * OpenOffice.org - a multi-platform office productivity suite + * + * $RCSfile: documentinfo.hxx,v $ + * + * $Revision: 1.2 $ + * + * last change: $Author: kz $ $Date: 2007-10-09 15:34:14 $ + * + * 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 COMPHELPER_DOCUMENTINFO_HXX +#define COMPHELPER_DOCUMENTINFO_HXX + +#include "comphelper/comphelperdllapi.h" + +/** === begin UNO includes === **/ +#include +/** === end UNO includes === **/ + +//........................................................................ +namespace comphelper { +//........................................................................ + + //==================================================================== + //= DocumentInfo + //==================================================================== + class COMPHELPER_DLLPUBLIC DocumentInfo + { + public: + /** retrieves the UI title of the given document + */ + static ::rtl::OUString getDocumentTitle( const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XModel >& _rxDocument ); + + private: + DocumentInfo(); // never implemented + }; + +//........................................................................ +} // namespace comphelper +//........................................................................ + +#endif // COMPHELPER_DOCUMENTINFO_HXX -- cgit