Skip to content

nsfdata Package: TODO

jesse-gallagher edited this page Dec 28, 2014 · 4 revisions
  • There are a great number of structs not yet represented in nsfdata. The Composite Data ones are particularly important for parsing arbitrary input, and the missing ones can be identified by the constants with null parameters in CDSignature.
  • Many structs do not have enums for their enumerated and bit-field properties; these are marked with TODO comments.
  • Most variable elements do not yet have setters.
  • Some data is useless without the addition of a C-API hook, such as TIMEDATE and NSFCompiledFormula.
  • It appears that old databases did not use LMBCS for string storage. It may be best to add a setter to AbstractStruct to indicate whether generic strings are treated as ASCII or LMBCS (which may also effect the presence of buffer bytes for word barriers). The trick here would be determining when a document's structure is old enough to warrant this treatment.
  • Most instances of byte[] should probably be replaced with ByteBuffer.
  • The DXL item subtypes (DXLItemNumber, etc.) should have corresponding NSFItem* interfaces.