示例#1
0
 private static Flow MakeFlowBeDiv(Flow flow)
 {
     flow.BoxMaker = childStyle => new DivBox(childStyle);
     return(flow);
 }
示例#2
0
 private static Flow MakeFlowBeParagraph(Flow flow)
 {
     flow.BoxMaker = childStyle => new ParaBox(childStyle);
     return(flow);
 }
示例#3
0
 static public Flow Containing(Flow flow)
 {
     return(MakeFlowBeDiv(new AtomicFlow(flow)));
 }
示例#4
0
 static public Flow Containing(Flow flow)
 {
     return(MakeFlowBeParagraph(new AtomicFlow(flow)));
 }