Makes pages without index use text layer extraction and default header and footer

Bug  58156
Change-Id: I7535683ae40c42891864d2b9e4e4054010d88fe5
Merge "Makes pages without index use text layer extraction and default header and footer"