0N/A/*
2362N/A * Copyright (c) 1997, 1998, Oracle and/or its affiliates. All rights reserved.
0N/A * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
0N/A *
0N/A * This code is free software; you can redistribute it and/or modify it
0N/A * under the terms of the GNU General Public License version 2 only, as
2362N/A * published by the Free Software Foundation. Oracle designates this
0N/A * particular file as subject to the "Classpath" exception as provided
2362N/A * by Oracle in the LICENSE file that accompanied this code.
0N/A *
0N/A * This code is distributed in the hope that it will be useful, but WITHOUT
0N/A * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
0N/A * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
0N/A * version 2 for more details (a copy is included in the LICENSE file that
0N/A * accompanied this code).
0N/A *
0N/A * You should have received a copy of the GNU General Public License version
0N/A * 2 along with this work; if not, write to the Free Software Foundation,
0N/A * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
0N/A *
2362N/A * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
2362N/A * or visit www.oracle.com if you need additional information or have any
2362N/A * questions.
0N/A */
0N/Apackage javax.swing.text.rtf;
0N/A
0N/A/**
0N/A Class to hold dictionary keys used by the RTF reader/writer.
0N/A These should be moved into StyleConstants.
0N/A*/
0N/Aclass Constants
0N/A{
0N/A /** An array of TabStops */
0N/A static final String Tabs = "tabs";
0N/A
0N/A /** The name of the character set the original RTF file was in */
0N/A static final String RTFCharacterSet = "rtfCharacterSet";
0N/A
0N/A /** Indicates the domain of a Style */
0N/A static final String StyleType = "style:type";
0N/A
0N/A /** Value for StyleType indicating a section style */
0N/A static final String STSection = "section";
0N/A /** Value for StyleType indicating a paragraph style */
0N/A static final String STParagraph = "paragraph";
0N/A /** Value for StyleType indicating a character style */
0N/A static final String STCharacter = "character";
0N/A
0N/A /** The style of the text following this style */
0N/A static final String StyleNext = "style:nextStyle";
0N/A
0N/A /** Whether the style is additive */
0N/A static final String StyleAdditive = "style:additive";
0N/A
0N/A /** Whether the style is hidden from the user */
0N/A static final String StyleHidden = "style:hidden";
0N/A
0N/A /* Miscellaneous character attributes */
0N/A static final String Caps = "caps";
0N/A static final String Deleted = "deleted";
0N/A static final String Outline = "outl";
0N/A static final String SmallCaps = "scaps";
0N/A static final String Shadow = "shad";
0N/A static final String Strikethrough = "strike";
0N/A static final String Hidden = "v";
0N/A
0N/A /* Miscellaneous document attributes */
0N/A static final String PaperWidth = "paperw";
0N/A static final String PaperHeight = "paperh";
0N/A static final String MarginLeft = "margl";
0N/A static final String MarginRight = "margr";
0N/A static final String MarginTop = "margt";
0N/A static final String MarginBottom = "margb";
0N/A static final String GutterWidth = "gutter";
0N/A
0N/A /* This is both a document and a paragraph attribute */
0N/A static final String WidowControl = "widowctrl";
0N/A}