示例#1
0
        public void Visit(PdfContents contents)
        {
            if (contents.Streams.Count > 1)
            {
                PushNextLevel();
                Append("Multiple Streams");

                foreach (PdfStream stream in contents.Streams)
                {
                    CurrentLevelNewLine();
                    stream.Visit(this);
                }

                PopLevel();
            }
            else
            {
                contents.Streams[0].Visit(this);
            }
        }
示例#2
0
 public PdfContentsParser(PdfContents parent)
     : base(parent)
 {
 }