@Test @Ignore public void resolveLeading() throws IOException { assertEquals(18f, firstPara.getLeading(), 0); first.getCSS().put("line-height", "25pt"); applier.apply(firstPara, first, configuration); assertEquals(25, firstPara.getLeading(), 0); child.getCSS().put("line-height", "19pt"); applier.apply(firstPara, first, configuration); assertEquals(25, firstPara.getLeading(), 0); child.getCSS().put("line-height", "30pt"); applier.apply(firstPara, first, configuration); assertEquals(30, firstPara.getLeading(), 0); }
public Paragraph apply(final Paragraph p, final Tag t, final MarginMemory configuration) { return apply(p, t, configuration, null, null); }
ParagraphCssApplier implements CssApplier<Paragraph> { public Paragraph apply(final Paragraph p, final Tag t, final MarginMemory configuration) { return apply(p, t, configuration, null, null); } }
ParagraphCssApplier implements CssApplier<Paragraph> { public Paragraph apply(final Paragraph p, final Tag t, final MarginMemory configuration) { return apply(p, t, configuration, null, null); } ParagraphCssApplier(final CssAppliers appliers); }
ParagraphCssApplier implements CssApplier<Paragraph> { public Paragraph apply(final Paragraph p, final Tag t, final MarginMemory configuration) { return apply(p, t, configuration, null, null); } ParagraphCssApplier(final CssAppliers appliers); Paragraph apply(final Paragraph p, final Tag t, final MarginMemory configuration); Paragraph apply(final Paragraph p, final Tag t, final MarginMemory configuration, final PageSizeContainable psc, final HtmlPipelineContext ctx); }
ParagraphCssApplier implements CssApplier<Paragraph> { public Paragraph apply(final Paragraph p, final Tag t, final MarginMemory configuration) { return apply(p, t, configuration, null, null); } ParagraphCssApplier(final CssAppliers appliers); Paragraph apply(final Paragraph p, final Tag t, final MarginMemory configuration); Paragraph apply(final Paragraph p, final Tag t, final MarginMemory configuration, final PageSizeContainable psc, final HtmlPipelineContext ctx);  }