The SubfileExtractInfo Struct

Provides information about a subfile that has been extracted.

struct SubfileExtractInfo
{
    bool may_contain_subfiles;
    bool charset_converted;
    bool external;
    bool non_formatted_body_extracted;
};
Member Description
may_contain_subfiles Whether the extracted file may contain subfiles and should be extracted further.
charset_converted Whether the subfile's character encoding was converted.
external Whether the subfile is embedded in the main file as a link and is stored externally. This type of subfile cannot be extracted because it is not stored in the container.
non_formatted_body_extracted When formatted_mail is true, specifies whether a mail message was extracted as plain text due to an error extracting its formatted version.
rawname

The name of the subfile within the container.

IMPORTANT: This member contains the name from the source document without any modification. It can be a path, and if you intend to use this value when extracting the subfile, OpenText recommends that you sanitize the value in order to protect your application against directory traversal attacks by malicious files. See Security Best Practices.