1. Project Clover database Tue Dec 20 2016 21:24:09 CET
  2. Package org.xwiki.rendering.wikimodel

File IWemConstants.java

 

Code metrics

0
0
0
1
114
18
0
-
-
0
-

Classes

Class Line # Actions
IWemConstants 29 0 - 0 0
-1.0 -
 

Contributing tests

No tests hitting this source file were found.

Source view

1    /*
2    * See the NOTICE file distributed with this work for additional
3    * information regarding copyright ownership.
4    *
5    * This is free software; you can redistribute it and/or modify it
6    * under the terms of the GNU Lesser General Public License as
7    * published by the Free Software Foundation; either version 2.1 of
8    * the License, or (at your option) any later version.
9    *
10    * This software is distributed in the hope that it will be useful,
11    * but WITHOUT ANY WARRANTY; without even the implied warranty of
12    * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13    * Lesser General Public License for more details.
14    *
15    * You should have received a copy of the GNU Lesser General Public
16    * License along with this software; if not, write to the Free
17    * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
18    * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
19    */
20    package org.xwiki.rendering.wikimodel;
21   
22    /**
23    * This interface contains main styles used to define text formatting. Note that
24    * individual parsers can extends this set by adding new styles.
25    *
26    * @version $Id: 28e4319d6ca0220e102418b7b4a53a6506a5afd8 $
27    * @since 4.0M1
28    */
 
29    public interface IWemConstants
30    {
31    /**
32    * Bigger font
33    *
34    * @see "http://www.w3.org/TR/xhtml1/dtds.html#dtdentry_xhtml1-strict.dtd_big"
35    */
36    WikiStyle BIG = new WikiStyle("big");
37    /**
38    * Inline citation.
39    *
40    * @see "http://www.w3.org/TR/xhtml1/dtds.html#dtdentry_xhtml1-strict.dtd_cite"
41    */
42    WikiStyle CITE = new WikiStyle("cite");
43    /**
44    * Program code.
45    *
46    * @see "http://www.w3.org/TR/xhtml1/dtds.html#dtdentry_xhtml1-strict.dtd_code"
47    */
48    WikiStyle CODE = new WikiStyle("code");
49    /**
50    * Deleted Text
51    *
52    * @see "http://www.w3.org/TR/xhtml1/dtds.html#dtdentry_xhtml1-strict.dtd_del"
53    */
54    WikiStyle DEL = new WikiStyle("del");
55    /**
56    * Emphasis (should be used as a replacement for the "i" element).
57    *
58    * @see "http://www.w3.org/TR/xhtml1/dtds.html#dtdentry_xhtml1-strict.dtd_em"
59    */
60    WikiStyle EM = new WikiStyle("em");
61    /**
62    * Inserted Text
63    *
64    * @see "http://www.w3.org/TR/xhtml1/dtds.html#dtdentry_xhtml1-strict.dtd_ins"
65    */
66    WikiStyle INS = new WikiStyle("ins");
67    /**
68    * FIXME: there is no such a symbol. Should be replaced by the {@link #TT}
69    * element.
70    */
71    WikiStyle MONO = new WikiStyle("mono");
72    /**
73    * References... FIXME: check what does it mean... I (kotelnikov) did not
74    * found any references on such an HTML element. This style should be
75    * removed or replaced by something else.
76    */
77    WikiStyle REF = new WikiStyle("ref");
78    /**
79    * Smaller font.
80    *
81    * @see "http://www.w3.org/TR/xhtml1/dtds.html#dtdentry_xhtml1-strict.dtd_small"
82    */
83    WikiStyle SMALL = new WikiStyle("small");
84    /**
85    * Strike-through
86    *
87    * @see "http://www.w3.org/TR/xhtml1/dtds.html#dtdentry_xhtml1-strict.dtd_strike"
88    */
89    WikiStyle STRIKE = new WikiStyle("strike");
90    /**
91    * Strong emphasis.
92    *
93    * @see "http://www.w3.org/TR/xhtml1/dtds.html#dtdentry_xhtml1-strict.dtd_strong"
94    */
95    WikiStyle STRONG = new WikiStyle("strong");
96    /**
97    * Subscript
98    *
99    * @see "http://www.w3.org/TR/xhtml1/dtds.html#dtdentry_xhtml1-strict.dtd_sub"
100    */
101    WikiStyle SUB = new WikiStyle("sub");
102    /**
103    * Superscript
104    *
105    * @see "http://www.w3.org/TR/xhtml1/dtds.html#dtdentry_xhtml1-strict.dtd_sup"
106    */
107    WikiStyle SUP = new WikiStyle("sup");
108    /**
109    * Fixed pitch font.
110    *
111    * @see "http://www.w3.org/TR/xhtml1/dtds.html#dtdentry_xhtml1-strict.dtd_tt"
112    */
113    WikiStyle TT = new WikiStyle("tt");
114    }