File tree Expand file tree Collapse file tree 4 files changed +8
-7
lines changed
Expand file tree Collapse file tree 4 files changed +8
-7
lines changed Original file line number Diff line number Diff line change @@ -461,7 +461,7 @@ def h_general
461461 @sd [ "style:table-properties" ] [ "style:rel-width" ] = "100%"
462462 end
463463 def h_style_may_break_between_rows
464- @sd [ "style:table-properties" ] [ "style:may-break-between-rows" ] =
464+ @sd [ "style:table-properties" ] [ "style:may-break-between-rows" ] =
465465 "false" if !!( @snr =~ / tp_o_unbreakable / )
466466 end
467467 def h_style_keep_with_next
@@ -787,9 +787,9 @@ def h_parent_style_name
787787 @sd [ :parent_style_name ] = $aodp_sn_ef if !!( @snr =~ / cft_example / )
788788 end
789789 def h_style_vertical_pos
790- @sd [ "style:graphic-properties" ] [ "style:vertical-pos" ] = "top"
791- @sd [ "style:graphic-properties" ] [ "style:vertical-rel" ] = "baseline"
792- @sd [ "style:graphic-properties" ] [ "text:anchor-type" ] = "paragraph"
790+ @sd [ "style:graphic-properties" ] [ "style:vertical-pos" ] = "from- top"
791+ @sd [ "style:graphic-properties" ] [ "style:vertical-rel" ] = "paragraph-content"
792+ @sd [ "style:graphic-properties" ] [ "text:anchor-type" ] = "paragraph"
793793 @sd [ "style:graphic-properties" ] [ "style:flow-with-text" ] = "true"
794794 @sd [ "style:graphic-properties" ] [ "style:wrap" ] = "none"
795795 end
@@ -910,7 +910,6 @@ def h_parent_style_name
910910 end
911911end
912912
913-
914913class BasicPreambleFirstParagraph < BasicHelper
915914 def h_parent_style_name
916915 @sd [ :parent_style_name ] = $aodp_sn_preamble_before_paragraph if !!( @snr =~ / before-paragraph / )
Original file line number Diff line number Diff line change 1- - sectnumlevels = @document .attributes[" sectnumlevels" ] || 3
1+ - sectnumlevels = ( @document .attributes[" sectnumlevels" ] || 3 ).to_i
22- unless sections.empty?
33 - toclevels ||= (document.attr ' toclevels' , 3 ).to_i
44 - slevel = section_level sections.first
Original file line number Diff line number Diff line change 1+ - puts ' WARNING: quote blocks are not yet supported:'
2+ - puts content
Original file line number Diff line number Diff line change 1- - sectnumlevels = @document .attributes[" sectnumlevels" ] || 3
1+ - sectnumlevels = ( @document .attributes[" sectnumlevels" ] || 3 ).to_i
22- section_style = " adoc_s sp_sl_#{ level } #{ get_basic_style } "
33- section_style += " sp_sn_#{ (attr :sectname ) } " if @attributes .key?(" sectname" )
44- section_style += " sp_s_#{ (attr :style ) } " if @attributes .key?(" style" )
You can’t perform that action at this time.
0 commit comments