import org.docx4j.wml.CTLongHexNumber;
import org.docx4j.wml.Jc;
import org.docx4j.wml.Lvl;
import org.docx4j.wml.Lvl.LvlText;
import org.docx4j.wml.Lvl.Start;
import org.docx4j.wml.NumFmt;
import org.docx4j.wml.Numbering;
import org.docx4j.wml.Numbering.AbstractNum;
import org.docx4j.wml.Numbering.AbstractNum.MultiLevelType;
import org.docx4j.wml.Numbering.Num;
import org.docx4j.wml.Numbering.Num.AbstractNumId;
import org.docx4j.wml.PPr;
import org.docx4j.wml.PPrBase;
import org.docx4j.wml.PPrBase.Ind;
import org.docx4j.wml.RFonts;
import org.docx4j.wml.RPr;
org.
docx4j.
wml.
ObjectFactory wmlObjectFactory
= new org.
docx4j.
wml.
ObjectFactory();
Numbering numbering
= wmlObjectFactory.
createNumbering();
Numbering.
AbstractNum numberingabstractnum
= wmlObjectFactory.
createNumberingAbstractNum();
numbering.
getAbstractNum().
add( numberingabstractnum
);
Lvl lvl
= wmlObjectFactory.
createLvl();
numberingabstractnum.
getLvl().
add( lvl
);
Lvl.
Start lvlstart
= wmlObjectFactory.
createLvlStart();
lvl.
setStart(lvlstart
);
lvlstart.
setVal( BigInteger.
valueOf( 1
) );
RPr rpr
= wmlObjectFactory.
createRPr();
lvl.
setRPr(rpr
);
RFonts rfonts
= wmlObjectFactory.
createRFonts();
rpr.
setRFonts(rfonts
);
rfonts.
setAscii( "Symbol");
rfonts.
setHint(org.
docx4j.
wml.
STHint.
DEFAULT);
rfonts.
setHAnsi( "Symbol");
lvl.
setIlvl( BigInteger.
valueOf( 0
) );
PPr ppr
= wmlObjectFactory.
createPPr();
lvl.
setPPr(ppr
);
PPrBase.
Ind pprbaseind
= wmlObjectFactory.
createPPrBaseInd();
ppr.
setInd(pprbaseind
);
pprbaseind.
setLeft( BigInteger.
valueOf( 720
) );
pprbaseind.
setHanging( BigInteger.
valueOf( 360
) );
NumFmt numfmt
= wmlObjectFactory.
createNumFmt();
lvl.
setNumFmt(numfmt
);
numfmt.
setVal(org.
docx4j.
wml.
NumberFormat.
BULLET);
Lvl.
LvlText lvllvltext
= wmlObjectFactory.
createLvlLvlText();
lvl.
setLvlText(lvllvltext
);
lvllvltext.
setVal( "");
Jc jc
= wmlObjectFactory.
createJc();
lvl.
setLvlJc(jc
);
jc.
setVal(org.
docx4j.
wml.
JcEnumeration.
LEFT);
lvl.
setTplc( "04090001");
Lvl lvl2
= wmlObjectFactory.
createLvl();
numberingabstractnum.
getLvl().
add( lvl2
);
Lvl.
Start lvlstart2
= wmlObjectFactory.
createLvlStart();
lvl2.
setStart(lvlstart2
);
lvlstart2.
setVal( BigInteger.
valueOf( 1
) );
RPr rpr2
= wmlObjectFactory.
createRPr();
lvl2.
setRPr(rpr2
);
RFonts rfonts2
= wmlObjectFactory.
createRFonts();
rpr2.
setRFonts(rfonts2
);
rfonts2.
setAscii( "Courier New");
rfonts2.
setCs( "Courier New");
rfonts2.
setHint(org.
docx4j.
wml.
STHint.
DEFAULT);
rfonts2.
setHAnsi( "Courier New");
lvl2.
setIlvl( BigInteger.
valueOf( 1
) );
PPr ppr2
= wmlObjectFactory.
createPPr();
lvl2.
setPPr(ppr2
);
PPrBase.
Ind pprbaseind2
= wmlObjectFactory.
createPPrBaseInd();
ppr2.
setInd(pprbaseind2
);
pprbaseind2.
setLeft( BigInteger.
valueOf( 1440
) );
pprbaseind2.
setHanging( BigInteger.
valueOf( 360
) );
NumFmt numfmt2
= wmlObjectFactory.
createNumFmt();
lvl2.
setNumFmt(numfmt2
);
numfmt2.
setVal(org.
docx4j.
wml.
NumberFormat.
BULLET);
Lvl.
LvlText lvllvltext2
= wmlObjectFactory.
createLvlLvlText();
lvl2.
setLvlText(lvllvltext2
);
lvllvltext2.
setVal( "o");
Jc jc2
= wmlObjectFactory.
createJc();
lvl2.
setLvlJc(jc2
);
jc2.
setVal(org.
docx4j.
wml.
JcEnumeration.
LEFT);
lvl2.
setTplc( "04090003");
Lvl lvl3
= wmlObjectFactory.
createLvl();
numberingabstractnum.
getLvl().
add( lvl3
);
Lvl.
Start lvlstart3
= wmlObjectFactory.
createLvlStart();
lvl3.
setStart(lvlstart3
);
lvlstart3.
setVal( BigInteger.
valueOf( 1
) );
RPr rpr3
= wmlObjectFactory.
createRPr();
lvl3.
setRPr(rpr3
);
RFonts rfonts3
= wmlObjectFactory.
createRFonts();
rpr3.
setRFonts(rfonts3
);
rfonts3.
setAscii( "Wingdings");
rfonts3.
setHint(org.
docx4j.
wml.
STHint.
DEFAULT);
rfonts3.
setHAnsi( "Wingdings");
lvl3.
setIlvl( BigInteger.
valueOf( 2
) );
PPr ppr3
= wmlObjectFactory.
createPPr();
lvl3.
setPPr(ppr3
);
PPrBase.
Ind pprbaseind3
= wmlObjectFactory.
createPPrBaseInd();
ppr3.
setInd(pprbaseind3
);
pprbaseind3.
setLeft( BigInteger.
valueOf( 2160
) );
pprbaseind3.
setHanging( BigInteger.
valueOf( 360
) );
NumFmt numfmt3
= wmlObjectFactory.
createNumFmt();
lvl3.
setNumFmt(numfmt3
);
numfmt3.
setVal(org.
docx4j.
wml.
NumberFormat.
BULLET);
Lvl.
LvlText lvllvltext3
= wmlObjectFactory.
createLvlLvlText();
lvl3.
setLvlText(lvllvltext3
);
lvllvltext3.
setVal( "");
Jc jc3
= wmlObjectFactory.
createJc();
lvl3.
setLvlJc(jc3
);
jc3.
setVal(org.
docx4j.
wml.
JcEnumeration.
LEFT);
lvl3.
setTplc( "04090005");
Lvl lvl4
= wmlObjectFactory.
createLvl();
numberingabstractnum.
getLvl().
add( lvl4
);
Lvl.
Start lvlstart4
= wmlObjectFactory.
createLvlStart();
lvl4.
setStart(lvlstart4
);
lvlstart4.
setVal( BigInteger.
valueOf( 1
) );
RPr rpr4
= wmlObjectFactory.
createRPr();
lvl4.
setRPr(rpr4
);
RFonts rfonts4
= wmlObjectFactory.
createRFonts();
rpr4.
setRFonts(rfonts4
);
rfonts4.
setAscii( "Symbol");
rfonts4.
setHint(org.
docx4j.
wml.
STHint.
DEFAULT);
rfonts4.
setHAnsi( "Symbol");
lvl4.
setIlvl( BigInteger.
valueOf( 3
) );
PPr ppr4
= wmlObjectFactory.
createPPr();
lvl4.
setPPr(ppr4
);
PPrBase.
Ind pprbaseind4
= wmlObjectFactory.
createPPrBaseInd();
ppr4.
setInd(pprbaseind4
);
pprbaseind4.
setLeft( BigInteger.
valueOf( 2880
) );
pprbaseind4.
setHanging( BigInteger.
valueOf( 360
) );
NumFmt numfmt4
= wmlObjectFactory.
createNumFmt();
lvl4.
setNumFmt(numfmt4
);
numfmt4.
setVal(org.
docx4j.
wml.
NumberFormat.
BULLET);
Lvl.
LvlText lvllvltext4
= wmlObjectFactory.
createLvlLvlText();
lvl4.
setLvlText(lvllvltext4
);
lvllvltext4.
setVal( "");
Jc jc4
= wmlObjectFactory.
createJc();
lvl4.
setLvlJc(jc4
);
jc4.
setVal(org.
docx4j.
wml.
JcEnumeration.
LEFT);
lvl4.
setTplc( "04090001");
Lvl lvl5
= wmlObjectFactory.
createLvl();
numberingabstractnum.
getLvl().
add( lvl5
);
Lvl.
Start lvlstart5
= wmlObjectFactory.
createLvlStart();
lvl5.
setStart(lvlstart5
);
lvlstart5.
setVal( BigInteger.
valueOf( 1
) );
RPr rpr5
= wmlObjectFactory.
createRPr();
lvl5.
setRPr(rpr5
);
RFonts rfonts5
= wmlObjectFactory.
createRFonts();
rpr5.
setRFonts(rfonts5
);
rfonts5.
setAscii( "Courier New");
rfonts5.
setCs( "Courier New");
rfonts5.
setHint(org.
docx4j.
wml.
STHint.
DEFAULT);
rfonts5.
setHAnsi( "Courier New");
lvl5.
setIlvl( BigInteger.
valueOf( 4
) );
PPr ppr5
= wmlObjectFactory.
createPPr();
lvl5.
setPPr(ppr5
);
PPrBase.
Ind pprbaseind5
= wmlObjectFactory.
createPPrBaseInd();
ppr5.
setInd(pprbaseind5
);
pprbaseind5.
setLeft( BigInteger.
valueOf( 3600
) );
pprbaseind5.
setHanging( BigInteger.
valueOf( 360
) );
NumFmt numfmt5
= wmlObjectFactory.
createNumFmt();
lvl5.
setNumFmt(numfmt5
);
numfmt5.
setVal(org.
docx4j.
wml.
NumberFormat.
BULLET);
Lvl.
LvlText lvllvltext5
= wmlObjectFactory.
createLvlLvlText();
lvl5.
setLvlText(lvllvltext5
);
lvllvltext5.
setVal( "o");
Jc jc5
= wmlObjectFactory.
createJc();
lvl5.
setLvlJc(jc5
);
jc5.
setVal(org.
docx4j.
wml.
JcEnumeration.
LEFT);
lvl5.
setTplc( "04090003");
Lvl lvl6
= wmlObjectFactory.
createLvl();
numberingabstractnum.
getLvl().
add( lvl6
);
Lvl.
Start lvlstart6
= wmlObjectFactory.
createLvlStart();
lvl6.
setStart(lvlstart6
);
lvlstart6.
setVal( BigInteger.
valueOf( 1
) );
RPr rpr6
= wmlObjectFactory.
createRPr();
lvl6.
setRPr(rpr6
);
RFonts rfonts6
= wmlObjectFactory.
createRFonts();
rpr6.
setRFonts(rfonts6
);
rfonts6.
setAscii( "Wingdings");
rfonts6.
setHint(org.
docx4j.
wml.
STHint.
DEFAULT);
rfonts6.
setHAnsi( "Wingdings");
lvl6.
setIlvl( BigInteger.
valueOf( 5
) );
PPr ppr6
= wmlObjectFactory.
createPPr();
lvl6.
setPPr(ppr6
);
PPrBase.
Ind pprbaseind6
= wmlObjectFactory.
createPPrBaseInd();
ppr6.
setInd(pprbaseind6
);
pprbaseind6.
setLeft( BigInteger.
valueOf( 4320
) );
pprbaseind6.
setHanging( BigInteger.
valueOf( 360
) );
NumFmt numfmt6
= wmlObjectFactory.
createNumFmt();
lvl6.
setNumFmt(numfmt6
);
numfmt6.
setVal(org.
docx4j.
wml.
NumberFormat.
BULLET);
Lvl.
LvlText lvllvltext6
= wmlObjectFactory.
createLvlLvlText();
lvl6.
setLvlText(lvllvltext6
);
lvllvltext6.
setVal( "");
Jc jc6
= wmlObjectFactory.
createJc();
lvl6.
setLvlJc(jc6
);
jc6.
setVal(org.
docx4j.
wml.
JcEnumeration.
LEFT);
lvl6.
setTplc( "04090005");
Lvl lvl7
= wmlObjectFactory.
createLvl();
numberingabstractnum.
getLvl().
add( lvl7
);
Lvl.
Start lvlstart7
= wmlObjectFactory.
createLvlStart();
lvl7.
setStart(lvlstart7
);
lvlstart7.
setVal( BigInteger.
valueOf( 1
) );
RPr rpr7
= wmlObjectFactory.
createRPr();
lvl7.
setRPr(rpr7
);
RFonts rfonts7
= wmlObjectFactory.
createRFonts();
rpr7.
setRFonts(rfonts7
);
rfonts7.
setAscii( "Symbol");
rfonts7.
setHint(org.
docx4j.
wml.
STHint.
DEFAULT);
rfonts7.
setHAnsi( "Symbol");
lvl7.
setIlvl( BigInteger.
valueOf( 6
) );
PPr ppr7
= wmlObjectFactory.
createPPr();
lvl7.
setPPr(ppr7
);
PPrBase.
Ind pprbaseind7
= wmlObjectFactory.
createPPrBaseInd();
ppr7.
setInd(pprbaseind7
);
pprbaseind7.
setLeft( BigInteger.
valueOf( 5040
) );
pprbaseind7.
setHanging( BigInteger.
valueOf( 360
) );
NumFmt numfmt7
= wmlObjectFactory.
createNumFmt();
lvl7.
setNumFmt(numfmt7
);
numfmt7.
setVal(org.
docx4j.
wml.
NumberFormat.
BULLET);
Lvl.
LvlText lvllvltext7
= wmlObjectFactory.
createLvlLvlText();
lvl7.
setLvlText(lvllvltext7
);
lvllvltext7.
setVal( "");
Jc jc7
= wmlObjectFactory.
createJc();
lvl7.
setLvlJc(jc7
);
jc7.
setVal(org.
docx4j.
wml.
JcEnumeration.
LEFT);
lvl7.
setTplc( "04090001");
Lvl lvl8
= wmlObjectFactory.
createLvl();
numberingabstractnum.
getLvl().
add( lvl8
);
Lvl.
Start lvlstart8
= wmlObjectFactory.
createLvlStart();
lvl8.
setStart(lvlstart8
);
lvlstart8.
setVal( BigInteger.
valueOf( 1
) );
RPr rpr8
= wmlObjectFactory.
createRPr();
lvl8.
setRPr(rpr8
);
RFonts rfonts8
= wmlObjectFactory.
createRFonts();
rpr8.
setRFonts(rfonts8
);
rfonts8.
setAscii( "Courier New");
rfonts8.
setCs( "Courier New");
rfonts8.
setHint(org.
docx4j.
wml.
STHint.
DEFAULT);
rfonts8.
setHAnsi( "Courier New");
lvl8.
setIlvl( BigInteger.
valueOf( 7
) );
PPr ppr8
= wmlObjectFactory.
createPPr();
lvl8.
setPPr(ppr8
);
PPrBase.
Ind pprbaseind8
= wmlObjectFactory.
createPPrBaseInd();
ppr8.
setInd(pprbaseind8
);
pprbaseind8.
setLeft( BigInteger.
valueOf( 5760
) );
pprbaseind8.
setHanging( BigInteger.
valueOf( 360
) );
NumFmt numfmt8
= wmlObjectFactory.
createNumFmt();
lvl8.
setNumFmt(numfmt8
);
numfmt8.
setVal(org.
docx4j.
wml.
NumberFormat.
BULLET);
Lvl.
LvlText lvllvltext8
= wmlObjectFactory.
createLvlLvlText();
lvl8.
setLvlText(lvllvltext8
);
lvllvltext8.
setVal( "o");
Jc jc8
= wmlObjectFactory.
createJc();
lvl8.
setLvlJc(jc8
);
jc8.
setVal(org.
docx4j.
wml.
JcEnumeration.
LEFT);
lvl8.
setTplc( "04090003");
Lvl lvl9
= wmlObjectFactory.
createLvl();
numberingabstractnum.
getLvl().
add( lvl9
);
Lvl.
Start lvlstart9
= wmlObjectFactory.
createLvlStart();
lvl9.
setStart(lvlstart9
);
lvlstart9.
setVal( BigInteger.
valueOf( 1
) );
RPr rpr9
= wmlObjectFactory.
createRPr();
lvl9.
setRPr(rpr9
);
RFonts rfonts9
= wmlObjectFactory.
createRFonts();
rpr9.
setRFonts(rfonts9
);
rfonts9.
setAscii( "Wingdings");
rfonts9.
setHint(org.
docx4j.
wml.
STHint.
DEFAULT);
rfonts9.
setHAnsi( "Wingdings");
lvl9.
setIlvl( BigInteger.
valueOf( 8
) );
PPr ppr9
= wmlObjectFactory.
createPPr();
lvl9.
setPPr(ppr9
);
PPrBase.
Ind pprbaseind9
= wmlObjectFactory.
createPPrBaseInd();
ppr9.
setInd(pprbaseind9
);
pprbaseind9.
setLeft( BigInteger.
valueOf( 6480
) );
pprbaseind9.
setHanging( BigInteger.
valueOf( 360
) );
NumFmt numfmt9
= wmlObjectFactory.
createNumFmt();
lvl9.
setNumFmt(numfmt9
);
numfmt9.
setVal(org.
docx4j.
wml.
NumberFormat.
BULLET);
Lvl.
LvlText lvllvltext9
= wmlObjectFactory.
createLvlLvlText();
lvl9.
setLvlText(lvllvltext9
);
lvllvltext9.
setVal( "");
Jc jc9
= wmlObjectFactory.
createJc();
lvl9.
setLvlJc(jc9
);
jc9.
setVal(org.
docx4j.
wml.
JcEnumeration.
LEFT);
lvl9.
setTplc( "04090005");
numberingabstractnum.
setAbstractNumId( BigInteger.
valueOf( 0
) );
CTLongHexNumber longhexnumber
= wmlObjectFactory.
createCTLongHexNumber();
numberingabstractnum.
setNsid(longhexnumber
);
longhexnumber.
setVal( "6ECB300A");
Numbering.
AbstractNum.
MultiLevelType numberingabstractnummultileveltype
= wmlObjectFactory.
createNumberingAbstractNumMultiLevelType();
numberingabstractnum.
setMultiLevelType(numberingabstractnummultileveltype
);
numberingabstractnummultileveltype.
setVal( "hybridMultilevel");
CTLongHexNumber longhexnumber2
= wmlObjectFactory.
createCTLongHexNumber();
numberingabstractnum.
setTmpl(longhexnumber2
);
longhexnumber2.
setVal( "54F22A3A");
Numbering.
Num numberingnum
= wmlObjectFactory.
createNumberingNum();
numbering.
getNum().
add( numberingnum
);
Numbering.
Num.
AbstractNumId numberingnumabstractnumid
= wmlObjectFactory.
createNumberingNumAbstractNumId();
numberingnum.
setAbstractNumId(numberingnumabstractnumid
);
numberingnumabstractnumid.
setVal( BigInteger.
valueOf( 0
) );
numberingnum.
setNumId( BigInteger.
valueOf( 1
) );
Parsed in 0.048 seconds, using
GeSHi 1.0.8.4