Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
pgundlach opened this issue Sep 12, 2024 · 0 comments
Open

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

pgundlach opened this issue Sep 12, 2024 · 0 comments
Labels
PDF/UA Accessibility

Comments

@pgundlach
Copy link
Member

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>
@pgundlach pgundlach added the PDF/UA Accessibility label Sep 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
PDF/UA Accessibility
Projects
None yet
Development

No branches or pull requests

1 participant