Пример #1
0
        protected override Property MakeCompound(PropertyList pList, FObj fo)
        {
            Keep p = new Keep();
            Property subProp;

            subProp = GetSubpropMaker("within-page").Make(pList,
                                                          getDefaultForWithinPage(), fo);
            p.SetComponent("within-page", subProp, true);

            subProp = GetSubpropMaker("within-line").Make(pList,
                                                          getDefaultForWithinLine(), fo);
            p.SetComponent("within-line", subProp, true);

            subProp = GetSubpropMaker("within-column").Make(pList,
                                                            getDefaultForWithinColumn(), fo);
            p.SetComponent("within-column", subProp, true);

            return new KeepProperty(p);
        }
Пример #2
0
 public KeepProperty(Keep keep)
 {
     this.keep = keep;
 }