/// <summary> /// Writes PDF document outlines into file stream /// </summary> /// <param name="outlines">PDF document outlines</param> internal void Write(PdfOutlines outlines) { writeBeginObject(outlines.ObjectId); writeBeginDictionary(); writeDictionaryEntry("/Type", "/Outlines"); writeDictionaryEntry("/Count", "0"); writeEndDictionary(); writeEndObject(); }
public PdfBody(FontType fontType) { this.pdfCatalog_0 = new PdfCatalog(); this.pdfOutlines_0 = new PdfOutlines(); this.pdfCatalog_0.Outlines = this.pdfOutlines_0; this.pdfPages_0 = new PdfPages(); this.pdfCatalog_0.Pages = this.pdfPages_0; this.pdfProcedureSetArray_0 = new PdfProcedureSetArray(); this.fontSetup_0 = new FontSetup(this.pdfFontInfo_0, fontType); }
public PdfDocument() { m_Fonts = new List <PdfFont>(); m_Meta = new PdfMeta(); m_Info = new PdfInfo(); m_OutLines = new PdfOutlines(); m_Root = new PdfRoot(); m_PageTree = new PdfPageTree(); m_Trailer = new PdfTrailer(); m_ObjectRepository = new ObjectRepository(); m_ResourceRepository = new ResourceRepository(); m_Root.Info = m_Info; m_Root.Outlines = m_OutLines; m_Root.PageTree = m_PageTree; m_Trailer.Root = m_Root; m_PageSize = PdfPageSize.Default(); }
public PdfDocument() { m_Fonts = new List<PdfFont>(); m_Meta = new PdfMeta(); m_Info = new PdfInfo(); m_OutLines = new PdfOutlines(); m_Root = new PdfRoot(); m_PageTree = new PdfPageTree(); m_Trailer = new PdfTrailer(); m_ObjectRepository = new ObjectRepository(); m_ResourceRepository = new ResourceRepository(); m_Root.Info = m_Info; m_Root.Outlines = m_OutLines; m_Root.PageTree = m_PageTree; m_Trailer.Root = m_Root; m_PageSize = PdfPageSize.Default(); }