Package com.aspose.cells

Examples of com.aspose.cells.ReferredArea


    //Printing all the precedent cells' name.
    if(ret != null)
    {
      for(int m = 0 ; m < ret.getCount(); m++)
      {
        ReferredArea area = ret.get(m);
        StringBuilder stringBuilder = new StringBuilder();
        if (area.isExternalLink())
        {
            stringBuilder.append("[");
            stringBuilder.append(area.getExternalFileName());
            stringBuilder.append("]");
         }
         stringBuilder.append(area.getSheetName());
         stringBuilder.append("!");
         stringBuilder.append(CellsHelper.cellIndexToName(area.getStartRow(), area.getStartColumn()));
         if (area.isArea())
          {
              stringBuilder.append(":");
              stringBuilder.append(CellsHelper.cellIndexToName(area.getEndRow(), area.getEndColumn()));
          }
          System.out.println("Tracing Precedents: " + stringBuilder.toString());
       }
    }
   
View Full Code Here

TOP

Related Classes of com.aspose.cells.ReferredArea

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.