Package org.apache.metamodel.data.Style

Examples of org.apache.metamodel.data.Style.SizeUnit


          if (style.isUnderline()) {
            font.get().setUnderline(Font.U_SINGLE);
          }
          if (style.getFontSize() != null) {
            Integer fontSize = style.getFontSize();
            SizeUnit sizeUnit = style.getFontSizeUnit();
            if (sizeUnit == SizeUnit.PERCENT) {
              fontSize = convertFontPercentageToPt(fontSize);
            }
            font.get().setFontHeightInPoints(fontSize.shortValue());
          }
View Full Code Here

TOP

Related Classes of org.apache.metamodel.data.Style.SizeUnit

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.