PDF export PoC

This commit is contained in:
Christian Georgi
2023-03-14 15:28:26 +01:00
parent bed293f1b2
commit 2b03529a4c
3 changed files with 58 additions and 0 deletions

View File

@@ -1,5 +1,15 @@
using CatalogService from '@capire/bookstore';
using from '@sap/cds-pdf-export';
annotate CatalogService with @(
Capabilities: { SupportedFormats : [ 'application/pdf' ] },
PDF.Features: {
DocumentDescriptionReference : '/-pdf/',
DocumentDescriptionCollection : 'createDocumentDescription'
}
);
////////////////////////////////////////////////////////////////////////////
//
// Books Object Page