RolledBackDocument Class Documentation

class RolledBackDocument

Namespace:datalogics_interface

Detailed Description

A class representing a Rolled back instance of a PDF document that was previously saved Incrementally.

Constructor & Destructor Documentation

~RolledBackDocument

~RolledBackDocument()

Member Function Documentation

close_document

void close_document()

Returns:

void

Closes the rolled-back document and releases its associated file resources.

This closes both the underlying file and the PDF document handle. After calling this method, the object should no longer be used.

save

void save(const std::string & path)

Parameters

path: const std::string &

The file system path where the rolled-back document will be saved.

Returns:

void

Saves the Rolled back document instance using the specified path to disk.

The document is saved in full (non-incremental) mode.