01: /* ====================================================================
02: Licensed to the Apache Software Foundation (ASF) under one or more
03: contributor license agreements. See the NOTICE file distributed with
04: this work for additional information regarding copyright ownership.
05: The ASF licenses this file to You under the Apache License, Version 2.0
06: (the "License"); you may not use this file except in compliance with
07: the License. You may obtain a copy of the License at
08:
09: http://www.apache.org/licenses/LICENSE-2.0
10:
11: Unless required by applicable law or agreed to in writing, software
12: distributed under the License is distributed on an "AS IS" BASIS,
13: WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14: See the License for the specific language governing permissions and
15: limitations under the License.
16: ==================================================================== */
17:
18: package org.apache.poi.hdf.model.hdftypes;
19:
20: import org.apache.poi.hdf.model.hdftypes.definitions.SEPAbstractType;
21:
22: /**
23: * Comment me
24: *
25: * @author Ryan Ackley
26: */
27:
28: public class SectionProperties extends SEPAbstractType implements
29: HDFType {
30: /*int _index;
31: byte _bkc;
32: boolean _fTitlePage;
33: boolean _fAutoPgn;
34: byte _nfcPgn;
35: boolean _fUnlocked;
36: byte _cnsPgn;
37: boolean _fPgnRestart;
38: boolean _fEndNote;
39: byte _lnc;
40: byte _grpfIhdt;
41: short _nLnnMod;
42: int _dxaLnn;
43: short _dxaPgn;
44: short _dyaPgn;
45: boolean _fLBetween;
46: byte _vjc;
47: short _dmBinFirst;
48: short _dmBinOther;
49: short _dmPaperReq;
50: short[] _brcTop = new short[2];
51: short[] _brcLeft = new short[2];
52: short[] _brcBottom = new short[2];
53: short[] _brcRight = new short[2];
54: boolean _fPropMark;
55: int _dxtCharSpace;
56: int _dyaLinePitch;
57: short _clm;
58: byte _dmOrientPage;
59: byte _iHeadingPgn;
60: short _pgnStart;
61: short _lnnMin;
62: short _wTextFlow;
63: short _pgbProp;
64: int _xaPage;
65: int _yaPage;
66: int _dxaLeft;
67: int _dxaRight;
68: int _dyaTop;
69: int _dyaBottom;
70: int _dzaGutter;
71: int _dyaHdrTop;
72: int _dyaHdrBottom;
73: short _ccolM1;
74: boolean _fEvenlySpaced;
75: int _dxaColumns;
76: int[] _rgdxaColumnWidthSpacing;
77: byte _dmOrientFirst;
78: byte[] _olstAnn;*/
79:
80: public SectionProperties() {
81: setBkc((byte) 2);
82: setDyaPgn(720);
83: setDxaPgn(720);
84: setFEndNote(true);
85: setFEvenlySpaced(true);
86: setXaPage(12240);
87: setYaPage(15840);
88: setDyaHdrTop(720);
89: setDyaHdrBottom(720);
90: setDmOrientPage((byte) 1);
91: setDxaColumns(720);
92: setDyaTop(1440);
93: setDxaLeft(1800);
94: setDyaBottom(1440);
95: setDxaRight(1800);
96: setPgnStart(1);
97:
98: }
99: }
|