When adding tables in document headers, landscape page orientation retains the portrait format for the header and footer on even pages. In fact, tables nested in headers/footers on even pages are not resized correctly in landscape sections.
Please find attached an example demonstrating the problem.
The problem occurs because the Table is actually apart of previous Section which has Portrait Orientation and the Landscape Section links all headers and footers from the previous Section. To workaround this problem, you need to unlink headers and footers by using linkToPrevious method and then copy the actual content of headers and footers in the Landscape Section. Please see the code in my previous post for more details.
Sets consent for sending user data to Google for online advertising purposes.
Sets consent for personalized advertising.
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
More info
Enables storage, such as cookies, related to analytics.
Enables storage, such as cookies, related to advertising.
Sets consent for sending user data to Google for online advertising purposes.
Sets consent for personalized advertising.
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
More info
Enables storage, such as cookies, related to analytics.
Enables storage, such as cookies, related to advertising.
Sets consent for sending user data to Google for online advertising purposes.