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

com.hfg.xml.msoffice2003.spreadsheetml.SpreadsheetML Maven / Gradle / Ivy

There is a newer version: 20240423
Show newest version
package com.hfg.xml.msoffice2003.spreadsheetml;

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


//------------------------------------------------------------------------------
/**
 XML Names for use with Microsoft's Office 2003 SpreadsheetML.
 

See Wikipedia's summary.

and Microsoft's Reference. * @author J. Alex Taylor, hairyfatguy.com */ //------------------------------------------------------------------------------ // com.hfg 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 SpreadsheetML { /** The maximum length of an Excel worksheet name. */ public static final int WORKSHEET_NAME_MAX_LENGTH = 31; /** The maximum number of worksheets in an Excel workbook. */ public static final int MAX_WORKSHEETS = 256; public static final XMLNamespace SS_NAMESPACE = XMLNamespace.getNamespace("ss", "urn:schemas-microsoft-com:office:spreadsheet"); public static final XMLNamespace X_NAMESPACE = XMLNamespace.getNamespace("x", "urn:schemas-microsoft-com:office:excel"); public static final XMLNamespace O_NAMESPACE = XMLNamespace.getNamespace("o", "urn:schemas-microsoft-com:office:office"); public static final XMLNamespace C_NAMESPACE = XMLNamespace.getNamespace("c", "urn:schemas-microsoft-com:office:component:spreadsheet"); public static final XMLNamespace HTML_NAMESPACE = XMLNamespace.getNamespace("html", "http://www.w3.org/TR/REC-html40"); // Tag names public static final XMLName WORKBOOK = new XMLName("Workbook", SS_NAMESPACE); public static final XMLName WORKSHEET = new XMLName("Worksheet", SS_NAMESPACE); public static final XMLName STYLES = new XMLName("Styles", SS_NAMESPACE); public static final XMLName STYLE = new XMLName("Style", SS_NAMESPACE); public static final XMLName FONT = new XMLName("Font", SS_NAMESPACE); public static final XMLName TABLE = new XMLName("Table", SS_NAMESPACE); public static final XMLName COLUMN = new XMLName("Column", SS_NAMESPACE); public static final XMLName ROW = new XMLName("Row", SS_NAMESPACE); public static final XMLName CELL = new XMLName("Cell", SS_NAMESPACE); public static final XMLName COMMENT = new XMLName("Comment", SS_NAMESPACE); public static final XMLName DATA = new XMLName("Data", SS_NAMESPACE); public static final XMLName ALIGNMENT = new XMLName("Alignment", SS_NAMESPACE); public static final XMLName INTERIOR = new XMLName("Interior", SS_NAMESPACE); public static final XMLName BORDERS = new XMLName("Borders", SS_NAMESPACE); public static final XMLName BORDER = new XMLName("Border", SS_NAMESPACE); public static final XMLName NUMBER_FORMAT = new XMLName("NumberFormat", SS_NAMESPACE); public static final XMLName ACTIVE_COL = new XMLName("ActiveCol", X_NAMESPACE); public static final XMLName ACTIVE_PANE = new XMLName("ActivePane", X_NAMESPACE); public static final XMLName ACTIVE_ROW = new XMLName("ActiveRow", X_NAMESPACE); public static final XMLName AUTO_FILTER = new XMLName("AutoFilter", X_NAMESPACE); public static final XMLName FREEZE_PANES = new XMLName("FreezePanes", X_NAMESPACE); public static final XMLName FROZEN_NO_SPLIT = new XMLName("FrozenNoSplit", X_NAMESPACE); public static final XMLName LEFT_COLUMN_RIGHT_PANE = new XMLName("LeftColumnRightPane", X_NAMESPACE); public static final XMLName NUMBER = new XMLName("Number", X_NAMESPACE); public static final XMLName PAGE_LAYOUT_ZOOM = new XMLName("PageLayoutZoom", X_NAMESPACE); public static final XMLName PANE = new XMLName("Pane", X_NAMESPACE); public static final XMLName PANES = new XMLName("Panes", X_NAMESPACE); public static final XMLName PROTECT_OBJECTS = new XMLName("ProtectObjects", X_NAMESPACE); public static final XMLName PROTECT_SCENARIOS = new XMLName("ProtectScenarios", X_NAMESPACE); public static final XMLName RANGE = new XMLName("Range", X_NAMESPACE); public static final XMLName SELECTED = new XMLName("Selected", X_NAMESPACE); public static final XMLName SPLIT_HORIZONTAL = new XMLName("SplitHorizontal", X_NAMESPACE); public static final XMLName SPLIT_VERTICAL = new XMLName("SplitVertical", X_NAMESPACE); public static final XMLName TOP_ROW_BOTTOM_PANE = new XMLName("TopRowBottomPane", X_NAMESPACE); public static final XMLName WORKSHEET_OPTIONS = new XMLName("WorksheetOptions", X_NAMESPACE); public static final XMLName COMPONENT_OPTIONS = new XMLName("ComponentOptions", C_NAMESPACE); public static final XMLName DISPLAY_CUSTOM_HEADERS = new XMLName("DisplayCustomHeaders", C_NAMESPACE); public static final XMLName HIDE_OFFICE_LOGO = new XMLName("HideOfficeLogo", C_NAMESPACE); public static final XMLName TOOLBAR = new XMLName("Toolbar", C_NAMESPACE); // Given an '_C' suffix to distinguish it from the tag of the same name in the 'x' namespace public static final XMLName WORKSHEET_OPTIONS_C = new XMLName("WorksheetOptions", C_NAMESPACE); // Attribute names public static final XMLName AUTHOR_ATT = new XMLName("Author", SS_NAMESPACE); public static final XMLName AUTO_FIT_HEIGHT_ATT = new XMLName("AutoFitHeight", SS_NAMESPACE); public static final XMLName AUTO_FIT_WIDTH_ATT = new XMLName("AutoFitWidth", SS_NAMESPACE); public static final XMLName BOLD_ATT = new XMLName("Bold", SS_NAMESPACE); public static final XMLName COLOR_ATT = new XMLName("Color", SS_NAMESPACE); public static final XMLName DEFAULT_COLUMN_WIDTH_ATT = new XMLName("DefaultColumnWidth", SS_NAMESPACE); public static final XMLName DEFAULT_ROW_HEIGHT_ATT = new XMLName("DefaultRowHeight", SS_NAMESPACE); public static final XMLName EXPANEDED_COLUMN_COUNT_ATT = new XMLName("ExpandedColumnCount", SS_NAMESPACE); public static final XMLName FONT_NAME_ATT = new XMLName("FontName", SS_NAMESPACE); public static final XMLName FORMAT_ATT = new XMLName("Format", SS_NAMESPACE); public static final XMLName FORMULA_ATT = new XMLName("Formula", SS_NAMESPACE); public static final XMLName HEIGHT_ATT = new XMLName("Height", SS_NAMESPACE); public static final XMLName HIDDEN_ATT = new XMLName("Hidden", SS_NAMESPACE); public static final XMLName HORIZONTAL_ATT = new XMLName("Horizontal", SS_NAMESPACE); public static final XMLName HREF_ATT = new XMLName("HRef", SS_NAMESPACE); public static final XMLName ID_ATT = new XMLName("ID", SS_NAMESPACE); public static final XMLName INDEX_ATT = new XMLName("Index", SS_NAMESPACE); public static final XMLName ITALIC_ATT = new XMLName("Italic", SS_NAMESPACE); public static final XMLName LINE_STYLE_ATT = new XMLName("LineStyle", SS_NAMESPACE); public static final XMLName MERGE_ACROSS_ATT = new XMLName("MergeAcross", SS_NAMESPACE); public static final XMLName MERGE_DOWN_ATT = new XMLName("MergeDown", SS_NAMESPACE); public static final XMLName NAME_ATT = new XMLName("Name", SS_NAMESPACE); public static final XMLName PARENT_ATT = new XMLName("Parent", SS_NAMESPACE); public static final XMLName PATTERN_ATT = new XMLName("Pattern", SS_NAMESPACE); public static final XMLName POSITION_ATT = new XMLName("Position", SS_NAMESPACE); public static final XMLName PROTECTED_ATT = new XMLName("Protected", SS_NAMESPACE); public static final XMLName ROTATE_ATT = new XMLName("Rotate", SS_NAMESPACE); public static final XMLName SHOW_ALWAYS_ATT = new XMLName("ShowAlways", SS_NAMESPACE); public static final XMLName SIZE_ATT = new XMLName("Size", SS_NAMESPACE); public static final XMLName SPAN_ATT = new XMLName("Span", SS_NAMESPACE); public static final XMLName STYLE_ID_ATT = new XMLName("StyleID", SS_NAMESPACE); public static final XMLName TYPE_ATT = new XMLName("Type", SS_NAMESPACE); public static final XMLName VERTICAL_ATT = new XMLName("Vertical", SS_NAMESPACE); public static final XMLName WEIGHT_ATT = new XMLName("Weight", SS_NAMESPACE); public static final XMLName WIDTH_ATT = new XMLName("Width", SS_NAMESPACE); public static final XMLName WRAP_TEXT_ATT = new XMLName("WrapText", SS_NAMESPACE); public static final XMLName FAMILY_ATT = new XMLName("Family", X_NAMESPACE); public static final XMLName CAPTION_ATT = new XMLName("Caption", C_NAMESPACE); public static final XMLName PASTE_FORMULA_ATT = new XMLName("PasteFormula", C_NAMESPACE); public static final XMLName PASTE_REFERS_TO_ATT = new XMLName("PasteRefersTo", C_NAMESPACE); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy