Package ag.ion.bion.officelayer.text

Examples of ag.ion.bion.officelayer.text.TextException


      width = new Long(getXPropertySet().getPropertyValue("TableColumnRelativeSum").toString()).longValue();
      return width;
     
    }
    catch(Exception exception) {
      TextException textException = new TextException(exception.getMessage());
      textException.initCause(exception);
      throw textException;
    }
  }
View Full Code Here


        textTableColumnsSeparators[i] = new TextTableColumnsSeparator(tableColumnSeparators[i]);
     
      return textTableColumnsSeparators;
    }
    catch(Exception exception) {
      TextException textException = new TextException(exception.getMessage());
      textException.initCause(exception);
      throw textException;
    }
  }
View Full Code Here

      }
     
      getXPropertySet().setPropertyValue("TableColumnSeparators", tableColumnSeparators);
    }
    catch(Exception exception) {
      TextException textException = new TextException(exception.getMessage());
      textException.initCause(exception);
      throw textException;
    }
  }
View Full Code Here

        getXPropertySet().setPropertyValue("BreakType", BreakType.PAGE_BEFORE);
      else if(breakType == IParagraphProperties.BREAK_TYPE_PAGE_BOTH)
        getXPropertySet().setPropertyValue("BreakType", BreakType.PAGE_BOTH);
    }
    catch(Exception exception) {
      TextException textException = new TextException(exception.getMessage());
      textException.initCause(exception);
      throw textException;
    }
  }
View Full Code Here

      else if(breakType == BreakType.PAGE_BOTH)
        return IParagraphProperties.BREAK_TYPE_PAGE_BOTH;
      return -1;
    }
    catch(Exception exception) {
      TextException textException = new TextException(exception.getMessage());
      textException.initCause(exception);
      throw textException;
    }    
  }
View Full Code Here

      else if(paragraphAdjust == ParagraphAdjust.CENTER_value)
        return IParagraphProperties.ALIGN_CENTER;
      return ALIGN_UNDEFINED;
    }
    catch(Exception exception) {
      TextException textException = new TextException(exception.getMessage());
      textException.initCause(exception);
      throw textException;
    }    
  }
View Full Code Here

  public void setParaAdjust(short adjustValue) throws TextException {
    try {
      getXPropertySet().setPropertyValue("ParaAdjust",new Short(adjustValue));
    }
    catch(Exception exception) {
      TextException textException = new TextException(exception.getMessage());
      textException.initCause(exception);
      throw textException;
    }
  }
View Full Code Here

        breakType == IParagraphProperties.BREAK_TYPE_PAGE_BEFORE ||
        breakType == IParagraphProperties.BREAK_TYPE_PAGE_BOTH) {
      this.breakType = breakType;
    }
    else {
      throw new TextException("The breakType is not valid");
    }
  }
View Full Code Here

  public short getBreakType() throws TextException {
    if (breakType != -1) {
      return breakType;
    }
    else {
      throw new TextException("BreakType is not available.");
    }
  }
View Full Code Here

  public short getParaAdjust() throws TextException {
    if (paraAdjust != -1) {
      return paraAdjust;
    }
    else {
      throw new TextException("ParaAdjust is not available.");
    }
  }
View Full Code Here

TOP

Related Classes of ag.ion.bion.officelayer.text.TextException

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.