52
53
case WP3_MISCELLANEOUS_GROUP_PAGE_SIZE_OVERRIDE:
53
54
uint16_t tmpPageOrientation;
55
56
// skip 20 bytes of old values
56
57
input->seek(20, WPX_SEEK_CUR);
59
60
tmpPageOrientation = readU16(input, encryption, true);
60
61
m_pageWidth = fixedPointToWPUs(readU32(input, encryption, true));
61
62
m_pageHeight = fixedPointToWPUs(readU32(input, encryption, true));
63
64
// determine whether it is portrait or landscape
64
65
if ((tmpPageOrientation & 0x0001) == 0x0000)
65
66
m_pageOrientation = PORTRAIT;