1 /*************************************************************************
2  *
3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4  *
5  * Copyright 2000, 2010 Oracle and/or its affiliates.
6  *
7  * OpenOffice.org - a multi-platform office productivity suite
8  *
9  * This file is part of OpenOffice.org.
10  *
11  * OpenOffice.org is free software: you can redistribute it and/or modify
12  * it under the terms of the GNU Lesser General Public License version 3
13  * only, as published by the Free Software Foundation.
14  *
15  * OpenOffice.org is distributed in the hope that it will be useful,
16  * but WITHOUT ANY WARRANTY; without even the implied warranty of
17  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18  * GNU Lesser General Public License version 3 for more details
19  * (a copy is included in the LICENSE file that accompanied this code).
20  *
21  * You should have received a copy of the GNU Lesser General Public License
22  * version 3 along with OpenOffice.org.  If not, see
23  * <http://www.openoffice.org/license.html>
24  * for a copy of the LGPLv3 License.
25  *
26  ************************************************************************/
27 
28 #ifndef INCLUDED_BASEBMP_SCANLINEFORMATS_HXX
29 #define INCLUDED_BASEBMP_SCANLINEFORMATS_HXX
30 
31 #include <sal/types.h>
32 
33 /* Definition of Scanline formats */
34 
35 namespace basebmp { namespace Format
36 {
37     static const sal_Int32 NONE                         = 0;
38     static const sal_Int32 ONE_BIT_MSB_GREY             = (sal_Int32)0x01;
39     static const sal_Int32 ONE_BIT_LSB_GREY             = (sal_Int32)0x02;
40     static const sal_Int32 ONE_BIT_MSB_PAL              = (sal_Int32)0x03;
41     static const sal_Int32 ONE_BIT_LSB_PAL              = (sal_Int32)0x04;
42     static const sal_Int32 FOUR_BIT_MSB_GREY            = (sal_Int32)0x05;
43     static const sal_Int32 FOUR_BIT_LSB_GREY            = (sal_Int32)0x06;
44     static const sal_Int32 FOUR_BIT_MSB_PAL             = (sal_Int32)0x07;
45     static const sal_Int32 FOUR_BIT_LSB_PAL             = (sal_Int32)0x08;
46     static const sal_Int32 EIGHT_BIT_PAL                = (sal_Int32)0x09;
47     static const sal_Int32 EIGHT_BIT_GREY               = (sal_Int32)0x0A;
48     static const sal_Int32 SIXTEEN_BIT_LSB_TC_MASK      = (sal_Int32)0x0B;
49     static const sal_Int32 SIXTEEN_BIT_MSB_TC_MASK      = (sal_Int32)0x0C;
50     static const sal_Int32 TWENTYFOUR_BIT_TC_MASK       = (sal_Int32)0x0D;
51     static const sal_Int32 THIRTYTWO_BIT_TC_MASK        = (sal_Int32)0x0E;
52     static const sal_Int32 THIRTYTWO_BIT_TC_MASK_ARGB   = (sal_Int32)0x0F;
53     static const sal_Int32 MAX                          = (sal_Int32)0x0F;
54 } }
55 
56 #endif /* INCLUDED_BASEBMP_SCANLINEFORMATS_HXX */
57