languages/gen_lyx.py
def write_layout_text(self, layoutType, text, textOptions=None, label=None,
							color=None):
		"""
		Insert layout type into the generator output and append a simple text.
		If text options are specified then the text in the layout is printed
		with these options.
		Arguments:
			layoutType		Name of the layout as in "insert_layout"
			text			Text to be written in the layout.
			textOptions		Text options as specified in the "insert_text_options"
			label			If the layout should be written as label. Current
							options are supported:
								None 		Layout is written normally
								"label"		Label with the same text as "text"
											is inserted behind the text
								"hyperref"	Reference is inserted with the
											same text as in the text.
		"""
		self.insert_layout(layoutType)
		if (textOptions != None):
			self.insert_text_options(textOptions)

		if (label == "hyperref"):
			self.insert_ref(text, label)
		elif (label != None):
			self.wr_line(text)
			self.insert_ref(text, label)
		else:
			self.wr_line(text)

		if (color != None):
			self.insert_color(color)

		self.commit_append_line(1)

		Insert layout type into the generator output and append a simple text.
		If text options are specified then the text in the layout is printed
		with these options.
		Arguments:
			layoutType		Name of the layout as in "insert_layout"
			text			Text to be written in the layout.
			textOptions		Text options as specified in the "insert_text_options"
			label			If the layout should be written as label. Current
							options are supported:
								None 		Layout is written normally
								"label"		Label with the same text as "text"
											is inserted behind the text
								"hyperref"	Reference is inserted with the
											same text as in the text.
		
Insert layout type into the generator output and append a simple text.
If text options are specified then the text in the layout is printed
with these options.
Arguments:
layoutType              Name of the layout as in "insert_layout"
text                    Text to be written in the layout.
textOptions             Text options as specified in the "insert_text_options"
label                   If the layout should be written as label.
Insert layout type into the generator output and append a simple text . If text options are specified then the text in the layout is printed with these options . Arguments : layoutType Name of the layout as in " insert_layout " text Text to be written in the layout . textOptions Text options as specified in the " insert_text_options " label If the layout should be written as label .
def write_layout_text(self, layoutType, text, textOptions=None, label=None,
							color=None):
		self.insert_layout(layoutType)
		if (textOptions != None):
			self.insert_text_options(textOptions)
		if (label == "hyperref"):
			self.insert_ref(text, label)
		elif (label != None):
			self.wr_line(text)
			self.insert_ref(text, label)
		else:
			self.wr_line(text)
		if (color != None):
			self.insert_color(color)
		self.commit_append_line(1)
def write_layout_text ( self , layoutType , text , textOptions = None , label = None , color = None ) : self . insert_layout ( layoutType ) if ( textOptions != None ) : self . insert_text_options ( textOptions ) if ( label == "hyperref" ) : self . insert_ref ( text , label ) elif ( label != None ) : self . wr_line ( text ) self . insert_ref ( text , label ) else : self . wr_line ( text ) if ( color != None ) : self . insert_color ( color ) self . commit_append_line ( 1 )
Insert layout type into the generator output and append a simple text.
Insert layout type into the generator output and append a simple text .
"""
		Insert layout type into the generator output and append a simple text.
		If text options are specified then the text in the layout is printed
		with these options.
		Arguments:
			layoutType		Name of the layout as in "insert_layout"
			text			Text to be written in the layout.
			textOptions		Text options as specified in the "insert_text_options"
			label			If the layout should be written as label. Current
							options are supported:
								None 		Layout is written normally
								"label"		Label with the same text as "text"
											is inserted behind the text
								"hyperref"	Reference is inserted with the
											same text as in the text.
		"""
self
layoutType
text
textOptions
label
color