Exemplo n.º 1
0
 public void Write(ExtendedPdfOutput output)
 {
     output.Write("[");
     output.Write(ExtendedPdfOutput.ToPdfHexadecimal(this.CreatedPart));
     output.Write(" ");
     output.Write(ExtendedPdfOutput.ToPdfHexadecimal(this.ModifiedPart));
     output.WriteLine("]");
 }
Exemplo n.º 2
0
 public void Write(ExtendedPdfOutput output)
 {
     output.Write("[");
     if (this.Count > 0)
     {
         output.Write(this[0]);
         for (int index = 1; index < this.Count; ++index)
         {
             output.Write(" ");
             output.Write(this[index]);
         }
     }
     output.Write("]");
 }
Exemplo n.º 3
0
 public void Write(ExtendedPdfOutput output)
 {
     if (this.bool_0)
     {
         StringBuilder stringBuilder = new StringBuilder(this.string_0.Length * 2);
         for (int index = 0; index < this.string_0.Length; ++index)
         {
             stringBuilder.Append(((byte)this.string_0[index]).ToString("x2"));
         }
         output.Write("<" + (object)stringBuilder + ">");
     }
     else
     {
         string str = this.string_0.Replace("\\", "\\\\").Replace("(", "\\(").Replace(")", "\\)");
         output.Write("(" + str + ")");
     }
 }
Exemplo n.º 4
0
        public virtual void Write(ExtendedPdfOutput output)
        {
            byte[] numArray = ((IPdfOutput)output).UseFilters ? this.FilteredData : this.Data;
            if (numArray == null)
            {
                throw new InvalidOperationException("No data for stream.");
            }
            PdfDictionary pdfDictionary = this.method_1(numArray, !((IPdfOutput)output).UseFilters);

            output.WriteLine((IPdfObject)pdfDictionary);
            output.WriteLine("stream");
            output.WriteLine(numArray);
            output.Write("endstream");
        }
Exemplo n.º 5
0
 public void Write(ExtendedPdfOutput output)
 {
     output.Write("[");
     output.Write(this.StartCID.ToString((IFormatProvider)CultureInfo.InvariantCulture));
     output.Write(" [");
     foreach (IPdfObject pdfObject in (ActiveList <IPdfObject>) this.Array)
     {
         output.Write(" ");
         output.Write(pdfObject);
     }
     output.Write(" ]]");
 }
Exemplo n.º 6
0
        public void Write(ExtendedPdfOutput output)
        {
            output.Write("<<");
            string data = this.Count > 1 ? "\n" : " ";

            output.Write(data);
            foreach (string key in this.Keys)
            {
                output.Write("/" + key + " ");
                IPdfObject pdfObject = this[key];
                output.Write(pdfObject);
                output.Write(data);
            }
            output.Write(">>");
        }
Exemplo n.º 7
0
 public void Write(ExtendedPdfOutput output)
 {
     output.Write(this.int_0.ToString((IFormatProvider)CultureInfo.InvariantCulture));
 }