Package org.pentaho.reporting.engine.classic.core.style

Examples of org.pentaho.reporting.engine.classic.core.style.VerticalTextAlign


        // todo: Allow to select other than the first baseline ..
      }

      BoxAlignContext parent = box;
      final VerticalTextAlign verticalAlignment = child.getNode().getVerticalTextAlignment();
      if (VerticalTextAlign.TOP.equals(verticalAlignment) || VerticalTextAlign.BOTTOM.equals(verticalAlignment))
      {
        // Those alignments ignore the normal alignment rules and all boxes
        // align themself on the extended linebox.
        // I'm quite sure that the definition itself is unclean ..
View Full Code Here



    final Object valign = attr.getAttribute(CSS.Attribute.VERTICAL_ALIGN);
    if (valign != null)
    {
      final VerticalTextAlign valignValue = VerticalTextAlign.valueOf(String.valueOf(valign));
      result.getStyle().setStyleProperty(TextStyleKeys.VERTICAL_TEXT_ALIGNMENT, valignValue);
      try
      {
        result.getStyle().setStyleProperty(ElementStyleKeys.VALIGNMENT,
            ReportParserUtil.parseVerticalElementAlignment(String.valueOf(valign), null));
View Full Code Here

        // todo: Allow to select other than the first baseline ..
      }

      BoxAlignContext parent = box;
      final VerticalTextAlign verticalAlignment = child.getNode().getVerticalTextAlignment();
      if (VerticalTextAlign.TOP.equals(verticalAlignment) || VerticalTextAlign.BOTTOM.equals(verticalAlignment))
      {
        // Those alignments ignore the normal alignment rules and all boxes
        // align themself on the extended linebox.
        // I'm quite sure that the definition itself is unclean ..
View Full Code Here


    final Object valign = attr.getAttribute(CSS.Attribute.VERTICAL_ALIGN);
    if (valign != null)
    {
      final VerticalTextAlign valignValue = VerticalTextAlign.valueOf(String.valueOf(valign));
      result.getStyle().setStyleProperty(TextStyleKeys.VERTICAL_TEXT_ALIGNMENT, valignValue);
      try
      {
        result.getStyle().setStyleProperty(ElementStyleKeys.VALIGNMENT,
            ReportParserUtil.parseVerticalElementAlignment(String.valueOf(valign), null));
View Full Code Here

TOP

Related Classes of org.pentaho.reporting.engine.classic.core.style.VerticalTextAlign

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.