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

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

public class Anchors
extends Object

Anchors. This particular object is represented in gnumeric's XML as four integers, space separated. Presumably, each represents an anchor for a particular direction -- top, bottom, left, right -- but what the reference is for each anchor 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 anchors are terribly mature yet.

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

Field Summary
static int ANCHOR_PERCENTAGE_FROM_COLROW_END
           
static int ANCHOR_PERCENTAGE_FROM_COLROW_ST
           
static int ANCHOR_PTS_ABSOLUTE
           
static int ANCHOR_PTS_FROM_COLROW_END
           
static int ANCHOR_PTS_FROM_COLROW_START
           
static int ANCHOR_UNKNOWN
           
 
Constructor Summary
Anchors(String value)
          construct the Anchors object
 
Method Summary
 int[] getComponents()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ANCHOR_UNKNOWN

public static final int ANCHOR_UNKNOWN
See Also:
Constant Field Values

ANCHOR_PERCENTAGE_FROM_COLROW_ST

public static final int ANCHOR_PERCENTAGE_FROM_COLROW_ST
See Also:
Constant Field Values

ANCHOR_PERCENTAGE_FROM_COLROW_END

public static final int ANCHOR_PERCENTAGE_FROM_COLROW_END
See Also:
Constant Field Values

ANCHOR_PTS_FROM_COLROW_START

public static final int ANCHOR_PTS_FROM_COLROW_START
See Also:
Constant Field Values

ANCHOR_PTS_FROM_COLROW_END

public static final int ANCHOR_PTS_FROM_COLROW_END
See Also:
Constant Field Values

ANCHOR_PTS_ABSOLUTE

public static final int ANCHOR_PTS_ABSOLUTE
See Also:
Constant Field Values
Constructor Detail

Anchors

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

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

getComponents

public int[] getComponents()
Returns:
components


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