Examples of OdfStylePropertiesBase


Examples of org.odftoolkit.odfdom.dom.element.OdfStylePropertiesBase

   * @param style
   *            - a style element
   * @return an instance of <code>ParagraphProperties</p>
   */
  public static ParagraphProperties getOrCreateParagraphProperties(OdfStyleBase style) {
    OdfStylePropertiesBase properties = style
        .getOrCreatePropertiesElement(OdfStylePropertiesSet.ParagraphProperties);
    return new ParagraphProperties((StyleParagraphPropertiesElement) properties);
  }
View Full Code Here

Examples of org.odftoolkit.odfdom.dom.element.OdfStylePropertiesBase

   *            - a style element
   * @return an instance of <code>ParagraphProperties</p>;Null if there is no
   *         "style:paragraph-properties" defined
   */
  public static ParagraphProperties getParagraphProperties(OdfStyleBase style) {
    OdfStylePropertiesBase properties = style.getPropertiesElement(OdfStylePropertiesSet.ParagraphProperties);
    if (properties != null)
      return new ParagraphProperties((StyleParagraphPropertiesElement) properties);
    else
      return null;
  }
View Full Code Here

Examples of org.odftoolkit.odfdom.dom.element.OdfStylePropertiesBase

   * @param style
   *            - a style element
   * @return an instance of <code>TableCellProperties</p>
   */
  public static TableCellProperties getOrCreateTableCellProperties(OdfStyleBase style) {
    OdfStylePropertiesBase properties = style
        .getOrCreatePropertiesElement(OdfStylePropertiesSet.TableCellProperties);
    return new TableCellProperties((StyleTableCellPropertiesElement) properties);
  }
View Full Code Here

Examples of org.odftoolkit.odfdom.dom.element.OdfStylePropertiesBase

   *            - a style element
   * @return an instance of <code>TableCellProperties</p>;Null if there is no
   *         "style:table-cell-properties" defined
   */
  public static TableCellProperties getTableCellProperties(OdfStyleBase style) {
    OdfStylePropertiesBase properties = style.getPropertiesElement(OdfStylePropertiesSet.TableCellProperties);
    if (properties != null)
      return new TableCellProperties((StyleTableCellPropertiesElement) properties);
    else
      return null;
  }
View Full Code Here

Examples of org.odftoolkit.odfdom.dom.element.OdfStylePropertiesBase

   * @param style
   *            - a style element
   * @return an instance of <code>TextProperties</p>
   */
  public static TextProperties getOrCreateTextProperties(OdfStyleBase style) {
    OdfStylePropertiesBase properties = style.getOrCreatePropertiesElement(OdfStylePropertiesSet.TextProperties);
    return new TextProperties((StyleTextPropertiesElement) properties);
  }
View Full Code Here

Examples of org.odftoolkit.odfdom.dom.element.OdfStylePropertiesBase

   *            - a style element
   * @return an instance of <code>TextProperties</p>;Null if there is no
   *         "style:text-properties" defined
   */
  public static TextProperties getTextProperties(OdfStyleBase style) {
    OdfStylePropertiesBase properties = style.getPropertiesElement(OdfStylePropertiesSet.TextProperties);
    if (properties != null)
      return new TextProperties((StyleTextPropertiesElement) properties);
    else
      return null;
  }
View Full Code Here

Examples of org.odftoolkit.odfdom.dom.element.OdfStylePropertiesBase

   *            - a style element
   * @return an instance of <code>PageLayoutProperties</p>
   */
  public static PageLayoutProperties getOrCreatePageLayoutProperties(
      OdfStyleBase style) {
    OdfStylePropertiesBase properties = style
        .getOrCreatePropertiesElement(OdfStylePropertiesSet.PageLayoutProperties);
    return new PageLayoutProperties(
        (StylePageLayoutPropertiesElement) properties);
  }
View Full Code Here

Examples of org.odftoolkit.odfdom.dom.element.OdfStylePropertiesBase

   * @return an instance of <code>PageLayoutProperties</p>;Null if there is no
   *         "style:page-layout-properties" defined
   */
  public static PageLayoutProperties getPageLayoutProperties(
      OdfStyleBase style) {
    OdfStylePropertiesBase properties = style
        .getPropertiesElement(OdfStylePropertiesSet.PageLayoutProperties);
    if (properties != null)
      return new PageLayoutProperties(
          (StylePageLayoutPropertiesElement) properties);
    else
View Full Code Here

Examples of org.odftoolkit.odfdom.dom.element.OdfStylePropertiesBase

   * @param style
   *            - a style element
   * @return an instance of <code>TableCellProperties</p>
   */
  public static TableCellProperties getOrCreateTableCellProperties(OdfStyleBase style) {
    OdfStylePropertiesBase properties = style
        .getOrCreatePropertiesElement(OdfStylePropertiesSet.TableCellProperties);
    return new TableCellProperties((StyleTableCellPropertiesElement) properties);
  }
View Full Code Here

Examples of org.odftoolkit.odfdom.dom.element.OdfStylePropertiesBase

   *            - a style element
   * @return an instance of <code>TableCellProperties</p>;Null if there is no
   *         "style:table-cell-properties" defined
   */
  public static TableCellProperties getTableCellProperties(OdfStyleBase style) {
    OdfStylePropertiesBase properties = style.getPropertiesElement(OdfStylePropertiesSet.TableCellProperties);
    if (properties != null)
      return new TableCellProperties((StyleTableCellPropertiesElement) properties);
    else
      return null;
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.