Skip to content

InsertPages/SavePages and PDF/UA don't work together #613

@pgundlach

Description

@pgundlach

Version 4.19.23

<Layout xmlns="urn:speedata.de:2009/publisher/en"
    xmlns:sd="urn:speedata:2009/publisher/functions/en">
    <PDFOptions format="PDF/UA" />
    <StructureElement role="Document" id="doc" />

    <Record element="data">
        <InsertPages name="foo" pages="1" />
        <ClearPage />
        <PlaceObject>
            <Textblock>
                <Paragraph role="P" parent="doc">
                    <Value>pppp</Value>
                </Paragraph>
            </Textblock>
        </PlaceObject>


        <SavePages name="foo">
            <PlaceObject>
                <Textblock>
                    <Paragraph role="H1" parent="doc">
                        <Value>hhhh</Value>
                    </Paragraph>
                </Textblock>
            </PlaceObject>
            <!-- Bookmark breaks even more things ... -->
            <!-- <Bookmark level="1" select="'Hello'" /> -->
        </SavePages>
    </Record>
</Layout>

Metadata

Metadata

Assignees

No one assigned

    Labels

    PDF/UAAccessibility

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions