OneStoreFile

Overview

OneStoreFile is a class in Aspose.Note for Python.

OneStoreFile.data holds the raw byte array of the .one file.

OneStoreFile represents the top-level structure of a .one binary file as parsed by the Aspose.Note internal MS-ONE reader. It contains the root header, the revision store, and references to all object spaces within the file. This class is part of the low-level binary-access layer and is primarily used when building tools that inspect the raw OneNote storage format rather than the logical document model.

Description

OneStoreFile is a class in the Aspose.Note FOSS library for Python that exposes 0 methods and 4 properties for programmatic use.

Core capabilities include: bytes; list[objectspacestate]; dict[str, bytes]. These operations enable developers to integrate onestorefile functionality directly into Python applications.

The class also provides the data property (holds the raw byte array of the .one file), the object_spaces property (provides a list of objectspacestate objects representing object spaces in the file), the file_data_store property (maps string identifiers to binary blobs stored within the file).

Properties

NameTypeAccessDescription
databytesReadHolds the raw byte array of the .one file
object_spaceslist[ObjectSpaceState]ReadProvides a list of ObjectSpaceState objects representing object spaces in the file
file_data_storedict[str, bytes]ReadMaps string identifiers to binary blobs stored within the file
display_namestr | NoneReadReturns the optional display name of the OneStore file, or None if not set

See Also

 English