Home
last modified time | relevance | path

Searched refs:setProperty (Results 26 – 50 of 127) sorted by relevance

123456

/plugin/odt/ODT/
H A DODTDocument.php1646 $first_page->setProperty('width', $this->page->getWidth().'cm');
1647 $first_page->setProperty('height', $this->page->getHeight().'cm');
1648 $first_page->setProperty('margin-top', $this->page->getMarginTop().'cm');
1649 $first_page->setProperty('margin-right', $this->page->getMarginRight().'cm');
1650 $first_page->setProperty('margin-bottom', $this->page->getMarginBottom().'cm');
1651 $first_page->setProperty('margin-left', $this->page->getMarginLeft().'cm');
1704 $first_page->setProperty('width', $this->page->getWidth().'cm');
1705 $first_page->setProperty('height', $this->page->getHeight().'cm');
1706 $first_page->setProperty('margin-top', $this->page->getMarginTop().'cm');
2259 $style->setProperty('font-size', $fontSizeInPt.'pt');
[all …]
/plugin/authgooglesheets/vendor/google/apiclient-services/src/Vision/
H A DGoogleCloudVisionV1p2beta1Symbol.php66 public function setProperty(GoogleCloudVisionV1p2beta1TextAnnotationTextProperty $property) function in Google\\Service\\Vision\\GoogleCloudVisionV1p2beta1Symbol
H A DGoogleCloudVisionV1p3beta1Symbol.php66 public function setProperty(GoogleCloudVisionV1p3beta1TextAnnotationTextProperty $property) function in Google\\Service\\Vision\\GoogleCloudVisionV1p3beta1Symbol
H A DGoogleCloudVisionV1p4beta1Symbol.php66 public function setProperty(GoogleCloudVisionV1p4beta1TextAnnotationTextProperty $property) function in Google\\Service\\Vision\\GoogleCloudVisionV1p4beta1Symbol
H A DSymbol.php66 public function setProperty(TextProperty $property) function in Google\\Service\\Vision\\Symbol
H A DGoogleCloudVisionV1p1beta1Symbol.php66 public function setProperty(GoogleCloudVisionV1p1beta1TextAnnotationTextProperty $property) function in Google\\Service\\Vision\\GoogleCloudVisionV1p1beta1Symbol
H A DGoogleCloudVisionV1p1beta1Word.php65 public function setProperty(GoogleCloudVisionV1p1beta1TextAnnotationTextProperty $property) function in Google\\Service\\Vision\\GoogleCloudVisionV1p1beta1Word
H A DGoogleCloudVisionV1p3beta1Word.php65 public function setProperty(GoogleCloudVisionV1p3beta1TextAnnotationTextProperty $property) function in Google\\Service\\Vision\\GoogleCloudVisionV1p3beta1Word
H A DWord.php65 public function setProperty(TextProperty $property) function in Google\\Service\\Vision\\Word
H A DGoogleCloudVisionV1p2beta1Paragraph.php65 public function setProperty(GoogleCloudVisionV1p2beta1TextAnnotationTextProperty $property) function in Google\\Service\\Vision\\GoogleCloudVisionV1p2beta1Paragraph
H A DGoogleCloudVisionV1p4beta1Paragraph.php65 public function setProperty(GoogleCloudVisionV1p4beta1TextAnnotationTextProperty $property) function in Google\\Service\\Vision\\GoogleCloudVisionV1p4beta1Paragraph
H A DGoogleCloudVisionV1p3beta1Paragraph.php65 public function setProperty(GoogleCloudVisionV1p3beta1TextAnnotationTextProperty $property) function in Google\\Service\\Vision\\GoogleCloudVisionV1p3beta1Paragraph
H A DGoogleCloudVisionV1p4beta1Word.php65 public function setProperty(GoogleCloudVisionV1p4beta1TextAnnotationTextProperty $property) function in Google\\Service\\Vision\\GoogleCloudVisionV1p4beta1Word
H A DParagraph.php65 public function setProperty(TextProperty $property) function in Google\\Service\\Vision\\Paragraph
H A DGoogleCloudVisionV1p1beta1Paragraph.php65 public function setProperty(GoogleCloudVisionV1p1beta1TextAnnotationTextProperty $property) function in Google\\Service\\Vision\\GoogleCloudVisionV1p1beta1Paragraph
H A DGoogleCloudVisionV1p2beta1Word.php65 public function setProperty(GoogleCloudVisionV1p2beta1TextAnnotationTextProperty $property) function in Google\\Service\\Vision\\GoogleCloudVisionV1p2beta1Word
H A DGoogleCloudVisionV1p3beta1Page.php85 public function setProperty(GoogleCloudVisionV1p3beta1TextAnnotationTextProperty $property) function in Google\\Service\\Vision\\GoogleCloudVisionV1p3beta1Page
H A DPage.php85 public function setProperty(TextProperty $property) function in Google\\Service\\Vision\\Page
H A DGoogleCloudVisionV1p2beta1Page.php85 public function setProperty(GoogleCloudVisionV1p2beta1TextAnnotationTextProperty $property) function in Google\\Service\\Vision\\GoogleCloudVisionV1p2beta1Page
H A DGoogleCloudVisionV1p4beta1Page.php85 public function setProperty(GoogleCloudVisionV1p4beta1TextAnnotationTextProperty $property) function in Google\\Service\\Vision\\GoogleCloudVisionV1p4beta1Page
H A DGoogleCloudVisionV1p1beta1Page.php85 public function setProperty(GoogleCloudVisionV1p1beta1TextAnnotationTextProperty $property) function in Google\\Service\\Vision\\GoogleCloudVisionV1p1beta1Page
H A DGoogleCloudVisionV1p3beta1Block.php97 public function setProperty(GoogleCloudVisionV1p3beta1TextAnnotationTextProperty $property) function in Google\\Service\\Vision\\GoogleCloudVisionV1p3beta1Block
H A DGoogleCloudVisionV1p2beta1Block.php97 public function setProperty(GoogleCloudVisionV1p2beta1TextAnnotationTextProperty $property) function in Google\\Service\\Vision\\GoogleCloudVisionV1p2beta1Block
/plugin/combo/resources/snippet/js/
H A Dmenubar-fixed-top.js63 document.body.style.setProperty("padding-top", offsetHeight + "px");
/plugin/combo/resources/library/combo/
H A Dcombo.min.js24 `;break;default:let Y=m.getLabelAnchor();o+=`<div class="row mb-3 text-center">${Y}</div>`,o+='<div class="row mb-3">';let U=0;for(const L of m.getChildren()){let O=L.getControlWidth();o+=`<div class="col-sm-${O} text-center">`,o+=L.getLabelAnchor(),o+="</div>";let D=L.getValues().length;D>U&&(U=D)}o+="</div>";for(let L=0;L<U;L++){o+='<div class="row mb-3">';for(const O of m.getChildren()){let D=O.getValues()[L],Z=O.getDefaultValues()[L];b++;let _=this.getControlId(b),tt=O.getControlWidth();o+=`<div class="col-sm-${tt}">`,o+=O.toHtmlControl(_,D,Z),o+="</div>"}o+="</div>"}break}o+="</div>"}o+="</div>";let d=document.createElement("form");return d.setAttribute("id",t),d.innerHTML=`${e} ${o}`,d}setControlWidth(t){return this.width=t,this}setLabel(t){this.label=t}setUrl(t){this.url=t}}let S={};const N=class{constructor(t){i(this,"footerButtons",[]);i(this,"bodies",[]);i(this,"isBuild",!1);i(this,"bodyStyles",{});i(this,"dialogStyles",{});i(this,"showFooter",!0);i(this,"dialogClasses",[]);i(this,"modalId");i(this,"modalRootHtmlElement");i(this,"headerText");i(this,"isResetOnClose");i(this,"closeButton");i(this,"isCentered");i(this,"callBack");i(this,"bootStrapModal");i(this,"modalContent");i(this,"modalBody");i(this,"placementElement");this.modalId=t;let e=document.getElementById(t);e!==null?(E.getLogger().error(`The id (${t}) given to create a modal was already used by an element in the DOM. We have reused it.`),this.modalRootHtmlElement=e,this.reset()):(this.modalRootHtmlElement=document.createElement("div"),this.modalRootHtmlElement.setAttribute("id",this.modalId),this.modalRootHtmlElement.classList.add("modal","fade"),this.modalRootHtmlElement.setAttribute("aria-hidden","true")),this.modalContent=document.createElement("div"),this.modalContent.classList.add("modal-content")}setHeader(t){return this.headerText=t,this}addBody(t){return this.bodies.push(t),this}addBodyStyle(t,e){return this.bodyStyles[t]=e,this}setPlacementBottomToElement(t){return this.placementElement=t,this}noFooter(){return this.showFooter=!1,this}addDialogStyle(t,e){return this.dialogStyles[t]=e,this}addDialogClass(t){return this.dialogClasses.push(t),this}resetOnClose(){return this.isResetOnClose=!0,this}addFooterButton(t){return this.footerButtons.push(t),this}addFooterCloseButton(t="Close"){this.closeButton=document.createElement("button"),this.closeButton.classList.add("btn","btn-secondary"),this.closeButton.innerHTML=t;let e=this;return this.closeButton.addEventListener("click",function(){e.bootStrapModal.hide()}),this.addFooterButton(this.closeButton),this}centered(){return this.isCentered=!0,this}show(){if(this.isResetOnClose===!0){let t=this;this.getElement().addEventListener("hidden.bs.modal",function(){t.reset()})}if(typeof this.callBack<"u"&&typeof this.closeButton<"u"){let t=this;this.closeButton.addEventListener("click",function(){t.dismissHide(),t.callBack()})}this.build().show()}dismissHide(){this.build().hide()}getModalId(){return this.modalId}setCallBackOnClose(t){return this.callBack=t,this}static createFromId(t){let e=new N(t);return S[t]=e,e}static createTemporary(){return this.createFromId($.createRandomId())}getElement(){return this.modalRootHtmlElement}wasBuild(){return this.isBuild}setCentered(t){return this.isCentered=t,this}resetIfBuild(){return this.wasBuild()&&this.reset(),this}reset(){this.modalRootHtmlElement.querySelectorAll('[data-bs-toggle="tab"]').forEach(t=>{let e=c.Tab.getInstance(t);e!==null&&e.dispose()}),this.bootStrapModal!==void 0&&this.dismissHide(),this.modalRootHtmlElement.innerHTML="",this.isBuild=!1,this.bodies=[],this.footerButtons=[],this.headerText=void 0}build(){if(typeof this.bootStrapModal<"u")return this.bootStrapModal;let t=c.Modal.getInstance(this.modalRootHtmlElement);if(t!==null)return this.bootStrapModal=t,t;if(document.body.appendChild(this.modalRootHtmlElement),typeof this.placementElement<"u"){let r=this.placementElement.getBoundingClientRect();this.modalRootHtmlElement.style.margin="0",this.modalRootHtmlElement.style.left=r.left+"px";let n=5;this.modalRootHtmlElement.style.top=r.top+n+"px",this.modalRootHtmlElement.style.width="unset",this.modalRootHtmlElement.style.height="unset"}const e=document.createElement("div");e.classList.add("modal-dialog","modal-dialog-scrollable","modal-lg"),this.isCentered?e.classList.add("modal-dialog-centered"):(e.style.setProperty("margin","5rem auto"),e.style.setProperty("height","calc(100% - 9rem)"));for(let r in this.dialogStyles)this.dialogStyles.hasOwnProperty(r)&&e.style.setProperty(r,this.dialogStyles[r]);for(let r in this.dialogClasses)e.classList.add(r);this.modalRootHtmlElement.appendChild(e),e.appendChild(this.modalContent),this.modalBody=document.createElement("div"),this.modalBody.classList.add("modal-body");for(let r in this.bodyStyles)this.bodyStyles.hasOwnProperty(r)&&this.modalBody.style.setProperty(r,this.bodyStyles[r]);if(this.modalContent.appendChild(this.modalBody),this.headerText!==void 0){let r=`
30 `;let l=this.getDataNamespace();return this.popoverRootHtmlElement.setAttribute(`data${l}-toggle`,"popover"),this.popoverRootHtmlElement.setAttribute(`data${l}-trigger`,this.trigger),this.popoverRootHtmlElement.setAttribute(`data${l}-placement`,String(this.placement)),this.popoverRootHtmlElement.setAttribute(`data${l}-html`,String(this.isHtml)),this.popoverRootHtmlElement.setAttribute(`data${l}-container`,"body"),this.popoverRootHtmlElement.setAttribute(`data${l}-content`,this.content),this.bootStrapPopOver=new c.Popover(this.popoverRootHtmlElement,e),this.bootStrapPopOver}getDataNamespace(){let t="-bs",e=5;if("bootstrap"in window){let s=window.bootstrap;if(typeof s.Popover.VERSION<"u")return e=parseInt(s.Popover.VERSION.substring(0,1),10),e<5?"":t}if("jQuery"in window){let l=window.jQuery.fn.tooltip.constructor.VERSION;if(typeof l<"u")return e=parseInt(l.substring(0,1),10),e<5?"":t}return t}setTextContent(t){return this.content=t,this.isHtml=!1,this}setHtmlContent(t){return this.content=t,this.isHtml=!0,this}setEnableDismissOnNextClick(){return this.dismissOnNextClick=!0,this}setDisableDismissOnNextClick(){return this.dismissOnNextClick=!1,this}setTitle(t){return this.title=t,this}}class X{static hasWindowGuard(t){if(!this.hasWindow(t))throw Error("The element has no window")}static hasWindow(t){return!(!t||!t.ownerDocument||!t.ownerDocument.defaultView)}static getWindow(t){return this.hasWindowGuard(t),t.ownerDocument.defaultView}static formDataToObject(t){let e={};for(let s of t){let l=s[0],r=s[1];if(e.hasOwnProperty(l)){let n=e[l];Array.isArray(n)?e[l].push(r):e[l]=[n,r]}else e[l]=r}return e}}class z{constructor(t){i(this,"method","GET");i(this,"url");this.url=t}async getJson(){let t=await this.getResponse();return t.status!==200?{}:t.json()}async getText(){let t=await this.getResponse();return t.status!==200?"":t.text()}setMethod(t){return this.method=t.toUpperCase(),this}sendFormDataAsJson(t){return fetch(this.url.toString(),{method:this.method,body:JSON.stringify(X.formDataToObject(t)),headers:{"Content-Type":"application/json"}})}async getResponse(){let t=await fetch(this.url.toString(),{method:this.method});if(t.status!==200){let e=R.createTemporary();e.addBody(`Bad request: the call ${this.url} to the backend sends back the following exit code`+t.status),e.show()}return t}}const f=class{constructor(t){i(this,"url");let e=window.DOKU_BASE,s=window.JSINFO;switch(t){case f.AJAX:this.url=new URL(e+"lib/exe/ajax.php",window.location.href),this.url.searchParams.set("id",s.id);break;case f.RUNNER:this.url=new URL(e+"lib/exe/taskrunner.php",window.location.href),this.url.searchParams.set("id",s.id);break;case f.FETCH:this.url=new URL(e+"lib/exe/fetch.php",window.location.href);break;case f.EDIT:this.url=new URL(e+"doku.php",window.location.href),this.url.searchParams.set("do","edit"),this.url.searchParams.set("id",s.id);break;case f.SHOW:this.url=new URL(e+"doku.php",window.location.href),this.url.searchParams.set("id",s.id);break;default:throw new Error(`The type ${t} is unknown`)}}setProperty(t,e){return this.url.searchParams.set(t,e),this}toString(){return this.url.toString()}getCall(){return this.url.searchParams.get(f.CALL)}toRequest(){return new z(this.url)}static createAjax(t){return new f(this.AJAX).setProperty(f.CALL,t)}static createRunner(){return new f(this.RUNNER)}static createFetch(t,e){let s=new f(this.FETCH);if(typeof t>"u")throw new Error("The media id is mandatory");return s.setProperty("media",t),typeof e<"u"&&s.setProperty("drive",e),s}static createEdit(t){let e=new f(this.EDIT);return typeof t<"u"&&e.setProperty("id",t),e}};let y=f;i(y,"AJAX","AJAX"),i(y,"RUNNER","RUNNER"),i(y,"CALL","call"),i(y,"EDIT","edit"),i(y,"SHOW","show"),i(y,"FETCH","fetch");class V{constructor(t){i(this,"date");this.date=t}static createFromIso(t){let e=new Date(t);return new V(e)}toSqlTimestampString(){return`${this.date.getFullYear()}-${(this.date.getMonth()+1).toString().padStart(2,"0")}-${this.date.getDate().toString().padStart(2,"0")} ${this.date.getHours().toString().padStart(2,"0")}:${this.date.getMinutes().toString().padStart(2,"0")}:${this.date.getSeconds().toString().padStart(2,"0")}`}}u.Date=V,u.DokuUrl=y,u.Form=B,u.Html=$,u.Modal=R,u.Popover=x,Object.defineProperty(u,Symbol.toStringTag,{value:"Module"})});

123456