//------------------------------------------------------------------------------------------29.07.2006 /// <summary>Creates a font indirect object.</summary> /// <param name="pdfFormatter">PDF formatter</param> /// <param name="fontProp">Font property</param> internal PdfIndirectObject_Font(PdfFormatter pdfFormatter, FontData fontData) : base(pdfFormatter) { this.fontData = fontData; sKey = fontData.fontDef.sFontName; if ((fontData.fontStyle & FontStyle.Bold) > 0) { sKey += ";B"; } if ((fontData.fontStyle & FontStyle.Italic) > 0) { sKey += ";I"; } }
//------------------------------------------------------------------------------------------01.02.2006 /// <summary>Creates a catalog indirect object.</summary> /// <param name="pdfFormatter">PDF formatter</param> internal PdfIndirectObject_Catalog(PdfFormatter pdfFormatter) : base(pdfFormatter) { }
//------------------------------------------------------------------------------------------03.02.2006 /// <summary>Creates a page indirect object.</summary> /// <param name="pdfFormatter">PDF formatter</param> internal PdfIndirectObject_Page(PdfFormatter pdfFormatter, Page page) : base(pdfFormatter) { this.page = page; }
//------------------------------------------------------------------------------------------01.02.2006 /// <summary>Creates an indirect object.</summary> /// <param name="pdfFormatter">PDF formatter</param> internal PdfIndirectObject(PdfFormatter pdfFormatter) : base(pdfFormatter) { pdfFormatter.list_PdfIndirectObject.Add(this); iObjectNumber = pdfFormatter.list_PdfIndirectObject.Count; }
//------------------------------------------------------------------------------------------01.02.2006 /// <summary>Creates a pages indirect object.</summary> /// <param name="pdfFormatter">PDF formatter</param> internal PdfIndirectObject_Pages(PdfFormatter pdfFormatter) : base(pdfFormatter) { }
//------------------------------------------------------------------------------------------01.02.2006 /// <summary>Creates a JPEG image indirect object.</summary> /// <param name="pdfFormatter">PDF formatter</param> /// <param name="imageResource_Jpeg">JPEG Image Resource</param> internal PdfIndirectObject_ImageJpeg(PdfFormatter pdfFormatter, ImageData imageResource_Jpeg) : base(pdfFormatter) { this.imageResource_Jpeg = imageResource_Jpeg; }
//------------------------------------------------------------------------------------------01.02.2006 /// <summary>Creates a viewer-preferences indirect object.</summary> /// <param name="pdfFormatter">PDF formatter</param> internal PdfIndirectObject_ViewerPreferences(PdfFormatter pdfFormatter) : base(pdfFormatter) { }
//------------------------------------------------------------------------------------------01.02.2006 /// <summary>Creates an info indirect object.</summary> /// <param name="pdfFormatter">PDF formatter</param> internal PdfIndirectObject_Info(PdfFormatter pdfFormatter) : base(pdfFormatter) { }
//------------------------------------------------------------------------------------------29.07.2006 /// <summary>Creates a font indirect object for a Type1 font.</summary> /// <param name="pdfFormatter">PDF formatter</param> /// <param name="type1FontData">Type1 font data</param> internal PdfIndirectObject_Font_Type1(PdfFormatter pdfFormatter, Type1FontData type1FontData) : base(pdfFormatter, type1FontData) { }
//------------------------------------------------------------------------------------------04.05.2006 /// <summary>Creates a font descriptor indirect object.</summary> /// <param name="pdfFormatter">PDF formatter</param> /// <param name="fontProp">Font property</param> internal PdfIndirectObject_FontDescriptor(PdfFormatter pdfFormatter, OpenTypeFontData openTypeFontData) : base(pdfFormatter) { this.openTypeFontData = openTypeFontData; }
//------------------------------------------------------------------------------------------04.08.2006 /// <summary>Creates a font indirect object for an open type font.</summary> /// <param name="pdfFormatter">PDF formatter</param> /// <param name="openTypeFontData">Open type font data</param> internal PdfIndirectObject_Font_OpenType(PdfFormatter pdfFormatter, OpenTypeFontData openTypeFontData) : base(pdfFormatter, openTypeFontData) { pdfIndirectObject_FontDescriptor = new PdfIndirectObject_FontDescriptor(pdfFormatter, openTypeFontData); }
//------------------------------------------------------------------------------------------01.02.2006 /// <summary>Creates a font indirect object.</summary> /// <param name="pdfFormatter">PDF formatter</param> /// <param name="fontProp">Font property</param> internal PdfIndirectObject_FontTtf(PdfFormatter pdfFormatter, FontProp fontProp) : base(pdfFormatter) { this.fontProp = fontProp; }
//------------------------------------------------------------------------------------------28.01.2006 /// <summary>Creates a PDF file element.</summary> /// <param name="pdfFormatter">PDF formatter</param> internal PdfFileElement(PdfFormatter pdfFormatter) { this.pdfFormatter = pdfFormatter; this.sb = pdfFormatter.sb; }
//------------------------------------------------------------------------------------------30.01.2006 /// <summary>Creates the trailer.</summary> /// <param name="pdfFormatter">PDF formatter</param> internal PdfFileElement_Trailer(PdfFormatter pdfFormatter) : base(pdfFormatter) { }
//------------------------------------------------------------------------------------------30.01.2006 /// <summary>Creates the cross-reference table.</summary> /// <param name="pdfFormatter">PDF formatter</param> internal PdfFileElement_XRef(PdfFormatter pdfFormatter) : base(pdfFormatter) { }