Better, Faster, Freer

The LXR Cross Referencer

source navigation ]
diff markup ]
identifier search ]
general search ]
 
 
Architecture: i386 ]
Version: HEAD ]

001 /*************************************************************************
002  *
003  *  OpenOffice.org - a multi-platform office productivity suite
004  *
005  *  $RCSfile: SwXPrintPreviewSettings.hxx,v $
006  *
007  *  $Revision: 1.9 $
008  *
009  *  last change: $Author: hr $ $Date: 2007/09/27 12:40:49 $
010  *
011  *  The Contents of this file are made available subject to
012  *  the terms of GNU Lesser General Public License Version 2.1.
013  *
014  *
015  *    GNU Lesser General Public License Version 2.1
016  *    =============================================
017  *    Copyright 2005 by Sun Microsystems, Inc.
018  *    901 San Antonio Road, Palo Alto, CA 94303, USA
019  *
020  *    This library is free software; you can redistribute it and/or
021  *    modify it under the terms of the GNU Lesser General Public
022  *    License version 2.1, as published by the Free Software Foundation.
023  *
024  *    This library is distributed in the hope that it will be useful,
025  *    but WITHOUT ANY WARRANTY; without even the implied warranty of
026  *    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
027  *    Lesser General Public License for more details.
028  *
029  *    You should have received a copy of the GNU Lesser General Public
030  *    License along with this library; if not, write to the Free Software
031  *    Foundation, Inc., 59 Temple Place, Suite 330, Boston,
032  *    MA  02111-1307  USA
033  *
034  ************************************************************************/
035 #ifndef _SW_XPRINTPREVIEWSETTINGS_HXX_
036 #define _SW_XPRINTPREVIEWSETTINGS_HXX_
037 
038 #ifdef PRECOMPILED
039 #include "ui_pch.hxx"
040 #endif
041 
042 #ifndef _COMPHELPER_CHAINABLEPROPERTYSET_HXX_
043 #include <comphelper/ChainablePropertySet.hxx>
044 #endif
045 #ifndef _COM_SUN_STAR_TEXT_XTEXTDOCUMENT_HPP
046 #include <com/sun/star/text/XTextDocument.hpp>
047 #endif
048 #ifndef _CPPUHELPER_WEAK_HXX_
049 #include <cppuhelper/weak.hxx>
050 #endif
051 #ifndef _COM_SUN_STAR_LANG_XSERVICEINFO_HPP_
052 #include <com/sun/star/lang/XServiceInfo.hpp>
053 #endif
054 
055 class SwDoc;
056 class SwPagePreViewPrtData;
057 
058 class SwXPrintPreviewSettings :public comphelper::ChainablePropertySet,
059                                                 public cppu::OWeakObject,
060                                                 public com::sun::star::lang::XServiceInfo
061 {
062         friend class SwXDocumentSettings;
063 protected:
064         sal_Bool                mbPreviewDataChanged;
065         SwDoc*                  mpDoc;
066         SwPagePreViewPrtData *mpPreViewData;
067         const SwPagePreViewPrtData *mpConstPreViewData;
068 
069         virtual void _preSetValues ()
070                 throw(::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::beans::PropertyVetoException, ::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::lang::WrappedTargetException );
071         virtual void _setSingleValue( const comphelper::PropertyInfo & rInfo, const ::com::sun::star::uno::Any &rValue )
072                 throw(::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::beans::PropertyVetoException, ::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::lang::WrappedTargetException );
073         virtual void _postSetValues ()
074                 throw(::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::beans::PropertyVetoException, ::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::lang::WrappedTargetException );
075 
076         virtual void _preGetValues ()
077                 throw(::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::beans::PropertyVetoException, ::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::lang::WrappedTargetException );
078         virtual void _getSingleValue( const comphelper::PropertyInfo & rInfo, ::com::sun::star::uno::Any & rValue )
079                 throw(::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::lang::WrappedTargetException );
080         virtual void _postGetValues ()
081                 throw(::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::beans::PropertyVetoException, ::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::lang::WrappedTargetException );
082         virtual ~SwXPrintPreviewSettings()
083                 throw();
084 public:
085         SwXPrintPreviewSettings(SwDoc *pDoc);
086 
087 
088         // XInterface
089         virtual ::com::sun::star::uno::Any SAL_CALL queryInterface( const ::com::sun::star::uno::Type& aType )
090                 throw (::com::sun::star::uno::RuntimeException);
091         virtual void SAL_CALL acquire(  )
092                 throw ();
093         virtual void SAL_CALL release(  )
094                 throw ();
095 
096         //XServiceInfo
097         virtual rtl::OUString SAL_CALL getImplementationName(void)
098                 throw( ::com::sun::star::uno::RuntimeException );
099         virtual sal_Bool SAL_CALL supportsService(const rtl::OUString& ServiceName)
100                 throw( ::com::sun::star::uno::RuntimeException );
101         virtual ::com::sun::star::uno::Sequence< rtl::OUString > SAL_CALL getSupportedServiceNames(void)
102                 throw( ::com::sun::star::uno::RuntimeException );
103 };
104 #endif

source navigation ] diff markup ] identifier search ] general search ]

This page was automatically generated by the LXR engine.
The LXR team
Valid HTML 4.01!