18constexpr const char* constPadding =
" "
39 OStringLiteral(u8
"<?xpacket begin=\"\uFEFF\" id=\"W5M0MpCehiHzreSzNTczkc9d\"?>\n"));
44 aXmlWriter.
startElement(
"x",
"xmpmeta",
"adobe:ns:meta/");
45 aXmlWriter.
startElement(
"rdf",
"RDF",
"http://www.w3.org/1999/02/22-rdf-syntax-ns#");
50 OString sPdfVersion = OString::number(
mnPDF_A);
53 aXmlWriter.
attribute(
"rdf:about", OString(
""));
54 aXmlWriter.
attribute(
"xmlns:pdfaid", OString(
"http://www.aiim.org/pdfa/ns/id/"));
57 aXmlWriter.
content(sPdfVersion);
71 aXmlWriter.
attribute(
"rdf:about", OString(
""));
72 aXmlWriter.
attribute(
"xmlns:dc", OString(
"http://purl.org/dc/elements/1.1/"));
79 aXmlWriter.
attribute(
"xml:lang", OString(
"x-default"));
100 aXmlWriter.
attribute(
"xml:lang", OString(
"x-default"));
112 OString sPdfUaVersion = OString::number(1);
114 aXmlWriter.
attribute(
"rdf:about", OString(
""));
115 aXmlWriter.
attribute(
"xmlns:pdfuaid", OString(
"http://www.aiim.org/pdfua/ns/id/"));
118 aXmlWriter.
content(sPdfUaVersion);
128 aXmlWriter.
attribute(
"rdf:about", OString(
""));
129 aXmlWriter.
attribute(
"xmlns:pdf", OString(
"http://ns.adobe.com/pdf/1.3/"));
147 aXmlWriter.
attribute(
"rdf:about", OString(
""));
148 aXmlWriter.
attribute(
"xmlns:xmp", OString(
"http://ns.adobe.com/xap/1.0/"));
166 for (sal_Int32 nSpaces = 1; nSpaces <= 21; nSpaces++)