Exemplo n.º 1
1
        private PdfManifest()
        {
            Styles = new PdfManifestStyles();

            Pages = new PdfPages();
            Pages.ItemsInserted += OnPagesInserted;

            DocumentSize = PdfDocumentSize.None;
        }
Exemplo n.º 2
0
 /**
 * Constructs a <CODE>PdfWriter</CODE>.
 * <P>
 * Remark: a PdfWriter can only be constructed by calling the method
 * <CODE>getInstance(Document document, Stream os)</CODE>.
 *
 * @param    document    The <CODE>PdfDocument</CODE> that has to be written
 * @param    os          The <CODE>Stream</CODE> the writer has to write to.
 */
 
 protected PdfWriter(PdfDocument document, Stream os) : base(document, os) {
     pdfIsoConformance = GetPdfIsoConformance();
     root = new PdfPages(this);
     pdf = document;
     directContentUnder = new PdfContentByte(this);
     directContent = directContentUnder.Duplicate;
 }
Exemplo n.º 3
0
 //  ESSENTIALS 
     
 //  Construct a PdfWriter instance
     
     /**
     * Constructs a <CODE>PdfWriter</CODE>.
     */
     protected PdfWriter() {
         pdfIsoConformance = GetPdfIsoConformance();
         root = new PdfPages(this);
     }
Exemplo n.º 4
0
 /**
 * Constructs a <CODE>PdfWriter</CODE>.
 * <P>
 * Remark: a PdfWriter can only be constructed by calling the method
 * <CODE>getInstance(Document document, Stream os)</CODE>.
 *
 * @param    document    The <CODE>PdfDocument</CODE> that has to be written
 * @param    os          The <CODE>Stream</CODE> the writer has to write to.
 */
 protected PdfWriter(PdfDocument document, Stream os)
     : base(document, os)
 {
     root = new PdfPages(this);
     pdf = document;
     directContent = new PdfContentByte(this);
     directContentUnder = new PdfContentByte(this);
 }
Exemplo n.º 5
0
 //  ESSENTIALS
 //  Construct a PdfWriter instance
 /**
 * Constructs a <CODE>PdfWriter</CODE>.
 */
 protected PdfWriter()
 {
     root = new PdfPages(this);
 }
Exemplo n.º 6
0
        // methods

/**
 * Adds a <CODE>PdfPages</CODE>-object.
 *
 * @param		pages		a <CODE>PdfPages</CODE>-object
 */

        internal void Add(PdfPages pages)
        {
            pages.Add(pages);
        }