Lines Matching refs:options
1020 function file($text, $language=null, $filename=null, $options=null) { argument
1021 $this->_highlight('file', $text, $language, $options);
1039 function code($text, $language=null, $filename=null, $options=null) { argument
1040 $this->_highlight('code', $text, $language, $options);
1110 function _highlight($type, $text, $language=null, $options = null) { argument
1118 $highlighted_code = p_xhtml_cached_geshi($text, $language, '', $options);
1124 $options = array();
1125 $options ['escape_content'] = 'false';
1126 $options ['space'] = 'preserve';
1127 $options ['media_selector'] = 'screen';
1128 $options ['element'] = 'pre';
1129 $options ['style_names'] = 'prefix_and_class';
1130 $options ['style_names_prefix'] = 'highlight_';
1132 $options ['attributes'] = 'class="code"';
1134 $options ['attributes'] = 'class="code '.$language.'"';
1136 $options ['list_ol_style'] = 'highlight_list_ol_style';
1137 $options ['list_p_style'] = 'highlight_list_paragraph_style';
1138 $options ['p_style'] = $this->document->getStyleName('preformatted');
1159 $this->document->generateODTfromHTMLCode($highlighted_code, $options);
2279 * @param array $options Options array (FIXME: documentation needed)
2282 public function generateODTfromHTMLCode($html_code, $options=null) { argument
2284 $this->document->generateODTfromHTMLCode($html_code, $options);