All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.alphasystem.docx4j.builder.wml.WmlBuilderFactory Maven / Gradle / Ivy

There is a newer version: 0.5.5
Show newest version

package com.alphasystem.docx4j.builder.wml;

import java.lang.reflect.Constructor;
import java.lang.reflect.Field;
import java.math.BigInteger;
import com.alphasystem.docx4j.builder.OpenXmlBuilder;
import org.docx4j.jaxb.Context;
import org.docx4j.wml.BooleanDefaultFalse;
import org.docx4j.wml.BooleanDefaultTrue;
import org.docx4j.wml.Br;
import org.docx4j.wml.CTBookmark;
import org.docx4j.wml.CTBookmarkRange;
import org.docx4j.wml.CTBorder;
import org.docx4j.wml.CTCellMergeTrackChange;
import org.docx4j.wml.CTCnf;
import org.docx4j.wml.CTColumn;
import org.docx4j.wml.CTColumns;
import org.docx4j.wml.CTControl;
import org.docx4j.wml.CTDecimalNumber;
import org.docx4j.wml.CTDocGrid;
import org.docx4j.wml.CTEastAsianLayout;
import org.docx4j.wml.CTEdnPos;
import org.docx4j.wml.CTEdnProps;
import org.docx4j.wml.CTEm;
import org.docx4j.wml.CTFFData;
import org.docx4j.wml.CTFitText;
import org.docx4j.wml.CTFramePr;
import org.docx4j.wml.CTFtnPos;
import org.docx4j.wml.CTFtnProps;
import org.docx4j.wml.CTHeight;
import org.docx4j.wml.CTLanguage;
import org.docx4j.wml.CTLineNumber;
import org.docx4j.wml.CTLongHexNumber;
import org.docx4j.wml.CTNumRestart;
import org.docx4j.wml.CTPPrChange;
import org.docx4j.wml.CTPageNumber;
import org.docx4j.wml.CTPaperSource;
import org.docx4j.wml.CTRPrChange;
import org.docx4j.wml.CTRel;
import org.docx4j.wml.CTSdtContentRow;
import org.docx4j.wml.CTSdtDocPart;
import org.docx4j.wml.CTSdtEndPr;
import org.docx4j.wml.CTSdtRow;
import org.docx4j.wml.CTSectPrChange;
import org.docx4j.wml.CTShd;
import org.docx4j.wml.CTSignedHpsMeasure;
import org.docx4j.wml.CTSignedTwipsMeasure;
import org.docx4j.wml.CTString;
import org.docx4j.wml.CTTabStop;
import org.docx4j.wml.CTTblCellMar;
import org.docx4j.wml.CTTblGridChange;
import org.docx4j.wml.CTTblLayoutType;
import org.docx4j.wml.CTTblLook;
import org.docx4j.wml.CTTblOverlap;
import org.docx4j.wml.CTTblPPr;
import org.docx4j.wml.CTTblPrBase;
import org.docx4j.wml.CTTblPrChange;
import org.docx4j.wml.CTTblPrEx;
import org.docx4j.wml.CTTblPrExBase;
import org.docx4j.wml.CTTblPrExChange;
import org.docx4j.wml.CTTblStylePr;
import org.docx4j.wml.CTTcPrChange;
import org.docx4j.wml.CTTextEffect;
import org.docx4j.wml.CTTextScale;
import org.docx4j.wml.CTTextboxTightWrap;
import org.docx4j.wml.CTTrPrBase;
import org.docx4j.wml.CTTrPrChange;
import org.docx4j.wml.CTTrackChange;
import org.docx4j.wml.CTTrackChangeNumbering;
import org.docx4j.wml.CTVerticalAlignRun;
import org.docx4j.wml.CTVerticalJc;
import org.docx4j.wml.Color;
import org.docx4j.wml.DocDefaults;
import org.docx4j.wml.FldChar;
import org.docx4j.wml.Highlight;
import org.docx4j.wml.HpsMeasure;
import org.docx4j.wml.Jc;
import org.docx4j.wml.JcEnumeration;
import org.docx4j.wml.Lvl;
import org.docx4j.wml.NumFmt;
import org.docx4j.wml.Numbering;
import org.docx4j.wml.ObjectFactory;
import org.docx4j.wml.P;
import org.docx4j.wml.PPr;
import org.docx4j.wml.PPrBase;
import org.docx4j.wml.ParaRPr;
import org.docx4j.wml.Pict;
import org.docx4j.wml.R;
import org.docx4j.wml.RFonts;
import org.docx4j.wml.RPr;
import org.docx4j.wml.RStyle;
import org.docx4j.wml.SdtBlock;
import org.docx4j.wml.SdtContentBlock;
import org.docx4j.wml.SdtPr;
import org.docx4j.wml.SectPr;
import org.docx4j.wml.SectPrBase;
import org.docx4j.wml.Style;
import org.docx4j.wml.Styles;
import org.docx4j.wml.Tabs;
import org.docx4j.wml.Tbl;
import org.docx4j.wml.TblBorders;
import org.docx4j.wml.TblGrid;
import org.docx4j.wml.TblGridBase;
import org.docx4j.wml.TblGridCol;
import org.docx4j.wml.TblPr;
import org.docx4j.wml.TblWidth;
import org.docx4j.wml.Tc;
import org.docx4j.wml.TcMar;
import org.docx4j.wml.TcPr;
import org.docx4j.wml.TcPrInner;
import org.docx4j.wml.Text;
import org.docx4j.wml.TextDirection;
import org.docx4j.wml.Tr;
import org.docx4j.wml.TrPr;
import org.docx4j.wml.U;

public class WmlBuilderFactory {

    public final static ObjectFactory OBJECT_FACTORY = Context.getWmlObjectFactory();
    public final static BooleanDefaultTrue BOOLEAN_DEFAULT_TRUE_TRUE = getBooleanDefaultTrueBuilder().withVal(true).getObject();
    public final static BooleanDefaultTrue BOOLEAN_DEFAULT_TRUE_FALSE = getBooleanDefaultTrueBuilder().withVal(false).getObject();
    public final static BooleanDefaultFalse BOOLEAN_DEFAULT_FALSE_TRUE = getBooleanDefaultFalseBuilder().withVal(true).getObject();
    public final static BooleanDefaultFalse BOOLEAN_DEFAULT_FALSE_FALSE = getBooleanDefaultFalseBuilder().withVal(false).getObject();
    /**
     * Constant for JcEnumeration.LEFT
     * 
     */
    public final static Jc JC_LEFT = getJcBuilder().withVal(JcEnumeration.LEFT).getObject();
    /**
     * Constant for JcEnumeration.CENTER
     * 
     */
    public final static Jc JC_CENTER = getJcBuilder().withVal(JcEnumeration.CENTER).getObject();
    /**
     * Constant for JcEnumeration.RIGHT
     * 
     */
    public final static Jc JC_RIGHT = getJcBuilder().withVal(JcEnumeration.RIGHT).getObject();
    /**
     * Constant for JcEnumeration.BOTH
     * 
     */
    public final static Jc JC_BOTH = getJcBuilder().withVal(JcEnumeration.BOTH).getObject();
    /**
     * Constant for JcEnumeration.MEDIUM_KASHIDA
     * 
     */
    public final static Jc JC_MEDIUM_KASHIDA = getJcBuilder().withVal(JcEnumeration.MEDIUM_KASHIDA).getObject();
    /**
     * Constant for JcEnumeration.DISTRIBUTE
     * 
     */
    public final static Jc JC_DISTRIBUTE = getJcBuilder().withVal(JcEnumeration.DISTRIBUTE).getObject();
    /**
     * Constant for JcEnumeration.NUM_TAB
     * 
     */
    public final static Jc JC_NUM_TAB = getJcBuilder().withVal(JcEnumeration.NUM_TAB).getObject();
    /**
     * Constant for JcEnumeration.HIGH_KASHIDA
     * 
     */
    public final static Jc JC_HIGH_KASHIDA = getJcBuilder().withVal(JcEnumeration.HIGH_KASHIDA).getObject();
    /**
     * Constant for JcEnumeration.LOW_KASHIDA
     * 
     */
    public final static Jc JC_LOW_KASHIDA = getJcBuilder().withVal(JcEnumeration.LOW_KASHIDA).getObject();
    /**
     * Constant for JcEnumeration.THAI_DISTRIBUTE
     * 
     */
    public final static Jc JC_THAI_DISTRIBUTE = getJcBuilder().withVal(JcEnumeration.THAI_DISTRIBUTE).getObject();

    /**
     * Do not let anyone instantiate this class.
     * 
     */
    private WmlBuilderFactory() {
    }

    public static BooleanDefaultTrue cloneBooleanDefaultTrue(BooleanDefaultTrue source) {
        BooleanDefaultTrue target = null;
        if (source!= null) {
            target = new BooleanDefaultTrueBuilder(source, target).getObject();
        }
        return target;
    }

    public static BigInteger cloneBigInteger(BigInteger source) {
        BigInteger target = null;
        if (source!= null) {
            target = BigInteger.valueOf(source.longValue());
        }
        return target;
    }

    public static Boolean cloneBoolean(Object source, String fieldName) {
        Boolean target = null;
        if (source!= null) {
            try {
                final Field field = source.getClass().getDeclaredField(fieldName);
                field.setAccessible(true);
                target = ((Boolean) field.get(source));
            } catch (Exception ex) {
                ex.printStackTrace();
            }
        }
        return target;
    }

    public static Object cloneObject(Object source) {
        if (source == null) {
            return source;
        }
        final Class objectClass = source.getClass();
        if (objectClass.getPackage().getName().equals("org.docx4j.wml")) {
            Class builderClass = null;
            final String builderPackageName = "com.alphasystem.docx4j.builder.wml";
            String builderFqn = String.format("%s.%sBuilder", builderPackageName, objectClass.getSimpleName());
            try {
                builderClass = Class.forName(builderFqn);
            } catch (ClassNotFoundException ex) {
                // ignore
            }
            if (builderClass == null) {
                System.err.printf("Error creating builder: %s\n", objectClass.getName());
                return source;
            }
            try {
                final Constructor constructor = builderClass.getConstructor(objectClass, objectClass);
                final OpenXmlBuilder builder = ((OpenXmlBuilder) constructor.newInstance(source, null));
                return builder.getObject();
            } catch (Exception ex) {
                System.err.printf("Error creating builder: %s\n", ex.getMessage());
                return source;
            }
        }
        return source;
    }

    public static CTTrackChangeBuilder getCTTrackChangeBuilder() {
        return new CTTrackChangeBuilder();
    }

    public static CTTrackChangeBuilder getCTTrackChangeBuilder(CTTrackChange object) {
        return new CTTrackChangeBuilder(object);
    }

    public static RStyleBuilder getRStyleBuilder() {
        return new RStyleBuilder();
    }

    public static RStyleBuilder getRStyleBuilder(RStyle object) {
        return new RStyleBuilder(object);
    }

    public static RFontsBuilder getRFontsBuilder() {
        return new RFontsBuilder();
    }

    public static RFontsBuilder getRFontsBuilder(RFonts object) {
        return new RFontsBuilder(object);
    }

    public static BooleanDefaultTrueBuilder getBooleanDefaultTrueBuilder() {
        return new BooleanDefaultTrueBuilder();
    }

    public static BooleanDefaultTrueBuilder getBooleanDefaultTrueBuilder(BooleanDefaultTrue object) {
        return new BooleanDefaultTrueBuilder(object);
    }

    public static ColorBuilder getColorBuilder() {
        return new ColorBuilder();
    }

    public static ColorBuilder getColorBuilder(Color object) {
        return new ColorBuilder(object);
    }

    public static CTSignedTwipsMeasureBuilder getCTSignedTwipsMeasureBuilder() {
        return new CTSignedTwipsMeasureBuilder();
    }

    public static CTSignedTwipsMeasureBuilder getCTSignedTwipsMeasureBuilder(CTSignedTwipsMeasure object) {
        return new CTSignedTwipsMeasureBuilder(object);
    }

    public static CTTextScaleBuilder getCTTextScaleBuilder() {
        return new CTTextScaleBuilder();
    }

    public static CTTextScaleBuilder getCTTextScaleBuilder(CTTextScale object) {
        return new CTTextScaleBuilder(object);
    }

    public static HpsMeasureBuilder getHpsMeasureBuilder() {
        return new HpsMeasureBuilder();
    }

    public static HpsMeasureBuilder getHpsMeasureBuilder(HpsMeasure object) {
        return new HpsMeasureBuilder(object);
    }

    public static CTSignedHpsMeasureBuilder getCTSignedHpsMeasureBuilder() {
        return new CTSignedHpsMeasureBuilder();
    }

    public static CTSignedHpsMeasureBuilder getCTSignedHpsMeasureBuilder(CTSignedHpsMeasure object) {
        return new CTSignedHpsMeasureBuilder(object);
    }

    public static HighlightBuilder getHighlightBuilder() {
        return new HighlightBuilder();
    }

    public static HighlightBuilder getHighlightBuilder(Highlight object) {
        return new HighlightBuilder(object);
    }

    public static UBuilder getUBuilder() {
        return new UBuilder();
    }

    public static UBuilder getUBuilder(U object) {
        return new UBuilder(object);
    }

    public static CTTextEffectBuilder getCTTextEffectBuilder() {
        return new CTTextEffectBuilder();
    }

    public static CTTextEffectBuilder getCTTextEffectBuilder(CTTextEffect object) {
        return new CTTextEffectBuilder(object);
    }

    public static CTBorderBuilder getCTBorderBuilder() {
        return new CTBorderBuilder();
    }

    public static CTBorderBuilder getCTBorderBuilder(CTBorder object) {
        return new CTBorderBuilder(object);
    }

    public static CTShdBuilder getCTShdBuilder() {
        return new CTShdBuilder();
    }

    public static CTShdBuilder getCTShdBuilder(CTShd object) {
        return new CTShdBuilder(object);
    }

    public static CTFitTextBuilder getCTFitTextBuilder() {
        return new CTFitTextBuilder();
    }

    public static CTFitTextBuilder getCTFitTextBuilder(CTFitText object) {
        return new CTFitTextBuilder(object);
    }

    public static CTVerticalAlignRunBuilder getCTVerticalAlignRunBuilder() {
        return new CTVerticalAlignRunBuilder();
    }

    public static CTVerticalAlignRunBuilder getCTVerticalAlignRunBuilder(CTVerticalAlignRun object) {
        return new CTVerticalAlignRunBuilder(object);
    }

    public static CTEmBuilder getCTEmBuilder() {
        return new CTEmBuilder();
    }

    public static CTEmBuilder getCTEmBuilder(CTEm object) {
        return new CTEmBuilder(object);
    }

    public static CTLanguageBuilder getCTLanguageBuilder() {
        return new CTLanguageBuilder();
    }

    public static CTLanguageBuilder getCTLanguageBuilder(CTLanguage object) {
        return new CTLanguageBuilder(object);
    }

    public static CTEastAsianLayoutBuilder getCTEastAsianLayoutBuilder() {
        return new CTEastAsianLayoutBuilder();
    }

    public static CTEastAsianLayoutBuilder getCTEastAsianLayoutBuilder(CTEastAsianLayout object) {
        return new CTEastAsianLayoutBuilder(object);
    }

    public static CTRPrChangeBuilder getCTRPrChangeBuilder() {
        return new CTRPrChangeBuilder();
    }

    public static CTRPrChangeBuilder getCTRPrChangeBuilder(CTRPrChange object) {
        return new CTRPrChangeBuilder(object);
    }

    public static ParaRPrBuilder getParaRPrBuilder() {
        return new ParaRPrBuilder();
    }

    public static ParaRPrBuilder getParaRPrBuilder(ParaRPr object) {
        return new ParaRPrBuilder(object);
    }

    public static CTRelBuilder getCTRelBuilder() {
        return new CTRelBuilder();
    }

    public static CTRelBuilder getCTRelBuilder(CTRel object) {
        return new CTRelBuilder(object);
    }

    public static CTFtnPosBuilder getCTFtnPosBuilder() {
        return new CTFtnPosBuilder();
    }

    public static CTFtnPosBuilder getCTFtnPosBuilder(CTFtnPos object) {
        return new CTFtnPosBuilder(object);
    }

    public static NumFmtBuilder getNumFmtBuilder() {
        return new NumFmtBuilder();
    }

    public static NumFmtBuilder getNumFmtBuilder(NumFmt object) {
        return new NumFmtBuilder(object);
    }

    public static CTNumRestartBuilder getCTNumRestartBuilder() {
        return new CTNumRestartBuilder();
    }

    public static CTNumRestartBuilder getCTNumRestartBuilder(CTNumRestart object) {
        return new CTNumRestartBuilder(object);
    }

    public static CTFtnPropsBuilder getCTFtnPropsBuilder() {
        return new CTFtnPropsBuilder();
    }

    public static CTFtnPropsBuilder getCTFtnPropsBuilder(CTFtnProps object) {
        return new CTFtnPropsBuilder(object);
    }

    public static CTEdnPosBuilder getCTEdnPosBuilder() {
        return new CTEdnPosBuilder();
    }

    public static CTEdnPosBuilder getCTEdnPosBuilder(CTEdnPos object) {
        return new CTEdnPosBuilder(object);
    }

    public static CTEdnPropsBuilder getCTEdnPropsBuilder() {
        return new CTEdnPropsBuilder();
    }

    public static CTEdnPropsBuilder getCTEdnPropsBuilder(CTEdnProps object) {
        return new CTEdnPropsBuilder(object);
    }

    public static CTPaperSourceBuilder getCTPaperSourceBuilder() {
        return new CTPaperSourceBuilder();
    }

    public static CTPaperSourceBuilder getCTPaperSourceBuilder(CTPaperSource object) {
        return new CTPaperSourceBuilder(object);
    }

    public static CTLineNumberBuilder getCTLineNumberBuilder() {
        return new CTLineNumberBuilder();
    }

    public static CTLineNumberBuilder getCTLineNumberBuilder(CTLineNumber object) {
        return new CTLineNumberBuilder(object);
    }

    public static CTPageNumberBuilder getCTPageNumberBuilder() {
        return new CTPageNumberBuilder();
    }

    public static CTPageNumberBuilder getCTPageNumberBuilder(CTPageNumber object) {
        return new CTPageNumberBuilder(object);
    }

    public static CTColumnBuilder getCTColumnBuilder() {
        return new CTColumnBuilder();
    }

    public static CTColumnBuilder getCTColumnBuilder(CTColumn object) {
        return new CTColumnBuilder(object);
    }

    public static CTColumnsBuilder getCTColumnsBuilder() {
        return new CTColumnsBuilder();
    }

    public static CTColumnsBuilder getCTColumnsBuilder(CTColumns object) {
        return new CTColumnsBuilder(object);
    }

    public static CTVerticalJcBuilder getCTVerticalJcBuilder() {
        return new CTVerticalJcBuilder();
    }

    public static CTVerticalJcBuilder getCTVerticalJcBuilder(CTVerticalJc object) {
        return new CTVerticalJcBuilder(object);
    }

    public static TextDirectionBuilder getTextDirectionBuilder() {
        return new TextDirectionBuilder();
    }

    public static TextDirectionBuilder getTextDirectionBuilder(TextDirection object) {
        return new TextDirectionBuilder(object);
    }

    public static CTDocGridBuilder getCTDocGridBuilder() {
        return new CTDocGridBuilder();
    }

    public static CTDocGridBuilder getCTDocGridBuilder(CTDocGrid object) {
        return new CTDocGridBuilder(object);
    }

    public static CTDecimalNumberBuilder getCTDecimalNumberBuilder() {
        return new CTDecimalNumberBuilder();
    }

    public static CTDecimalNumberBuilder getCTDecimalNumberBuilder(CTDecimalNumber object) {
        return new CTDecimalNumberBuilder(object);
    }

    public static SectPrBaseBuilder getSectPrBaseBuilder() {
        return new SectPrBaseBuilder();
    }

    public static SectPrBaseBuilder getSectPrBaseBuilder(SectPrBase object) {
        return new SectPrBaseBuilder(object);
    }

    public static CTSectPrChangeBuilder getCTSectPrChangeBuilder() {
        return new CTSectPrChangeBuilder();
    }

    public static CTSectPrChangeBuilder getCTSectPrChangeBuilder(CTSectPrChange object) {
        return new CTSectPrChangeBuilder(object);
    }

    public static SectPrBuilder getSectPrBuilder() {
        return new SectPrBuilder();
    }

    public static SectPrBuilder getSectPrBuilder(SectPr object) {
        return new SectPrBuilder(object);
    }

    public static CTFramePrBuilder getCTFramePrBuilder() {
        return new CTFramePrBuilder();
    }

    public static CTFramePrBuilder getCTFramePrBuilder(CTFramePr object) {
        return new CTFramePrBuilder(object);
    }

    public static CTTrackChangeNumberingBuilder getCTTrackChangeNumberingBuilder() {
        return new CTTrackChangeNumberingBuilder();
    }

    public static CTTrackChangeNumberingBuilder getCTTrackChangeNumberingBuilder(CTTrackChangeNumbering object) {
        return new CTTrackChangeNumberingBuilder(object);
    }

    public static CTTabStopBuilder getCTTabStopBuilder() {
        return new CTTabStopBuilder();
    }

    public static CTTabStopBuilder getCTTabStopBuilder(CTTabStop object) {
        return new CTTabStopBuilder(object);
    }

    public static TabsBuilder getTabsBuilder() {
        return new TabsBuilder();
    }

    public static TabsBuilder getTabsBuilder(Tabs object) {
        return new TabsBuilder(object);
    }

    public static JcBuilder getJcBuilder() {
        return new JcBuilder();
    }

    public static JcBuilder getJcBuilder(Jc object) {
        return new JcBuilder(object);
    }

    public static CTTextboxTightWrapBuilder getCTTextboxTightWrapBuilder() {
        return new CTTextboxTightWrapBuilder();
    }

    public static CTTextboxTightWrapBuilder getCTTextboxTightWrapBuilder(CTTextboxTightWrap object) {
        return new CTTextboxTightWrapBuilder(object);
    }

    public static CTCnfBuilder getCTCnfBuilder() {
        return new CTCnfBuilder();
    }

    public static CTCnfBuilder getCTCnfBuilder(CTCnf object) {
        return new CTCnfBuilder(object);
    }

    public static PPrBaseBuilder getPPrBaseBuilder() {
        return new PPrBaseBuilder();
    }

    public static PPrBaseBuilder getPPrBaseBuilder(PPrBase object) {
        return new PPrBaseBuilder(object);
    }

    public static CTPPrChangeBuilder getCTPPrChangeBuilder() {
        return new CTPPrChangeBuilder();
    }

    public static CTPPrChangeBuilder getCTPPrChangeBuilder(CTPPrChange object) {
        return new CTPPrChangeBuilder(object);
    }

    public static PPrBuilder getPPrBuilder() {
        return new PPrBuilder();
    }

    public static PPrBuilder getPPrBuilder(PPr object) {
        return new PPrBuilder(object);
    }

    public static PBuilder getPBuilder() {
        return new PBuilder();
    }

    public static PBuilder getPBuilder(P object) {
        return new PBuilder(object);
    }

    public static PHyperlinkBuilder getPHyperlinkBuilder() {
        return new PHyperlinkBuilder();
    }

    public static PHyperlinkBuilder getPHyperlinkBuilder(P.Hyperlink object) {
        return new PHyperlinkBuilder(object);
    }

    public static CTTblPPrBuilder getCTTblPPrBuilder() {
        return new CTTblPPrBuilder();
    }

    public static CTTblPPrBuilder getCTTblPPrBuilder(CTTblPPr object) {
        return new CTTblPPrBuilder(object);
    }

    public static CTTblOverlapBuilder getCTTblOverlapBuilder() {
        return new CTTblOverlapBuilder();
    }

    public static CTTblOverlapBuilder getCTTblOverlapBuilder(CTTblOverlap object) {
        return new CTTblOverlapBuilder(object);
    }

    public static TblWidthBuilder getTblWidthBuilder() {
        return new TblWidthBuilder();
    }

    public static TblWidthBuilder getTblWidthBuilder(TblWidth object) {
        return new TblWidthBuilder(object);
    }

    public static TblBordersBuilder getTblBordersBuilder() {
        return new TblBordersBuilder();
    }

    public static TblBordersBuilder getTblBordersBuilder(TblBorders object) {
        return new TblBordersBuilder(object);
    }

    public static CTTblLayoutTypeBuilder getCTTblLayoutTypeBuilder() {
        return new CTTblLayoutTypeBuilder();
    }

    public static CTTblLayoutTypeBuilder getCTTblLayoutTypeBuilder(CTTblLayoutType object) {
        return new CTTblLayoutTypeBuilder(object);
    }

    public static CTTblCellMarBuilder getCTTblCellMarBuilder() {
        return new CTTblCellMarBuilder();
    }

    public static CTTblCellMarBuilder getCTTblCellMarBuilder(CTTblCellMar object) {
        return new CTTblCellMarBuilder(object);
    }

    public static CTTblLookBuilder getCTTblLookBuilder() {
        return new CTTblLookBuilder();
    }

    public static CTTblLookBuilder getCTTblLookBuilder(CTTblLook object) {
        return new CTTblLookBuilder(object);
    }

    public static CTStringBuilder getCTStringBuilder() {
        return new CTStringBuilder();
    }

    public static CTStringBuilder getCTStringBuilder(CTString object) {
        return new CTStringBuilder(object);
    }

    public static CTTblPrBaseBuilder getCTTblPrBaseBuilder() {
        return new CTTblPrBaseBuilder();
    }

    public static CTTblPrBaseBuilder getCTTblPrBaseBuilder(CTTblPrBase object) {
        return new CTTblPrBaseBuilder(object);
    }

    public static CTTblPrChangeBuilder getCTTblPrChangeBuilder() {
        return new CTTblPrChangeBuilder();
    }

    public static CTTblPrChangeBuilder getCTTblPrChangeBuilder(CTTblPrChange object) {
        return new CTTblPrChangeBuilder(object);
    }

    public static TblPrBuilder getTblPrBuilder() {
        return new TblPrBuilder();
    }

    public static TblPrBuilder getTblPrBuilder(TblPr object) {
        return new TblPrBuilder(object);
    }

    public static TblGridColBuilder getTblGridColBuilder() {
        return new TblGridColBuilder();
    }

    public static TblGridColBuilder getTblGridColBuilder(TblGridCol object) {
        return new TblGridColBuilder(object);
    }

    public static TblGridBaseBuilder getTblGridBaseBuilder() {
        return new TblGridBaseBuilder();
    }

    public static TblGridBaseBuilder getTblGridBaseBuilder(TblGridBase object) {
        return new TblGridBaseBuilder(object);
    }

    public static CTTblGridChangeBuilder getCTTblGridChangeBuilder() {
        return new CTTblGridChangeBuilder();
    }

    public static CTTblGridChangeBuilder getCTTblGridChangeBuilder(CTTblGridChange object) {
        return new CTTblGridChangeBuilder(object);
    }

    public static TblGridBuilder getTblGridBuilder() {
        return new TblGridBuilder();
    }

    public static TblGridBuilder getTblGridBuilder(TblGrid object) {
        return new TblGridBuilder(object);
    }

    public static TblBuilder getTblBuilder() {
        return new TblBuilder();
    }

    public static TblBuilder getTblBuilder(Tbl object) {
        return new TblBuilder(object);
    }

    public static CTTblPrExBaseBuilder getCTTblPrExBaseBuilder() {
        return new CTTblPrExBaseBuilder();
    }

    public static CTTblPrExBaseBuilder getCTTblPrExBaseBuilder(CTTblPrExBase object) {
        return new CTTblPrExBaseBuilder(object);
    }

    public static CTTblPrExChangeBuilder getCTTblPrExChangeBuilder() {
        return new CTTblPrExChangeBuilder();
    }

    public static CTTblPrExChangeBuilder getCTTblPrExChangeBuilder(CTTblPrExChange object) {
        return new CTTblPrExChangeBuilder(object);
    }

    public static CTTblPrExBuilder getCTTblPrExBuilder() {
        return new CTTblPrExBuilder();
    }

    public static CTTblPrExBuilder getCTTblPrExBuilder(CTTblPrEx object) {
        return new CTTblPrExBuilder(object);
    }

    public static CTTrPrBaseBuilder getCTTrPrBaseBuilder() {
        return new CTTrPrBaseBuilder();
    }

    public static CTTrPrBaseBuilder getCTTrPrBaseBuilder(CTTrPrBase object) {
        return new CTTrPrBaseBuilder(object);
    }

    public static CTTrPrChangeBuilder getCTTrPrChangeBuilder() {
        return new CTTrPrChangeBuilder();
    }

    public static CTTrPrChangeBuilder getCTTrPrChangeBuilder(CTTrPrChange object) {
        return new CTTrPrChangeBuilder(object);
    }

    public static TrPrBuilder getTrPrBuilder() {
        return new TrPrBuilder();
    }

    public static TrPrBuilder getTrPrBuilder(TrPr object) {
        return new TrPrBuilder(object);
    }

    public static TrBuilder getTrBuilder() {
        return new TrBuilder();
    }

    public static TrBuilder getTrBuilder(Tr object) {
        return new TrBuilder(object);
    }

    public static TcMarBuilder getTcMarBuilder() {
        return new TcMarBuilder();
    }

    public static TcMarBuilder getTcMarBuilder(TcMar object) {
        return new TcMarBuilder(object);
    }

    public static CTCellMergeTrackChangeBuilder getCTCellMergeTrackChangeBuilder() {
        return new CTCellMergeTrackChangeBuilder();
    }

    public static CTCellMergeTrackChangeBuilder getCTCellMergeTrackChangeBuilder(CTCellMergeTrackChange object) {
        return new CTCellMergeTrackChangeBuilder(object);
    }

    public static TcPrInnerBuilder getTcPrInnerBuilder() {
        return new TcPrInnerBuilder();
    }

    public static TcPrInnerBuilder getTcPrInnerBuilder(TcPrInner object) {
        return new TcPrInnerBuilder(object);
    }

    public static CTTcPrChangeBuilder getCTTcPrChangeBuilder() {
        return new CTTcPrChangeBuilder();
    }

    public static CTTcPrChangeBuilder getCTTcPrChangeBuilder(CTTcPrChange object) {
        return new CTTcPrChangeBuilder(object);
    }

    public static TcPrBuilder getTcPrBuilder() {
        return new TcPrBuilder();
    }

    public static TcPrBuilder getTcPrBuilder(TcPr object) {
        return new TcPrBuilder(object);
    }

    public static TcBuilder getTcBuilder() {
        return new TcBuilder();
    }

    public static TcBuilder getTcBuilder(Tc object) {
        return new TcBuilder(object);
    }

    public static RPrBuilder getRPrBuilder() {
        return new RPrBuilder();
    }

    public static RPrBuilder getRPrBuilder(RPr object) {
        return new RPrBuilder(object);
    }

    public static RBuilder getRBuilder() {
        return new RBuilder();
    }

    public static RBuilder getRBuilder(R object) {
        return new RBuilder(object);
    }

    public static RTabBuilder getRTabBuilder() {
        return new RTabBuilder();
    }

    public static RTabBuilder getRTabBuilder(R.Tab object) {
        return new RTabBuilder(object);
    }

    public static TextBuilder getTextBuilder() {
        return new TextBuilder();
    }

    public static TextBuilder getTextBuilder(Text object) {
        return new TextBuilder(object);
    }

    public static BrBuilder getBrBuilder() {
        return new BrBuilder();
    }

    public static BrBuilder getBrBuilder(Br object) {
        return new BrBuilder(object);
    }

    public static CTFFDataBuilder getCTFFDataBuilder() {
        return new CTFFDataBuilder();
    }

    public static CTFFDataBuilder getCTFFDataBuilder(CTFFData object) {
        return new CTFFDataBuilder(object);
    }

    public static FldCharBuilder getFldCharBuilder() {
        return new FldCharBuilder();
    }

    public static FldCharBuilder getFldCharBuilder(FldChar object) {
        return new FldCharBuilder(object);
    }

    public static CTBookmarkRangeBuilder getCTBookmarkRangeBuilder() {
        return new CTBookmarkRangeBuilder();
    }

    public static CTBookmarkRangeBuilder getCTBookmarkRangeBuilder(CTBookmarkRange object) {
        return new CTBookmarkRangeBuilder(object);
    }

    public static CTBookmarkBuilder getCTBookmarkBuilder() {
        return new CTBookmarkBuilder();
    }

    public static CTBookmarkBuilder getCTBookmarkBuilder(CTBookmark object) {
        return new CTBookmarkBuilder(object);
    }

    public static BooleanDefaultFalseBuilder getBooleanDefaultFalseBuilder() {
        return new BooleanDefaultFalseBuilder();
    }

    public static BooleanDefaultFalseBuilder getBooleanDefaultFalseBuilder(BooleanDefaultFalse object) {
        return new BooleanDefaultFalseBuilder(object);
    }

    public static DocDefaultsBuilder getDocDefaultsBuilder() {
        return new DocDefaultsBuilder();
    }

    public static DocDefaultsBuilder getDocDefaultsBuilder(DocDefaults object) {
        return new DocDefaultsBuilder(object);
    }

    public static StylesLatentStylesLsdExceptionBuilder getStylesLatentStylesLsdExceptionBuilder() {
        return new StylesLatentStylesLsdExceptionBuilder();
    }

    public static StylesLatentStylesLsdExceptionBuilder getStylesLatentStylesLsdExceptionBuilder(Styles.LatentStyles.LsdException object) {
        return new StylesLatentStylesLsdExceptionBuilder(object);
    }

    public static CTLongHexNumberBuilder getCTLongHexNumberBuilder() {
        return new CTLongHexNumberBuilder();
    }

    public static CTLongHexNumberBuilder getCTLongHexNumberBuilder(CTLongHexNumber object) {
        return new CTLongHexNumberBuilder(object);
    }

    public static CTTblStylePrBuilder getCTTblStylePrBuilder() {
        return new CTTblStylePrBuilder();
    }

    public static CTTblStylePrBuilder getCTTblStylePrBuilder(CTTblStylePr object) {
        return new CTTblStylePrBuilder(object);
    }

    public static StyleBuilder getStyleBuilder() {
        return new StyleBuilder();
    }

    public static StyleBuilder getStyleBuilder(Style object) {
        return new StyleBuilder(object);
    }

    public static StylesBuilder getStylesBuilder() {
        return new StylesBuilder();
    }

    public static StylesBuilder getStylesBuilder(Styles object) {
        return new StylesBuilder(object);
    }

    public static CTControlBuilder getCTControlBuilder() {
        return new CTControlBuilder();
    }

    public static CTControlBuilder getCTControlBuilder(CTControl object) {
        return new CTControlBuilder(object);
    }

    public static PictBuilder getPictBuilder() {
        return new PictBuilder();
    }

    public static PictBuilder getPictBuilder(Pict object) {
        return new PictBuilder(object);
    }

    public static NumberingNumPicBulletBuilder getNumberingNumPicBulletBuilder() {
        return new NumberingNumPicBulletBuilder();
    }

    public static NumberingNumPicBulletBuilder getNumberingNumPicBulletBuilder(Numbering.NumPicBullet object) {
        return new NumberingNumPicBulletBuilder(object);
    }

    public static LvlBuilder getLvlBuilder() {
        return new LvlBuilder();
    }

    public static LvlBuilder getLvlBuilder(Lvl object) {
        return new LvlBuilder(object);
    }

    public static NumberingAbstractNumBuilder getNumberingAbstractNumBuilder() {
        return new NumberingAbstractNumBuilder();
    }

    public static NumberingAbstractNumBuilder getNumberingAbstractNumBuilder(Numbering.AbstractNum object) {
        return new NumberingAbstractNumBuilder(object);
    }

    public static NumberingNumLvlOverrideBuilder getNumberingNumLvlOverrideBuilder() {
        return new NumberingNumLvlOverrideBuilder();
    }

    public static NumberingNumLvlOverrideBuilder getNumberingNumLvlOverrideBuilder(Numbering.Num.LvlOverride object) {
        return new NumberingNumLvlOverrideBuilder(object);
    }

    public static NumberingNumBuilder getNumberingNumBuilder() {
        return new NumberingNumBuilder();
    }

    public static NumberingNumBuilder getNumberingNumBuilder(Numbering.Num object) {
        return new NumberingNumBuilder(object);
    }

    public static NumberingBuilder getNumberingBuilder() {
        return new NumberingBuilder();
    }

    public static NumberingBuilder getNumberingBuilder(Numbering object) {
        return new NumberingBuilder(object);
    }

    public static SdtPrBuilder getSdtPrBuilder() {
        return new SdtPrBuilder();
    }

    public static SdtPrBuilder getSdtPrBuilder(SdtPr object) {
        return new SdtPrBuilder(object);
    }

    public static CTSdtEndPrBuilder getCTSdtEndPrBuilder() {
        return new CTSdtEndPrBuilder();
    }

    public static CTSdtEndPrBuilder getCTSdtEndPrBuilder(CTSdtEndPr object) {
        return new CTSdtEndPrBuilder(object);
    }

    public static SdtContentBlockBuilder getSdtContentBlockBuilder() {
        return new SdtContentBlockBuilder();
    }

    public static SdtContentBlockBuilder getSdtContentBlockBuilder(SdtContentBlock object) {
        return new SdtContentBlockBuilder(object);
    }

    public static SdtBlockBuilder getSdtBlockBuilder() {
        return new SdtBlockBuilder();
    }

    public static SdtBlockBuilder getSdtBlockBuilder(SdtBlock object) {
        return new SdtBlockBuilder(object);
    }

    public static CTSdtContentRowBuilder getCTSdtContentRowBuilder() {
        return new CTSdtContentRowBuilder();
    }

    public static CTSdtContentRowBuilder getCTSdtContentRowBuilder(CTSdtContentRow object) {
        return new CTSdtContentRowBuilder(object);
    }

    public static CTSdtRowBuilder getCTSdtRowBuilder() {
        return new CTSdtRowBuilder();
    }

    public static CTSdtRowBuilder getCTSdtRowBuilder(CTSdtRow object) {
        return new CTSdtRowBuilder(object);
    }

    public static CTSdtDocPartBuilder getCTSdtDocPartBuilder() {
        return new CTSdtDocPartBuilder();
    }

    public static CTSdtDocPartBuilder getCTSdtDocPartBuilder(CTSdtDocPart object) {
        return new CTSdtDocPartBuilder(object);
    }

    public static CTHeightBuilder getCTHeightBuilder() {
        return new CTHeightBuilder();
    }

    public static CTHeightBuilder getCTHeightBuilder(CTHeight object) {
        return new CTHeightBuilder(object);
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy