예제 #1
0
        public void AddPages(PagesObject pages)
        {
            var content = ByteContainerFactory
                .CreateByteContainer(string.Format("<< /Type /Catalog /Pages {0} 0 R >>", pages.Number));

            SetContent(content);
        }
예제 #2
0
        public override void Arrange()
        {
            _catalogObjectNumber = 12;
            _pagesObjectNumber = 25;

            _pages = new PagesObject(_pagesObjectNumber);

            _sut = new CatalogObject(_catalogObjectNumber);
        }
        public override void Arrange()
        {
            _pagesObjectNumber = 9;
            _page1ObjectNumber = 51;
            _page2ObjectNumber = 75;

            _page1 = new PageObject(_page1ObjectNumber, new Size(210, 297));
            _page2 = new PageObject(_page2ObjectNumber, new Size(210, 297));

            _sut = new PagesObject(_pagesObjectNumber);
        }
예제 #4
0
        public override void Arrange()
        {
            _pagesObjectNumber = 9;
            _pageObjectNumber = 51;

            _page = new PageObject(_pageObjectNumber, new Size(210, 297));
            var contents = new ContentsObject(295);
            _page.AddContents(contents);

            _sut = new PagesObject(_pagesObjectNumber);
        }
예제 #5
0
 public override void Act()
 {
     _sut = new PagesObject(_objectNumber);
 }