2024-07-30 - The European Commission published the Second Report on the application of the General Data Protection Regulation
On 25 July 2024, the
published the «Second report on the application of the General Data Protection Regulation (GDPR)».
Source:
embed-pdf-container {
position: relative;
width: 100%;
height: auto;
min-height: 20vh;
}
.pdf-canvas {
border: 1px solid black;
direction: ltr;
width: 100%;
height: auto;
display: none;
}
the-canvas {
border: 1px solid black;
direction: ltr;
width: 100%;
height: auto;
display: none;
}
.pdf-loadingWrapper {
display: none;
justify-content: center;
align-items: center;
width: 100%;
height: 350px;
}
.pdf-loading {
display: inline-block;
width: 50px;
height: 50px;
border: 3px solid #d2d0d0;
border-radius: 50%;
border-top-color: #383838;
animation: spin 1s ease-in-out infinite;
-webkit-animation: spin 1s ease-in-out infinite;
}
overlayText {
word-wrap: break-word;
display: grid;
justify-content: end;
}
overlayText a {
position: relative;
top: 10px;
right: 4px;
color: #000;
margin: auto;
background-color: #eeeeee;
padding: 0.3em 1em;
border: solid 2px;
border-radius: 12px;
border-color: #00000030;
text-decoration: none;
}
overlayText svg {
height: clamp(1em, 2vw, 1.4em);
width: clamp(1em, 2vw, 1.4em);
}
@keyframes spin {
to { -webkit-transform: rotate(360deg); }
}
@-webkit-keyframes spin {
to { -webkit-transform: rotate(360deg); }
}
https://www.nicfab.eu/pdf/CELEX_52024DC0357_EN_TXT.pdf
Previous
Next
/
View the PDF file
.
import * as pdfjsLib from 'https:\/\/www.nicfab.eu\/js/pdf-js/build/pdf.mjs';
(function(){
var url = '\/pdf\/CELEX_52024DC0357_EN_TXT.pdf';
var hidePaginator = "" === "true";
var hideLoader = "" === "true";
var selectedPageNum = parseInt("") || 1;
if (!pdfjsLib.GlobalWorkerOptions.workerSrc)
pdfjsLib.GlobalWorkerOptions.workerSrc = "https:\/\/www.nicfab.eu\/" + 'js/pdf-js/build/pdf.worker.mjs';
var pdfDoc = null,
pageNum = selectedPageNum,
pageRendering = false,
pageNumPending = null,
scale = 3,
canvas = document.getElementById('pdf-canvas-785aaf9d'),
ctx = canvas.getContext('2d'),
paginator = document.getElementById("pdf-paginator-785aaf9d"),
loadingWrapper = document.getElementById('pdf-loadingWrapper-785aaf9d');
showPaginator();
showLoader();
function renderPage(num) {
pageRendering = true;
pdfDoc.getPage(num).then(function(page) {
var viewport = page.getViewport({scale: scale});
canvas.height = viewport.height;
canvas.width = viewport.width;
var renderContext = {
canvasContext: ctx,
viewport: viewport
};
var renderTask = page.render(renderContext);
renderTask.promise.then(function() {
pageRendering = false;
showContent();
if (pageNumPending !== null) {
renderPage(pageNumPending);
pageNumPending = null;
}
});
});
document.getElementById('pdf-pagenum-785aaf9d').textContent = num;
}
function showContent() {
loadingWrapper.style.display = 'none';
canvas.style.display = 'block';
}
function showLoader() {
if(hideLoader) return
loadingWrapper.style.display = 'flex';
canvas.style.display = 'none';
}
function showPaginator() {
if(hidePaginator) return
paginator.style.display = 'block';
}
function queueRenderPage(num) {
if (pageRendering) {
pageNumPending = num;
} else {
renderPage(num);
}
}
function onPrevPage() {
if (pageNum = pdfDoc.numPages) {
return;
}
pageNum++;
queueRenderPage(pageNum);
}
document.getElementById('pdf-next-785aaf9d').addEventListener('click', onNextPage);
pdfjsLib.getDocument({
url: url,
standardFontDataUrl: "https:\/\/www.nicfab.eu\/" + 'js/pdf-js/web/standard_fonts/',
cMapUrl: "https:\/\/www.nicfab.eu\/" + 'js/pdf-js/web/cmaps/',
cMapPacked: true
}).promise.then(function(pdfDoc_) {
pdfDoc = pdfDoc_;
var numPages = pdfDoc.numPages;
document.getElementById('pdf-pagecount-785aaf9d').textContent = numPages;
if(pageNum > numPages) {
pageNum = numPages
}
renderPage(pageNum);
});
})();
If this resource was helpful, you could contribute by
Or donate via
Follow us on
Stay tuned!
New to Gemini? This capsule is best read with a Gemini client, such as Lagrange.