コード例 #1
0
ファイル: PageSequenceMaster.cs プロジェクト: nholik/Fo.Net
        protected PageSequenceMaster(FObj parent, PropertyList propertyList)
            : base(parent, propertyList)
        {
            this.name = "fo:page-sequence-master";

            subSequenceSpecifiers = new ArrayList();

            if (parent.GetName().Equals("fo:layout-master-set"))
            {
                this.layoutMasterSet = (LayoutMasterSet)parent;
                string pm = this.properties.GetProperty("master-name").GetString();
                if (pm == null)
                {
                    FonetDriver.ActiveDriver.FireFonetWarning(
                        "page-sequence-master does not have a page-master-name and so is being ignored");
                }
                else
                {
                    this.layoutMasterSet.addPageSequenceMaster(pm, this);
                }
            }
            else
            {
                throw new FonetException("fo:page-sequence-master must be child "
                    + "of fo:layout-master-set, not "
                    + parent.GetName());
            }
        }
コード例 #2
0
ファイル: Block.cs プロジェクト: nholik/Fo.Net
        public Block(FObj parent, PropertyList propertyList) : base(parent, propertyList)
        {
            this.name = "fo:block";

            switch (parent.GetName())
            {
                case "fo:basic-link":
                case "fo:block":
                case "fo:block-container":
                case "fo:float":
                case "fo:flow":
                case "fo:footnote-body":
                case "fo:inline":
                case "fo:inline-container":
                case "fo:list-item-body":
                case "fo:list-item-label":
                case "fo:marker":
                case "fo:multi-case":
                case "fo:static-content":
                case "fo:table-caption":
                case "fo:table-cell":
                case "fo:wrapper":
                    break;
                default:
                    throw new FonetException(
                        "fo:block must be child of " +
                            "fo:basic-link, fo:block, fo:block-container, fo:float, fo:flow, fo:footnote-body, fo:inline, fo:inline-container, fo:list-item-body, fo:list-item-label, fo:marker, fo:multi-case, fo:static-content, fo:table-caption, fo:table-cell or fo:wrapper " +
                            "not " + parent.GetName());
            }
            this.span = this.properties.GetProperty("span").GetEnum();
            ts = propMgr.getTextDecoration(parent);
        }
コード例 #3
0
ファイル: Flow.cs プロジェクト: nholik/Fo.Net
        protected Flow(FObj parent, PropertyList propertyList)
            : base(parent, propertyList)
        {
            this.name = GetElementName();

            if (parent.GetName().Equals("fo:page-sequence"))
            {
                this.pageSequence = (PageSequence)parent;
            }
            else
            {
                throw new FonetException("flow must be child of "
                    + "page-sequence, not "
                    + parent.GetName());
            }
            SetFlowName(GetProperty("flow-name").GetString());

            if (pageSequence.IsFlowSet)
            {
                if (this.name.Equals("fo:flow"))
                {
                    throw new FonetException("Only a single fo:flow permitted"
                        + " per fo:page-sequence");
                }
                else
                {
                    throw new FonetException(this.name
                        + " not allowed after fo:flow");
                }
            }
            pageSequence.AddFlow(this);
        }
コード例 #4
0
ファイル: SimplePageMaster.cs プロジェクト: nholik/Fo.Net
        protected SimplePageMaster(FObj parent, PropertyList propertyList)
            : base(parent, propertyList)
        {
            this.name = "fo:simple-page-master";

            if (parent.GetName().Equals("fo:layout-master-set"))
            {
                this.layoutMasterSet = (LayoutMasterSet)parent;
                masterName = this.properties.GetProperty("master-name").GetString();
                if (masterName == null)
                {
                    FonetDriver.ActiveDriver.FireFonetWarning(
                        "simple-page-master does not have a master-name and so is being ignored");
                }
                else
                {
                    this.layoutMasterSet.addSimplePageMaster(this);
                }
            }
            else
            {
                throw new FonetException("fo:simple-page-master must be child "
                    + "of fo:layout-master-set, not "
                    + parent.GetName());
            }
            _regions = new Hashtable();
        }
コード例 #5
0
ファイル: AbstractTableBody.cs プロジェクト: nholik/Fo.Net
 public AbstractTableBody(FObj parent, PropertyList propertyList) : base(parent, propertyList)
 {
     if (!(parent is Table))
     {
         FonetDriver.ActiveDriver.FireFonetError(
             "A table body must be child of fo:table, not " + parent.GetName());
     }
 }
コード例 #6
0
ファイル: InlineContainer.cs プロジェクト: nholik/Fo.Net
        protected InlineContainer(FObj parent, PropertyList propertyList)
            : base(parent, propertyList)
        {
            this.name = "fo:inline-container";

            BorderAndPadding bap = propMgr.GetBorderAndPadding();
            BackgroundProps bProps = propMgr.GetBackgroundProps();
            MarginInlineProps mProps = propMgr.GetMarginInlineProps();
            RelativePositionProps mRelProps = propMgr.GetRelativePositionProps();
        }
コード例 #7
0
ファイル: PageMasterReference.cs プロジェクト: nholik/Fo.Net
 public PageMasterReference(FObj parent, PropertyList propertyList)
     : base(parent, propertyList)
 {
     this.name = GetElementName();
     if (GetProperty("master-reference") != null)
     {
         SetMasterName(GetProperty("master-reference").GetString());
     }
     validateParent(parent);
 }
コード例 #8
0
ファイル: Root.cs プロジェクト: nholik/Fo.Net
 protected internal Root(FObj parent, PropertyList propertyList)
     : base(parent, propertyList)
 {
     this.name = "fo:root";
     pageSequences = new ArrayList();
     if (parent != null)
     {
         throw new FonetException("root must be root element");
     }
 }
コード例 #9
0
ファイル: BackgroundColorMaker.cs プロジェクト: nholik/Fo.Net
 protected override Property ConvertPropertyDatatype(
     Property p, PropertyList propertyList, FObj fo)
 {
     String nameval = p.GetNCname();
     if (nameval != null)
     {
         return new ColorTypeProperty(new ColorType(nameval));
     }
     return base.ConvertPropertyDatatype(p, propertyList, fo);
 }
コード例 #10
0
ファイル: RetrieveMarker.cs プロジェクト: nholik/Fo.Net
        public RetrieveMarker(FObj parent, PropertyList propertyList)
            : base(parent, propertyList)
        {
            this.name = "fo:retrieve-marker";

            this.retrieveClassName =
                this.properties.GetProperty("retrieve-class-name").GetString();
            this.retrievePosition =
                this.properties.GetProperty("retrieve-position").GetEnum();
            this.retrieveBoundary =
                this.properties.GetProperty("retrieve-boundary").GetEnum();
        }
コード例 #11
0
ファイル: EnumProperty.cs プロジェクト: nholik/Fo.Net
 public override Property ConvertProperty(Property p,
                                          PropertyList propertyList,
                                          FObj fo)
 {
     if (p is EnumProperty)
     {
         return p;
     }
     else
     {
         return null;
     }
 }
コード例 #12
0
        public ConditionalPageMasterReference(FObj parent, PropertyList propertyList)
            : base(parent, propertyList)
        {
            this.name = GetElementName();
            if (GetProperty("master-reference") != null)
            {
                SetMasterName(GetProperty("master-reference").GetString());
            }

            validateParent(parent);

            setPagePosition(this.properties.GetProperty("page-position").GetEnum());
            setOddOrEven(this.properties.GetProperty("odd-or-even").GetEnum());
            setBlankOrNotBlank(this.properties.GetProperty("blank-or-not-blank").GetEnum());
        }
コード例 #13
0
ファイル: LineHeightMaker.cs プロジェクト: nholik/Fo.Net
        protected override Property ConvertPropertyDatatype(Property p, PropertyList propertyList, FObj fo)
        {
            {
                Number numval =
                    p.GetNumber();
                if (numval != null)
                {
                    return new LengthProperty(
                        new PercentLength(numval.DoubleValue(),
                                          GetPercentBase(fo, propertyList)));
                }
            }

            return base.ConvertPropertyDatatype(p, propertyList, fo);
        }
コード例 #14
0
        protected override Property MakeCompound(PropertyList pList, FObj fo)
        {
            LengthPair p = new LengthPair();
            Property subProp;

            subProp = GetSubpropMaker("block-progression-direction").Make(pList,
                                                                          getDefaultForBlockProgressionDirection(), fo);
            p.SetComponent("block-progression-direction", subProp, true);

            subProp = GetSubpropMaker("inline-progression-direction").Make(pList,
                                                                           getDefaultForInlineProgressionDirection(), fo);
            p.SetComponent("inline-progression-direction", subProp, true);

            return new LengthPairProperty(p);
        }
コード例 #15
0
ファイル: Marker.cs プロジェクト: nholik/Fo.Net
        public Marker(FObj parent, PropertyList propertyList)
            : base(parent, propertyList)
        {
            this.name = "fo:marker";

            this.markerClassName =
                this.properties.GetProperty("marker-class-name").GetString();
            ts = propMgr.getTextDecoration(parent);

            try
            {
                parent.AddMarker(this.markerClassName);
            }
            catch (FonetException)
            {
            }
        }
コード例 #16
0
ファイル: Inline.cs プロジェクト: nholik/Fo.Net
        public Inline(FObj parent, PropertyList propertyList)
            : base(parent, propertyList)
        {
            this.name = "fo:inline";
            if (parent.GetName().Equals("fo:flow"))
            {
                throw new FonetException("inline formatting objects cannot"
                    + " be directly under flow");
            }

            AccessibilityProps mAccProps = propMgr.GetAccessibilityProps();
            AuralProps mAurProps = propMgr.GetAuralProps();
            BorderAndPadding bap = propMgr.GetBorderAndPadding();
            BackgroundProps bProps = propMgr.GetBackgroundProps();
            MarginInlineProps mProps = propMgr.GetMarginInlineProps();
            RelativePositionProps mRelProps = propMgr.GetRelativePositionProps();
            ts = propMgr.getTextDecoration(parent);
        }
コード例 #17
0
 public RepeatablePageMasterReference(FObj parent, PropertyList propertyList)
     : base(parent, propertyList)
 {
     string mr = GetProperty("maximum-repeats").GetString();
     if (mr.Equals("no-limit"))
     {
         setMaximumRepeats(INFINITE);
     }
     else
     {
         try
         {
             setMaximumRepeats(Int32.Parse(mr));
         }
         catch (FormatException)
         {
             throw new FonetException("Invalid number for 'maximum-repeats' property");
         }
     }
 }
コード例 #18
0
ファイル: LayoutMasterSet.cs プロジェクト: nholik/Fo.Net
        protected internal LayoutMasterSet(FObj parent, PropertyList propertyList)
            : base(parent, propertyList)
        {
            this.name = "fo:layout-master-set";
            this.simplePageMasters = new Hashtable();
            this.pageSequenceMasters = new Hashtable();

            if (parent.GetName().Equals("fo:root"))
            {
                this.root = (Root)parent;
                root.setLayoutMasterSet(this);
            }
            else
            {
                throw new FonetException("fo:layout-master-set must be child of fo:root, not "
                    + parent.GetName());
            }
            allRegions = new Hashtable();

        }
コード例 #19
0
ファイル: PageMasterReference.cs プロジェクト: nholik/Fo.Net
        protected void validateParent(FObj parent)
        {
            if (parent.GetName().Equals("fo:page-sequence-master"))
            {
                _pageSequenceMaster = (PageSequenceMaster)parent;

                if (MasterName == null)
                {
                    FonetDriver.ActiveDriver.FireFonetWarning(
                        GetElementName() + " does not have a master-reference and so is being ignored");
                }
                else
                {
                    _pageSequenceMaster.AddSubsequenceSpecifier(this);
                }
            }
            else
            {
                throw new FonetException(GetElementName() + " must be"
                    + "child of fo:page-sequence-master, not "
                    + parent.GetName());
            }
        }
コード例 #20
0
        public RepeatablePageMasterAlternatives(FObj parent, PropertyList propertyList)
            : base(parent, propertyList)
        {
            this.name = "fo:repeatable-page-master-alternatives";

            conditionalPageMasterRefs = new ArrayList();

            if (parent.GetName().Equals("fo:page-sequence-master"))
            {
                this.pageSequenceMaster = (PageSequenceMaster)parent;
                this.pageSequenceMaster.AddSubsequenceSpecifier(this);
            }
            else
            {
                throw new FonetException("fo:repeatable-page-master-alternatives"
                    + "must be child of fo:page-sequence-master, not "
                    + parent.GetName());
            }

            string mr = GetProperty("maximum-repeats").GetString();
            if (mr.Equals("no-limit"))
            {
                setMaximumRepeats(INFINITE);
            }
            else
            {
                try
                {
                    setMaximumRepeats(Int32.Parse(mr));
                }
                catch (FormatException)
                {
                    throw new FonetException("Invalid number for 'maximum-repeats' property");
                }
            }

        }
コード例 #21
0
ファイル: RegionStart.cs プロジェクト: jps1974/SaveAsPdf
 protected RegionStart(FObj parent, PropertyList propertyList)
     : base(parent, propertyList)
 {
 }
コード例 #22
0
 protected MultiSwitch(FObj parent, PropertyList propertyList)
     : base(parent, propertyList)
 {
     this.name = "fo:multi-switch";
 }
コード例 #23
0
 public Leader(FObj parent, PropertyList propertyList)
     : base(parent, propertyList)
 {
 }
コード例 #24
0
 public override FObj Make(FObj parent, PropertyList propertyList)
 {
     return(new TableBody(parent, propertyList));
 }
コード例 #25
0
 protected BlockContainer(FObj parent, PropertyList propertyList)
     : base(parent, propertyList)
 {
     this.name = "fo:block-container";
     this.span = this.properties.GetProperty("span").GetEnum();
 }
コード例 #26
0
 public override IPercentBase GetPercentBase(FObj fo, PropertyList propertyList)
 {
     return(new LengthBase(fo, propertyList, LengthBase.CONTAINING_BOX));
 }
コード例 #27
0
 public PageNumberCitation(FObj parent, PropertyList propertyList)
     : base(parent, propertyList)
 {
     this.name = "fo:page-number-citation";
 }
コード例 #28
0
 public override FObj Make(FObj parent, PropertyList propertyList)
 {
     return(new PageNumberCitation(parent, propertyList));
 }
コード例 #29
0
 public ListBlock(FObj parent, PropertyList propertyList)
     : base(parent, propertyList)
 {
     this.name = "fo:list-block";
 }
コード例 #30
0
 protected MultiPropertySet(FObj parent, PropertyList propertyList)
     : base(parent, propertyList)
 {
     this.name = "fo:multi-property-set";
 }
コード例 #31
0
ファイル: TableCaption.cs プロジェクト: jps1974/SaveAsPdf
 protected TableCaption(FObj parent, PropertyList propertyList)
     : base(parent, propertyList)
 {
 }
コード例 #32
0
 public Wrapper(FObj parent, PropertyList propertyList)
     : base(parent, propertyList)
 {
     this.name = "fo:wrapper";
 }
コード例 #33
0
        public virtual Status Layout(Area area, Region region)
        {
            if (this.marker == MarkerStart)
            {
                this.marker = 0;
            }

            BodyAreaContainer bac = (BodyAreaContainer)area;

            bool      prevChildMustKeepWithNext = false;
            ArrayList pageMarker = this.getMarkerSnapshot(new ArrayList());

            int numChildren = this.children.Count;

            if (numChildren == 0)
            {
                throw new FonetException("fo:flow must contain block-level children");
            }
            for (int i = this.marker; i < numChildren; i++)
            {
                FObj fo = (FObj)children[i];

                if (bac.isBalancingRequired(fo))
                {
                    bac.resetSpanArea();

                    this.Rollback(markerSnapshot);
                    i = this.marker - 1;
                    continue;
                }
                Area currentArea = bac.getNextArea(fo);
                currentArea.setIDReferences(bac.getIDReferences());
                if (bac.isNewSpanArea())
                {
                    this.marker    = i;
                    markerSnapshot = this.getMarkerSnapshot(new ArrayList());
                }
                SetContentWidth(currentArea.getContentWidth());

                _status = fo.Layout(currentArea);

                if (_status.isIncomplete())
                {
                    if ((prevChildMustKeepWithNext) && (_status.laidOutNone()))
                    {
                        this.marker = i - 1;
                        FObj prevChild = (FObj)children[this.marker];
                        prevChild.RemoveAreas();
                        prevChild.ResetMarker();
                        prevChild.RemoveID(area.getIDReferences());
                        _status = new Status(Status.AREA_FULL_SOME);
                        return(_status);
                    }
                    if (bac.isLastColumn())
                    {
                        if (_status.getCode() == Status.FORCE_COLUMN_BREAK)
                        {
                            this.marker = i;
                            _status     =
                                new Status(Status.FORCE_PAGE_BREAK);
                            return(_status);
                        }
                        else
                        {
                            this.marker = i;
                            return(_status);
                        }
                    }
                    else
                    {
                        if (_status.isPageBreak())
                        {
                            this.marker = i;
                            return(_status);
                        }
                        ((ColumnArea)currentArea).incrementSpanIndex();
                        i--;
                    }
                }
                if (_status.getCode() == Status.KEEP_WITH_NEXT)
                {
                    prevChildMustKeepWithNext = true;
                }
                else
                {
                    prevChildMustKeepWithNext = false;
                }
            }
            return(_status);
        }
コード例 #34
0
ファイル: FontSizeMaker.cs プロジェクト: nholik/Fo.Net
        public override IPercentBase GetPercentBase(FObj fo, PropertyList propertyList)
        {
            return new LengthBase(fo, propertyList, LengthBase.INH_FONTSIZE);

        }
コード例 #35
0
 public PageNumber(FObj parent, PropertyList propertyList)
     : base(parent, propertyList)
 {
     this.name = "fo:page-number";
 }
コード例 #36
0
ファイル: InlineContainer.cs プロジェクト: hobosoft/FO.NET
 public override FObj Make(FObj parent, PropertyList propertyList)
 {
     return(new InlineContainer(parent, propertyList));
 }
コード例 #37
0
ファイル: Root.cs プロジェクト: marciogoularte/FO.NET-1
 public override FObj Make(FObj parent, PropertyList propertyList)
 {
     return(new Root(parent, propertyList));
 }
コード例 #38
0
ファイル: LayoutMasterSet.cs プロジェクト: nholik/Fo.Net
 public override FObj Make(FObj parent, PropertyList propertyList)
 {
     return new LayoutMasterSet(parent, propertyList);
 }
コード例 #39
0
 public Character(FObj parent, PropertyList propertyList)
     : base(parent, propertyList)
 {
     this.name = "fo:character";
 }
コード例 #40
0
ファイル: BasicLink.cs プロジェクト: nholik/Fo.Net
 public BasicLink(FObj parent, PropertyList propertyList)
     : base(parent, propertyList)
 {
     this.name = "fo:basic-link";
 }
コード例 #41
0
ファイル: RetrieveMarker.cs プロジェクト: nholik/FO.Net
 public override FObj Make(FObj parent, PropertyList propertyList)
 {
     return(new RetrieveMarker(parent, propertyList));
 }
コード例 #42
0
 public override FObj Make(FObj parent, PropertyList propertyList)
 {
     return(new Declarations(parent, propertyList));
 }
コード例 #43
0
ファイル: GenericCondLength.cs プロジェクト: nholik/Fo.Net
        public override Property ConvertProperty(Property p, PropertyList pList, FObj fo)
        {
            if (p is CondLengthProperty)
            {
                return p;
            }
            if (!(p is EnumProperty))
            {
                p = m_shorthandMaker.ConvertProperty(p, pList, fo);
            }
            if (p != null)
            {
                Property prop = MakeCompound(pList, fo);
                CondLength pval = prop.GetCondLength();

                pval.SetComponent("length", p, false);
                return prop;
            }
            else
            {
                return null;
            }
        }
コード例 #44
0
ファイル: Root.cs プロジェクト: nholik/Fo.Net
 public override FObj Make(FObj parent, PropertyList propertyList)
 {
     return new Root(parent, propertyList);
 }
コード例 #45
0
 public override FObj Make(FObj parent, PropertyList propertyList)
 {
     return(new MultiSwitch(parent, propertyList));
 }
コード例 #46
0
        public override Property ConvertProperty(Property p, PropertyList pList, FObj fo)
        {
            if (p is LengthRangeProperty)
            {
                return p;
            }
            if (!(p is EnumProperty))
            {
                p = m_shorthandMaker.ConvertProperty(p, pList, fo);
            }
            if (p != null)
            {
                Property prop = MakeCompound(pList, fo);
                LengthRange pval = prop.GetLengthRange();

                pval.SetComponent("minimum", p, false);
                pval.SetComponent("optimum", p, false);
                pval.SetComponent("maximum", p, false);
                return prop;
            }
            else
            {
                return null;
            }
        }
コード例 #47
0
ファイル: Table.cs プロジェクト: nholik/FO.Net
 public Table(FObj parent, PropertyList propertyList)
     : base(parent, propertyList)
 {
     this.name = "fo:table";
 }
コード例 #48
0
        public override Status Layout(Area area)
        {
            if (this.marker == MarkerStart)
            {
                AbsolutePositionProps mAbsProps = propMgr.GetAbsolutePositionProps();
                BorderAndPadding      bap       = propMgr.GetBorderAndPadding();
                BackgroundProps       bProps    = propMgr.GetBackgroundProps();
                MarginProps           mProps    = propMgr.GetMarginProps();

                this.marker   = 0;
                this.position = this.properties.GetProperty("position").GetEnum();
                this.top      = this.properties.GetProperty("top").GetLength().MValue();
                this.bottom   = this.properties.GetProperty("bottom").GetLength().MValue();
                this.left     = this.properties.GetProperty("left").GetLength().MValue();
                this.right    = this.properties.GetProperty("right").GetLength().MValue();
                this.width    = this.properties.GetProperty("width").GetLength().MValue();
                this.height   = this.properties.GetProperty("height").GetLength().MValue();
                span          = this.properties.GetProperty("span").GetEnum();

                string id = this.properties.GetProperty("id").GetString();
                area.getIDReferences().InitializeID(id, area);
            }

            AreaContainer container = (AreaContainer)area;

            if ((this.width == 0) && (this.height == 0))
            {
                width  = right - left;
                height = bottom - top;
            }

            this.areaContainer =
                new AreaContainer(propMgr.GetFontState(container.getFontInfo()),
                                  container.getXPosition() + left,
                                  container.GetYPosition() - top, width, height,
                                  position);

            areaContainer.setPage(area.getPage());
            areaContainer.setBackground(propMgr.GetBackgroundProps());
            areaContainer.setBorderAndPadding(propMgr.GetBorderAndPadding());
            areaContainer.start();

            areaContainer.setAbsoluteHeight(0);
            areaContainer.setIDReferences(area.getIDReferences());

            int numChildren = this.children.Count;

            for (int i = this.marker; i < numChildren; i++)
            {
                FObj   fo     = (FObj)children[i];
                Status status = fo.Layout(areaContainer);
            }

            areaContainer.end();
            if (position == Position.ABSOLUTE)
            {
                areaContainer.SetHeight(height);
            }
            area.addChild(areaContainer);

            return(new Status(Status.OK));
        }
コード例 #49
0
 public override FObj Make(FObj parent, PropertyList propertyList)
 {
     return(new LayoutMasterSet(parent, propertyList));
 }
コード例 #50
0
 public SinglePageMasterReference(
     FObj parent, PropertyList propertyList)
     : base(parent, propertyList)
 {
     this.state = FIRST;
 }
コード例 #51
0
        protected override Property MakeCompound(PropertyList pList, FObj fo)
        {
            LengthRange p = new LengthRange();
            Property subProp;

            subProp = GetSubpropMaker("minimum").Make(pList,
                                                      GetDefaultForMinimum(), fo);
            p.SetComponent("minimum", subProp, true);

            subProp = GetSubpropMaker("optimum").Make(pList,
                                                      GetDefaultForOptimum(), fo);
            p.SetComponent("optimum", subProp, true);

            subProp = GetSubpropMaker("maximum").Make(pList,
                                                      GetDefaultForMaximum(), fo);
            p.SetComponent("maximum", subProp, true);

            return new LengthRangeProperty(p);
        }
コード例 #52
0
 public override FObj Make(FObj parent, PropertyList propertyList)
 {
     return(new SinglePageMasterReference(parent, propertyList));
 }
コード例 #53
0
            public override IPercentBase GetPercentBase(FObj fo, PropertyList propertyList)
            {
                return new LengthBase(fo, propertyList, LengthBase.CONTAINING_BOX);

            }
コード例 #54
0
 public override FObj Make(FObj parent, PropertyList propertyList)
 {
     return(new RegionBefore(parent, propertyList));
 }
コード例 #55
0
 protected RegionBefore(FObj parent, PropertyList propertyList)
     : base(parent, propertyList)
 {
     precedence = this.properties.GetProperty("precedence").GetEnum();
 }
コード例 #56
0
 public override FObj Make(FObj parent, PropertyList propertyList)
 {
     return(new Character(parent, propertyList));
 }
コード例 #57
0
ファイル: PropertyInfo.cs プロジェクト: nholik/Fo.Net
 public PropertyInfo(PropertyMaker maker, PropertyList plist, FObj fo)
 {
     this.maker = maker;
     this.plist = plist;
     this.fo = fo;
 }
コード例 #58
0
 public override FObj Make(FObj parent, PropertyList propertyList)
 {
     return(new ExternalGraphic(parent, propertyList));
 }
コード例 #59
0
ファイル: BasicLink.cs プロジェクト: nholik/Fo.Net
 public override FObj Make(FObj parent, PropertyList propertyList)
 {
     return new BasicLink(parent, propertyList);
 }
コード例 #60
0
 public ExternalGraphic(FObj parent, PropertyList propertyList) : base(parent, propertyList)
 {
     this.name = "fo:external-graphic";
 }