~ubuntu-branches/ubuntu/saucy/libwpd/saucy

« back to all changes in this revision

Viewing changes to src/lib/WP42FileStructure.cpp

  • Committer: Package Import Robot
  • Author(s): Rene Engelhard
  • Date: 2011-11-29 23:31:13 UTC
  • mfrom: (1.2.5)
  • Revision ID: package-import@ubuntu.com-20111129233113-xdtwca9h0y6wdxst
Tags: 0.9.4-1
New upstream release

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: t; c-basic-offset: 4 -*- */
1
2
/* libwpd
2
3
 * Copyright (C) 2003 William Lachance (wrlach@gmail.com)
3
4
 * Copyright (C) 2003-2004 Marc Maurer (uwog@uwog.net)
4
5
 * Copyright (C) 2006 Fridrich Strba (fridrich.strba@bluewin.ch)
5
 
 *  
 
6
 *
6
7
 * This library is free software; you can redistribute it and/or
7
8
 * modify it under the terms of the GNU Library General Public
8
9
 * License as published by the Free Software Foundation; either
20
21
 * For further information visit http://libwpd.sourceforge.net
21
22
 */
22
23
 
23
 
/* "This product is not manufactured, approved, or supported by 
 
24
/* "This product is not manufactured, approved, or supported by
24
25
 * Corel Corporation or Corel Corporation Limited."
25
26
 */
26
27
 
28
29
 
29
30
// size of the function groups 0xC0 to 0xFE
30
31
// -1 means the size is variable
31
 
int WP42_FUNCTION_GROUP_SIZE[63] = 
 
32
int WP42_FUNCTION_GROUP_SIZE[63] =
32
33
{
33
34
        6,      // 0xC0
34
35
        4,
35
 
        3,      
36
 
        5,      
37
 
        5,      
38
 
        6,      
39
 
        4,      
40
 
        6,      
41
 
        8,      
42
 
        42,     
43
 
        3,      
44
 
        6,      
45
 
        4,      
46
 
        3,      
47
 
        4,
48
 
        3,      
 
36
        3,
 
37
        5,
 
38
        5,
 
39
        6,
 
40
        4,
 
41
        6,
 
42
        8,
 
43
        42,
 
44
        3,
 
45
        6,
 
46
        4,
 
47
        3,
 
48
        4,
 
49
        3,
49
50
        6,      // 0xD0
50
 
        -1,     
51
 
        -1,     
52
 
        4,      
53
 
        4,      
54
 
        4,      
55
 
        6,      
56
 
        -1,     
57
 
        4,      
58
 
        4,      
59
 
        4,      
60
 
        4,      
61
 
        -1,     
62
 
        24,     
63
 
        4,      
64
 
        -1,     
 
51
        -1,
 
52
        -1,
 
53
        4,
 
54
        4,
 
55
        4,
 
56
        6,
 
57
        -1,
 
58
        4,
 
59
        4,
 
60
        4,
 
61
        4,
 
62
        -1,
 
63
        24,
 
64
        4,
 
65
        -1,
65
66
        4,      // 0XE0
66
 
        3,      
67
 
        -1,     
68
 
        150,    
69
 
        6,      
70
 
        23,     
71
 
        11,             
72
 
        3,      
73
 
        3,      
74
 
        -1,     
75
 
        -1,     
76
 
        -1,     // 0XEB Documentation lies that the size is 32, but it is not true.     
77
 
        4,      
78
 
        -1,     
79
 
        44,     
80
 
        18,     
 
67
        3,
 
68
        -1,
 
69
        150,
 
70
        6,
 
71
        23,
 
72
        11,
 
73
        3,
 
74
        3,
 
75
        -1,
 
76
        -1,
 
77
        -1,     // 0XEB Documentation lies that the size is 32, but it is not true.
 
78
        4,
 
79
        -1,
 
80
        44,
 
81
        18,
81
82
        6,      // 0XF0
82
 
        106,    
83
 
        -1,     
84
 
        100,    
85
 
        4,      
86
 
        -1,     
87
 
        5,      
 
83
        106,
 
84
        -1,
 
85
        100,
 
86
        4,
 
87
        -1,
 
88
        5,
88
89
        -1,
89
90
        -1,
90
91
        -1,     // 0xF9
94
95
        -1,     // 0xFD
95
96
        -1      // 0xFE
96
97
};
 
98
/* vim:set shiftwidth=4 softtabstop=4 noexpandtab: */