==================================================================== */
package org.apache.poi.ss.usermodel;
+import org.apache.poi.xssf.usermodel.XSSFShape;
+
/**
* A client anchor is attached to an excel worksheet. It anchors against a
* top-left and bottom-right cell.
public void setRow2(int row2);
/**
- * Returns the x coordinate within the first cell
+ * Returns the x coordinate within the first cell.
+ *
+ * Note - XSSF and HSSF have a slightly different coordinate
+ * system, values in XSSF are larger by a factor of
+ * {@link XSSFShape#EMU_PER_PIXEL}
*
* @return the x coordinate within the first cell
*/
/**
* Sets the x coordinate within the first cell
*
+ * Note - XSSF and HSSF have a slightly different coordinate
+ * system, values in XSSF are larger by a factor of
+ * {@link XSSFShape#EMU_PER_PIXEL}
+ *
* @param dx1 the x coordinate within the first cell
*/
public void setDx1(int dx1);
/**
* Returns the y coordinate within the first cell
*
+ * Note - XSSF and HSSF have a slightly different coordinate
+ * system, values in XSSF are larger by a factor of
+ * {@link XSSFShape#EMU_PER_PIXEL}
+ *
* @return the y coordinate within the first cell
*/
public int getDy1();
/**
* Sets the y coordinate within the first cell
*
+ * Note - XSSF and HSSF have a slightly different coordinate
+ * system, values in XSSF are larger by a factor of
+ * {@link XSSFShape#EMU_PER_PIXEL}
+ *
* @param dy1 the y coordinate within the first cell
*/
public void setDy1(int dy1);
/**
* Sets the y coordinate within the second cell
*
+ * Note - XSSF and HSSF have a slightly different coordinate
+ * system, values in XSSF are larger by a factor of
+ * {@link XSSFShape#EMU_PER_PIXEL}
+ *
* @return the y coordinate within the second cell
*/
public int getDy2();
/**
* Sets the y coordinate within the second cell
*
+ * Note - XSSF and HSSF have a slightly different coordinate
+ * system, values in XSSF are larger by a factor of
+ * {@link XSSFShape#EMU_PER_PIXEL}
+ *
* @param dy2 the y coordinate within the second cell
*/
public void setDy2(int dy2);
/**
* Returns the x coordinate within the second cell
*
+ * Note - XSSF and HSSF have a slightly different coordinate
+ * system, values in XSSF are larger by a factor of
+ * {@link XSSFShape#EMU_PER_PIXEL}
+ *
* @return the x coordinate within the second cell
*/
public int getDx2();
/**
* Sets the x coordinate within the second cell
*
+ * Note - XSSF and HSSF have a slightly different coordinate
+ * system, values in XSSF are larger by a factor of
+ * {@link XSSFShape#EMU_PER_PIXEL}
+ *
* @param dx2 the x coordinate within the second cell
*/
public void setDx2(int dx2);