org.apache.cocoon.components.elementprocessor.impl.poi.hssf.elements
Class Offsets

java.lang.Object
  extended by org.apache.cocoon.components.elementprocessor.impl.poi.hssf.elements.Offsets

public class Offsets
extends Object

Offsets. This particular object is represented in gnumeric's XML as four doubles, space separated. Presumably, each represents an offset in a particular direction -- top, bottom, left, right -- but what the reference is for each offset is not known, nor is it known which one is top, bottom, left, or right, or even whether that's the correct interpretation of the numbers. This is an area of the gnumeric XML that is not terribly well documented even in their code, and I don't think the features that use offsets are terribly mature yet.

Version:
CVS $Id: Offsets.html 1304258 2012-03-23 10:09:27Z ilgrosso $
Author:
Marc Johnson (marc_johnson27591@hotmail.com)

Constructor Summary
Offsets(String value)
          construct the Offsets object
 
Method Summary
 double[] getComponents()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Offsets

public Offsets(String value)
        throws IOException
construct the Offsets object

Parameters:
value - the string containing the offset values
Throws:
IOException - if the string is badly formed
Method Detail

getComponents

public double[] getComponents()
Returns:
components


Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.