languages/gen_lyx.py
def insert_table_cell(self, cell):
		"""
		Insert Table cell into the into the generator output.
		Arguments:
			cell	Cell to insert in format:
					[cellOptions, cellTextOptions, cellText, cellLabel, cellColor]
					where:
					cellOptions - Dictionary with cell options such as:
									{"alignment":"center", "bottomline":"true"}
					cellTextOptions	- Text options to for the text in the cell
					cellText		- Text to be written into the cell
					cellLabel		- Special label which specifies the function
									  of the cell. At the moment supported:
										"label" - creates lyx Label
										"hyperref" - creates reference
					cellColor		- Background color of the cell
		"""
		self.insert_html_table_tag("cell", cell[0], endTag=True) 
		self.insert_inset("Text")
		self.wr_line("\n")
		self.write_layout_text("Plain Layout", cell[2], textOptions=cell[1],
						label=cell[3], color=cell[4])
		self.wr_line("\n")
		self.commit_append_line(2)

		Insert Table cell into the into the generator output.
		Arguments:
			cell	Cell to insert in format:
					[cellOptions, cellTextOptions, cellText, cellLabel, cellColor]
					where:
					cellOptions - Dictionary with cell options such as:
									{"alignment":"center", "bottomline":"true"}
					cellTextOptions	- Text options to for the text in the cell
					cellText		- Text to be written into the cell
					cellLabel		- Special label which specifies the function
									  of the cell. At the moment supported:
										"label" - creates lyx Label
										"hyperref" - creates reference
					cellColor		- Background color of the cell
		
Insert Table cell into the into the generator output.
Insert Table cell into the into the generator output .
def insert_table_cell(self, cell):
		self.insert_html_table_tag("cell", cell[0], endTag=True) 
		self.insert_inset("Text")
		self.wr_line("\n")
		self.write_layout_text("Plain Layout", cell[2], textOptions=cell[1],
						label=cell[3], color=cell[4])
		self.wr_line("\n")
		self.commit_append_line(2)
def insert_table_cell ( self , cell ) : self . insert_html_table_tag ( "cell" , cell [ 0 ] , endTag = True ) self . insert_inset ( "Text" ) self . wr_line ( "\n" ) self . write_layout_text ( "Plain Layout" , cell [ 2 ] , textOptions = cell [ 1 ] , label = cell [ 3 ] , color = cell [ 4 ] ) self . wr_line ( "\n" ) self . commit_append_line ( 2 )
Insert Table cell into the into the generator output.
Insert Table cell into the into the generator output .
"""
		Insert Table cell into the into the generator output.
		Arguments:
			cell	Cell to insert in format:
					[cellOptions, cellTextOptions, cellText, cellLabel, cellColor]
					where:
					cellOptions - Dictionary with cell options such as:
									{"alignment":"center", "bottomline":"true"}
					cellTextOptions	- Text options to for the text in the cell
					cellText		- Text to be written into the cell
					cellLabel		- Special label which specifies the function
									  of the cell. At the moment supported:
										"label" - creates lyx Label
										"hyperref" - creates reference
					cellColor		- Background color of the cell
		"""
self
cell
cell    Cell to insert in format
[cellOptions, cellTextOptions, cellText, cellLabel, cellColor]
where:
cellOptions - Dictionary with cell options such as:
{"alignment":"center", "bottomline":"true"}
cellTextOptions - Text options to for the text in the cell
cellText                - Text to be written into the cell
cellLabel               - Special label which specifies the function
of the cell. At the moment supported:
"label" - creates lyx Label
"hyperref" - creates reference
cellColor               - Background color of the cell
[ cellOptions cellTextOptions cellText cellLabel cellColor ] where : cellOptions - Dictionary with cell options such as : { " alignment " : " center " " bottomline " : " true " } cellTextOptions - Text options to for the text in the cell cellText - Text to be written into the cell cellLabel - Special label which specifies the function of the cell . At the moment supported : " label " - creates lyx Label " hyperref " - creates reference cellColor - Background color of the cell