summaryrefslogtreecommitdiff
path: root/sw/source/ui/uno
diff options
context:
space:
mode:
authorRüdiger Timm <rt@openoffice.org>2008-04-10 20:59:05 +0000
committerRüdiger Timm <rt@openoffice.org>2008-04-10 20:59:05 +0000
commit6f716631be9fd462e660651db8677a314cc20b7a (patch)
tree053e785529ea0e339882b0c726f559c7bc3f0192 /sw/source/ui/uno
parent31cbd8bc1ff0274843c05e314c2d18c5bb90e928 (diff)
INTEGRATION: CWS changefileheader (1.128.36); FILE MERGED
2008/04/01 15:59:50 thb 1.128.36.3: #i85898# Stripping all external header guards 2008/04/01 12:56:00 thb 1.128.36.2: #i85898# Stripping all external header guards 2008/03/31 16:59:44 rt 1.128.36.1: #i87441# Change license header to LPGL v3.
Diffstat (limited to 'sw/source/ui/uno')
-rw-r--r--sw/source/ui/uno/unotxdoc.cxx192
1 files changed, 18 insertions, 174 deletions
diff --git a/sw/source/ui/uno/unotxdoc.cxx b/sw/source/ui/uno/unotxdoc.cxx
index fa4b2ae3d245..0a52fe4cc048 100644
--- a/sw/source/ui/uno/unotxdoc.cxx
+++ b/sw/source/ui/uno/unotxdoc.cxx
@@ -1,35 +1,30 @@
/*************************************************************************
*
- * OpenOffice.org - a multi-platform office productivity suite
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
- * $RCSfile: unotxdoc.cxx,v $
+ * Copyright 2008 by Sun Microsystems, Inc.
*
- * $Revision: 1.128 $
+ * OpenOffice.org - a multi-platform office productivity suite
*
- * last change: $Author: kz $ $Date: 2008-03-05 17:28:49 $
+ * $RCSfile: unotxdoc.cxx,v $
+ * $Revision: 1.129 $
*
- * The Contents of this file are made available subject to
- * the terms of GNU Lesser General Public License Version 2.1.
+ * This file is part of OpenOffice.org.
*
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
*
- * GNU Lesser General Public License Version 2.1
- * =============================================
- * Copyright 2005 by Sun Microsystems, Inc.
- * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ * OpenOffice.org 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 version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
*
- * 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
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
*
************************************************************************/
@@ -38,259 +33,108 @@
#include <cmdid.h>
#include <swtypes.hxx>
-
-#ifndef _SV_IMAGE_HXX
#include <vcl/image.hxx>
-#endif
-#ifndef _SV_VIRDEV_HXX
#include <vcl/virdev.hxx>
-#endif
-#ifndef _SV_SVAPP_HXX
#include <vcl/svapp.hxx>
-#endif
-#ifndef _SFXVIEWFRM_HXX
#include <sfx2/viewfrm.hxx>
-#endif
#ifndef _TOOLKIT_UNOHLP_HXX
#include <toolkit/helper/vclunohelper.hxx>
#endif
-#ifndef _SWWDOCSH_HXX //autogen
#include <wdocsh.hxx>
-#endif
-#ifndef _WRTSH_HXX //autogen
#include <wrtsh.hxx>
-#endif
-#ifndef _SWVIEW_HXX //autogen
#include <view.hxx>
-#endif
-#ifndef _SWPVIEW_HXX
#include <pview.hxx>
-#endif
#ifndef _SRCVIEW_HXX
#include <srcview.hxx>
#endif
-#ifndef _VIEWSH_HXX //autogen
#include <viewsh.hxx>
-#endif
-#ifndef _PVPRTDAT_HXX
#include <pvprtdat.hxx>
-#endif
-#ifndef _SWPRTOPT_HXX
#include <swprtopt.hxx>
-#endif
-#ifndef _SFXSTRITEM_HXX //autogen
#include <svtools/stritem.hxx>
-#endif
-#ifndef _UNOTXDOC_HXX //autogen
#include <unotxdoc.hxx>
-#endif
-#ifndef _NUMUNO_HXX
#include <svtools/numuno.hxx>
-#endif
-#ifndef _UNOOBJ_HXX
#include <unoobj.hxx>
-#endif
-#ifndef _UNOSETT_HXX
#include <unosett.hxx>
-#endif
-#ifndef _UNOCOLL_HXX
#include <unocoll.hxx>
-#endif
-#ifndef _UNOREDLINES_HXX
#include <unoredlines.hxx>
-#endif
-#ifndef _UNOSRCH_HXX
#include <unosrch.hxx>
-#endif
-#ifndef _TOOLKIT_AWT_VCLXDEVICE_HXX_
#include <toolkit/awt/vclxdevice.hxx>
-#endif
-#ifndef _SFXDISPATCH_HXX //autogen
#include <sfx2/dispatch.hxx>
-#endif
-#ifndef _SFXREQUEST_HXX //autogen
#include <sfx2/request.hxx>
-#endif
-#ifndef _SFX_OBJSH_HXX
#include <sfx2/objsh.hxx> // SfxObjectShellRef <-> SV_DECL_REF(SfxObjectShell)
-#endif
-#ifndef _UNOPRNMS_HXX
#include <unoprnms.hxx>
-#endif
-#ifndef _UNOSTYLE_HXX
#include <unostyle.hxx>
-#endif
-#ifndef _UNODRAW_HXX
#include <unodraw.hxx>
-#endif
-#ifndef _SFXENUMITEM_HXX //autogen
#include <svtools/eitem.hxx>
-#endif
-#ifndef _PAGEDESC_HXX //autogen
#include <pagedesc.hxx>
-#endif
-#ifndef _TXTCMP_HXX //autogen
#include <svtools/txtcmp.hxx>
-#endif
-#ifndef _UNOCRSR_HXX //autogen
#include <unocrsr.hxx>
-#endif
-#ifndef _UNOFIELD_HXX
#include <unofield.hxx>
-#endif
-#ifndef _UNOIDX_HXX
#include <unoidx.hxx>
-#endif
-#ifndef _UNOFLATPARA_HXX
#include <unoflatpara.hxx>
-#endif
-#ifndef _POOLFMT_HXX
#include <poolfmt.hxx>
-#endif
-#ifndef _SWGLOBDOCSH_HXX
#include <globdoc.hxx>
-#endif
-#ifndef _VIEWOPT_HXX
#include <viewopt.hxx>
-#endif
-#ifndef _UNOCHART_HXX
#include <unochart.hxx>
-#endif
-#ifndef _DOC_HXX
#include <doc.hxx>
-#endif
-#ifndef _CHARATR_HXX
#include <charatr.hxx>
-#endif
-#ifndef _COM_SUN_STAR_UTIL_SEARCHOPTIONS_HPP_
#include <com/sun/star/util/SearchOptions.hpp>
-#endif
-#ifndef _COM_SUN_STAR_LANG_SERVICENOTREGISTEREDEXCEPTION_HPP_
#include <com/sun/star/lang/ServiceNotRegisteredException.hpp>
-#endif
-#ifndef _COM_SUN_STAR_LANG_DISPOSEDEXCEPTION_HPP_
#include <com/sun/star/lang/DisposedException.hpp>
-#endif
-#ifndef _COM_SUN_STAR_UTIL_XNUMBERFORMATSSUPPLIER_HPP_
#include <com/sun/star/util/XNumberFormatsSupplier.hpp>
-#endif
#ifndef _COM_SUN_STAR_BEANS_PropertyAttribute_HPP_
#include <com/sun/star/beans/PropertyAttribute.hpp>
#endif
-#ifndef _COM_SUN_STAR_DOCUMENT_REDLINEDISPLAYTYPE_HPP_
#include <com/sun/star/document/RedlineDisplayType.hpp>
-#endif
-#ifndef _SVXLINKMGR_HXX
#include <svx/linkmgr.hxx>
-#endif
-#ifndef _SVX_UNOFILL_HXX_
#include <svx/unofill.hxx>
-#endif
-#ifndef _UNO_LINGU_HXX
#include <svx/unolingu.hxx>
-#endif
-#ifndef _SFX_PROGRESS_HXX
#include <sfx2/progress.hxx>
-#endif
-#ifndef _SWMODULE_HXX
#include <swmodule.hxx>
-#endif
-#ifndef _DOCSTAT_HXX //autogen wg. SwDocStat
#include <docstat.hxx>
-#endif
#ifndef _MODOPT_HXX //
#include <modcfg.hxx>
#endif
-#ifndef _NDTXT_HXX
#include <ndtxt.hxx>
-#endif
#ifndef _UTLUI_HRC
#include <utlui.hrc>
#endif
-#ifndef _SWCONT_HXX
#include <swcont.hxx>
-#endif
-#ifndef _UNODEFAULTS_HXX
#include <unodefaults.hxx>
-#endif
-#ifndef _SW_XDOCUMENT_SETTINGS_HXX
#include <SwXDocumentSettings.hxx>
-#endif
-#ifndef _SW_XPRINTPREVIEWSETTINGS_HXX_
#include <SwXPrintPreviewSettings.hxx>
-#endif
-#ifndef _DOC_HXX //autogen
#include <doc.hxx>
-#endif
-#ifndef _FORBIDDENCHARACTERSTABLE_HXX
#include <svx/forbiddencharacterstable.hxx>
-#endif
-#ifndef _ZFORLIST_HXX
#include <svtools/zforlist.hxx>
-#endif
-#ifndef _DRAWDOC_HXX
#include <drawdoc.hxx>
-#endif
-#ifndef _SWSTYLENAMEMAPPER_HXX
#include <SwStyleNameMapper.hxx>
-#endif
-#ifndef _OSL_FILE_HXX_
#include <osl/file.hxx>
-#endif
// --> FME 2004-06-08 #i12836# enhanced pdf export
-#ifndef _ENHANCEDPDFEXPORTHELPER_HXX
#include <EnhancedPDFExportHelper.hxx>
-#endif
// <--
-#ifndef _NUMRULE_HXX
#include <numrule.hxx>
-#endif
///////////////////////////Modified on Jun. 14th//////////////////////////
///////////////////////for getDocumentLanguages///////////////////////////
//-->
#include <svx/langitem.hxx>
-
-#ifndef _DOC_HXX
#include <doc.hxx>
-#endif
-
-#ifndef _DOCARY_HXX
#include <docary.hxx> //SwCharFmts
-#endif
-
-#ifndef INCLUDED_I18NPOOL_MSLANGID_HXX
#include <i18npool/mslangid.hxx>
-#endif
#include <format.hxx>
-
-#ifndef _CHARFMT_HXX
#include <charfmt.hxx> //SwCharFmt
-#endif
-
-#ifndef _FMTCOL_HXX
#include <fmtcol.hxx> //SwTxtFmtColl
-#endif
-
-#ifndef _UNOSTYLE_HXX
#include <unostyle.hxx> //SwAutoStyleFamily
-#endif
-
-#ifndef _ISTYLEACCESS_HXX
#include <istyleaccess.hxx> // handling of automatic styles
-#endif
#ifndef _STYLEPOOL_HXX
#include <svtools/stylepool.hxx>
#endif
-
-#ifndef _SWATRSET_HXX
#include <swatrset.hxx>
-#endif
//#include <com/sun/star/i18n/ScriptType.hpp>
#include <svtools/langtab.hxx>