1 /* ====================================================================
2
3 * The Apache Software License, Version 1.1
4
5 *
6
7 * Copyright (c) 2002 The Apache Software Foundation. All rights
8
9 * reserved.
10
11 *
12
13 * Redistribution and use in source and binary forms, with or without
14
15 * modification, are permitted provided that the following conditions
16
17 * are met:
18
19 *
20
21 * 1. Redistributions of source code must retain the above copyright
22
23 * notice, this list of conditions and the following disclaimer.
24
25 *
26
27 * 2. Redistributions in binary form must reproduce the above copyright
28
29 * notice, this list of conditions and the following disclaimer in
30
31 * the documentation and/or other materials provided with the
32
33 * distribution.
34
35 *
36
37 * 3. The end-user documentation included with the redistribution,
38
39 * if any, must include the following acknowledgment:
40
41 * "This product includes software developed by the
42
43 * Apache Software Foundation (http://www.apache.org/)."
44
45 * Alternately, this acknowledgment may appear in the software itself,
46
47 * if and wherever such third-party acknowledgments normally appear.
48
49 *
50
51 * 4. The names "Apache" and "Apache Software Foundation" and
52
53 * "Apache POI" must not be used to endorse or promote products
54
55 * derived from this software without prior written permission. For
56
57 * written permission, please contact apache@apache.org.
58
59 *
60
61 * 5. Products derived from this software may not be called "Apache",
62
63 * "Apache POI", nor may "Apache" appear in their name, without
64
65 * prior written permission of the Apache Software Foundation.
66
67 *
68
69 * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
70
71 * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
72
73 * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
74
75 * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR
76
77 * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
78
79 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
80
81 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
82
83 * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
84
85 * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
86
87 * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
88
89 * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
90
91 * SUCH DAMAGE.
92
93 * ====================================================================
94
95 *
96
97 * This software consists of voluntary contributions made by many
98
99 * individuals on behalf of the Apache Software Foundation. For more
100
101 * information on the Apache Software Foundation, please see
102
103 * <http://www.apache.org/>.
104
105 */
106
107
108
109
110
111 package org.apache.poi.hssf.record;
112
113
114
115
116
117
118
119 import org.apache.poi.util.*;
120
121
122
123 /**
124
125 * The margin interface is a parent used to define left, right, top and bottom margins. This allows much of the code to be generic when it comes to handling margins.
126
127 * NOTE: This source wass automatically generated.
128
129
130
131 * @author Shawn Laubach (slaubach at apache dot org)
132
133 */
134
135 public interface Margin
136
137 {
138
139 /**
140
141 * Get the margin field for the Margin.
142
143 */
144
145 public double getMargin();
146
147
148
149 /**
150
151 * Set the margin field for the Margin.
152
153 */
154
155 public void setMargin(double field_1_margin);
156
157
158
159
160
161 } // END OF CLASS
162
163
164
165
166
167
168
169
170
171 MargingetMarginsetMargin