Spreadsheet Namespace Reference

Classes

class  BuildDocDepsExpressionVisitor
 
class  Cell
 
class  DisplayUnit
 
class  Module
 
class  PropertyColumnWidths
 
class  PropertyColumnWidthsPy
 The python export class for PropertyColumnWidths. More...
 
class  PropertyRowHeights
 
class  PropertyRowHeightsPy
 The python export class for PropertyRowHeights. More...
 
class  PropertySheet
 
class  PropertySheetPy
 The python export class for PropertySheet. More...
 
class  PropertySpreadsheetQuantity
 Spreadsheet quantity property This is a property for quantities, and unlike its ancestor implements Copy() and Paste() methods. More...
 
class  Sheet
 
class  SheetObserver
 
class  SheetPy
 The python export class for Sheet. More...
 

Typedefs

typedef App::FeaturePythonT< SheetSheetPython
 

Functions

SpreadsheetExport std::string columnName (int col)
 Encode col as a string. More...
 
SpreadsheetExport void createRectangles (std::set< std::pair< int, int > > &cells, std::map< std::pair< int, int >, std::pair< int, int > > &rectangles)
 
SpreadsheetExport std::string quote (const std::string &input)
 
SpreadsheetExport std::string rowName (int row)
 Encode row as a string. More...
 
SpreadsheetExport std::string unquote (const std::string &input)
 

Typedef Documentation

Function Documentation

std::string Spreadsheet::columnName ( int  col)

Encode col as a string.

Parameters
colColumn given as a 0-based column position.
Returns
String with column position, with "A" being the first column, "B" being the second and so on.

Referenced by SpreadsheetGui::SheetView::columnResizeFinished(), SpreadsheetGui::SheetTableView::insertColumns(), SpreadsheetGui::SheetTableView::removeColumns(), Spreadsheet::PropertyColumnWidths::Save(), and RewriteExpressionVisitor::visit().

void Spreadsheet::createRectangles ( std::set< std::pair< int, int > > &  cells,
std::map< std::pair< int, int >, std::pair< int, int > > &  rectangles 
)
std::string Spreadsheet::quote ( const std::string &  input)
std::string Spreadsheet::rowName ( int  row)

Encode row as a string.

Parameters
rowRow given as a 0-based row position.
Returns
String with row position, with "1" being the first row.

Referenced by SpreadsheetGui::SheetTableView::insertRows(), SpreadsheetGui::SheetTableView::removeRows(), SpreadsheetGui::SheetView::rowResizeFinished(), Spreadsheet::PropertyRowHeights::Save(), and RewriteExpressionVisitor::visit().

std::string Spreadsheet::unquote ( const std::string &  input)