📄 elementtags.java
字号:
/* * $Id: ElementTags.java 3533 2008-07-07 21:27:13Z Howard_s $ * * Copyright (c) 2001, 2002 Bruno Lowagie. * * The contents of this file are subject to the Mozilla Public License Version 1.1 * (the "License"); you may not use this file except in compliance with the License. * You may obtain a copy of the License at http://www.mozilla.org/MPL/ * * Software distributed under the License is distributed on an "AS IS" basis, * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License * for the specific language governing rights and limitations under the License. * * The Original Code is 'iText, a free JAVA-PDF library'. * * The Initial Developer of the Original Code is Bruno Lowagie. Portions created by * the Initial Developer are Copyright (C) 1999, 2000, 2001, 2002 by Bruno Lowagie. * All Rights Reserved. * Co-Developer of the code is Paulo Soares. Portions created by the Co-Developer * are Copyright (C) 2000, 2001, 2002 by Paulo Soares. All Rights Reserved. * * Contributor(s): all the names of the contributors are added in the source code * where applicable. * * Alternatively, the contents of this file may be used under the terms of the * LGPL license (the "GNU LIBRARY GENERAL PUBLIC LICENSE"), in which case the * provisions of LGPL are applicable instead of those above. If you wish to * allow use of your version of this file only under the terms of the LGPL * License and not to allow others to use your version of this file under * the MPL, indicate your decision by deleting the provisions above and * replace them with the notice and other provisions required by the LGPL. * If you do not delete the provisions above, a recipient may use your version * of this file under either the MPL or the GNU LIBRARY GENERAL PUBLIC LICENSE. * * This library is free software; you can redistribute it and/or modify it * under the terms of the MPL as stated above or under the terms of the GNU * Library General Public License as published by the Free Software Foundation; * either version 2 of the License, or 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 Library general Public License for more * details. * * Contributions by: * Lubos Strapko * * If you didn't download this code from the following link, you should check if * you aren't using an obsolete version: * http://www.lowagie.com/iText/ */package com.lowagie.text;/** * A class that contains all the possible tagnames and their attributes. */public class ElementTags { /** the root tag. */ public static final String ITEXT = "itext"; /** attribute of the root and annotation tag (also a special tag within a chapter or section) */ public static final String TITLE = "title"; /** attribute of the root tag */ public static final String SUBJECT = "subject"; /** attribute of the root tag */ public static final String KEYWORDS = "keywords"; /** attribute of the root tag */ public static final String AUTHOR = "author"; /** attribute of the root tag */ public static final String CREATIONDATE = "creationdate"; /** attribute of the root tag */ public static final String PRODUCER = "producer"; // Chapters and Sections /** the chapter tag */ public static final String CHAPTER = "chapter"; /** the section tag */ public static final String SECTION = "section"; /** attribute of section/chapter tag */ public static final String NUMBERDEPTH = "numberdepth"; /** attribute of section/chapter tag */ public static final String DEPTH = "depth"; /** attribute of section/chapter tag */ public static final String NUMBER = "number"; /** attribute of section/chapter tag */ public static final String INDENT = "indent"; /** attribute of chapter/section/paragraph/table/cell tag */ public static final String LEFT = "left"; /** attribute of chapter/section/paragraph/table/cell tag */ public static final String RIGHT = "right"; // Phrases, Anchors, Lists and Paragraphs /** the phrase tag */ public static final String PHRASE = "phrase"; /** the anchor tag */ public static final String ANCHOR = "anchor"; /** the list tag */ public static final String LIST = "list"; /** the listitem tag */ public static final String LISTITEM = "listitem"; /** the paragraph tag */ public static final String PARAGRAPH = "paragraph"; /** attribute of phrase/paragraph/cell tag */ public static final String LEADING = "leading"; /** attribute of paragraph/image/table tag */ public static final String ALIGN = "align"; /** attribute of paragraph */ public static final String KEEPTOGETHER = "keeptogether"; /** attribute of anchor tag */ public static final String NAME = "name"; /** attribute of anchor tag */ public static final String REFERENCE = "reference"; /** attribute of list tag */ public static final String LISTSYMBOL = "listsymbol"; /** attribute of list tag */ public static final String NUMBERED = "numbered"; /** attribute of the list tag */ public static final String LETTERED = "lettered"; /** attribute of list tag */ public static final String FIRST = "first"; /** attribute of list tag */ public static final String SYMBOLINDENT = "symbolindent"; /** attribute of list tag */ public static final String INDENTATIONLEFT = "indentationleft"; /** attribute of list tag */ public static final String INDENTATIONRIGHT = "indentationright"; // Chunks /** the chunk tag */ public static final String IGNORE = "ignore"; /** the chunk tag */ public static final String ENTITY = "entity"; /** the chunk tag */ public static final String ID = "id"; /** the chunk tag */ public static final String CHUNK = "chunk"; /** attribute of the chunk tag */ public static final String ENCODING = "encoding"; /** attribute of the chunk tag */ public static final String EMBEDDED = "embedded"; /** attribute of the chunk/table/cell tag */ public static final String COLOR = "color"; /** attribute of the chunk/table/cell tag */ public static final String RED = "red"; /** attribute of the chunk/table/cell tag */ public static final String GREEN = "green"; /** attribute of the chunk/table/cell tag */ public static final String BLUE = "blue"; /** attribute of the chunk tag */ public static final String SUBSUPSCRIPT = Chunk.SUBSUPSCRIPT.toLowerCase(); /** attribute of the chunk tag */ public static final String LOCALGOTO = Chunk.LOCALGOTO.toLowerCase(); /** attribute of the chunk tag */ public static final String REMOTEGOTO = Chunk.REMOTEGOTO.toLowerCase(); /** attribute of the chunk tag */ public static final String LOCALDESTINATION = Chunk.LOCALDESTINATION.toLowerCase(); /** attribute of the chunk tag */ public static final String GENERICTAG = Chunk.GENERICTAG.toLowerCase(); // tables/cells /** the table tag */ public static final String TABLE = "table"; /** the cell tag */ public static final String ROW = "row"; /** the cell tag */ public static final String CELL = "cell"; /** attribute of the table tag */ public static final String COLUMNS = "columns"; /** attribute of the table tag */ public static final String LASTHEADERROW = "lastHeaderRow"; /** attribute of the table tag */ public static final String CELLPADDING = "cellpadding"; /** attribute of the table tag */ public static final String CELLSPACING = "cellspacing"; /** attribute of the table tag */ public static final String OFFSET = "offset"; /** attribute of the table tag */ public static final String WIDTHS = "widths"; /** attribute of the table tag */ public static final String TABLEFITSPAGE = "tablefitspage"; /** attribute of the table tag */ public static final String CELLSFITPAGE = "cellsfitpage"; /** attribute of the table tag */ public static final String CONVERT2PDFP = "convert2pdfp"; /** attribute of the cell tag */ public static final String HORIZONTALALIGN = "horizontalalign"; /** attribute of the cell tag */ public static final String VERTICALALIGN = "verticalalign"; /** attribute of the cell tag */ public static final String COLSPAN = "colspan"; /** attribute of the cell tag */ public static final String ROWSPAN = "rowspan"; /** attribute of the cell tag */ public static final String HEADER = "header"; /** attribute of the cell tag */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -