The Aspose test file: aspose-cloud/aspose-words-cloud/tests/Aspose/Words/HeaderFooterTests.php
seems to suggest that header_footer_type
is a string matching the values found here:
for example:
$request = new InsertHeaderFooterOnlineRequest(
$requestDocument,
"",
"FooterEven",
However when I use these values in a DeleteHeadersFootersRequest
new DeleteHeadersFootersRequest(
$filename,
"",
$this->folder,
$this->storage,
headers_footers_types: "FooterEven",
)
I always get the exception:
ErrorInvalidInputData
Operation Failed. The input data is not valid
Message: FooterEven is unknown value
I’ve also tried using an array as well as numeric values:
headers_footers_types: ["FooterEven"]
headers_footers_types: [2]
But they all result in the same exception.