languages/gen_lyx.py
def build_table_cells(self, columnCount, rowCount, defCellText):
		"""
		Creates default table cell objects with standard cell attributes.
		Arguments:
			columnCount		Number of table columns
			rowCount		Number of table rows
			defCellText		Text which should be put to the cell by default.
		Returns:
			New table cells object which has the structure as tableCells in
			the table argument of function "insert_table".
		"""
		tableCells = []
		stdCellAttributes = {"alignment" : "center", "valignment" : "top",
						"topline" : "true", "leftline" : "true",
						"usebox" : "none"}
		
		for row in range(0, rowCount):
			tableCells.append([])
			for column in range(0, columnCount):
				
				tableCells[row].append([])
				actCell = tableCells[row][column]
				
				actCell.append(stdCellAttributes.copy())
				if (column == columnCount - 1):
					actCell[0]["rightline"] = "true"
				if (row == rowCount - 1):
					actCell[0]["bottomline"] = "true"
				actCell.append({})
				actCell.append(defCellText)
				actCell.append(None)
				# Color
				actCell.append(None)
				
		return tableCells

		Creates default table cell objects with standard cell attributes.
		Arguments:
			columnCount		Number of table columns
			rowCount		Number of table rows
			defCellText		Text which should be put to the cell by default.
		Returns:
			New table cells object which has the structure as tableCells in
			the table argument of function "insert_table".
		
Creates default table cell objects with standard cell attributes.
Arguments:
columnCount             Number of table columns
rowCount                Number of table rows
defCellText             Text which should be put to the cell by default.
Returns:
New table cells object which has the structure as tableCells in
the table argument of function "insert_table".
Creates default table cell objects with standard cell attributes . Arguments : columnCount Number of table columns rowCount Number of table rows defCellText Text which should be put to the cell by default . Returns : New table cells object which has the structure as tableCells in the table argument of function " insert_table " .
def build_table_cells(self, columnCount, rowCount, defCellText):
		tableCells = []
		stdCellAttributes = {"alignment" : "center", "valignment" : "top",
						"topline" : "true", "leftline" : "true",
						"usebox" : "none"}
		for row in range(0, rowCount):
			tableCells.append([])
			for column in range(0, columnCount):
				tableCells[row].append([])
				actCell = tableCells[row][column]
				actCell.append(stdCellAttributes.copy())
				if (column == columnCount - 1):
					actCell[0]["rightline"] = "true"
				if (row == rowCount - 1):
					actCell[0]["bottomline"] = "true"
				actCell.append({})
				actCell.append(defCellText)
				actCell.append(None)
				actCell.append(None)
		return tableCells
def build_table_cells ( self , columnCount , rowCount , defCellText ) : tableCells = [ ] stdCellAttributes = { "alignment" : "center" , "valignment" : "top" , "topline" : "true" , "leftline" : "true" , "usebox" : "none" } for row in range ( 0 , rowCount ) : tableCells . append ( [ ] ) for column in range ( 0 , columnCount ) : tableCells [ row ] . append ( [ ] ) actCell = tableCells [ row ] [ column ] actCell . append ( stdCellAttributes . copy ( ) ) if ( column == columnCount - 1 ) : actCell [ 0 ] [ "rightline" ] = "true" if ( row == rowCount - 1 ) : actCell [ 0 ] [ "bottomline" ] = "true" actCell . append ( { } ) actCell . append ( defCellText ) actCell . append ( None ) actCell . append ( None ) return tableCells
Creates default table cell objects with standard cell attributes.
Creates default table cell objects with standard cell attributes .
"""
		Creates default table cell objects with standard cell attributes.
		Arguments:
			columnCount		Number of table columns
			rowCount		Number of table rows
			defCellText		Text which should be put to the cell by default.
		Returns:
			New table cells object which has the structure as tableCells in
			the table argument of function "insert_table".
		""" # Color
self
columnCount
rowCount
defCellText