摘要:
A relationship data structure associated with a source resource enables methods to discover and describe relationships between the source resource and a plurality of target resources. The relationships are stored in a format independent of the encoding of the source resource. Each relationship between the source resource and the plurality of target resources is stored in a content-neutral format, and the relationship data structure stores, a location of each target resource, a type of relationship with each target resource and an identifier to uniquely identify each relationship between the source resource and each target resource. Accordingly, the relationship data structure allows a decoder to directly discover the relationships between the source resource and the plurality of target resources without decoding the source resource or target resources.
摘要:
The present invention is directed to a system and method for providing access to individual resources stored within a package. The system enables a client to access the resources without having to access the entire package. The system allows a client to reference the different resources within the package through use of a URI scheme. The URI scheme of the present invention is composed through a method of combining the URI for the package and the URI for the resource. The URI scheme of the present invention is able to work with any scheme, thereby enabling the URI scheme to be universal and not protocol-specific.
摘要:
Methods and systems for mapping between components of a packaging model and features of a physical representation of a package are provided. Components of a packaging model may include, by way of example only, a part name, a content type, the contents of a part, and/or a growth hint. Physical representations of a package may include, by way of example only, physical persistence formats and/or various transports, e.g., network-based protocols. Computer-readable media having computer-executable instructions for performing the disclosed methods, as well as computers programmed to perform the disclosed methods, are also provided.
摘要:
Systems and methods for changing items of a computer file can include a storage medium, and an application programmed to create a file including a first item and a second item, the application storing the file on the storage medium, and the first item including padding. The system can also include an input/output module associated with the application, the input/output module being programmed to use at least a portion of the padding of the first item to accommodate a change in a size of the first item. A method can include providing a file including at least a first item and a second item, the first item including padding, changing the first item, and using at least a portion of the padding of the first item to accommodate a change in a size of the first item.
摘要:
Described is a mechanism for providing a single file that includes multiple representations of the same document content. Each of the representations may be optimized to provide a superior presentation for a particular device or application. The mechanism of the invention is preferably based on a compound file format that allows multiple renditions of the same content to be stored in a single document. Meta information is included within the single document that describes each of the multiple renditions together with any supporting files that may be used with those renditions. The inventors have determined that the Object Linking and Embedding (OLE) compound file format is especially well suited to implementations of the invention.
摘要:
Described is a system and method for applying transforms to multi-part files. A request is received to access a stream within a multi-part file. Upon receipt of the request, a list of transforms associated with the stream is identified. The list is also included within the multi-part file. The transforms specified in the list of transforms are performed on data before completing the request. If the request is a write, the transforms encode the data. If the request is a read, the transforms decode the data. The list of transforms is order dependent. The list of transforms includes a data structure having a first stream that includes a map that correlates the stream with a name for the list of transforms. A second stream that lists each of the transforms for the stream. A third stream for each of the transforms listed that identifies information associated with the transform.