com.javadocx
Class CreateElement

java.lang.Object
  extended by com.javadocx.CreateElement
Direct Known Subclasses:
CreateChartRels, CreateExcelSharedStrings, CreateExcelSheet, CreateExcelTable, CreateFontTable, CreateFooter, CreateGraphic, CreateHeader, CreateImage, CreateLink, CreateList, CreatePage, CreateSettings, CreateStyle, CreateTable, CreateTableContents, CreateText, CreateTheme1, CreateWebSettings, CreateXlsx

public class CreateElement
extends java.lang.Object

Create tag elements.

Version:
2.0

Field Summary
protected static java.lang.String MATHNAMESPACEWORD
          Math namespace.
protected static java.lang.String NAMESPACEWORD
          Word namespace.
protected  java.lang.String xml
          Current XML.
 
Constructor Summary
CreateElement()
          Construct.
 
Method Summary
protected  void cleanTemplate()
          Remove unused variables.
protected  void cleanTemplateFirstRPR()
          Remove unused RPR variables.
protected  void generateANCHOR(java.lang.String behindDoc, java.lang.String distT, java.lang.String distB, java.lang.String distL, java.lang.String distR, java.lang.String simplePos, java.lang.String relativeHeight, java.lang.String locked, java.lang.String layoutInCell, java.lang.String allowOverlap)
          Generate NAMESPACEWORD:ANCHOR.
protected  void generateAVLST()
          Generate NAMESPACEWORD:AVLST.
protected  void generateB(java.lang.String string)
          Generate NAMESPACEWORD:B.
protected  void generateBCS()
          Generate NAMESPACEWORD:BCS.
protected  void generateBLIPFILL()
          Generate NAMESPACEWORD:BLIPFILL.
protected  void generateCNVGRAPHICFRAMEPR()
          Generate NAMESPACEWORD:CNVGRAPHICFRAMEPR.
protected  void generateCNVPICPR()
          Generate NAMESPACEWORD:CNVPICPR.
protected  void generateCNVPR(java.lang.String id, java.lang.String name)
          Generate NAMESPACEWORD:CNVPR.
protected  void generateDOCPR(java.lang.String id, java.lang.String name)
          Generate NAMESPACEWORD:DOCPR.
protected  void generateDRAWING()
          Generate NAMESPACEWORD:DRAWING.
protected  void generateEFFECTEXTENT(java.lang.String l, java.lang.String t, java.lang.String r, java.lang.String b)
          Generate NAMESPACEWORD:EFFECTEXTENT.
protected  void generateEXT(java.lang.String cx, java.lang.String cy)
          Generate NAMESPACEWORD:EXT.
protected  void generateEXTENT(java.lang.String cx, java.lang.String cy)
          Generate NAMESPACEWORD:EXTENT.
protected  void generateFILLRECT()
          Generate NAMESPACEWORD:FILLRECT.
protected  void generateGRAPHIC(java.lang.String xmlns)
          Generate NAMESPACEWORD:GRAPHIC.
protected  void generateGRAPHICDATA(java.lang.String uri)
          Generate NAMESPACEWORD:GRAPHICDATA.
protected  void generateGRAPHICPRAMELOCKS(java.lang.String noChangeAspect)
          Generate NAMESPACEWORD:GRAPHICPRAMELOCKS.
protected  void generateINLINE(java.lang.String distT, java.lang.String distB, java.lang.String distL, java.lang.String distR)
          Generate NAMESPACEWORD:T.
protected  void generateJC(java.lang.String val)
          Generate NAMESPACEWORD:JC.
protected  void generateLINETO(java.lang.String x, java.lang.String y)
          Generate NAMESPACEWORD:LINETO.
protected  void generateLN(java.lang.String w)
          Generate NAMESPACEWORD:LN.
protected  void generateNOPROOF()
          Generate NAMESPACEWORD:NOPROOF.
protected  void generateNVPICPR()
          Generate NAMESPACEWORD:NVPICPR.
protected  void generateOFF(java.lang.String x, java.lang.String y)
          Generate NAMESPACEWORD:OFF.
protected  void generateP()
          Generate NAMESPACEWORD:P.
protected  void generatePIC(java.lang.String pic)
          Generate NAMESPACEWORD:PIC.
protected  void generatePOSITIONH(java.lang.String relativeFrom)
          Generate NAMESPACEWORD:POSITIONH.
protected  void generatePOSITIONV(java.lang.String relativeFrom)
          Generate NAMESPACEWORD:POSITIONV.
protected  void generatePOSOFFSET(java.lang.String num)
          Generate NAMESPACEWORD:POSOFFSET.
protected  void generatePPR()
          Generate NAMESPACEWORD:PPR.
protected  void generatePRSTDASH(java.lang.String val)
          Generate NAMESPACEWORD:PRSTDASH.
protected  void generatePRSTGEOM(java.lang.String prst)
          Generate NAMESPACEWORD:PRSTGEOM.
protected  void generatePSTYLE(java.lang.String val)
          Generate NAMESPACEWORD:PSTYLE.
protected  void generateQUITAR()
          Clean xml, assign new NAMESPACEWORD:r.
protected  void generateR()
          Generate NAMESPACEWORD:R.
protected  void generateRFONTS(java.lang.String font)
          Generate NAMESPACEWORD:RFONTS.
protected  void generateRPR()
          Generate NAMESPACEWORD:PPR.
protected  void generateRSTYLE(java.lang.String val)
          Generate NAMESPACEWORD:RSTYLE.
protected  void generateSCHEMECLR(java.lang.String val)
          Generate NAMESPACEWORD:SCHEMECLR.
protected  void generateSIMPLEPOS(java.lang.String x, java.lang.String y)
          Generate NAMESPACEWORD:SIMPLEPOS.
protected  void generateSOLIDFILL()
          Generate NAMESPACEWORD:SOLIDFILL.
protected  void generateSPPR()
          Generate NAMESPACEWORD:SPPR.
protected  void generateSTART(java.lang.String x, java.lang.String y)
          Generate NAMESPACEWORD:START.
protected  void generateSTRETCH()
          Generate NAMESPACEWORD:STRETCH.
protected  void generateT(java.lang.String text)
          Generate NAMESPACEWORD:T.
protected  void generateWRAPNONE()
          Generate NAMESPACEWORD:WRAPNONE.
protected  void generateWRAPPOLYGON(java.lang.String edited)
          Generate NAMESPACEWORD:WRAPPOLYGON.
protected  void generateWRAPSQUARE(java.lang.String wrapText)
          Generate NAMESPACEWORD:WRAPSQUARE.
protected  void generateWRAPTHROUGH(java.lang.String wrapText)
          Generate NAMESPACEWORD:WRAPTHROUGH.
protected  void generateWRAPTOPANDBOTTOM()
          Generate NAMESPACEWORD:WRAPTOPANDBOTTOM.
protected  void generateXFRM()
          Generate NAMESPACEWORD:XFRM.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MATHNAMESPACEWORD

protected static final java.lang.String MATHNAMESPACEWORD
Math namespace.

See Also:
Constant Field Values

NAMESPACEWORD

protected static final java.lang.String NAMESPACEWORD
Word namespace.

See Also:
Constant Field Values

xml

protected java.lang.String xml
Current XML.

Constructor Detail

CreateElement

public CreateElement()
Construct.

Method Detail

cleanTemplate

protected final void cleanTemplate()
Remove unused variables.


cleanTemplateFirstRPR

protected final void cleanTemplateFirstRPR()
Remove unused RPR variables.


generateANCHOR

protected final void generateANCHOR(java.lang.String behindDoc,
                                    java.lang.String distT,
                                    java.lang.String distB,
                                    java.lang.String distL,
                                    java.lang.String distR,
                                    java.lang.String simplePos,
                                    java.lang.String relativeHeight,
                                    java.lang.String locked,
                                    java.lang.String layoutInCell,
                                    java.lang.String allowOverlap)
Generate NAMESPACEWORD:ANCHOR.

Parameters:
behindDoc - BehindDoc
distT - DistT
distB - DistB
distL - DistL
distR - DistR
simplePos - SimplePos
relativeHeight - RelativeHeight
locked - Locked
layoutInCell - LayoutInCell
allowOverlap - AllowOverlap

generateAVLST

protected final void generateAVLST()
Generate NAMESPACEWORD:AVLST.


generateB

protected final void generateB(java.lang.String string)
Generate NAMESPACEWORD:B.

Parameters:
string - Text string

generateBCS

protected void generateBCS()
Generate NAMESPACEWORD:BCS.


generateBLIPFILL

protected final void generateBLIPFILL()
Generate NAMESPACEWORD:BLIPFILL.


generateCNVGRAPHICFRAMEPR

protected final void generateCNVGRAPHICFRAMEPR()
Generate NAMESPACEWORD:CNVGRAPHICFRAMEPR.


generateCNVPICPR

protected final void generateCNVPICPR()
Generate NAMESPACEWORD:CNVPICPR.


generateCNVPR

protected final void generateCNVPR(java.lang.String id,
                                   java.lang.String name)
Generate NAMESPACEWORD:CNVPR.

Parameters:
id - Id
name - Name

generateDOCPR

protected final void generateDOCPR(java.lang.String id,
                                   java.lang.String name)
Generate NAMESPACEWORD:DOCPR.

Parameters:
id - Id
name - Name

generateDRAWING

protected final void generateDRAWING()
Generate NAMESPACEWORD:DRAWING.


generateEFFECTEXTENT

protected final void generateEFFECTEXTENT(java.lang.String l,
                                          java.lang.String t,
                                          java.lang.String r,
                                          java.lang.String b)
Generate NAMESPACEWORD:EFFECTEXTENT.

Parameters:
l - EffectExtent l
t - EffectExtent t
r - EffectExtent r
b - EffectExtent b

generateEXT

protected final void generateEXT(java.lang.String cx,
                                 java.lang.String cy)
Generate NAMESPACEWORD:EXT.

Parameters:
cx - Ext cx
cy - Ext cy

generateEXTENT

protected final void generateEXTENT(java.lang.String cx,
                                    java.lang.String cy)
Generate NAMESPACEWORD:EXTENT.

Parameters:
cx - Extent cx
cy - Extent cy

generateFILLRECT

protected final void generateFILLRECT()
Generate NAMESPACEWORD:FILLRECT.


generateGRAPHIC

protected final void generateGRAPHIC(java.lang.String xmlns)
Generate NAMESPACEWORD:GRAPHIC.

Parameters:
xmlns - Namespace xml

generateGRAPHICPRAMELOCKS

protected final void generateGRAPHICPRAMELOCKS(java.lang.String noChangeAspect)
Generate NAMESPACEWORD:GRAPHICPRAMELOCKS.

Parameters:
noChangeAspect - No change aspect

generateGRAPHICDATA

protected final void generateGRAPHICDATA(java.lang.String uri)
Generate NAMESPACEWORD:GRAPHICDATA.

Parameters:
uri - URI

generateINLINE

protected final void generateINLINE(java.lang.String distT,
                                    java.lang.String distB,
                                    java.lang.String distL,
                                    java.lang.String distR)
Generate NAMESPACEWORD:T.

Parameters:
distB - DistB
distL - DistL
distR - DistR
distT - DistT

generateJC

protected void generateJC(java.lang.String val)
Generate NAMESPACEWORD:JC.

Parameters:
val -

generateLINETO

protected final void generateLINETO(java.lang.String x,
                                    java.lang.String y)
Generate NAMESPACEWORD:LINETO.

Parameters:
x - Start x
y - Start y

generateLN

protected final void generateLN(java.lang.String w)
Generate NAMESPACEWORD:LN.

Parameters:
w - Ln w

generateNOPROOF

protected final void generateNOPROOF()
Generate NAMESPACEWORD:NOPROOF.


generateNVPICPR

protected final void generateNVPICPR()
Generate NAMESPACEWORD:NVPICPR.


generateOFF

protected final void generateOFF(java.lang.String x,
                                 java.lang.String y)
Generate NAMESPACEWORD:OFF.

Parameters:
x - Off x
y - Off y

generateP

protected void generateP()
Generate NAMESPACEWORD:P.


generatePIC

protected final void generatePIC(java.lang.String pic)
Generate NAMESPACEWORD:PIC.

Parameters:
pic - Pic

generatePOSITIONH

protected final void generatePOSITIONH(java.lang.String relativeFrom)
Generate NAMESPACEWORD:POSITIONH.

Parameters:
relativeFrom - Relative from

generatePOSITIONV

protected final void generatePOSITIONV(java.lang.String relativeFrom)
Generate NAMESPACEWORD:POSITIONV.

Parameters:
relativeFrom - Relative from

generatePOSOFFSET

protected final void generatePOSOFFSET(java.lang.String num)
Generate NAMESPACEWORD:POSOFFSET.

Parameters:
num - Num possoffset

generatePPR

protected void generatePPR()
Generate NAMESPACEWORD:PPR.


generatePRSTDASH

protected void generatePRSTDASH(java.lang.String val)
Generate NAMESPACEWORD:PRSTDASH.

Parameters:
val - PrstDash value

generatePRSTGEOM

protected final void generatePRSTGEOM(java.lang.String prst)
Generate NAMESPACEWORD:PRSTGEOM.

Parameters:
prst - Prst

generatePSTYLE

protected void generatePSTYLE(java.lang.String val)
Generate NAMESPACEWORD:PSTYLE.

Parameters:
val - Pstyle value

generateQUITAR

protected final void generateQUITAR()
Clean xml, assign new NAMESPACEWORD:r.


generateR

protected void generateR()
Generate NAMESPACEWORD:R.


generateRFONTS

protected final void generateRFONTS(java.lang.String font)
Generate NAMESPACEWORD:RFONTS.

Parameters:
font - Font type

generateRPR

protected void generateRPR()
Generate NAMESPACEWORD:PPR.


generateRSTYLE

protected void generateRSTYLE(java.lang.String val)
Generate NAMESPACEWORD:RSTYLE.

Parameters:
val - Rstyle value

generateSCHEMECLR

protected void generateSCHEMECLR(java.lang.String val)
Generate NAMESPACEWORD:SCHEMECLR.

Parameters:
val - SchemeClr value

generateSIMPLEPOS

protected final void generateSIMPLEPOS(java.lang.String x,
                                       java.lang.String y)
Generate NAMESPACEWORD:SIMPLEPOS.

Parameters:
x - X position
y - Y position

generateSOLIDFILL

protected void generateSOLIDFILL()
Generate NAMESPACEWORD:SOLIDFILL.


generateSPPR

protected void generateSPPR()
Generate NAMESPACEWORD:SPPR.


generateSTART

protected final void generateSTART(java.lang.String x,
                                   java.lang.String y)
Generate NAMESPACEWORD:START.

Parameters:
x - Start x
y - Start y

generateSTRETCH

protected final void generateSTRETCH()
Generate NAMESPACEWORD:STRETCH.


generateT

protected void generateT(java.lang.String text)
Generate NAMESPACEWORD:T.

Parameters:
text - Text

generateWRAPNONE

protected final void generateWRAPNONE()
Generate NAMESPACEWORD:WRAPNONE.


generateWRAPPOLYGON

protected final void generateWRAPPOLYGON(java.lang.String edited)
Generate NAMESPACEWORD:WRAPPOLYGON.

Parameters:
edited - Edited

generateWRAPSQUARE

protected final void generateWRAPSQUARE(java.lang.String wrapText)
Generate NAMESPACEWORD:WRAPSQUARE.

Parameters:
wrapText - Wrap text

generateWRAPTHROUGH

protected final void generateWRAPTHROUGH(java.lang.String wrapText)
Generate NAMESPACEWORD:WRAPTHROUGH.

Parameters:
wrapText - Wrap text

generateWRAPTOPANDBOTTOM

protected final void generateWRAPTOPANDBOTTOM()
Generate NAMESPACEWORD:WRAPTOPANDBOTTOM.


generateXFRM

protected final void generateXFRM()
Generate NAMESPACEWORD:XFRM.