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

com.hfg.xml.msofficexml.docx.drawingml.DmlXML Maven / Gradle / Ivy

There is a newer version: 20240423
Show newest version
package com.hfg.xml.msofficexml.docx.drawingml;

import com.hfg.xml.XMLName;
import com.hfg.xml.XMLNamespace;


//------------------------------------------------------------------------------
/**
 * XML tag and attribute names for drawingML-related namespaces.
 *
 * @author J. Alex Taylor, hairyfatguy.com
 */
//------------------------------------------------------------------------------
// com.hfg XML/HTML Coding Library
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// License as published by the Free Software Foundation; either
// version 2.1 of the License, or (at your option) any later version.
//
// This library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
// Lesser General Public License for more details.
//
// You should have received a copy of the GNU Lesser General Public
// License along with this library; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
//
// J. Alex Taylor, President, Founder, CEO, COO, CFO, OOPS hairyfatguy.com
// [email protected]
//------------------------------------------------------------------------------

public class DmlXML
{
   public static final XMLNamespace DRAWINGML_NAMESPACE           = XMLNamespace.getNamespace("a",   "http://schemas.openxmlformats.org/drawingml/2006/main");
   public static final XMLNamespace PIC_NAMESPACE                 = XMLNamespace.getNamespace("p",   "http://schemas.openxmlformats.org/drawingml/2006/picture");

   // Tag names
   public static final XMLName ACCENT1                 = new XMLName("accent1",           DRAWINGML_NAMESPACE);
   public static final XMLName ACCENT2                 = new XMLName("accent2",           DRAWINGML_NAMESPACE);
   public static final XMLName ACCENT3                 = new XMLName("accent3",           DRAWINGML_NAMESPACE);
   public static final XMLName ACCENT4                 = new XMLName("accent4",           DRAWINGML_NAMESPACE);
   public static final XMLName ACCENT5                 = new XMLName("accent5",           DRAWINGML_NAMESPACE);
   public static final XMLName ACCENT6                 = new XMLName("accent6",           DRAWINGML_NAMESPACE);
   public static final XMLName BKGRD_FILL_STYLE_LIST   = new XMLName("bgFillStyleLst",    DRAWINGML_NAMESPACE);
   public static final XMLName BEVEL                   = new XMLName("bevel",             DRAWINGML_NAMESPACE);
   public static final XMLName BLIP                    = new XMLName("blip",              DRAWINGML_NAMESPACE);
   public static final XMLName BODY_PROPS              = new XMLName("bodyPr",            DRAWINGML_NAMESPACE);
   public static final XMLName COLOR_SCHEME            = new XMLName("clrScheme",         DRAWINGML_NAMESPACE);
   public static final XMLName COMPLEX_SCRIPT_FONT     = new XMLName("cs",                DRAWINGML_NAMESPACE);
   public static final XMLName CUSTOM_DASH             = new XMLName("custDash",          DRAWINGML_NAMESPACE);
   public static final XMLName DARK1                   = new XMLName("dk1",               DRAWINGML_NAMESPACE);
   public static final XMLName DARK2                   = new XMLName("dk2",               DRAWINGML_NAMESPACE);
   public static final XMLName EAST_ASIAN_FONT         = new XMLName("ea",                DRAWINGML_NAMESPACE);
   public static final XMLName EFFECT_LIST             = new XMLName("effectLst",         DRAWINGML_NAMESPACE);
   public static final XMLName EFFECT_REF              = new XMLName("effectRef",         DRAWINGML_NAMESPACE);
   public static final XMLName EFFECT_STYLE            = new XMLName("effectStyle",       DRAWINGML_NAMESPACE);
   public static final XMLName EFFECT_STYLE_LIST       = new XMLName("effectStyleLst",    DRAWINGML_NAMESPACE);
   public static final XMLName EXTENTS                 = new XMLName("ext",               DRAWINGML_NAMESPACE);
   public static final XMLName EXT_LIST                = new XMLName("extLst",            DRAWINGML_NAMESPACE);
   public static final XMLName FILL_RECT               = new XMLName("fillRect",          DRAWINGML_NAMESPACE);
   public static final XMLName FILL_REF                = new XMLName("fillRef",           DRAWINGML_NAMESPACE);
   public static final XMLName FILL_STYLE_LIST         = new XMLName("fillStyleLst",      DRAWINGML_NAMESPACE);
   public static final XMLName FONT_REF                = new XMLName("fontRef",           DRAWINGML_NAMESPACE);
   public static final XMLName FONT                    = new XMLName("font",              DRAWINGML_NAMESPACE);
   public static final XMLName FOLLOWED_HYPERLINK      = new XMLName("folHlink",          DRAWINGML_NAMESPACE);
   public static final XMLName FONT_SCHEME             = new XMLName("fontScheme",        DRAWINGML_NAMESPACE);
   public static final XMLName FORMAT_SCHEME           = new XMLName("fmtScheme",         DRAWINGML_NAMESPACE);
   public static final XMLName GRAPHIC                 = new XMLName("graphic",           DRAWINGML_NAMESPACE);
   public static final XMLName GRADIENT_FILL           = new XMLName("gradFill",          DRAWINGML_NAMESPACE);
   public static final XMLName GRADIENT_STOP           = new XMLName("gs",                DRAWINGML_NAMESPACE);
   public static final XMLName GRADIENT_STOP_LIST      = new XMLName("gsLst",             DRAWINGML_NAMESPACE);
   public static final XMLName GRAPHIC_DATA            = new XMLName("graphicData",       DRAWINGML_NAMESPACE);
   public static final XMLName GRAPHIC_FRAME_LOCKS     = new XMLName("graphicFrameLocks", DRAWINGML_NAMESPACE);
   public static final XMLName HEAD_END                = new XMLName("headEnd",           DRAWINGML_NAMESPACE);
   public static final XMLName HSL_COLOR               = new XMLName("hslClr",            DRAWINGML_NAMESPACE);
   public static final XMLName HYPERLINK               = new XMLName("hlink",             DRAWINGML_NAMESPACE);
   public static final XMLName HYPERLINK_CLICK         = new XMLName("hlinkClick",        DRAWINGML_NAMESPACE);
   public static final XMLName LATIN_FONT              = new XMLName("latin",             DRAWINGML_NAMESPACE);
   public static final XMLName LIGHT1                  = new XMLName("lt1",               DRAWINGML_NAMESPACE);
   public static final XMLName LIGHT2                  = new XMLName("lt2",               DRAWINGML_NAMESPACE);
   public static final XMLName LINE                    = new XMLName("ln",                DRAWINGML_NAMESPACE);
   public static final XMLName LINE_HEAD_END           = new XMLName("headEnd",           DRAWINGML_NAMESPACE);
   public static final XMLName LINE_STYLE_LIST         = new XMLName("lineStyleLst",      DRAWINGML_NAMESPACE);
   public static final XMLName LINE_TAIL_END           = new XMLName("tailEnd",           DRAWINGML_NAMESPACE);
   public static final XMLName LINE_REF                = new XMLName("lnRef",             DRAWINGML_NAMESPACE);
   public static final XMLName LINEAR_GRAD_FILL        = new XMLName("lin",               DRAWINGML_NAMESPACE);
   public static final XMLName MAJOR_FONT              = new XMLName("majorFont",         DRAWINGML_NAMESPACE);
   public static final XMLName MINOR_FONT              = new XMLName("minorFont",         DRAWINGML_NAMESPACE);
   public static final XMLName MITER                   = new XMLName("miter",             DRAWINGML_NAMESPACE);
   public static final XMLName NO_FILL                 = new XMLName("noFill",            DRAWINGML_NAMESPACE);
   public static final XMLName OFFSET                  = new XMLName("off",               DRAWINGML_NAMESPACE);
   public static final XMLName PARAGRAPH               = new XMLName("p",                 DRAWINGML_NAMESPACE);
   public static final XMLName PATTERN_FILL            = new XMLName("pattFill",          DRAWINGML_NAMESPACE);
   public static final XMLName PIC_LOCKS               = new XMLName("picLocks",          DRAWINGML_NAMESPACE);
   public static final XMLName PRESET_COLOR            = new XMLName("prstClr",           DRAWINGML_NAMESPACE);
   public static final XMLName PRESET_DASH             = new XMLName("prstDash",          DRAWINGML_NAMESPACE);
   public static final XMLName PRESET_GEOMETRY         = new XMLName("prstGeom",          DRAWINGML_NAMESPACE);
   public static final XMLName ROUND                   = new XMLName("round",             DRAWINGML_NAMESPACE);
   public static final XMLName RUN_PROPS               = new XMLName("rPr",               DRAWINGML_NAMESPACE);
   public static final XMLName SCHEME_COLOR            = new XMLName("schemeClr",         DRAWINGML_NAMESPACE);
   public static final XMLName SHAPE_ADJUST_VALUES     = new XMLName("avLst",             DRAWINGML_NAMESPACE);
   public static final XMLName SOLID_FILL              = new XMLName("solidFill",         DRAWINGML_NAMESPACE);
   public static final XMLName SRC_RECT                = new XMLName("srcRect",           DRAWINGML_NAMESPACE);
   public static final XMLName SCRGB_COLOR             = new XMLName("scrgbClr",          DRAWINGML_NAMESPACE);
   public static final XMLName SRGB_COLOR              = new XMLName("srgbClr",           DRAWINGML_NAMESPACE);
   public static final XMLName STRETCH                 = new XMLName("stretch",           DRAWINGML_NAMESPACE);
   public static final XMLName SYS_COLOR               = new XMLName("sysClr",            DRAWINGML_NAMESPACE);
   public static final XMLName TAIL_END                = new XMLName("tailEnd",           DRAWINGML_NAMESPACE);
   public static final XMLName TEXT                    = new XMLName("t",                 DRAWINGML_NAMESPACE);
   public static final XMLName TEXT_RUN                = new XMLName("r",                 DRAWINGML_NAMESPACE);
   public static final XMLName THEME                   = new XMLName("theme",             DRAWINGML_NAMESPACE);
   public static final XMLName THEME_ELEMENTS          = new XMLName("themeElements",     DRAWINGML_NAMESPACE);
   public static final XMLName TRANSFORM_2D            = new XMLName("xfrm",              DRAWINGML_NAMESPACE);


   public static final XMLName BLIP_FILL                = new XMLName("blipFill",        PIC_NAMESPACE);
   public static final XMLName NON_VISUAL_DRAWING_PROPS = new XMLName("cNvPr",           PIC_NAMESPACE);
   public static final XMLName NON_VISUAL_PIC_DRAWING_PROPS = new XMLName("cNvPicPr",    PIC_NAMESPACE);
   public static final XMLName NON_VISUAL_SHAPE_PROPS   = new XMLName("cNvSpPr",         PIC_NAMESPACE);
   public static final XMLName NON_VISUAL_PIC_PROPS     = new XMLName("nvPicPr",         PIC_NAMESPACE);
   public static final XMLName NON_VISUAL_SHAPE_DRAWING_PROPS = new XMLName("nvSpPr",    PIC_NAMESPACE);
   public static final XMLName PIC                      = new XMLName("pic",             PIC_NAMESPACE);
   public static final XMLName SHAPE_PROPS              = new XMLName("spPr",            PIC_NAMESPACE);
   public static final XMLName SHAPE                    = new XMLName("sp",              PIC_NAMESPACE);
   public static final XMLName TEXT_BODY                = new XMLName("txBody",          PIC_NAMESPACE);




   public static final XMLName ALIGN_ATT                = new XMLName("algn");
   public static final XMLName ANCHOR_ATT               = new XMLName("anchor");
   public static final XMLName ANGLE_ATT                = new XMLName("ang");
   public static final XMLName BLACK_WHITE_MODE_ATT     = new XMLName("bwMode");
   public static final XMLName BOTTOM_ATT               = new XMLName("b");
   public static final XMLName CAP_ATT                  = new XMLName("cap");
   public static final XMLName COMPOUND_ATT             = new XMLName("cmpd");
   public static final XMLName CX_ATT                   = new XMLName("cx");
   public static final XMLName CY_ATT                   = new XMLName("cy");
   public static final XMLName FLIP_ATT                 = new XMLName("flip");
   public static final XMLName FLIP_HORIZ_ATT           = new XMLName("flipH");
   public static final XMLName FLIP_VERT_ATT            = new XMLName("flipV");
   public static final XMLName INDEX_ATT                = new XMLName("idx");
   public static final XMLName LEFT_ATT                 = new XMLName("l");
   public static final XMLName LIMIT_ATT                = new XMLName("lim");
   public static final XMLName NAME_ATT                 = new XMLName("name");
   public static final XMLName NO_CHANGE_ARROWHEADS_ATT = new XMLName("noChangeArrowheads");
   public static final XMLName NO_CHANGE_ASPECT_ATT     = new XMLName("noChangeAspect");
   public static final XMLName NO_DRILLDOWN_ATT         = new XMLName("noDrilldown");
   public static final XMLName NO_MOVE_ATT              = new XMLName("noMove");
   public static final XMLName NO_RESIZE_ATT            = new XMLName("noResize");
   public static final XMLName NO_SELECT_ATT            = new XMLName("noSelect");
   public static final XMLName NO_SHAPE_GROUPING_ATT    = new XMLName("noGrp");
   public static final XMLName POSITION_ATT             = new XMLName("pos");
   public static final XMLName PRESET_ATT               = new XMLName("prst");
   public static final XMLName RIGHT_ATT                = new XMLName("r");
   public static final XMLName RIGHT_TO_LEFT_COLS_ATT   = new XMLName("rtlCol");
   public static final XMLName ROTATE_WITH_SHAPE_ATT    = new XMLName("rotWithShape");
   public static final XMLName SCALED_ATT               = new XMLName("scaled");
   public static final XMLName SCRIPT_ATT               = new XMLName("script");
   public static final XMLName TOP_ATT                  = new XMLName("t");
   public static final XMLName TEXT_BOX_ATT             = new XMLName("txBox");
   public static final XMLName TYPEFACE_ATT             = new XMLName("typeface");
   public static final XMLName VALUE_ATT                = new XMLName("val");
   public static final XMLName WIDTH_ATT                = new XMLName("w");
   public static final XMLName X_ATT                    = new XMLName("x");
   public static final XMLName Y_ATT                    = new XMLName("y");

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy