[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[libredwg] Extracting Attributes from a 2007 drawing
From: |
Dave Coventry |
Subject: |
[libredwg] Extracting Attributes from a 2007 drawing |
Date: |
Tue, 25 Dec 2012 07:18:35 +0200 |
This is the output from running "test" on one of my R2007 files:
=== System Section (Pages Map) ===
--- Page ---
size: 0x400
id: 0xffffffffffffffd7
offset: 0x480
--- Page ---
size: 0x400
id: 0xffffffffffffffd6
offset: 0x880
--- Page ---
size: 0x60
id: 0x3
offset: 0xc80
--- Page ---
size: 0x4520
id: 0x4
offset: 0xce0
--- Page ---
size: 0x280
id: 0x5
offset: 0x5200
--- Page ---
size: 0x200
id: 0x6
offset: 0x5480
--- Page ---
size: 0x100
id: 0x7
offset: 0x5680
--- Page ---
size: 0xf620
id: 0x8
offset: 0x5780
--- Page ---
size: 0xa460
id: 0x9
offset: 0x14da0
--- Page ---
size: 0x8780
id: 0xa
offset: 0x1f200
--- Page ---
size: 0x6ba0
id: 0xb
offset: 0x27980
--- Page ---
size: 0x5bc0
id: 0xc
offset: 0x2e520
--- Page ---
size: 0x5dc0
id: 0xd
offset: 0x340e0
--- Page ---
size: 0x57c0
id: 0xe
offset: 0x39ea0
--- Page ---
size: 0x53c0
id: 0xf
offset: 0x3f660
--- Page ---
size: 0x53c0
id: 0x10
offset: 0x44a20
--- Page ---
size: 0x50c0
id: 0x11
offset: 0x49de0
--- Page ---
size: 0x4fc0
id: 0x12
offset: 0x4eea0
--- Page ---
size: 0x53c0
id: 0x13
offset: 0x53e60
--- Page ---
size: 0x51c0
id: 0x14
offset: 0x59220
--- Page ---
size: 0x4dc0
id: 0x15
offset: 0x5e3e0
--- Page ---
size: 0x49c0
id: 0x16
offset: 0x631a0
--- Page ---
size: 0x4ac0
id: 0x17
offset: 0x67b60
--- Page ---
size: 0x42c0
id: 0x18
offset: 0x6c620
--- Page ---
size: 0x42c0
id: 0x19
offset: 0x708e0
--- Page ---
size: 0x51c0
id: 0x1a
offset: 0x74ba0
--- Page ---
size: 0x4bc0
id: 0x1b
offset: 0x79d60
--- Page ---
size: 0x4bc0
id: 0x1c
offset: 0x7e920
--- Page ---
size: 0xcd40
id: 0x1d
offset: 0x834e0
--- Page ---
size: 0x9880
id: 0x1e
offset: 0x90220
--- Page ---
size: 0x100
id: 0x1f
offset: 0x99aa0
--- Page ---
size: 0x100
id: 0x20
offset: 0x99ba0
--- Page ---
size: 0x32e0
id: 0x21
offset: 0x99ca0
--- Page ---
size: 0x400
id: 0x22
offset: 0x9cf80
--- Page ---
size: 0x100
id: 0x23
offset: 0x9d380
--- Page ---
size: 0x300
id: 0x24
offset: 0x9d480
--- Page ---
size: 0x1a00
id: 0x25
offset: 0x9d780
--- Page ---
size: 0x1a00
id: 0x26
offset: 0x9f180
--- Page ---
size: 0x600
id: 0x2b
offset: 0xa0b80
--- Page ---
size: 0x600
id: 0x2c
offset: 0xa1180
=== System Section (Section Map) ===
--- Section ---
data size: 474
max size: 512
encryption: 2
hashcode: 6c4205ca
name length: 34
unknown: 0
encoding: 1
num pages: 1
Section name: AcDb:FileDepList
--- Page ---
offset: 0
size: 512
id: 6
uncomp_size: 474
comp_size: 474
checksum: 486cc8a8
crc: 166045544f5280d0
--- Section ---
data size: 604
max size: 768
encryption: 0
hashcode: 3fa0043e
name length: 26
unknown: 0
encoding: 1
num pages: 1
Section name: AcDb:AppInfo
--- Page ---
offset: 0
size: 768
id: 5
uncomp_size: 604
comp_size: 604
checksum: dbc263cf
crc: 821f8b4c4e700b9e
--- Section ---
data size: 17399
max size: 17408
encryption: 0
hashcode: 40aa0473
name length: 26
unknown: 0
encoding: 1
num pages: 1
Section name: AcDb:Preview
--- Page ---
offset: 0
size: 17408
id: 4
uncomp_size: 17399
comp_size: 17399
checksum: d80652be
crc: 62d8c21fc6d50531
--- Section ---
data size: 74
max size: 128
encryption: 0
hashcode: 717a060f
name length: 34
unknown: 0
encoding: 1
num pages: 1
Section name: AcDb:SummaryInfo
--- Page ---
offset: 0
size: 128
id: 3
uncomp_size: 74
comp_size: 74
checksum: e65b4c8f
crc: 728ed87b531273b3
--- Section ---
data size: 16
max size: 4096
encryption: 0
hashcode: 60a205b3
name length: 32
unknown: 0
encoding: 4
num pages: 1
Section name: AcDb:RevHistory
--- Page ---
offset: 0
size: 4096
id: 7
uncomp_size: 16
comp_size: 10
checksum: ea4fde94
crc: 22503377bf3ded13
--- Section ---
data size: 1435688
max size: 63488
encryption: 0
hashcode: 674c05a9
name length: 34
unknown: 0
encoding: 4
num pages: 23
Section name: AcDb:AcDbObjects
--- Page ---
offset: 0
size: 63488
id: 8
uncomp_size: 63488
comp_size: 61798
checksum: dfbd4a2
crc: a27abc00796a7c74
--- Page ---
offset: 63488
size: 63488
id: 9
uncomp_size: 63488
comp_size: 41250
checksum: 72034213
crc: 5bfbcaf2d08d8d43
--- Page ---
offset: 126976
size: 63488
id: 10
uncomp_size: 63488
comp_size: 34099
checksum: 54a93fd4
crc: 7a6c391735630a35
--- Page ---
offset: 190464
size: 63488
id: 11
uncomp_size: 63488
comp_size: 27022
checksum: 518974d2
crc: 246911a8f7822705
--- Page ---
offset: 253952
size: 63488
id: 12
uncomp_size: 63488
comp_size: 22966
checksum: 90bfb42a
crc: 67a8f7a7aa8274b3
--- Page ---
offset: 317440
size: 63488
id: 13
uncomp_size: 63488
comp_size: 23468
checksum: 96e1d6d9
crc: 22adda6eb32cd189
--- Page ---
offset: 380928
size: 63488
id: 14
uncomp_size: 63488
comp_size: 21996
checksum: 1e62fa25
crc: 4ef6d8f3c3827e06
--- Page ---
offset: 444416
size: 63488
id: 15
uncomp_size: 63488
comp_size: 20970
checksum: f0c3ff9
crc: a8bdb80386dc0019
--- Page ---
offset: 507904
size: 63488
id: 16
uncomp_size: 63488
comp_size: 20932
checksum: 1385bb31
crc: 816a2b8ea80122d0
--- Page ---
offset: 571392
size: 63488
id: 17
uncomp_size: 63488
comp_size: 20298
checksum: 42390ce7
crc: 4ed59d8c64b68531
--- Page ---
offset: 634880
size: 63488
id: 18
uncomp_size: 63488
comp_size: 20069
checksum: 9af07a32
crc: e370406847b3096c
--- Page ---
offset: 698368
size: 63488
id: 19
uncomp_size: 63488
comp_size: 21046
checksum: c3e7cf7e
crc: 93adc96064b4587a
--- Page ---
offset: 761856
size: 63488
id: 20
uncomp_size: 63488
comp_size: 20434
checksum: cd10ce01
crc: da177ee4c630a58
--- Page ---
offset: 825344
size: 63488
id: 21
uncomp_size: 63488
comp_size: 19461
checksum: 1974f70d
crc: 2ec8031a9bca3f08
--- Page ---
offset: 888832
size: 63488
id: 22
uncomp_size: 63488
comp_size: 18456
checksum: 59aee820
crc: aea1a558b29ea636
--- Page ---
offset: 952320
size: 63488
id: 23
uncomp_size: 63488
comp_size: 18573
checksum: cea88f4b
crc: a6688a9fec097620
--- Page ---
offset: 1015808
size: 63488
id: 24
uncomp_size: 63488
comp_size: 16782
checksum: 9204997c
crc: dfa32ea32363891a
--- Page ---
offset: 1079296
size: 63488
id: 25
uncomp_size: 63488
comp_size: 16755
checksum: c6a03e92
crc: 9ef35aa75905413b
--- Page ---
offset: 1142784
size: 63488
id: 26
uncomp_size: 63488
comp_size: 20405
checksum: 3cbc44d0
crc: f1d146e7aae58a3c
--- Page ---
offset: 1206272
size: 63488
id: 27
uncomp_size: 63488
comp_size: 18975
checksum: 78005e3e
crc: 89746ddf9ce287bd
--- Page ---
offset: 1269760
size: 63488
id: 28
uncomp_size: 63488
comp_size: 18838
checksum: d871d539
crc: b3c925749018cd19
--- Page ---
offset: 1333248
size: 63488
id: 29
uncomp_size: 63488
comp_size: 51584
checksum: 8ce6bf69
crc: fd107d3c63132f87
--- Page ---
offset: 1396736
size: 63488
id: 30
uncomp_size: 38952
comp_size: 38394
checksum: ed5ca01
crc: 29aff09094ecb204
--- Section ---
data size: 53
max size: 63488
encryption: 0
hashcode: 77e2061f
name length: 36
unknown: 0
encoding: 4
num pages: 1
Section name: AcDb:ObjFreeSpace
--- Page ---
offset: 0
size: 63488
id: 31
uncomp_size: 53
comp_size: 40
checksum: ae14ba0d
crc: 3a735ff4130c0133
--- Section ---
data size: 4
max size: 1024
encryption: 0
hashcode: 4a1404ce
name length: 28
unknown: 0
encoding: 4
num pages: 1
Section name: AcDb:Template
--- Page ---
offset: 0
size: 1024
id: 32
uncomp_size: 4
comp_size: 4
checksum: bb2daeb7
crc: 58682cc451117228
--- Section ---
data size: 49251
max size: 63488
encryption: 0
hashcode: 3f6e0450
name length: 26
unknown: 0
encoding: 4
num pages: 1
Section name: AcDb:Handles
--- Page ---
offset: 0
size: 63488
id: 33
uncomp_size: 49251
comp_size: 12724
checksum: 49428907
crc: 54c1694183260e93
--- Section ---
data size: 1078
max size: 63488
encryption: 0
hashcode: 3f54045f
name length: 26
unknown: 0
encoding: 4
num pages: 1
Section name: AcDb:Classes
--- Page ---
offset: 0
size: 63488
id: 34
uncomp_size: 1078
comp_size: 825
checksum: 35a2d69a
crc: 1885336dc05b07c6
--- Section ---
data size: 123
max size: 2048
encryption: 0
hashcode: 54f0050a
name length: 30
unknown: 0
encoding: 4
num pages: 1
Section name: AcDb:AuxHeader
--- Page ---
offset: 0
size: 2048
id: 35
uncomp_size: 123
comp_size: 66
checksum: a27e5738
crc: d5b393385bbdc70b
--- Section ---
data size: 688
max size: 2048
encryption: 0
hashcode: 32b803d9
name length: 24
unknown: 0
encoding: 4
num pages: 1
Section name: AcDb:Header
--- Page ---
offset: 0
size: 2048
id: 36
uncomp_size: 688
comp_size: 583
checksum: 35ce2273
crc: 2a1b96d3a85494e4
--- Section ---
data size: 0
max size: 63488
encryption: 0
hashcode: 0
name length: 0
unknown: 0
encoding: 4
num pages: 0
Could anyone tell me where I might find the ENTITIES section of the
file and how to decode it to find the Attributes.
I notice that there isn't much activity on the lists. Is this project
still alive?
Kind Regards,
Dave Coventry
- [libredwg] Extracting Attributes from a 2007 drawing,
Dave Coventry <=