Home
last modified time | relevance | path

Searched refs:tag_style (Results 1 – 24 of 24) sorted by relevance

/dports/deskutils/calibre/calibre-src-5.34.0/src/calibre/ebooks/docx/writer/
H A Dtables.py66 def convert_width(tag_style): argument
67 if tag_style is not None:
68 w = tag_style._get('width')
98 if tag_style is None:
104 … self.background_color = None if tag_style is None else convert_color(tag_style.backgroundColor)
221 self.orig_tag_style = tag_style
224 … self.background_color = None if tag_style is None else convert_color(tag_style.backgroundColor)
267 self.orig_tag_style = tag_style
271 … self.background_color = None if tag_style is None else convert_color(tag_style.backgroundColor)
275 if tag_style is not None:
[all …]
H A Dfrom_html.py281 def current_or_new_block(self, html_tag, tag_style): argument
313 def start_new_table(self, html_tag, tag_style=None): argument
317 def start_new_row(self, html_tag, tag_style): argument
320 self.current_table.start_new_row(html_tag, tag_style)
322 def start_new_cell(self, html_tag, tag_style): argument
325 self.current_table.start_new_cell(html_tag, tag_style)
498 tag_style = stylizer.style(html_tag)
500 display = tag_style._get('display')
526 self.blocks.start_new_cell(html_tag, tag_style)
529 self.blocks.start_new_row(html_tag, tag_style)
[all …]
H A Dlists.py37 def find_list_containers(list_tag, tag_style): argument
39 stylizer = tag_style._stylizer
67 for container, list_tag, block, list_type, tag_style in items:
81 for container, list_tag, block, list_type, tag_style in items:
138 list_tag, tag_style = block.list_tag
139 list_type = (tag_style['list-style-type'] or '').lower()
142 container_tags = find_list_containers(list_tag, tag_style)
147 … lists[top_most] = NumberingDefinition(top_most, tag_style._stylizer, self.namespace)
150 l.level_map[ilvl].append((container_tags[0], list_tag, block, list_type, tag_style))
H A Dstyles.py48 def is_dropcaps(html_tag, tag_style): argument
86 def __init__(self, namespace, html_tag, tag_style): argument
88 self.is_dropcaps = is_dropcaps(html_tag, tag_style)
93 self.x_align = tag_style['float']
95 if tag_style._get('width') != 'auto':
96 self.w = int(20 * max(tag_style['min-width'], tag_style['width']))
97 if tag_style._get('height') == 'auto':
100 if tag_style['min-height'] > 0:
105 self.h_space = int(20 * max(tag_style['margin-right'], tag_style['margin-left']))
106 self.v_space = int(20 * max(tag_style['margin-top'], tag_style['margin-bottom']))
[all …]
/dports/devel/p5-Tree-Simple-View/Tree-Simple-View-0.20/t/
H A D22_Tree_Simple_View_HTML_tag_style.t48 my $tree_view = Tree::Simple::View::HTML->new( $tree, (tag_style => 'nonesuch' ));
56 …my $tree_view = Tree::Simple::View::HTML->new($tree, (list_type => "ordered", tag_style => 'xhtml'…
96 …my $tree_view = Tree::Simple::View::HTML->new($tree, (list_type => "ordered", tag_style => 'xhtml'…
140 …my $tree_view = Tree::Simple::View::HTML->new($tree, (list_type => "ordered", tag_style => 'xhtml'…
165 …my $tree_view = Tree::Simple::View::HTML->new($tree, (list_type => "ordered", tag_style =>'xhtml')…
196 tag_style => 'xhtml',
243 tag_style => 'xhtml',
274 tag_style => 'xhtml',
321 tag_style => 'xhtml',
351 tag_style => 'xhtml',
/dports/textproc/py-html2text2018/html2text-2018.1.9/html2text/
H A D__init__.py224 def handle_emphasis(self, start, tag_style, parent_style): argument
228 tag_emphasis = google_text_emphasis(tag_style)
244 fixed = google_fixed_width_font(tag_style) and not \
324 tag_style = element_style(attrs, self.style_def, parent_style)
325 self.tag_stack.append((tag, attrs, tag_style))
327 dummy, attrs, tag_style = self.tag_stack.pop() \
343 if start and google_has_height(tag_style):
425 self.handle_emphasis(start, tag_style, parent_style)
575 list_style = google_list_style(tag_style)
600 nest_count = self.google_nest_count(tag_style)
/dports/textproc/py-html2text/html2text-2020.1.16/html2text/
H A D__init__.py225 self, start: bool, tag_style: Dict[str, str], parent_style: Dict[str, str]
230 tag_emphasis = google_text_emphasis(tag_style)
245 google_fixed_width_font(tag_style)
327 tag_style = element_style(attrs, self.style_def, parent_style)
328 self.tag_stack.append((tag, attrs, tag_style))
330 dummy, attrs, tag_style = (
347 if start and google_has_height(tag_style):
430 self.handle_emphasis(start, tag_style, parent_style)
576 list_style = google_list_style(tag_style)
598 nest_count = self.google_nest_count(tag_style)
/dports/devel/p5-Tree-Simple-View/Tree-Simple-View-0.20/lib/Tree/Simple/View/
H A DHTML.pm220 if ( !exists $config{ tag_style } ) {
223 elsif ( !exists( $tags{ $config{ tag_style } }) ) {
227 $config{ tags } = $tags{ $config{ tag_style } };
/dports/www/wget2/wget2-2.0.0/fuzz/
H A Dlibwget_xml_parse_buffer_fuzzer.dict7 tag_style="<style>"
H A Dlibwget_atom_url_fuzzer.dict7 tag_style="<style>"
/dports/textproc/tkxmlive/tkxmlive/library/
H A Drichtext-updatewidget.tcl259 set tag_style [simcss::getTagStyle [array get style] -param true -for text]
278 …eval {$widget tag configure $TAG} -font {$font_style} $tag_style -bgstipple gray12 -background $st…
283 eval {$widget tag configure $TAG} -font {$font_style} $tag_style
/dports/www/p5-Template-Toolkit-Simple/Template-Toolkit-Simple-0.31/lib/Template/Toolkit/
H A DSimple.pm28 tag_style => 'template',
H A DSimple.pod192 =item C<tag_style()>
/dports/www/wwwoffle/wwwoffle-2.9j/src/
H A Dhtmlmodify.l113 tag_style =28 /* "style" */ ,
1283 else if(tag==tag_style && disable_style)
1285 else if(tag==tag_style && disable_script) /* could be script pretending to be style */
1348 else if((tag==tag_style || tag==tag__style) && disable_style)
1350 else if((tag==tag_style || tag==tag__style) && disable_style)
1431 else if(tag==tag_style && disable_style)
1433 else if(tag==tag_style && disable_script)
/dports/deskutils/calibre/calibre-src-5.34.0/src/calibre/gui2/
H A Dcomments_editor.py71 tag_style = style_map[tag]
75 tag_style[k] = common_props[k]
190 tag_style = style_map[tag]
191 remove_margins(tag, tag_style)
192 remove_zero_indents(tag_style)
194 remove_heading_font_styles(tag, tag_style)
/dports/security/afl++/AFLplusplus-3.14c/dictionaries/
H A Dhtml_tags.dict137 tag_style="<style>"
/dports/security/afl/afl-2.52b/dictionaries/
H A Dhtml_tags.dict137 tag_style="<style>"
/dports/science/py-pymatgen/pymatgen-2022.0.15/pymatgen/vis/
H A Dstructure_vtk.py1086 for site_and_cell_index, tag_style in tags.items():
1103 vis_radius = tag_style["radius"]
1104 color = tag_style["color"]
1105 opacity = tag_style["opacity"]
/dports/www/p5-Template-Toolkit-Simple/Template-Toolkit-Simple-0.31/
H A DREADME156 "tag_style()"
/dports/x11-toolkits/gtksourceview2/gtksourceview-2.10.5/
H A DNEWS599 * Added ID and tag_style properties to GtkSourceTag
H A DChangeLog.200705261867 added id and tag_style properties
H A DChangeLog.soc-20063128 added id and tag_style properties
/dports/x11-toolkits/gtksourceview3/gtksourceview-3.24.11/
H A DNEWS1423 * Added ID and tag_style properties to GtkSourceTag
/dports/x11-toolkits/gtksourceview4/gtksourceview-4.8.1/
H A DNEWS1620 * Added ID and tag_style properties to GtkSourceTag