示例#1
0
        //------------------------------------------------------------------------------------------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";
            }
        }
示例#2
0
 //------------------------------------------------------------------------------------------01.02.2006
 /// <summary>Creates a catalog indirect object.</summary>
 /// <param name="pdfFormatter">PDF formatter</param>
 internal PdfIndirectObject_Catalog(PdfFormatter pdfFormatter) : base(pdfFormatter)
 {
 }
示例#3
0
 //------------------------------------------------------------------------------------------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;
 }
示例#4
0
 //------------------------------------------------------------------------------------------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;
 }
示例#5
0
 //------------------------------------------------------------------------------------------01.02.2006
 /// <summary>Creates a pages indirect object.</summary>
 /// <param name="pdfFormatter">PDF formatter</param>
 internal PdfIndirectObject_Pages(PdfFormatter pdfFormatter) : base(pdfFormatter)
 {
 }
示例#6
0
 //------------------------------------------------------------------------------------------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;
 }
示例#7
0
 //------------------------------------------------------------------------------------------01.02.2006
 /// <summary>Creates a viewer-preferences indirect object.</summary>
 /// <param name="pdfFormatter">PDF formatter</param>
 internal PdfIndirectObject_ViewerPreferences(PdfFormatter pdfFormatter) : base(pdfFormatter)
 {
 }
示例#8
0
 //------------------------------------------------------------------------------------------01.02.2006
 /// <summary>Creates an info indirect object.</summary>
 /// <param name="pdfFormatter">PDF formatter</param>
 internal PdfIndirectObject_Info(PdfFormatter pdfFormatter) : base(pdfFormatter)
 {
 }
示例#9
0
 //------------------------------------------------------------------------------------------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)
 {
 }
示例#10
0
 //------------------------------------------------------------------------------------------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;
 }
示例#11
0
 //------------------------------------------------------------------------------------------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);
 }
示例#12
0
 //------------------------------------------------------------------------------------------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;
 }
示例#13
0
 //------------------------------------------------------------------------------------------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;
 }
示例#14
0
 //------------------------------------------------------------------------------------------30.01.2006
 /// <summary>Creates the trailer.</summary>
 /// <param name="pdfFormatter">PDF formatter</param>
 internal PdfFileElement_Trailer(PdfFormatter pdfFormatter) : base(pdfFormatter)
 {
 }
示例#15
0
 //------------------------------------------------------------------------------------------30.01.2006
 /// <summary>Creates the cross-reference table.</summary>
 /// <param name="pdfFormatter">PDF formatter</param>
 internal PdfFileElement_XRef(PdfFormatter pdfFormatter) : base(pdfFormatter)
 {
 }