api_functions.js 2.24 KB
function GetSelectedCellInfo()
{
  return Asc.editor.xll111l11Ext();
}
function getText()
{
    return GetSelectedCellInfo().x1l1111ll()
}
function getName()
{
    return GetSelectedCellInfo().x11l1ll1l()
}
function getHAlign()
{
  return GetSelectedCellInfo().x1l111l11()
}
function getVAlign()
{
  return GetSelectedCellInfo().x1l111l1l()
}
function getMerge()
{
  return GetSelectedCellInfo().x1l111ll1().x11l1l111()
}
function getShrinkToFit()
{
  return GetSelectedCellInfo().x1l111ll1().x11l1l11l()
}
function getWrapText()
{
  return GetSelectedCellInfo().x1l111ll1().x11l1l1l1()
}
function getFontName()
{
  return GetSelectedCellInfo().x1l111lll().x11l1ll1l()
}
function getFontSize()
{
  return GetSelectedCellInfo().x1l111lll().x11l1lll1()
}
function getBold()
{
  return GetSelectedCellInfo().x1l111lll().x11l1llll()
}
function getItalic()
{
  return GetSelectedCellInfo().x1l111lll().x11ll1111()
}
function getUnderline()
{
  return GetSelectedCellInfo().x1l111lll().x11ll111l()
}
function getStrikeout()
{
  return GetSelectedCellInfo().x1l111lll().getStrikeout()
}
function getSubscript()
{
  return GetSelectedCellInfo().x1l111lll().x11ll11ll()
}
function getSuperscript()
{
  return GetSelectedCellInfo().x1l111lll().x11ll1l11()
}
function getFontColor()
{
  return GetSelectedCellInfo().x1l111lll().x11ll1l1l()
}
function getFillColor()
{
  return GetSelectedCellInfo().x1l11l111().x11ll1l1l()
}
function getLeftBorder()
{
  return GetSelectedCellInfo().x1l11l11l().x11lll1ll() 
}
function getRightBorder()
{
  return GetSelectedCellInfo().x1l11l11l().x11llll1l()
}
function getTopBorder()
{
  return GetSelectedCellInfo().x1l11l11l().x11llll11()
}
function getBottomBorder()
{
  return GetSelectedCellInfo().x1l11l11l().x11lllll1()
}
function getDiagDownBorder()
{
  return GetSelectedCellInfo().x1l11l11l().x11llllll()
}
function getDiagUpBorder()
{
  return GetSelectedCellInfo().x1l11l11l().x1l111111()
}
function getBorderWidth()
{
  return x11lll111()
}
function getBorderStyle()
{
  return x11lll11l()
}
function getBorderColor()
{
  return x11ll1l1l()
}
function getFormula()
{
  return GetSelectedCellInfo().x1l1111l1()
}
function getInnerText()
{
  return GetSelectedCellInfo().x1l11l1l1()
}
function getNumFormat()
{
  return GetSelectedCellInfo().x1l11l1ll()
}