Esempio n. 1
0
        public void HPDF_Obj_WriteValue(HPDF_Object obj, HPDF_Encrypt e)
        {
            LibLogger.Debug(this.GetType(), "HPDF_Obj_WriteValue");

            HPDF_Obj_Header header = obj.Header;
            var             clas   = header.ObjClass & HPDF_Obj_Header.HPDF_OCLASS_ANY;

            switch (clas)
            {
            case HPDF_Obj_Header.HPDF_OCLASS_NAME:
                HPDF_Name_Write(obj as HPDF_Name);
                break;

            case HPDF_Obj_Header.HPDF_OCLASS_NUMBER:
                HPDF_Number_Write(obj as HPDF_Number);
                break;

            case HPDF_Obj_Header.HPDF_OCLASS_REAL:
                HPDF_Real_Write(obj as HPDF_Real);
                break;

            case HPDF_Obj_Header.HPDF_OCLASS_STRING:
                HPDF_String_Write(obj as HPDF_String, e);
                break;

            case HPDF_Obj_Header.HPDF_OCLASS_BINARY:
                HPDF_Binary_Write(obj as HPDF_Binary, e);
                break;

            case HPDF_Obj_Header.HPDF_OCLASS_ARRAY:
                HPDF_Array_Write(obj as HPDF_Array, e);
                break;

            case HPDF_Obj_Header.HPDF_OCLASS_DICT:
                HPDF_Dict_Write(obj as HPDF_Dict, e);
                break;

            case HPDF_Obj_Header.HPDF_OCLASS_BOOLEAN:
                HPDF_Boolean_Write(obj as HPDF_Boolean);
                break;

            case HPDF_Obj_Header.HPDF_OCLASS_NULL:
                HPDF_Stream_WriteStr("null");
                break;

            default:
                Error = new HPDF_Error("HPDF_Obj_WriteValue", HPDF_Error.HPDF_ERR_UNKNOWN_CLASS, 0);
                break;
            }
        }
Esempio n. 2
0
 public void HPDF_Stream_WriteToStream(HPDF_Stream stream, uint filter, HPDF_Encrypt e)
 {
     LibLogger.Debug(this.GetType(), "HPDF_Stream_WriteToStream");
 }
Esempio n. 3
0
 private void HPDF_Obj_Write(HPDF_Object obj, HPDF_Encrypt e)
 {
     LibLogger.Debug(this.GetType(), "HPDF_Obj_Write");
 }
Esempio n. 4
0
 public void HPDF_Dict_Write(HPDF_Dict obj, HPDF_Encrypt e)
 {
     LibLogger.Debug(this.GetType(), "HPDF_Dict_Write");
 }
Esempio n. 5
0
 public void HPDF_Array_Write(HPDF_Array arr, HPDF_Encrypt e)
 {
     LibLogger.Debug(this.GetType(), "HPDF_Array_Write");
 }
Esempio n. 6
0
 public void HPDF_Stream_WriteBinary(byte[] data, HPDF_Encrypt e, bool toHex = true)
 {
     LibLogger.Debug(this.GetType(), "HPDF_Stream_WriteBinary");
 }
Esempio n. 7
0
 public void HPDF_Stream_WriteBinaryString(string str, HPDF_Encrypt e)
 {
     LibLogger.Debug(this.GetType(), "HPDF_Stream_WriteBinaryString");
 }
Esempio n. 8
0
 private void HPDF_Binary_Write(HPDF_Binary obj, HPDF_Encrypt e)
 {
     LibLogger.Debug(this.GetType(), "HPDF_Binary_Write");
 }
Esempio n. 9
0
 private void HPDF_String_Write(HPDF_String obj, HPDF_Encrypt e)
 {
     LibLogger.Debug(this.GetType(), "HPDF_String_Write");
 }