1 /*************************************************************************
3 * OpenOffice.org - a multi-platform office productivity suite
5 * $RCSfile: PrintOptTest.hxx,v $
9 * last change: $Author: as $ $Date: 2008/03/19 11:09:24 $
11 * The Contents of this file are made available subject to
12 * the terms of GNU Lesser General Public License Version 2.1.
15 * GNU Lesser General Public License Version 2.1
16 * =============================================
17 * Copyright 2005 by Sun Microsystems, Inc.
18 * 901 San Antonio Road, Palo Alto, CA 94303, USA
20 * This library is free software; you can redistribute it and/or
21 * modify it under the terms of the GNU Lesser General Public
22 * License version 2.1, as published by the Free Software Foundation.
24 * This library is distributed in the hope that it will be useful,
25 * but WITHOUT ANY WARRANTY; without even the implied warranty of
26 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
27 * Lesser General Public License for more details.
29 * You should have received a copy of the GNU Lesser General Public
30 * License along with this library; if not, write to the Free Software
31 * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
34 ************************************************************************/
36 #ifndef SVTOOLS_PRINTOPTTEST_HXX
37 #define SVTOOLS_PRINTOPTTEST_HXX
39 #include <com/sun/star/container/XNameAccess.hpp>
40 #include <svtools/printoptions.hxx>
42 namespace css
= ::com::sun::star
;
51 void impl_checkPrint();
55 SvtPrinterOptions aPrintOpt
;
56 css::uno::Reference
< css::container::XNameAccess
> m_xCfg
;
57 css::uno::Reference
< css::container::XNameAccess
> m_xNode
;
60 sal_Bool
impl_IsReduceTransparency() const ;
61 void impl_SetReduceTransparency( sal_Bool bState
) ;
63 sal_Int16
impl_GetReducedTransparencyMode() const ;
64 void impl_SetReducedTransparencyMode( sal_Int16 nMode
) ;
66 sal_Bool
impl_IsReduceGradients() const ;
67 void impl_SetReduceGradients( sal_Bool bState
) ;
69 sal_Int16
impl_GetReducedGradientMode() const ;
70 void impl_SetReducedGradientMode( sal_Int16 nMode
) ;
72 sal_Int16
impl_GetReducedGradientStepCount() const ;
73 void impl_SetReducedGradientStepCount( sal_Int16 nStepCount
);
75 sal_Bool
impl_IsReduceBitmaps() const ;
76 void impl_SetReduceBitmaps( sal_Bool bState
) ;
78 sal_Int16
impl_GetReducedBitmapMode() const ;
79 void impl_SetReducedBitmapMode( sal_Int16 nMode
) ;
81 sal_Int16
impl_GetReducedBitmapResolution() const ;
82 void impl_SetReducedBitmapResolution( sal_Int16 nResolution
) ;
84 sal_Bool
impl_IsReducedBitmapIncludesTransparency() const ;
85 void impl_SetReducedBitmapIncludesTransparency( sal_Bool bState
) ;
87 sal_Bool
impl_IsConvertToGreyscales() const;
88 void impl_SetConvertToGreyscales( sal_Bool bState
) ;
92 #endif // #ifndef SVTOOLS_PRINTOPTTEST_HXX