Exemplo n.º 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";
            }
        }
Exemplo n.º 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)
 {
 }
Exemplo n.º 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;
 }
Exemplo n.º 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;
 }
Exemplo n.º 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)
 {
 }
Exemplo n.º 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;
 }
Exemplo n.º 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)
 {
 }
Exemplo n.º 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)
 {
 }
Exemplo n.º 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)
 {
 }
Exemplo n.º 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;
 }
Exemplo n.º 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);
 }
Exemplo n.º 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;
 }
Exemplo n.º 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;
 }
Exemplo n.º 14
0
 //------------------------------------------------------------------------------------------30.01.2006
 /// <summary>Creates the trailer.</summary>
 /// <param name="pdfFormatter">PDF formatter</param>
 internal PdfFileElement_Trailer(PdfFormatter pdfFormatter) : base(pdfFormatter)
 {
 }
Exemplo n.º 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)
 {
 }