From 58958df0ab8d40e414c6be12f8c47f2ddd8abffa Mon Sep 17 00:00:00 2001 From: Robert Boehne Date: Fri, 7 Jul 2023 11:08:23 -0500 Subject: [PATCH] Updates to docs site. --- CPlusPlus/index.html | 18 ++- Release_Notes.html | 65 ++++++---- index.html | 16 ++- introStyles.css | 77 ++++++++++++ resources/css/coverStyles.css | 59 +++++++++ resources/css/pageStyles.css | 178 +++++++++++++++++++++++++++ resources/css/tocStyles.css | 93 ++++++++++++++ resources/img/DLicon.png | Bin 0 -> 12341 bytes resources/img/PDFLibrary_298x291.png | Bin 0 -> 7532 bytes resources/js/TOC.js | 40 ++++++ resources/js/coverJS.js | 67 ++++++++++ 11 files changed, 581 insertions(+), 32 deletions(-) create mode 100644 introStyles.css create mode 100644 resources/css/coverStyles.css create mode 100644 resources/css/pageStyles.css create mode 100644 resources/css/tocStyles.css create mode 100644 resources/img/DLicon.png create mode 100644 resources/img/PDFLibrary_298x291.png create mode 100644 resources/js/TOC.js create mode 100644 resources/js/coverJS.js diff --git a/CPlusPlus/index.html b/CPlusPlus/index.html index 3ae73828..79d35e83 100644 --- a/CPlusPlus/index.html +++ b/CPlusPlus/index.html @@ -1,5 +1,18 @@ - - + + + + + + + + + +

Datalogics Adobe PDF Library C/C++ Documentation

@@ -10,4 +23,5 @@

Release Notes

Acknowledgements

+ diff --git a/Release_Notes.html b/Release_Notes.html index ed05b2ff..a3129f3a 100644 --- a/Release_Notes.html +++ b/Release_Notes.html @@ -1,7 +1,17 @@ APDFL 18 Release Notes - + + + + + +
@@ -30,45 +40,46 @@

Release Notes, Adobe PDF Library v18

 

APDFL v18.0.4PlusP1z (June 8, 2023)

-

New Features:

+

New Features:

-

Problem Corrections:

+

Problem Corrections:

  • SF#45461 - Corrects an issue where Color Conversion could result in hidden content when a matrix contained very large values.
  • SF#45471 - Corrects an issue where a Form/BBox with very large values could be ignored during Rendering caused content to be missing in the output.

 

APDFL v18.0.4PlusP1y (May 9, 2023)

-

New Features:

+

New Features:

    -
  • Adds new ConvertToOffice functionality: +
  • Adds new ConvertToOffice functionality:
      -
    • Adds DocumentConversion sample ConvertToOffice to the C/C++ SDK, Windows only
    • -
    • Adds ConvertPDFToWord(), ConvertPDFToExcel(), and ConvertPDFToPowerPoint() functions to support PDF to Office conversion on Windows
    • -
    • Adds ConvertToWord(), ConvertToExcel(), ConvertToPowerPoint() static methods to the Document class of the .NET and Java interfaces, on Windows only
    • -
    • Adds a new DocumentConversion sample ConvertToOffice
    • +
    • Adds DocumentConversion sample ConvertToOffice to the C/C++ SDK, Windows only
    • +
    • Adds ConvertPDFToWord(), ConvertPDFToExcel(), and ConvertPDFToPowerPoint() functions to support PDF to Office conversion on Windows
    • +
    • Adds ConvertToWord(), ConvertToExcel(), ConvertToPowerPoint() static methods to the Document class of the .NET and Java interfaces, on Windows only
    • +
    • Adds a new DocumentConversion sample ConvertToOffice
  • -
  • Updates open source jpeg library to version 9e
  • -
  • Updates open source libpng library to version 1.6.39
  • -
  • Updates open source tiff library to version 4.5.0
  • -
  • SF#45633 - Adds a new page insertion flag PDInsertStructureElementsEvenIfKidsNotUsedOnPage to the C/C++ interface to permit merging Structure Elements which normally would be excluded unless the PDInsertAll flag was used in its place
  • -
  • With this release, the Nuget package version has been increased to 18.18.1
  • +
  • Updates open source jpeg library to version 9e
  • +
  • Updates open source libpng library to version 1.6.39
  • +
  • Updates open source tiff library to version 4.5.0
  • +
  • SF#45633 - Adds a new page insertion flag PDInsertStructureElementsEvenIfKidsNotUsedOnPage to the C/C++ interface to permit merging Structure Elements which normally would be excluded unless the PDInsertAll flag was used in its place
  • +
  • With this release, the Nuget package version has been increased to 18.18.1
-

Problem Corrections:

+

Problem Corrections:

  • SF#45460 - Corrects an issue in which color could be rendered incorrectly when specifying a RenderIntent of AbsoluteColorimetric while rendering a document
  • SF#45616 - Corrects a performance issue that could occur for some documents during Color Conversion when a significantly sized ICC profile was used
  • diff --git a/index.html b/index.html index b5c8c844..8ca3d771 100644 --- a/index.html +++ b/index.html @@ -1,9 +1,19 @@ - + + + + +
    -

    APDFL Documentation

    +

    APDFL 18 Documentation

      +
    • Release Notes

    • C++

    • .NET

    • .NET Framework

    • @@ -20,4 +30,4 @@

      Release Notes

      - \ No newline at end of file + diff --git a/introStyles.css b/introStyles.css new file mode 100644 index 00000000..87cd5a8b --- /dev/null +++ b/introStyles.css @@ -0,0 +1,77 @@ + +td { + padding: 1pt; + vertical-align:center; + padding-left: 5pt; +} +th { + text-align: center; +} +h1 { + position: fixed; + top: 0pt; + + color: #ffffff; + width: 100%; + height: 66px; + z-index: 1; + display: flex; + margin-top: 0pt; + padding-left: 6pt; + align-items: center;} +h2 { + border-bottom: thick double #32a1ce; + background-color: #ffffff; +} +h3 { + margin-left: 6pt; + border-bottom: solid #b0c4de; + font-size: 12pt; + font-family: "filson-pro", sans-serif; + font-weight: 700; +} +dt { + margin-left: 10pt; +} +li { + margin-left: 20pt; +} +body { + font-family: "venn", sans-serif; + font-weight: 400; + font-style: normal; + font-size: 11pt; +} +h1, h2{ + font-family: "filson-pro", + sans-serif; font-weight: 700; + font-style: normal; +} +tr { + font-family: "venn", sans-serif; + font-weight: 400; + font-size: 11pt; +} +section { + margin: 18pt; + margin-right: 4pt; + background-color: #fefaf3; +} +tr td:first-child { + font-family: "venn", sans-serif; + font-weight: 400; + font-style: normal; + font-size: 12pt; +} +tr:nth-child(even) { + background-color: #fefaf3; +} +tr:nth-child(odd) { + background-color: #fcecce; +} +table { + border: solid #f9d186 1px; +} +p { + margin-left: 9pt; +} diff --git a/resources/css/coverStyles.css b/resources/css/coverStyles.css new file mode 100644 index 00000000..caaa0486 --- /dev/null +++ b/resources/css/coverStyles.css @@ -0,0 +1,59 @@ + +tr:nth-child(even) { + background-color: #fefaf3; +} +tr:nth-child(odd) { + background-color: #fcecce; +} +td { + padding-left: 5pt; +} +#logo { + height: 66px; + border-bottom: 1px solid black; + padding-bottom: 5px; + width: auto; + background: #ffffff; + position: fixed; + z-index: 1; + top: 0px; + left: 0px; + transition: all 0.2s ease-in; +} +#logo:hover{ + background-color: #f2a20c3; + color: #0510261; + box-shadow: 0 0 3px #f2a20c3; +} +.objDoc { + display: flex; + flex-direction: column; + margin-left: 310px; +} +form { + display: flex; + justify-content: center; + border-bottom: 1px solid black; + padding-bottom: 5px; + background-image: linear-gradient(to right, rgba(187,212,240,0), rgba(12,112,242,1)); +} +#search-data { + font-size: 20pt; + border-radius: 10pt; + margin-top: 10pt; +} +#search-index { + font-size: 15pt; + display: flex; + flex-direction: column; +} +.verSelectv{ + position: fixed; + z-index: 2; + top: 35px; + left: 0px; +} +#ver{ + height: 45px; + border-width: 0px; +} diff --git a/resources/css/pageStyles.css b/resources/css/pageStyles.css new file mode 100644 index 00000000..121628cb --- /dev/null +++ b/resources/css/pageStyles.css @@ -0,0 +1,178 @@ + +td { + padding: 1pt; + vertical-align:center; + padding-left: 5pt; +} +th { + text-align: center; +} +h1 { + position: fixed; + top: 0pt; + + color: #ffffff; + width: 100%; + height: 66px; + z-index: 1; + display: flex; + margin-top: 0pt; + padding-left: 6pt; + align-items: center;} +h2 { + border-bottom: thick double #32a1ce; + background-color: #ffffff; +} +h3 { + margin-left: 6pt; + border-bottom: solid #b0c4de; +} +h4 { + font-size: 12pt; + margin-left: 5pt; + margin-bottom: 5pt; +} +h5 { + margin-bottom: 4pt; + font-size: 22pt; + color: #0952b3; +} +a { + text-decoration: none; +} +dt { + margin-left: 10pt; +} +li { + margin-left: 20pt; +} +body { + font-family: "venn", sans-serif; + font-weight: 400; + font-style: normal; + font-size: 11pt; +} +h3, h4 { + font-size: 12pt; + font-family: "filson-pro", sans-serif; + font-weight: 700; + font-style: italic; +} +h1, h2, h5 { + font-family: "filson-pro", + sans-serif; font-weight: 700; + font-style: normal; +} +tr { + font-family: "venn", sans-serif; + font-weight: 400; + font-style: italic; + font-size: 11pt; +} +code { + font-family: "venn", sans-serif; + font-weight: 300; + font-style: normal; + font-size: 11pt; +} + +section { + margin: 18pt; + margin-right: 4pt; + background-color: #fefaf3; +} +.structMember { + text-align: right; + padding-right: 9pt; +} +tr td:first-child { + font-family: "venn", sans-serif; + font-weight: 400; + font-style: normal; + font-size: 12pt; +} +tr:nth-child(even) { + background-color: #fefaf3; +} +tr:nth-child(odd) { + background-color: #fcecce; +} +.enumTable tr:nth-child(even) { + background-color: #fefaf3; +} +.enumTable tr:nth-child(odd) { + background-color: #fcecce; +} +.enumTable td { + padding-left: 9pt; + padding-right: 9pt; +} +.paramsTable td { + padding-left: 9pt; + padding-right: 9pt; +} +.ruled table { + border-collapse:collapse; + border-spacing:0; + border-style:hidden; +} +table { + border: solid #f9d186 1px; +} +.ruled th { + padding-left: 12pt; + border-right: 1px solid black; + border-bottom: 1px solid black; +} +.ruled td { + padding-left: 12pt; + border-right: 1px solid black; + border-bottom: 1px solid black; +} +.ruled tr:last-child{ + border-bottom:0; +} +.ruled th:last-child{ + border-right:0; +} +.ruled td:last-child{ + border-right:0; +} +.fullTOC { + display: flex; + position:fixed; + height:100%; + width:20%; + top:72px; + float: left; + z-index: 1; + left: 0px; +} +.fullTOC iframe { + padding-bottom: 70pt; + border: solid #dcdcdc; + background-color: #0952b3; +} +.objDoc { + margin-left: 21%; + width:79%; + margin-top:72px; + top: 16px; + float: right; + padding-bottom: 50pt; + position:absolute; + right: 0pt; + left: 0pt; + margin-right: 20pt; + margin-left: 240pt; + margin-top: 0pt; + min-width: fit-content; +} +.headerRef, .relatedMethods { + float:right;max-width:20%; +} +#coverPage { + min-height:360px; + min-width:270px; + border: 2px silver dotted; +} \ No newline at end of file diff --git a/resources/css/tocStyles.css b/resources/css/tocStyles.css new file mode 100644 index 00000000..b5f4d046 --- /dev/null +++ b/resources/css/tocStyles.css @@ -0,0 +1,93 @@ + +#clear { + font-style: normal; + text-decoration: none; + display: flex; + background: #ffffff; + margin-bottom: 4px; + margin-left: 5px; + border-radius: 7px; + width: 14pt; + font-weight: bold; + flex-direction: column; + align-items: center; + color: #f2a20c; + border: 3px solid #051026; + transition: all 0.2s ease-in-out; +} +#clear:hover { + background-color: #f2a20c3; + color: #0510261; + box-shadow: 0 0 3px #f2a20c3; +} +.searchbox { + display: flex; + flex-direction: row; + justify-content: flex-start; +} +form { + display: flex; + justify-content: center; + border-bottom: 1px solid black; + padding-bottom: 5px; +} +#search-data { + font-size: 12pt; + border-radius: 5pt; +} +body { + font-size: 11pt; + font-family: "venn", sans-serif; + font-weight: 400; + font-style: italic; + overflow-x: auto; + width: 150%; +} +ul { + list-style-type: none; + padding-left: 30px; +} +input[type=checkbox] { + display: none; +} +input[type=checkbox] ~ ul { + max-height: 0; + max-width: 0; + opacity: 0; + overflow: hidden; + white-space:nowrap; + -webkit-transition:all 0.25s ease; + -moz-transition:all 0.25s ease; + -o-transition:all 0.25s ease; + transition:all 0.25s ease; +} +input[type=checkbox]:checked ~ ul { + max-height: 100%; + max-width: 100%; + padding-bottom: 10pt; + opacity: 1; +} +input[type=checkbox] + label:before{ + transform-origin:25% 50%; + border: 8px solid transparent; + border-width: 8px 12px; + border-left-color: #c1c3c9; + margin-left: -20px; + width: 0; + height: 0; + display: inline-block; + text-align: center; + content: ''; + -webkit-transition:all 0.25s ease; + -moz-transition:all 0.25s ease; + -o-transition:all 0.25s ease; + transition:all 0.25s ease; + position: absolute; + margin-top: 1px; +} +input[type=checkbox]:checked + label:before { + transform: rotate(90deg); +} +li { + padding-bottom: 3pt; +} diff --git a/resources/img/DLicon.png b/resources/img/DLicon.png new file mode 100644 index 0000000000000000000000000000000000000000..4cf1a24b91c12e6330cfdccdb70b09025f992554 GIT binary patch literal 12341 zcmeHtX;hPExAvU`i~=%6%jPlI^#fSrOFhg zuUJr^Qb0g7R79yFX%RstBO*owi871Ix$cL)r~Te@zJKS(S?kobT-n^ue)c`@>)Lxi zN8R0)j8^+pjSw>0W$D5%2~n}3|3{8MOS^X9DMBpYyDXf)Iy|wXu`*PDp!oIE_%w@M zGj+_^ZvwLoxA1M)vp91O94HrAe|>(kO_)mjF{xn0!%y^A=_FqK!hUAhc*WWCpN+Zg zOm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R|p(IbC-Z^Y`lB8ST=hm$*31C@m&=}D&kbMt93(mtLb z8?A=|5|1Vm10!P1(yO?9BS1n{mZsSeT`pq}s(>`{a)UTVYD49kWhxuEp2nc2L{J#& zLYHD*72lJX6V=2a%fUWjR>Jzawp8p) zxFBryTP;yAvdl&P3Tk51Nl;!Wbye9I%0(bQcga-jPf(H7NfR1lC!kr`ukAmERH3JJ z#OGwXFJ-1njakMW@I2OCxT-Bi#HiZb>=Y5o3LxI&=+cJyxXLV}1&cRaYT zn0@=9a#s9pgL>%E7+dZ#YkEhUFCJIecUz$GkCv3{(h%jxD`-@fiV{4T@2Ss;V04n) z;mh(H(&@gH⩔~P&s?q0xwrT^7O2Gt7PvU3)_|LtnTo;8IBf&^sNUE&oO)a*aa?0 zZ`-AOq8EZ%Fd1X6gHLhWrha+=Bar9oNf&G>Fy7)JPNA5lI&IW|?SZRjj~fDiUUHCY`p?8y!t6VV*{y-kcHlx~~g6 zqgZ76_SF>x`1x}?N;ff(q*eT02Q`#^&yI0A{&}b9iiqx??lkm{6U7Afne;KrVm^hV ziwREEF*<=_v{6ydi)pl~72JzKcx@X^s^W%~4ct4UR3(Pmh=2L~bS?Wdv?>yun2a*L z{_a{2S``7t;2JJEQK}6hXHtA~mJ%-kq7a z`Bjnd4Zis~{s}7>aW!C2aU&PkotZpyZ9xII&}6`1;iHfy`aJ)O2$LA^l0dy_ddlm^ zk4}$Tf&@T#8VxxfL`Thbg>!F8Z7M5Din@22y%z~O4JZl9_UoOHGpXC305!7_HQF~~ F{tqp_+E)Mo literal 0 HcmV?d00001 diff --git a/resources/js/TOC.js b/resources/js/TOC.js new file mode 100644 index 00000000..1563cfbd --- /dev/null +++ b/resources/js/TOC.js @@ -0,0 +1,40 @@ + +const searchForm = document.getElementById("toc-search") +searchForm.addEventListener("submit", e=>{ +const data = document.getElementById("search-data").value + localStorage.setItem("searchInput", data) + window.top.location.href = "index.html" +}) + +var cbStates = new Map(); +window.addEventListener('load', function() { + var cb = document.querySelectorAll('input[type=checkbox]') + + for(var i=0; i< cb.length; i++) { + //load + var box = localStorage.getItem(cb[i].id) + if(box == "true") { + cb[i].checked = true + } + else{ + cb[i].checked = false + } + //save + cb[i].addEventListener('click', function(e){ + if (this.checked){ + cbStates[this.id] = true; + } + else if (cbStates[this.id]) { + delete cbStates[this.id] + } + cbStates.set(this.id, this.checked) + localStorage.setItem(this.id, this.checked) + }) + } +}) + +function clear(){ + localStorage.clear() + window.location.reload() +} + \ No newline at end of file diff --git a/resources/js/coverJS.js b/resources/js/coverJS.js new file mode 100644 index 00000000..e7df1ce6 --- /dev/null +++ b/resources/js/coverJS.js @@ -0,0 +1,67 @@ + +const searchInput = document.getElementById("search-data") +const searchIndex = document.getElementById("search-index").getElementsByTagName("a") +const tocSearch = localStorage.getItem("searchInput") + +const descriptions = document.getElementById("search-index").getElementsByClassName("menudesc") + +currVer = window.location.pathname.split("/").slice(-2)[0] +document.getElementById("ver").src += "?=" + currVer + +const searchTerms = new Map() +var name = "" +var link = "" +var desc = "" +for(var i in searchIndex) { + try{ + name = searchIndex[i].textContent + "#" + i + link = searchIndex[i] + + if( descriptions[i].textContent == "None") { + descriptions[i].textContent = "" + } + desc = descriptions[i] + descriptions[i].parentElement.style.display = "none" + searchTerms.set(name, [link, desc]) + } + catch{ + } +} + +searchInput.addEventListener("input", e=>{ + const searchStr = e.target.value.toLowerCase() + //console.log(searchStr) + if(searchStr.length >= 0) { + searchTerms.forEach(term =>{ + if(searchStr.length != 0) { + var c = term[0].textContent + if(!c.toLowerCase().includes(searchStr)) { + term[1].parentElement.style.display = "none" + } + else { + term[1].parentElement.style.display = "table-row" + } + } + else{ + term[1].parentElement.style.display = "none" + } + }) + + /*const hideTitle = document.getElementByClassName("title") + hideTitle.every(child =>{ + if(child.hidden = false){ + hideTitle.style.display = "table-row" + return true + } + hideTitle.style.display = "none" + return true + }) + */ + } +}) + +var event = new Event("input") + +searchInput.value = tocSearch + +searchInput.dispatchEvent(new Event('input', { 'bubbles' : true}))