parameters: (self, text_buffer, start_iter, end_iter)
return_statement: return [self.curr_html_slots, pixbuf_table_codebox_vector]
docstring: Given a text buffer and iter bounds returns the HTML rich text
docstring_summary: Given a text buffer and iter bounds returns the HTML rich text
docstring_tokens: Given a text buffer and iter bounds returns the HTML rich text
function: def html_get_from_rich_text_selection(self, text_buffer, start_iter, end_iter):
          """Given a text buffer and iter bounds returns the HTML rich text"""
          pixbuf_table_codebox_vector = self.dad.state_machine.get_embedded_pixbufs_tables_codeboxes(text_buffer,
                                                                                                     for_print=2,
                                                                                                     sel_range=(start_iter.get_offset(), end_iter.get_offset()))
          # pixbuf_table_codebox_vector is [ [ "pixbuf"/"table"/"codebox", [offset, pixbuf, alignment] ],... ]
          self.curr_html_slots = []
          start_offset = start_iter.get_offset()
          for end_offset_element in pixbuf_table_codebox_vector:
              end_offset = end_offset_element[1][0]
              self.html_process_slot(start_offset, end_offset, text_buffer)
              start_offset = end_offset
          self.html_process_slot(start_offset, end_iter.get_offset(), text_buffer)
          #print "curr_html_slots", self.curr_html_slots
          #print "pixbuf_table_codebox_vector", pixbuf_table_codebox_vector
          return [self.curr_html_slots, pixbuf_table_codebox_vector]
function_tokens: def html_get_from_rich_text_selection ( self , text_buffer , start_iter , end_iter ) : pixbuf_table_codebox_vector = self . dad . state_machine . get_embedded_pixbufs_tables_codeboxes ( text_buffer , for_print = 2 , sel_range = ( start_iter . get_offset ( ) , end_iter . get_offset ( ) ) ) # pixbuf_table_codebox_vector is [ [ "pixbuf"/"table"/"codebox", [offset, pixbuf, alignment] ],... ] self . curr_html_slots = [ ] start_offset = start_iter . get_offset ( ) for end_offset_element in pixbuf_table_codebox_vector : end_offset = end_offset_element [ 1 ] [ 0 ] self . html_process_slot ( start_offset , end_offset , text_buffer ) start_offset = end_offset self . html_process_slot ( start_offset , end_iter . get_offset ( ) , text_buffer ) #print "curr_html_slots", self.curr_html_slots #print "pixbuf_table_codebox_vector", pixbuf_table_codebox_vector return [ self . curr_html_slots , pixbuf_table_codebox_vector ]