Package org.docx4j.model.properties.paragraph

Examples of org.docx4j.model.properties.paragraph.SpaceAfter


      Spacing spacing = pPr.getSpacing();
      if (spacing.getBefore()!=null) {
        properties.add(new SpaceBefore(spacing.getBefore()));
      }
      if (spacing.getAfter()!=null) {
        properties.add(new SpaceAfter(spacing.getAfter()));       
      }
      if (spacing.getLine()!=null) {
        properties.add(new LineSpacing(spacing.getLine()));               
      }
      // Others not implemented:
View Full Code Here


      } else if (name.equals(TextAlignmentVertical.CSS_NAME )) {
        // vertical-align
        return new TextAlignmentVertical(value);
      } else if (name.equals(SpaceAfter.CSS_NAME )) {
        // space-after
        return new SpaceAfter(value);
      } else if (name.equals(LineSpacing.CSS_NAME )) {
        // line-height
        return new LineSpacing(value);
      }   
    } catch (java.lang.UnsupportedOperationException uoe) {
View Full Code Here

TOP

Related Classes of org.docx4j.model.properties.paragraph.SpaceAfter

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.