Package com._1c.g5.v8.dt.mcore.impl
Class FontRefExtension
- java.lang.Object
-
- com._1c.g5.v8.dt.mcore.impl.FontRefExtension
-
public class FontRefExtension extends Object
Operation implementations for EClass FontRef
-
-
Constructor Summary
Constructors Constructor Description FontRefExtension()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static boolean
bold(org.eclipse.emf.ecore.EObject font)
Checks bold forFontRef
static String
faceName(org.eclipse.emf.ecore.EObject font)
Gets actual face name forFontRef
static int
height(org.eclipse.emf.ecore.EObject font)
Gets actual height (integer) forFontRef
static float
heightF(org.eclipse.emf.ecore.EObject font)
Gets actual height forFontRef
static boolean
italic(org.eclipse.emf.ecore.EObject font)
Checks italic forFontRef
static int
scale(org.eclipse.emf.ecore.EObject font)
Gets actual scale forFontRef
static boolean
strikeout(org.eclipse.emf.ecore.EObject font)
Checks strikeout forFontRef
static boolean
underline(org.eclipse.emf.ecore.EObject font)
Checks underline forFontRef
-
-
-
Method Detail
-
faceName
public static String faceName(org.eclipse.emf.ecore.EObject font)
Gets actual face name forFontRef
-
height
public static int height(org.eclipse.emf.ecore.EObject font)
Gets actual height (integer) forFontRef
-
heightF
public static float heightF(org.eclipse.emf.ecore.EObject font)
Gets actual height forFontRef
-
bold
public static boolean bold(org.eclipse.emf.ecore.EObject font)
Checks bold forFontRef
- Parameters:
font
- actualFontRef
, can't benull
- Returns:
true
if font is bold,false
otherwise
-
italic
public static boolean italic(org.eclipse.emf.ecore.EObject font)
Checks italic forFontRef
- Parameters:
font
- actualFontRef
, can't benull
- Returns:
true
if font is italic,false
otherwise
-
underline
public static boolean underline(org.eclipse.emf.ecore.EObject font)
Checks underline forFontRef
- Parameters:
font
- actualFontRef
, can't benull
- Returns:
true
if font is underline,false
otherwise
-
strikeout
public static boolean strikeout(org.eclipse.emf.ecore.EObject font)
Checks strikeout forFontRef
- Parameters:
font
- actualFontRef
, can't benull
- Returns:
true
if font is strikeout,false
otherwise
-
-