diff --git a/api/assets/icons.js b/api/assets/icons.js index 3ae8f55e59..4fbadc5ade 100644 --- a/api/assets/icons.js +++ b/api/assets/icons.js @@ -3,7 +3,7 @@ function addIcons() { if (document.readyState === "loading") return document.addEventListener("DOMContentLoaded", addIcons); const svg = document.body.appendChild(document.createElementNS("http://www.w3.org/2000/svg", "svg")); - svg.innerHTML = `MMNEPVFCICPMFPCPTTAAATR`; + svg.innerHTML = `MMNEPVFCICPMFPCPTTAAATR`; svg.style.display = "none"; if (location.protocol === "file:") updateUseElements(); } diff --git a/api/assets/icons.svg b/api/assets/icons.svg index 10db10be02..be7798fcda 100644 --- a/api/assets/icons.svg +++ b/api/assets/icons.svg @@ -1 +1 @@ -MMNEPVFCICPMFPCPTTAAATR \ No newline at end of file +MMNEPVFCICPMFPCPTTAAATR \ No newline at end of file diff --git a/api/assets/main.js b/api/assets/main.js index 11d92ad69f..8182ceec67 100644 --- a/api/assets/main.js +++ b/api/assets/main.js @@ -1,9 +1,9 @@ "use strict"; window.translations={"copy":"Copy","copied":"Copied!","normally_hidden":"This member is normally hidden due to your filter settings.","hierarchy_expand":"Expand","hierarchy_collapse":"Collapse","folder":"Folder","search_index_not_available":"The search index is not available","search_no_results_found_for_0":"No results found for {0}","kind_1":"Project","kind_2":"Module","kind_4":"Namespace","kind_8":"Enumeration","kind_16":"Enumeration Member","kind_32":"Variable","kind_64":"Function","kind_128":"Class","kind_256":"Interface","kind_512":"Constructor","kind_1024":"Property","kind_2048":"Method","kind_4096":"Call Signature","kind_8192":"Index Signature","kind_16384":"Constructor Signature","kind_32768":"Parameter","kind_65536":"Type Literal","kind_131072":"Type Parameter","kind_262144":"Accessor","kind_524288":"Get Signature","kind_1048576":"Set Signature","kind_2097152":"Type Alias","kind_4194304":"Reference","kind_8388608":"Document"}; "use strict";(()=>{var Ke=Object.create;var he=Object.defineProperty;var Ge=Object.getOwnPropertyDescriptor;var Ze=Object.getOwnPropertyNames;var Xe=Object.getPrototypeOf,Ye=Object.prototype.hasOwnProperty;var et=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports);var tt=(t,e,n,r)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Ze(e))!Ye.call(t,i)&&i!==n&&he(t,i,{get:()=>e[i],enumerable:!(r=Ge(e,i))||r.enumerable});return t};var nt=(t,e,n)=>(n=t!=null?Ke(Xe(t)):{},tt(e||!t||!t.__esModule?he(n,"default",{value:t,enumerable:!0}):n,t));var ye=et((me,ge)=>{(function(){var t=function(e){var n=new t.Builder;return n.pipeline.add(t.trimmer,t.stopWordFilter,t.stemmer),n.searchPipeline.add(t.stemmer),e.call(n,n),n.build()};t.version="2.3.9";t.utils={},t.utils.warn=(function(e){return function(n){e.console&&console.warn&&console.warn(n)}})(this),t.utils.asString=function(e){return e==null?"":e.toString()},t.utils.clone=function(e){if(e==null)return e;for(var n=Object.create(null),r=Object.keys(e),i=0;i0){var d=t.utils.clone(n)||{};d.position=[a,l],d.index=s.length,s.push(new t.Token(r.slice(a,o),d))}a=o+1}}return s},t.tokenizer.separator=/[\s\-]+/;t.Pipeline=function(){this._stack=[]},t.Pipeline.registeredFunctions=Object.create(null),t.Pipeline.registerFunction=function(e,n){n in this.registeredFunctions&&t.utils.warn("Overwriting existing registered function: "+n),e.label=n,t.Pipeline.registeredFunctions[e.label]=e},t.Pipeline.warnIfFunctionNotRegistered=function(e){var n=e.label&&e.label in this.registeredFunctions;n||t.utils.warn(`Function is not registered with pipeline. This may cause problems when serialising the index. -`,e)},t.Pipeline.load=function(e){var n=new t.Pipeline;return e.forEach(function(r){var i=t.Pipeline.registeredFunctions[r];if(i)n.add(i);else throw new Error("Cannot load unregistered function: "+r)}),n},t.Pipeline.prototype.add=function(){var e=Array.prototype.slice.call(arguments);e.forEach(function(n){t.Pipeline.warnIfFunctionNotRegistered(n),this._stack.push(n)},this)},t.Pipeline.prototype.after=function(e,n){t.Pipeline.warnIfFunctionNotRegistered(n);var r=this._stack.indexOf(e);if(r==-1)throw new Error("Cannot find existingFn");r=r+1,this._stack.splice(r,0,n)},t.Pipeline.prototype.before=function(e,n){t.Pipeline.warnIfFunctionNotRegistered(n);var r=this._stack.indexOf(e);if(r==-1)throw new Error("Cannot find existingFn");this._stack.splice(r,0,n)},t.Pipeline.prototype.remove=function(e){var n=this._stack.indexOf(e);n!=-1&&this._stack.splice(n,1)},t.Pipeline.prototype.run=function(e){for(var n=this._stack.length,r=0;r1&&(oe&&(r=s),o!=e);)i=r-n,s=n+Math.floor(i/2),o=this.elements[s*2];if(o==e||o>e)return s*2;if(oc?d+=2:a==c&&(n+=r[l+1]*i[d+1],l+=2,d+=2);return n},t.Vector.prototype.similarity=function(e){return this.dot(e)/this.magnitude()||0},t.Vector.prototype.toArray=function(){for(var e=new Array(this.elements.length/2),n=1,r=0;n0){var o=s.str.charAt(0),a;o in s.node.edges?a=s.node.edges[o]:(a=new t.TokenSet,s.node.edges[o]=a),s.str.length==1&&(a.final=!0),i.push({node:a,editsRemaining:s.editsRemaining,str:s.str.slice(1)})}if(s.editsRemaining!=0){if("*"in s.node.edges)var c=s.node.edges["*"];else{var c=new t.TokenSet;s.node.edges["*"]=c}if(s.str.length==0&&(c.final=!0),i.push({node:c,editsRemaining:s.editsRemaining-1,str:s.str}),s.str.length>1&&i.push({node:s.node,editsRemaining:s.editsRemaining-1,str:s.str.slice(1)}),s.str.length==1&&(s.node.final=!0),s.str.length>=1){if("*"in s.node.edges)var l=s.node.edges["*"];else{var l=new t.TokenSet;s.node.edges["*"]=l}s.str.length==1&&(l.final=!0),i.push({node:l,editsRemaining:s.editsRemaining-1,str:s.str.slice(1)})}if(s.str.length>1){var d=s.str.charAt(0),f=s.str.charAt(1),p;f in s.node.edges?p=s.node.edges[f]:(p=new t.TokenSet,s.node.edges[f]=p),s.str.length==1&&(p.final=!0),i.push({node:p,editsRemaining:s.editsRemaining-1,str:d+s.str.slice(2)})}}}return r},t.TokenSet.fromString=function(e){for(var n=new t.TokenSet,r=n,i=0,s=e.length;i=e;n--){var r=this.uncheckedNodes[n],i=r.child.toString();i in this.minimizedNodes?r.parent.edges[r.char]=this.minimizedNodes[i]:(r.child._str=i,this.minimizedNodes[i]=r.child),this.uncheckedNodes.pop()}};t.Index=function(e){this.invertedIndex=e.invertedIndex,this.fieldVectors=e.fieldVectors,this.tokenSet=e.tokenSet,this.fields=e.fields,this.pipeline=e.pipeline},t.Index.prototype.search=function(e){return this.query(function(n){var r=new t.QueryParser(e,n);r.parse()})},t.Index.prototype.query=function(e){for(var n=new t.Query(this.fields),r=Object.create(null),i=Object.create(null),s=Object.create(null),o=Object.create(null),a=Object.create(null),c=0;c1?this._b=1:this._b=e},t.Builder.prototype.k1=function(e){this._k1=e},t.Builder.prototype.add=function(e,n){var r=e[this._ref],i=Object.keys(this._fields);this._documents[r]=n||{},this.documentCount+=1;for(var s=0;s=this.length)return t.QueryLexer.EOS;var e=this.str.charAt(this.pos);return this.pos+=1,e},t.QueryLexer.prototype.width=function(){return this.pos-this.start},t.QueryLexer.prototype.ignore=function(){this.start==this.pos&&(this.pos+=1),this.start=this.pos},t.QueryLexer.prototype.backup=function(){this.pos-=1},t.QueryLexer.prototype.acceptDigitRun=function(){var e,n;do e=this.next(),n=e.charCodeAt(0);while(n>47&&n<58);e!=t.QueryLexer.EOS&&this.backup()},t.QueryLexer.prototype.more=function(){return this.pos1&&(e.backup(),e.emit(t.QueryLexer.TERM)),e.ignore(),e.more())return t.QueryLexer.lexText},t.QueryLexer.lexEditDistance=function(e){return e.ignore(),e.acceptDigitRun(),e.emit(t.QueryLexer.EDIT_DISTANCE),t.QueryLexer.lexText},t.QueryLexer.lexBoost=function(e){return e.ignore(),e.acceptDigitRun(),e.emit(t.QueryLexer.BOOST),t.QueryLexer.lexText},t.QueryLexer.lexEOS=function(e){e.width()>0&&e.emit(t.QueryLexer.TERM)},t.QueryLexer.termSeparator=t.tokenizer.separator,t.QueryLexer.lexText=function(e){for(;;){var n=e.next();if(n==t.QueryLexer.EOS)return t.QueryLexer.lexEOS;if(n.charCodeAt(0)==92){e.escapeCharacter();continue}if(n==":")return t.QueryLexer.lexField;if(n=="~")return e.backup(),e.width()>0&&e.emit(t.QueryLexer.TERM),t.QueryLexer.lexEditDistance;if(n=="^")return e.backup(),e.width()>0&&e.emit(t.QueryLexer.TERM),t.QueryLexer.lexBoost;if(n=="+"&&e.width()===1||n=="-"&&e.width()===1)return e.emit(t.QueryLexer.PRESENCE),t.QueryLexer.lexText;if(n.match(t.QueryLexer.termSeparator))return t.QueryLexer.lexTerm}},t.QueryParser=function(e,n){this.lexer=new t.QueryLexer(e),this.query=n,this.currentClause={},this.lexemeIdx=0},t.QueryParser.prototype.parse=function(){this.lexer.run(),this.lexemes=this.lexer.lexemes;for(var e=t.QueryParser.parseClause;e;)e=e(this);return this.query},t.QueryParser.prototype.peekLexeme=function(){return this.lexemes[this.lexemeIdx]},t.QueryParser.prototype.consumeLexeme=function(){var e=this.peekLexeme();return this.lexemeIdx+=1,e},t.QueryParser.prototype.nextClause=function(){var e=this.currentClause;this.query.clause(e),this.currentClause={}},t.QueryParser.parseClause=function(e){var n=e.peekLexeme();if(n!=null)switch(n.type){case t.QueryLexer.PRESENCE:return t.QueryParser.parsePresence;case t.QueryLexer.FIELD:return t.QueryParser.parseField;case t.QueryLexer.TERM:return t.QueryParser.parseTerm;default:var r="expected either a field or a term, found "+n.type;throw n.str.length>=1&&(r+=" with value '"+n.str+"'"),new t.QueryParseError(r,n.start,n.end)}},t.QueryParser.parsePresence=function(e){var n=e.consumeLexeme();if(n!=null){switch(n.str){case"-":e.currentClause.presence=t.Query.presence.PROHIBITED;break;case"+":e.currentClause.presence=t.Query.presence.REQUIRED;break;default:var r="unrecognised presence operator'"+n.str+"'";throw new t.QueryParseError(r,n.start,n.end)}var i=e.peekLexeme();if(i==null){var r="expecting term or field, found nothing";throw new t.QueryParseError(r,n.start,n.end)}switch(i.type){case t.QueryLexer.FIELD:return t.QueryParser.parseField;case t.QueryLexer.TERM:return t.QueryParser.parseTerm;default:var r="expecting term or field, found '"+i.type+"'";throw new t.QueryParseError(r,i.start,i.end)}}},t.QueryParser.parseField=function(e){var n=e.consumeLexeme();if(n!=null){if(e.query.allFields.indexOf(n.str)==-1){var r=e.query.allFields.map(function(o){return"'"+o+"'"}).join(", "),i="unrecognised field '"+n.str+"', possible fields: "+r;throw new t.QueryParseError(i,n.start,n.end)}e.currentClause.fields=[n.str];var s=e.peekLexeme();if(s==null){var i="expecting term, found nothing";throw new t.QueryParseError(i,n.start,n.end)}if(s.type===t.QueryLexer.TERM)return t.QueryParser.parseTerm;var i="expecting term, found '"+s.type+"'";throw new t.QueryParseError(i,s.start,s.end)}},t.QueryParser.parseTerm=function(e){var n=e.consumeLexeme();if(n!=null){e.currentClause.term=n.str.toLowerCase(),n.str.indexOf("*")!=-1&&(e.currentClause.usePipeline=!1);var r=e.peekLexeme();if(r==null){e.nextClause();return}switch(r.type){case t.QueryLexer.TERM:return e.nextClause(),t.QueryParser.parseTerm;case t.QueryLexer.FIELD:return e.nextClause(),t.QueryParser.parseField;case t.QueryLexer.EDIT_DISTANCE:return t.QueryParser.parseEditDistance;case t.QueryLexer.BOOST:return t.QueryParser.parseBoost;case t.QueryLexer.PRESENCE:return e.nextClause(),t.QueryParser.parsePresence;default:var i="Unexpected lexeme type '"+r.type+"'";throw new t.QueryParseError(i,r.start,r.end)}}},t.QueryParser.parseEditDistance=function(e){var n=e.consumeLexeme();if(n!=null){var r=parseInt(n.str,10);if(isNaN(r)){var i="edit distance must be numeric";throw new t.QueryParseError(i,n.start,n.end)}e.currentClause.editDistance=r;var s=e.peekLexeme();if(s==null){e.nextClause();return}switch(s.type){case t.QueryLexer.TERM:return e.nextClause(),t.QueryParser.parseTerm;case t.QueryLexer.FIELD:return e.nextClause(),t.QueryParser.parseField;case t.QueryLexer.EDIT_DISTANCE:return t.QueryParser.parseEditDistance;case t.QueryLexer.BOOST:return t.QueryParser.parseBoost;case t.QueryLexer.PRESENCE:return e.nextClause(),t.QueryParser.parsePresence;default:var i="Unexpected lexeme type '"+s.type+"'";throw new t.QueryParseError(i,s.start,s.end)}}},t.QueryParser.parseBoost=function(e){var n=e.consumeLexeme();if(n!=null){var r=parseInt(n.str,10);if(isNaN(r)){var i="boost must be numeric";throw new t.QueryParseError(i,n.start,n.end)}e.currentClause.boost=r;var s=e.peekLexeme();if(s==null){e.nextClause();return}switch(s.type){case t.QueryLexer.TERM:return e.nextClause(),t.QueryParser.parseTerm;case t.QueryLexer.FIELD:return e.nextClause(),t.QueryParser.parseField;case t.QueryLexer.EDIT_DISTANCE:return t.QueryParser.parseEditDistance;case t.QueryLexer.BOOST:return t.QueryParser.parseBoost;case t.QueryLexer.PRESENCE:return e.nextClause(),t.QueryParser.parsePresence;default:var i="Unexpected lexeme type '"+s.type+"'";throw new t.QueryParseError(i,s.start,s.end)}}},(function(e,n){typeof define=="function"&&define.amd?define(n):typeof me=="object"?ge.exports=n():e.lunr=n()})(this,function(){return t})})()});var M,G={getItem(){return null},setItem(){}},K;try{K=localStorage,M=K}catch{K=G,M=G}var S={getItem:t=>M.getItem(t),setItem:(t,e)=>M.setItem(t,e),disableWritingLocalStorage(){M=G},disable(){localStorage.clear(),M=G},enable(){M=K}};window.TypeDoc||={disableWritingLocalStorage(){S.disableWritingLocalStorage()},disableLocalStorage:()=>{S.disable()},enableLocalStorage:()=>{S.enable()}};window.translations||={copy:"Copy",copied:"Copied!",normally_hidden:"This member is normally hidden due to your filter settings.",hierarchy_expand:"Expand",hierarchy_collapse:"Collapse",search_index_not_available:"The search index is not available",search_no_results_found_for_0:"No results found for {0}",folder:"Folder",kind_1:"Project",kind_2:"Module",kind_4:"Namespace",kind_8:"Enumeration",kind_16:"Enumeration Member",kind_32:"Variable",kind_64:"Function",kind_128:"Class",kind_256:"Interface",kind_512:"Constructor",kind_1024:"Property",kind_2048:"Method",kind_4096:"Call Signature",kind_8192:"Index Signature",kind_16384:"Constructor Signature",kind_32768:"Parameter",kind_65536:"Type Literal",kind_131072:"Type Parameter",kind_262144:"Accessor",kind_524288:"Get Signature",kind_1048576:"Set Signature",kind_2097152:"Type Alias",kind_4194304:"Reference",kind_8388608:"Document"};var pe=[];function X(t,e){pe.push({selector:e,constructor:t})}var Z=class{alwaysVisibleMember=null;constructor(){this.createComponents(document.body),this.ensureFocusedElementVisible(),this.listenForCodeCopies(),window.addEventListener("hashchange",()=>this.ensureFocusedElementVisible()),document.body.style.display||(this.ensureFocusedElementVisible(),this.updateIndexVisibility(),this.scrollToHash())}createComponents(e){pe.forEach(n=>{e.querySelectorAll(n.selector).forEach(r=>{r.dataset.hasInstance||(new n.constructor({el:r,app:this}),r.dataset.hasInstance=String(!0))})})}filterChanged(){this.ensureFocusedElementVisible()}showPage(){document.body.style.display&&(document.body.style.removeProperty("display"),this.ensureFocusedElementVisible(),this.updateIndexVisibility(),this.scrollToHash())}scrollToHash(){if(location.hash){let e=document.getElementById(location.hash.substring(1));if(!e)return;e.scrollIntoView({behavior:"instant",block:"start"})}}ensureActivePageVisible(){let e=document.querySelector(".tsd-navigation .current"),n=e?.parentElement;for(;n&&!n.classList.contains(".tsd-navigation");)n instanceof HTMLDetailsElement&&(n.open=!0),n=n.parentElement;if(e&&!rt(e)){let r=e.getBoundingClientRect().top-document.documentElement.clientHeight/4;document.querySelector(".site-menu").scrollTop=r,document.querySelector(".col-sidebar").scrollTop=r}}updateIndexVisibility(){let e=document.querySelector(".tsd-index-content"),n=e?.open;e&&(e.open=!0),document.querySelectorAll(".tsd-index-section").forEach(r=>{r.style.display="block";let i=Array.from(r.querySelectorAll(".tsd-index-link")).every(s=>s.offsetParent==null);r.style.display=i?"none":"block"}),e&&(e.open=n)}ensureFocusedElementVisible(){if(this.alwaysVisibleMember&&(this.alwaysVisibleMember.classList.remove("always-visible"),this.alwaysVisibleMember.firstElementChild.remove(),this.alwaysVisibleMember=null),!location.hash)return;let e=document.getElementById(location.hash.substring(1));if(!e)return;let n=e.parentElement;for(;n&&n.tagName!=="SECTION";)n=n.parentElement;if(!n)return;let r=n.offsetParent==null,i=n;for(;i!==document.body;)i instanceof HTMLDetailsElement&&(i.open=!0),i=i.parentElement;if(n.offsetParent==null){this.alwaysVisibleMember=n,n.classList.add("always-visible");let s=document.createElement("p");s.classList.add("warning"),s.textContent=window.translations.normally_hidden,n.prepend(s)}r&&e.scrollIntoView()}listenForCodeCopies(){document.querySelectorAll("pre > button").forEach(e=>{let n;e.addEventListener("click",()=>{e.previousElementSibling instanceof HTMLElement&&navigator.clipboard.writeText(e.previousElementSibling.innerText.trim()),e.textContent=window.translations.copied,e.classList.add("visible"),clearTimeout(n),n=setTimeout(()=>{e.classList.remove("visible"),n=setTimeout(()=>{e.textContent=window.translations.copy},100)},1e3)})})}};function rt(t){let e=t.getBoundingClientRect(),n=Math.max(document.documentElement.clientHeight,window.innerHeight);return!(e.bottom<0||e.top-n>=0)}var fe=(t,e=100)=>{let n;return()=>{clearTimeout(n),n=setTimeout(()=>t(),e)}};var Ie=nt(ye(),1);async function R(t){let e=Uint8Array.from(atob(t),s=>s.charCodeAt(0)),r=new Blob([e]).stream().pipeThrough(new DecompressionStream("deflate")),i=await new Response(r).text();return JSON.parse(i)}var Y="closing",ae="tsd-overlay";function it(){let t=Math.abs(window.innerWidth-document.documentElement.clientWidth);document.body.style.overflow="hidden",document.body.style.paddingRight=`${t}px`}function st(){document.body.style.removeProperty("overflow"),document.body.style.removeProperty("padding-right")}function xe(t,e){t.addEventListener("animationend",()=>{t.classList.contains(Y)&&(t.classList.remove(Y),document.getElementById(ae)?.remove(),t.close(),st())}),t.addEventListener("cancel",n=>{n.preventDefault(),ve(t)}),e?.closeOnClick&&document.addEventListener("click",n=>{t.open&&!t.contains(n.target)&&ve(t)},!0)}function Ee(t){if(t.open)return;let e=document.createElement("div");e.id=ae,document.body.appendChild(e),t.showModal(),it()}function ve(t){if(!t.open)return;document.getElementById(ae)?.classList.add(Y),t.classList.add(Y)}var I=class{el;app;constructor(e){this.el=e.el,this.app=e.app}};var be=document.head.appendChild(document.createElement("style"));be.dataset.for="filters";var le={};function we(t){for(let e of t.split(/\s+/))if(le.hasOwnProperty(e)&&!le[e])return!0;return!1}var ee=class extends I{key;value;constructor(e){super(e),this.key=`filter-${this.el.name}`,this.value=this.el.checked,this.el.addEventListener("change",()=>{this.setLocalStorage(this.el.checked)}),this.setLocalStorage(this.fromLocalStorage()),be.innerHTML+=`html:not(.${this.key}) .tsd-is-${this.el.name} { display: none; } -`,this.app.updateIndexVisibility()}fromLocalStorage(){let e=S.getItem(this.key);return e?e==="true":this.el.checked}setLocalStorage(e){S.setItem(this.key,e.toString()),this.value=e,this.handleValueChange()}handleValueChange(){this.el.checked=this.value,document.documentElement.classList.toggle(this.key,this.value),le[`tsd-is-${this.el.name}`]=this.value,this.app.filterChanged(),this.app.updateIndexVisibility()}};var Le=0;async function Se(t,e){if(!window.searchData)return;let n=await R(window.searchData);t.data=n,t.index=Ie.Index.load(n.index),e.innerHTML=""}function _e(){let t=document.getElementById("tsd-search-trigger"),e=document.getElementById("tsd-search"),n=document.getElementById("tsd-search-input"),r=document.getElementById("tsd-search-results"),i=document.getElementById("tsd-search-script"),s=document.getElementById("tsd-search-status");if(!(t&&e&&n&&r&&i&&s))throw new Error("Search controls missing");let o={base:document.documentElement.dataset.base};o.base.endsWith("/")||(o.base+="/"),i.addEventListener("error",()=>{let a=window.translations.search_index_not_available;Pe(s,a)}),i.addEventListener("load",()=>{Se(o,s)}),Se(o,s),ot({trigger:t,searchEl:e,results:r,field:n,status:s},o)}function ot(t,e){let{field:n,results:r,searchEl:i,status:s,trigger:o}=t;xe(i,{closeOnClick:!0});function a(){Ee(i),n.setSelectionRange(0,n.value.length)}o.addEventListener("click",a),n.addEventListener("input",fe(()=>{at(r,n,s,e)},200)),n.addEventListener("keydown",l=>{if(r.childElementCount===0||l.ctrlKey||l.metaKey||l.altKey)return;let d=n.getAttribute("aria-activedescendant"),f=d?document.getElementById(d):null;if(f){let p=!1,v=!1;switch(l.key){case"Home":case"End":case"ArrowLeft":case"ArrowRight":v=!0;break;case"ArrowDown":case"ArrowUp":p=l.shiftKey;break}(p||v)&&ke(n)}if(!l.shiftKey)switch(l.key){case"Enter":f?.querySelector("a")?.click();break;case"ArrowUp":Te(r,n,f,-1),l.preventDefault();break;case"ArrowDown":Te(r,n,f,1),l.preventDefault();break}});function c(){ke(n)}n.addEventListener("change",c),n.addEventListener("blur",c),n.addEventListener("click",c),document.body.addEventListener("keydown",l=>{if(l.altKey||l.metaKey||l.shiftKey)return;let d=l.ctrlKey&&l.key==="k",f=!l.ctrlKey&&!ut()&&l.key==="/";(d||f)&&(l.preventDefault(),a())})}function at(t,e,n,r){if(!r.index||!r.data)return;t.innerHTML="",n.innerHTML="",Le+=1;let i=e.value.trim(),s;if(i){let a=i.split(" ").map(c=>c.length?`*${c}*`:"").join(" ");s=r.index.search(a).filter(({ref:c})=>{let l=r.data.rows[Number(c)].classes;return!l||!we(l)})}else s=[];if(s.length===0&&i){let a=window.translations.search_no_results_found_for_0.replace("{0}",` "${te(i)}" `);Pe(n,a);return}for(let a=0;ac.score-a.score);let o=Math.min(10,s.length);for(let a=0;a`,f=Ce(c.name,i);globalThis.DEBUG_SEARCH_WEIGHTS&&(f+=` (score: ${s[a].score.toFixed(2)})`),c.parent&&(f=` - ${Ce(c.parent,i)}.${f}`);let p=document.createElement("li");p.id=`tsd-search:${Le}-${a}`,p.role="option",p.ariaSelected="false",p.classList.value=c.classes??"";let v=document.createElement("a");v.tabIndex=-1,v.href=r.base+c.url,v.innerHTML=d+`${f}`,p.append(v),t.appendChild(p)}}function Te(t,e,n,r){let i;if(r===1?i=n?.nextElementSibling||t.firstElementChild:i=n?.previousElementSibling||t.lastElementChild,i!==n){if(!i||i.role!=="option"){console.error("Option missing");return}i.ariaSelected="true",i.scrollIntoView({behavior:"smooth",block:"nearest"}),e.setAttribute("aria-activedescendant",i.id),n?.setAttribute("aria-selected","false")}}function ke(t){let e=t.getAttribute("aria-activedescendant");(e?document.getElementById(e):null)?.setAttribute("aria-selected","false"),t.setAttribute("aria-activedescendant","")}function Ce(t,e){if(e==="")return t;let n=t.toLocaleLowerCase(),r=e.toLocaleLowerCase(),i=[],s=0,o=n.indexOf(r);for(;o!=-1;)i.push(te(t.substring(s,o)),`${te(t.substring(o,o+r.length))}`),s=o+r.length,o=n.indexOf(r,s);return i.push(te(t.substring(s))),i.join("")}var lt={"&":"&","<":"<",">":">","'":"'",'"':"""};function te(t){return t.replace(/[&<>"'"]/g,e=>lt[e])}function Pe(t,e){t.innerHTML=e?`
${e}
`:""}var ct=["button","checkbox","file","hidden","image","radio","range","reset","submit"];function ut(){let t=document.activeElement;return t?t.isContentEditable||t.tagName==="TEXTAREA"||t.tagName==="SEARCH"?!0:t.tagName==="INPUT"&&!ct.includes(t.type):!1}var D="mousedown",Me="mousemove",$="mouseup",ne={x:0,y:0},Qe=!1,ce=!1,dt=!1,F=!1,Oe=/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent);document.documentElement.classList.add(Oe?"is-mobile":"not-mobile");Oe&&"ontouchstart"in document.documentElement&&(dt=!0,D="touchstart",Me="touchmove",$="touchend");document.addEventListener(D,t=>{ce=!0,F=!1;let e=D=="touchstart"?t.targetTouches[0]:t;ne.y=e.pageY||0,ne.x=e.pageX||0});document.addEventListener(Me,t=>{if(ce&&!F){let e=D=="touchstart"?t.targetTouches[0]:t,n=ne.x-(e.pageX||0),r=ne.y-(e.pageY||0);F=Math.sqrt(n*n+r*r)>10}});document.addEventListener($,()=>{ce=!1});document.addEventListener("click",t=>{Qe&&(t.preventDefault(),t.stopImmediatePropagation(),Qe=!1)});var re=class extends I{active;className;constructor(e){super(e),this.className=this.el.dataset.toggle||"",this.el.addEventListener($,n=>this.onPointerUp(n)),this.el.addEventListener("click",n=>n.preventDefault()),document.addEventListener(D,n=>this.onDocumentPointerDown(n)),document.addEventListener($,n=>this.onDocumentPointerUp(n))}setActive(e){if(this.active==e)return;this.active=e,document.documentElement.classList.toggle("has-"+this.className,e),this.el.classList.toggle("active",e);let n=(this.active?"to-has-":"from-has-")+this.className;document.documentElement.classList.add(n),setTimeout(()=>document.documentElement.classList.remove(n),500)}onPointerUp(e){F||(this.setActive(!0),e.preventDefault())}onDocumentPointerDown(e){if(this.active){if(e.target.closest(".col-sidebar, .tsd-filter-group"))return;this.setActive(!1)}}onDocumentPointerUp(e){if(!F&&this.active&&e.target.closest(".col-sidebar")){let n=e.target.closest("a");if(n){let r=window.location.href;r.indexOf("#")!=-1&&(r=r.substring(0,r.indexOf("#"))),n.href.substring(0,r.length)==r&&setTimeout(()=>this.setActive(!1),250)}}}};var ue=new Map,de=class{open;accordions=[];key;constructor(e,n){this.key=e,this.open=n}add(e){this.accordions.push(e),e.open=this.open,e.addEventListener("toggle",()=>{this.toggle(e.open)})}toggle(e){for(let n of this.accordions)n.open=e;S.setItem(this.key,e.toString())}},ie=class extends I{constructor(e){super(e);let n=this.el.querySelector("summary"),r=n.querySelector("a");r&&r.addEventListener("click",()=>{location.assign(r.href)});let i=`tsd-accordion-${n.dataset.key??n.textContent.trim().replace(/\s+/g,"-").toLowerCase()}`,s;if(ue.has(i))s=ue.get(i);else{let o=S.getItem(i),a=o?o==="true":this.el.open;s=new de(i,a),ue.set(i,s)}s.add(this.el)}};function He(t){let e=S.getItem("tsd-theme")||"os";t.value=e,Ae(e),t.addEventListener("change",()=>{S.setItem("tsd-theme",t.value),Ae(t.value)})}function Ae(t){document.documentElement.dataset.theme=t}var se;function Ne(){let t=document.getElementById("tsd-nav-script");t&&(t.addEventListener("load",Re),Re())}async function Re(){let t=document.getElementById("tsd-nav-container");if(!t||!window.navigationData)return;let e=await R(window.navigationData);se=document.documentElement.dataset.base,se.endsWith("/")||(se+="/"),t.innerHTML="";for(let n of e)Be(n,t,[]);window.app.createComponents(t),window.app.showPage(),window.app.ensureActivePageVisible()}function Be(t,e,n){let r=e.appendChild(document.createElement("li"));if(t.children){let i=[...n,t.text],s=r.appendChild(document.createElement("details"));s.className=t.class?`${t.class} tsd-accordion`:"tsd-accordion";let o=s.appendChild(document.createElement("summary"));o.className="tsd-accordion-summary",o.dataset.key=i.join("$"),o.innerHTML='',De(t,o);let a=s.appendChild(document.createElement("div"));a.className="tsd-accordion-details";let c=a.appendChild(document.createElement("ul"));c.className="tsd-nested-navigation";for(let l of t.children)Be(l,c,i)}else De(t,r,t.class)}function De(t,e,n){if(t.path){let r=e.appendChild(document.createElement("a"));if(r.href=se+t.path,n&&(r.className=n),location.pathname===r.pathname&&!r.href.includes("#")&&(r.classList.add("current"),r.ariaCurrent="page"),t.kind){let i=window.translations[`kind_${t.kind}`].replaceAll('"',""");r.innerHTML=``}r.appendChild(Fe(t.text,document.createElement("span")))}else{let r=e.appendChild(document.createElement("span")),i=window.translations.folder.replaceAll('"',""");r.innerHTML=``,r.appendChild(Fe(t.text,document.createElement("span")))}}function Fe(t,e){let n=t.split(/(?<=[^A-Z])(?=[A-Z])|(?<=[A-Z])(?=[A-Z][a-z])|(?<=[_-])(?=[^_-])/);for(let r=0;r{let i=r.target;for(;i.parentElement&&i.parentElement.tagName!="LI";)i=i.parentElement;i.dataset.dropdown&&(i.dataset.dropdown=String(i.dataset.dropdown!=="true"))});let t=new Map,e=new Set;for(let r of document.querySelectorAll(".tsd-full-hierarchy [data-refl]")){let i=r.querySelector("ul");t.has(r.dataset.refl)?e.add(r.dataset.refl):i&&t.set(r.dataset.refl,i)}for(let r of e)n(r);function n(r){let i=t.get(r).cloneNode(!0);i.querySelectorAll("[id]").forEach(s=>{s.removeAttribute("id")}),i.querySelectorAll("[data-dropdown]").forEach(s=>{s.dataset.dropdown="false"});for(let s of document.querySelectorAll(`[data-refl="${r}"]`)){let o=gt(),a=s.querySelector("ul");s.insertBefore(o,a),o.dataset.dropdown=String(!!a),a||s.appendChild(i.cloneNode(!0))}}}function pt(){let t=document.getElementById("tsd-hierarchy-script");t&&(t.addEventListener("load",Ve),Ve())}async function Ve(){let t=document.querySelector(".tsd-panel.tsd-hierarchy:has(h4 a)");if(!t||!window.hierarchyData)return;let e=+t.dataset.refl,n=await R(window.hierarchyData),r=t.querySelector("ul"),i=document.createElement("ul");if(i.classList.add("tsd-hierarchy"),ft(i,n,e),r.querySelectorAll("li").length==i.querySelectorAll("li").length)return;let s=document.createElement("span");s.classList.add("tsd-hierarchy-toggle"),s.textContent=window.translations.hierarchy_expand,t.querySelector("h4 a")?.insertAdjacentElement("afterend",s),s.insertAdjacentText("beforebegin",", "),s.addEventListener("click",()=>{s.textContent===window.translations.hierarchy_expand?(r.insertAdjacentElement("afterend",i),r.remove(),s.textContent=window.translations.hierarchy_collapse):(i.insertAdjacentElement("afterend",r),i.remove(),s.textContent=window.translations.hierarchy_expand)})}function ft(t,e,n){let r=e.roots.filter(i=>mt(e,i,n));for(let i of r)t.appendChild(je(e,i,n))}function je(t,e,n,r=new Set){if(r.has(e))return;r.add(e);let i=t.reflections[e],s=document.createElement("li");if(s.classList.add("tsd-hierarchy-item"),e===n){let o=s.appendChild(document.createElement("span"));o.textContent=i.name,o.classList.add("tsd-hierarchy-target")}else{for(let a of i.uniqueNameParents||[]){let c=t.reflections[a],l=s.appendChild(document.createElement("a"));l.textContent=c.name,l.href=oe+c.url,l.className=c.class+" tsd-signature-type",s.append(document.createTextNode("."))}let o=s.appendChild(document.createElement("a"));o.textContent=t.reflections[e].name,o.href=oe+i.url,o.className=i.class+" tsd-signature-type"}if(i.children){let o=s.appendChild(document.createElement("ul"));o.classList.add("tsd-hierarchy");for(let a of i.children){let c=je(t,a,n,r);c&&o.appendChild(c)}}return r.delete(e),s}function mt(t,e,n){if(e===n)return!0;let r=new Set,i=[t.reflections[e]];for(;i.length;){let s=i.pop();if(!r.has(s)){r.add(s);for(let o of s.children||[]){if(o===n)return!0;i.push(t.reflections[o])}}}return!1}function gt(){let t=document.createElementNS("http://www.w3.org/2000/svg","svg");return t.setAttribute("width","20"),t.setAttribute("height","20"),t.setAttribute("viewBox","0 0 24 24"),t.setAttribute("fill","none"),t.innerHTML='',t}X(re,"a[data-toggle]");X(ie,".tsd-accordion");X(ee,".tsd-filter-item input[type=checkbox]");var qe=document.getElementById("tsd-theme");qe&&He(qe);var yt=new Z;Object.defineProperty(window,"app",{value:yt});_e();Ne();$e();"virtualKeyboard"in navigator&&(navigator.virtualKeyboard.overlaysContent=!0);})(); +`,e)},t.Pipeline.load=function(e){var n=new t.Pipeline;return e.forEach(function(r){var i=t.Pipeline.registeredFunctions[r];if(i)n.add(i);else throw new Error("Cannot load unregistered function: "+r)}),n},t.Pipeline.prototype.add=function(){var e=Array.prototype.slice.call(arguments);e.forEach(function(n){t.Pipeline.warnIfFunctionNotRegistered(n),this._stack.push(n)},this)},t.Pipeline.prototype.after=function(e,n){t.Pipeline.warnIfFunctionNotRegistered(n);var r=this._stack.indexOf(e);if(r==-1)throw new Error("Cannot find existingFn");r=r+1,this._stack.splice(r,0,n)},t.Pipeline.prototype.before=function(e,n){t.Pipeline.warnIfFunctionNotRegistered(n);var r=this._stack.indexOf(e);if(r==-1)throw new Error("Cannot find existingFn");this._stack.splice(r,0,n)},t.Pipeline.prototype.remove=function(e){var n=this._stack.indexOf(e);n!=-1&&this._stack.splice(n,1)},t.Pipeline.prototype.run=function(e){for(var n=this._stack.length,r=0;r1&&(oe&&(r=s),o!=e);)i=r-n,s=n+Math.floor(i/2),o=this.elements[s*2];if(o==e||o>e)return s*2;if(oc?d+=2:a==c&&(n+=r[l+1]*i[d+1],l+=2,d+=2);return n},t.Vector.prototype.similarity=function(e){return this.dot(e)/this.magnitude()||0},t.Vector.prototype.toArray=function(){for(var e=new Array(this.elements.length/2),n=1,r=0;n0){var o=s.str.charAt(0),a;o in s.node.edges?a=s.node.edges[o]:(a=new t.TokenSet,s.node.edges[o]=a),s.str.length==1&&(a.final=!0),i.push({node:a,editsRemaining:s.editsRemaining,str:s.str.slice(1)})}if(s.editsRemaining!=0){if("*"in s.node.edges)var c=s.node.edges["*"];else{var c=new t.TokenSet;s.node.edges["*"]=c}if(s.str.length==0&&(c.final=!0),i.push({node:c,editsRemaining:s.editsRemaining-1,str:s.str}),s.str.length>1&&i.push({node:s.node,editsRemaining:s.editsRemaining-1,str:s.str.slice(1)}),s.str.length==1&&(s.node.final=!0),s.str.length>=1){if("*"in s.node.edges)var l=s.node.edges["*"];else{var l=new t.TokenSet;s.node.edges["*"]=l}s.str.length==1&&(l.final=!0),i.push({node:l,editsRemaining:s.editsRemaining-1,str:s.str.slice(1)})}if(s.str.length>1){var d=s.str.charAt(0),f=s.str.charAt(1),p;f in s.node.edges?p=s.node.edges[f]:(p=new t.TokenSet,s.node.edges[f]=p),s.str.length==1&&(p.final=!0),i.push({node:p,editsRemaining:s.editsRemaining-1,str:d+s.str.slice(2)})}}}return r},t.TokenSet.fromString=function(e){for(var n=new t.TokenSet,r=n,i=0,s=e.length;i=e;n--){var r=this.uncheckedNodes[n],i=r.child.toString();i in this.minimizedNodes?r.parent.edges[r.char]=this.minimizedNodes[i]:(r.child._str=i,this.minimizedNodes[i]=r.child),this.uncheckedNodes.pop()}};t.Index=function(e){this.invertedIndex=e.invertedIndex,this.fieldVectors=e.fieldVectors,this.tokenSet=e.tokenSet,this.fields=e.fields,this.pipeline=e.pipeline},t.Index.prototype.search=function(e){return this.query(function(n){var r=new t.QueryParser(e,n);r.parse()})},t.Index.prototype.query=function(e){for(var n=new t.Query(this.fields),r=Object.create(null),i=Object.create(null),s=Object.create(null),o=Object.create(null),a=Object.create(null),c=0;c1?this._b=1:this._b=e},t.Builder.prototype.k1=function(e){this._k1=e},t.Builder.prototype.add=function(e,n){var r=e[this._ref],i=Object.keys(this._fields);this._documents[r]=n||{},this.documentCount+=1;for(var s=0;s=this.length)return t.QueryLexer.EOS;var e=this.str.charAt(this.pos);return this.pos+=1,e},t.QueryLexer.prototype.width=function(){return this.pos-this.start},t.QueryLexer.prototype.ignore=function(){this.start==this.pos&&(this.pos+=1),this.start=this.pos},t.QueryLexer.prototype.backup=function(){this.pos-=1},t.QueryLexer.prototype.acceptDigitRun=function(){var e,n;do e=this.next(),n=e.charCodeAt(0);while(n>47&&n<58);e!=t.QueryLexer.EOS&&this.backup()},t.QueryLexer.prototype.more=function(){return this.pos1&&(e.backup(),e.emit(t.QueryLexer.TERM)),e.ignore(),e.more())return t.QueryLexer.lexText},t.QueryLexer.lexEditDistance=function(e){return e.ignore(),e.acceptDigitRun(),e.emit(t.QueryLexer.EDIT_DISTANCE),t.QueryLexer.lexText},t.QueryLexer.lexBoost=function(e){return e.ignore(),e.acceptDigitRun(),e.emit(t.QueryLexer.BOOST),t.QueryLexer.lexText},t.QueryLexer.lexEOS=function(e){e.width()>0&&e.emit(t.QueryLexer.TERM)},t.QueryLexer.termSeparator=t.tokenizer.separator,t.QueryLexer.lexText=function(e){for(;;){var n=e.next();if(n==t.QueryLexer.EOS)return t.QueryLexer.lexEOS;if(n.charCodeAt(0)==92){e.escapeCharacter();continue}if(n==":")return t.QueryLexer.lexField;if(n=="~")return e.backup(),e.width()>0&&e.emit(t.QueryLexer.TERM),t.QueryLexer.lexEditDistance;if(n=="^")return e.backup(),e.width()>0&&e.emit(t.QueryLexer.TERM),t.QueryLexer.lexBoost;if(n=="+"&&e.width()===1||n=="-"&&e.width()===1)return e.emit(t.QueryLexer.PRESENCE),t.QueryLexer.lexText;if(n.match(t.QueryLexer.termSeparator))return t.QueryLexer.lexTerm}},t.QueryParser=function(e,n){this.lexer=new t.QueryLexer(e),this.query=n,this.currentClause={},this.lexemeIdx=0},t.QueryParser.prototype.parse=function(){this.lexer.run(),this.lexemes=this.lexer.lexemes;for(var e=t.QueryParser.parseClause;e;)e=e(this);return this.query},t.QueryParser.prototype.peekLexeme=function(){return this.lexemes[this.lexemeIdx]},t.QueryParser.prototype.consumeLexeme=function(){var e=this.peekLexeme();return this.lexemeIdx+=1,e},t.QueryParser.prototype.nextClause=function(){var e=this.currentClause;this.query.clause(e),this.currentClause={}},t.QueryParser.parseClause=function(e){var n=e.peekLexeme();if(n!=null)switch(n.type){case t.QueryLexer.PRESENCE:return t.QueryParser.parsePresence;case t.QueryLexer.FIELD:return t.QueryParser.parseField;case t.QueryLexer.TERM:return t.QueryParser.parseTerm;default:var r="expected either a field or a term, found "+n.type;throw n.str.length>=1&&(r+=" with value '"+n.str+"'"),new t.QueryParseError(r,n.start,n.end)}},t.QueryParser.parsePresence=function(e){var n=e.consumeLexeme();if(n!=null){switch(n.str){case"-":e.currentClause.presence=t.Query.presence.PROHIBITED;break;case"+":e.currentClause.presence=t.Query.presence.REQUIRED;break;default:var r="unrecognised presence operator'"+n.str+"'";throw new t.QueryParseError(r,n.start,n.end)}var i=e.peekLexeme();if(i==null){var r="expecting term or field, found nothing";throw new t.QueryParseError(r,n.start,n.end)}switch(i.type){case t.QueryLexer.FIELD:return t.QueryParser.parseField;case t.QueryLexer.TERM:return t.QueryParser.parseTerm;default:var r="expecting term or field, found '"+i.type+"'";throw new t.QueryParseError(r,i.start,i.end)}}},t.QueryParser.parseField=function(e){var n=e.consumeLexeme();if(n!=null){if(e.query.allFields.indexOf(n.str)==-1){var r=e.query.allFields.map(function(o){return"'"+o+"'"}).join(", "),i="unrecognised field '"+n.str+"', possible fields: "+r;throw new t.QueryParseError(i,n.start,n.end)}e.currentClause.fields=[n.str];var s=e.peekLexeme();if(s==null){var i="expecting term, found nothing";throw new t.QueryParseError(i,n.start,n.end)}if(s.type===t.QueryLexer.TERM)return t.QueryParser.parseTerm;var i="expecting term, found '"+s.type+"'";throw new t.QueryParseError(i,s.start,s.end)}},t.QueryParser.parseTerm=function(e){var n=e.consumeLexeme();if(n!=null){e.currentClause.term=n.str.toLowerCase(),n.str.indexOf("*")!=-1&&(e.currentClause.usePipeline=!1);var r=e.peekLexeme();if(r==null){e.nextClause();return}switch(r.type){case t.QueryLexer.TERM:return e.nextClause(),t.QueryParser.parseTerm;case t.QueryLexer.FIELD:return e.nextClause(),t.QueryParser.parseField;case t.QueryLexer.EDIT_DISTANCE:return t.QueryParser.parseEditDistance;case t.QueryLexer.BOOST:return t.QueryParser.parseBoost;case t.QueryLexer.PRESENCE:return e.nextClause(),t.QueryParser.parsePresence;default:var i="Unexpected lexeme type '"+r.type+"'";throw new t.QueryParseError(i,r.start,r.end)}}},t.QueryParser.parseEditDistance=function(e){var n=e.consumeLexeme();if(n!=null){var r=parseInt(n.str,10);if(isNaN(r)){var i="edit distance must be numeric";throw new t.QueryParseError(i,n.start,n.end)}e.currentClause.editDistance=r;var s=e.peekLexeme();if(s==null){e.nextClause();return}switch(s.type){case t.QueryLexer.TERM:return e.nextClause(),t.QueryParser.parseTerm;case t.QueryLexer.FIELD:return e.nextClause(),t.QueryParser.parseField;case t.QueryLexer.EDIT_DISTANCE:return t.QueryParser.parseEditDistance;case t.QueryLexer.BOOST:return t.QueryParser.parseBoost;case t.QueryLexer.PRESENCE:return e.nextClause(),t.QueryParser.parsePresence;default:var i="Unexpected lexeme type '"+s.type+"'";throw new t.QueryParseError(i,s.start,s.end)}}},t.QueryParser.parseBoost=function(e){var n=e.consumeLexeme();if(n!=null){var r=parseInt(n.str,10);if(isNaN(r)){var i="boost must be numeric";throw new t.QueryParseError(i,n.start,n.end)}e.currentClause.boost=r;var s=e.peekLexeme();if(s==null){e.nextClause();return}switch(s.type){case t.QueryLexer.TERM:return e.nextClause(),t.QueryParser.parseTerm;case t.QueryLexer.FIELD:return e.nextClause(),t.QueryParser.parseField;case t.QueryLexer.EDIT_DISTANCE:return t.QueryParser.parseEditDistance;case t.QueryLexer.BOOST:return t.QueryParser.parseBoost;case t.QueryLexer.PRESENCE:return e.nextClause(),t.QueryParser.parsePresence;default:var i="Unexpected lexeme type '"+s.type+"'";throw new t.QueryParseError(i,s.start,s.end)}}},(function(e,n){typeof define=="function"&&define.amd?define(n):typeof me=="object"?ge.exports=n():e.lunr=n()})(this,function(){return t})})()});var M,G={getItem(){return null},setItem(){}},K;try{K=localStorage,M=K}catch{K=G,M=G}var S={getItem:t=>M.getItem(t),setItem:(t,e)=>M.setItem(t,e),disableWritingLocalStorage(){M=G},disable(){localStorage.clear(),M=G},enable(){M=K}};window.TypeDoc||={disableWritingLocalStorage(){S.disableWritingLocalStorage()},disableLocalStorage:()=>{S.disable()},enableLocalStorage:()=>{S.enable()}};window.translations||={copy:"Copy",copied:"Copied!",normally_hidden:"This member is normally hidden due to your filter settings.",hierarchy_expand:"Expand",hierarchy_collapse:"Collapse",search_index_not_available:"The search index is not available",search_no_results_found_for_0:"No results found for {0}",folder:"Folder",kind_1:"Project",kind_2:"Module",kind_4:"Namespace",kind_8:"Enumeration",kind_16:"Enumeration Member",kind_32:"Variable",kind_64:"Function",kind_128:"Class",kind_256:"Interface",kind_512:"Constructor",kind_1024:"Property",kind_2048:"Method",kind_4096:"Call Signature",kind_8192:"Index Signature",kind_16384:"Constructor Signature",kind_32768:"Parameter",kind_65536:"Type Literal",kind_131072:"Type Parameter",kind_262144:"Accessor",kind_524288:"Get Signature",kind_1048576:"Set Signature",kind_2097152:"Type Alias",kind_4194304:"Reference",kind_8388608:"Document"};var pe=[];function X(t,e){pe.push({selector:e,constructor:t})}var Z=class{alwaysVisibleMember=null;constructor(){this.createComponents(document.body),this.ensureFocusedElementVisible(),this.listenForCodeCopies(),window.addEventListener("hashchange",()=>this.ensureFocusedElementVisible()),document.body.style.display||(this.ensureFocusedElementVisible(),this.updateIndexVisibility(),this.scrollToHash())}createComponents(e){pe.forEach(n=>{e.querySelectorAll(n.selector).forEach(r=>{r.dataset.hasInstance||(new n.constructor({el:r,app:this}),r.dataset.hasInstance=String(!0))})})}filterChanged(){this.ensureFocusedElementVisible()}showPage(){document.body.style.display&&(document.body.style.removeProperty("display"),this.ensureFocusedElementVisible(),this.updateIndexVisibility(),this.scrollToHash())}scrollToHash(){if(location.hash){let e=document.getElementById(location.hash.substring(1));if(!e)return;e.scrollIntoView({behavior:"instant",block:"start"})}}ensureActivePageVisible(){let e=document.querySelector(".tsd-navigation .current"),n=e?.parentElement;for(;n&&!n.classList.contains(".tsd-navigation");)n instanceof HTMLDetailsElement&&(n.open=!0),n=n.parentElement;if(e&&!rt(e)){let r=e.getBoundingClientRect().top-document.documentElement.clientHeight/4;document.querySelector(".site-menu").scrollTop=r,document.querySelector(".col-sidebar").scrollTop=r}}updateIndexVisibility(){let e=document.querySelector(".tsd-index-content"),n=e?.open;e&&(e.open=!0),document.querySelectorAll(".tsd-index-section").forEach(r=>{r.style.display="block";let i=Array.from(r.querySelectorAll(".tsd-index-link")).every(s=>s.offsetParent==null);r.style.display=i?"none":"block"}),e&&(e.open=n)}ensureFocusedElementVisible(){if(this.alwaysVisibleMember&&(this.alwaysVisibleMember.classList.remove("always-visible"),this.alwaysVisibleMember.firstElementChild.remove(),this.alwaysVisibleMember=null),!location.hash)return;let e=document.getElementById(location.hash.substring(1));if(!e)return;let n=e.parentElement;for(;n&&n.tagName!=="SECTION";)n=n.parentElement;if(!n)return;let r=n.offsetParent==null,i=n;for(;i!==document.body;)i instanceof HTMLDetailsElement&&(i.open=!0),i=i.parentElement;if(n.offsetParent==null){this.alwaysVisibleMember=n,n.classList.add("always-visible");let s=document.createElement("p");s.classList.add("warning"),s.textContent=window.translations.normally_hidden,n.prepend(s)}r&&e.scrollIntoView()}listenForCodeCopies(){document.querySelectorAll("pre > button").forEach(e=>{let n;e.addEventListener("click",()=>{e.previousElementSibling instanceof HTMLElement&&navigator.clipboard.writeText(e.previousElementSibling.innerText.trim()),e.textContent=window.translations.copied,e.classList.add("visible"),clearTimeout(n),n=setTimeout(()=>{e.classList.remove("visible"),n=setTimeout(()=>{e.textContent=window.translations.copy},100)},1e3)})})}};function rt(t){let e=t.getBoundingClientRect(),n=Math.max(document.documentElement.clientHeight,window.innerHeight);return!(e.bottom<0||e.top-n>=0)}var fe=(t,e=100)=>{let n;return()=>{clearTimeout(n),n=setTimeout(()=>t(),e)}};var Ie=nt(ye(),1);async function R(t){let e=Uint8Array.from(atob(t),s=>s.charCodeAt(0)),r=new Blob([e]).stream().pipeThrough(new DecompressionStream("deflate")),i=await new Response(r).text();return JSON.parse(i)}var Y="closing",ae="tsd-overlay";function it(){let t=Math.abs(window.innerWidth-document.documentElement.clientWidth);document.body.style.overflow="hidden",document.body.style.paddingRight=`${t}px`}function st(){document.body.style.removeProperty("overflow"),document.body.style.removeProperty("padding-right")}function Ee(t,e){t.addEventListener("animationend",()=>{t.classList.contains(Y)&&(t.classList.remove(Y),document.getElementById(ae)?.remove(),t.close(),st())}),t.addEventListener("cancel",n=>{n.preventDefault(),ve(t)}),e?.closeOnClick&&document.addEventListener("click",n=>{t.open&&!t.contains(n.target)&&ve(t)},!0)}function xe(t){if(t.open)return;let e=document.createElement("div");e.id=ae,document.body.appendChild(e),t.showModal(),it()}function ve(t){if(!t.open)return;document.getElementById(ae)?.classList.add(Y),t.classList.add(Y)}var I=class{el;app;constructor(e){this.el=e.el,this.app=e.app}};var be=document.head.appendChild(document.createElement("style"));be.dataset.for="filters";var le={};function Le(t){for(let e of t.split(/\s+/))if(le.hasOwnProperty(e)&&!le[e])return!0;return!1}var ee=class extends I{key;value;constructor(e){super(e),this.key=`filter-${this.el.name}`,this.value=this.el.checked,this.el.addEventListener("change",()=>{this.setLocalStorage(this.el.checked)}),this.setLocalStorage(this.fromLocalStorage()),be.innerHTML+=`html:not(.${this.key}) .tsd-is-${this.el.name} { display: none; } +`,this.app.updateIndexVisibility()}fromLocalStorage(){let e=S.getItem(this.key);return e?e==="true":this.el.checked}setLocalStorage(e){S.setItem(this.key,e.toString()),this.value=e,this.handleValueChange()}handleValueChange(){this.el.checked=this.value,document.documentElement.classList.toggle(this.key,this.value),le[`tsd-is-${this.el.name}`]=this.value,this.app.filterChanged(),this.app.updateIndexVisibility()}};var we=0;async function Se(t,e){if(!window.searchData)return;let n=await R(window.searchData);t.data=n,t.index=Ie.Index.load(n.index),e.innerHTML=""}function _e(){let t=document.getElementById("tsd-search-trigger"),e=document.getElementById("tsd-search"),n=document.getElementById("tsd-search-input"),r=document.getElementById("tsd-search-results"),i=document.getElementById("tsd-search-script"),s=document.getElementById("tsd-search-status");if(!(t&&e&&n&&r&&i&&s))throw new Error("Search controls missing");let o={base:document.documentElement.dataset.base};o.base.endsWith("/")||(o.base+="/"),i.addEventListener("error",()=>{let a=window.translations.search_index_not_available;Pe(s,a)}),i.addEventListener("load",()=>{Se(o,s)}),Se(o,s),ot({trigger:t,searchEl:e,results:r,field:n,status:s},o)}function ot(t,e){let{field:n,results:r,searchEl:i,status:s,trigger:o}=t;Ee(i,{closeOnClick:!0});function a(){xe(i),n.setSelectionRange(0,n.value.length)}o.addEventListener("click",a),n.addEventListener("input",fe(()=>{at(r,n,s,e)},200)),n.addEventListener("keydown",l=>{if(r.childElementCount===0||l.ctrlKey||l.metaKey||l.altKey)return;let d=n.getAttribute("aria-activedescendant"),f=d?document.getElementById(d):null;if(f){let p=!1,v=!1;switch(l.key){case"Home":case"End":case"ArrowLeft":case"ArrowRight":v=!0;break;case"ArrowDown":case"ArrowUp":p=l.shiftKey;break}(p||v)&&ke(n)}if(!l.shiftKey)switch(l.key){case"Enter":f?.querySelector("a")?.click();break;case"ArrowUp":Te(r,n,f,-1),l.preventDefault();break;case"ArrowDown":Te(r,n,f,1),l.preventDefault();break}});function c(){ke(n)}n.addEventListener("change",c),n.addEventListener("blur",c),n.addEventListener("click",c),document.body.addEventListener("keydown",l=>{if(l.altKey||l.metaKey||l.shiftKey)return;let d=l.ctrlKey&&l.key==="k",f=!l.ctrlKey&&!ut()&&l.key==="/";(d||f)&&(l.preventDefault(),a())})}function at(t,e,n,r){if(!r.index||!r.data)return;t.innerHTML="",n.innerHTML="",we+=1;let i=e.value.trim(),s;if(i){let a=i.split(" ").map(c=>c.length?`*${c}*`:"").join(" ");s=r.index.search(a).filter(({ref:c})=>{let l=r.data.rows[Number(c)].classes;return!l||!Le(l)})}else s=[];if(s.length===0&&i){let a=window.translations.search_no_results_found_for_0.replace("{0}",` "${te(i)}" `);Pe(n,a);return}for(let a=0;ac.score-a.score);let o=Math.min(10,s.length);for(let a=0;a`,f=Ce(c.name,i);globalThis.DEBUG_SEARCH_WEIGHTS&&(f+=` (score: ${s[a].score.toFixed(2)})`),c.parent&&(f=` + ${Ce(c.parent,i)}.${f}`);let p=document.createElement("li");p.id=`tsd-search:${we}-${a}`,p.role="option",p.ariaSelected="false",p.classList.value=c.classes??"";let v=document.createElement("a");v.tabIndex=-1,v.href=r.base+c.url,v.innerHTML=d+`${f}`,p.append(v),t.appendChild(p)}}function Te(t,e,n,r){let i;if(r===1?i=n?.nextElementSibling||t.firstElementChild:i=n?.previousElementSibling||t.lastElementChild,i!==n){if(!i||i.role!=="option"){console.error("Option missing");return}i.ariaSelected="true",i.scrollIntoView({behavior:"smooth",block:"nearest"}),e.setAttribute("aria-activedescendant",i.id),n?.setAttribute("aria-selected","false")}}function ke(t){let e=t.getAttribute("aria-activedescendant");(e?document.getElementById(e):null)?.setAttribute("aria-selected","false"),t.setAttribute("aria-activedescendant","")}function Ce(t,e){if(e==="")return t;let n=t.toLocaleLowerCase(),r=e.toLocaleLowerCase(),i=[],s=0,o=n.indexOf(r);for(;o!=-1;)i.push(te(t.substring(s,o)),`${te(t.substring(o,o+r.length))}`),s=o+r.length,o=n.indexOf(r,s);return i.push(te(t.substring(s))),i.join("")}var lt={"&":"&","<":"<",">":">","'":"'",'"':"""};function te(t){return t.replace(/[&<>"'"]/g,e=>lt[e])}function Pe(t,e){t.innerHTML=e?`
${e}
`:""}var ct=["button","checkbox","file","hidden","image","radio","range","reset","submit"];function ut(){let t=document.activeElement;return t?t.isContentEditable||t.tagName==="TEXTAREA"||t.tagName==="SEARCH"?!0:t.tagName==="INPUT"&&!ct.includes(t.type):!1}var D="mousedown",Me="mousemove",$="mouseup",ne={x:0,y:0},Qe=!1,ce=!1,dt=!1,F=!1,Oe=/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent);document.documentElement.classList.add(Oe?"is-mobile":"not-mobile");Oe&&"ontouchstart"in document.documentElement&&(dt=!0,D="touchstart",Me="touchmove",$="touchend");document.addEventListener(D,t=>{ce=!0,F=!1;let e=D=="touchstart"?t.targetTouches[0]:t;ne.y=e.pageY||0,ne.x=e.pageX||0});document.addEventListener(Me,t=>{if(ce&&!F){let e=D=="touchstart"?t.targetTouches[0]:t,n=ne.x-(e.pageX||0),r=ne.y-(e.pageY||0);F=Math.sqrt(n*n+r*r)>10}});document.addEventListener($,()=>{ce=!1});document.addEventListener("click",t=>{Qe&&(t.preventDefault(),t.stopImmediatePropagation(),Qe=!1)});var re=class extends I{active;className;constructor(e){super(e),this.className=this.el.dataset.toggle||"",this.el.addEventListener($,n=>this.onPointerUp(n)),this.el.addEventListener("click",n=>n.preventDefault()),document.addEventListener(D,n=>this.onDocumentPointerDown(n)),document.addEventListener($,n=>this.onDocumentPointerUp(n))}setActive(e){if(this.active==e)return;this.active=e,document.documentElement.classList.toggle("has-"+this.className,e),this.el.classList.toggle("active",e);let n=(this.active?"to-has-":"from-has-")+this.className;document.documentElement.classList.add(n),setTimeout(()=>document.documentElement.classList.remove(n),500)}onPointerUp(e){F||(this.setActive(!0),e.preventDefault())}onDocumentPointerDown(e){if(this.active){if(e.target.closest(".col-sidebar, .tsd-filter-group"))return;this.setActive(!1)}}onDocumentPointerUp(e){if(!F&&this.active&&e.target.closest(".col-sidebar")){let n=e.target.closest("a");if(n){let r=window.location.href;r.indexOf("#")!=-1&&(r=r.substring(0,r.indexOf("#"))),n.href.substring(0,r.length)==r&&setTimeout(()=>this.setActive(!1),250)}}}};var ue=new Map,de=class{open;accordions=[];key;constructor(e,n){this.key=e,this.open=n}add(e){this.accordions.push(e),e.open=this.open,e.addEventListener("toggle",()=>{this.toggle(e.open)})}toggle(e){for(let n of this.accordions)n.open=e;S.setItem(this.key,e.toString())}},ie=class extends I{constructor(e){super(e);let n=this.el.querySelector("summary"),r=n.querySelector("a");r&&r.addEventListener("click",()=>{location.assign(r.href)});let i=`tsd-accordion-${n.dataset.key??n.textContent.trim().replace(/\s+/g,"-").toLowerCase()}`,s;if(ue.has(i))s=ue.get(i);else{let o=S.getItem(i),a=o?o==="true":this.el.open;s=new de(i,a),ue.set(i,s)}s.add(this.el)}};function He(t){let e=S.getItem("tsd-theme")||"os";t.value=e,Ae(e),t.addEventListener("change",()=>{S.setItem("tsd-theme",t.value),Ae(t.value)})}function Ae(t){document.documentElement.dataset.theme=t}var se;function Ne(){let t=document.getElementById("tsd-nav-script");t&&(t.addEventListener("load",Re),Re())}async function Re(){let t=document.getElementById("tsd-nav-container");if(!t||!window.navigationData)return;let e=await R(window.navigationData);se=document.documentElement.dataset.base,se.endsWith("/")||(se+="/"),t.innerHTML="";for(let n of e)Ve(n,t,[]);window.app.createComponents(t),window.app.showPage(),window.app.ensureActivePageVisible()}function Ve(t,e,n){let r=e.appendChild(document.createElement("li"));if(t.children){let i=[...n,t.text],s=r.appendChild(document.createElement("details"));s.className=t.class?`${t.class} tsd-accordion`:"tsd-accordion";let o=s.appendChild(document.createElement("summary"));o.className="tsd-accordion-summary",o.dataset.key=i.join("$"),o.innerHTML='',De(t,o);let a=s.appendChild(document.createElement("div"));a.className="tsd-accordion-details";let c=a.appendChild(document.createElement("ul"));c.className="tsd-nested-navigation";for(let l of t.children)Ve(l,c,i)}else De(t,r,t.class)}function De(t,e,n){if(t.path){let r=e.appendChild(document.createElement("a"));if(r.href=se+t.path,n&&(r.className=n),location.pathname===r.pathname&&!r.href.includes("#")&&(r.classList.add("current"),r.ariaCurrent="page"),t.kind){let i=window.translations[`kind_${t.kind}`].replaceAll('"',""");r.innerHTML=``}r.appendChild(Fe(t.text,document.createElement("span")))}else{let r=e.appendChild(document.createElement("span")),i=window.translations.folder.replaceAll('"',""");r.innerHTML=``,r.appendChild(Fe(t.text,document.createElement("span")))}}function Fe(t,e){let n=t.split(/(?<=[^A-Z])(?=[A-Z])|(?<=[A-Z])(?=[A-Z][a-z])|(?<=[_-])(?=[^_-])/);for(let r=0;r{let i=r.target;for(;i.parentElement&&i.parentElement.tagName!="LI";)i=i.parentElement;i.dataset.dropdown&&(i.dataset.dropdown=String(i.dataset.dropdown!=="true"))});let t=new Map,e=new Set;for(let r of document.querySelectorAll(".tsd-full-hierarchy [data-refl]")){let i=r.querySelector("ul");t.has(r.dataset.refl)?e.add(r.dataset.refl):i&&t.set(r.dataset.refl,i)}for(let r of e)n(r);function n(r){let i=t.get(r).cloneNode(!0);i.querySelectorAll("[id]").forEach(s=>{s.removeAttribute("id")}),i.querySelectorAll("[data-dropdown]").forEach(s=>{s.dataset.dropdown="false"});for(let s of document.querySelectorAll(`[data-refl="${r}"]`)){let o=gt(),a=s.querySelector("ul");s.insertBefore(o,a),o.dataset.dropdown=String(!!a),a||s.appendChild(i.cloneNode(!0))}}}function pt(){let t=document.getElementById("tsd-hierarchy-script");t&&(t.addEventListener("load",Be),Be())}async function Be(){let t=document.querySelector(".tsd-panel.tsd-hierarchy:has(h4 a)");if(!t||!window.hierarchyData)return;let e=+t.dataset.refl,n=await R(window.hierarchyData),r=t.querySelector("ul"),i=document.createElement("ul");if(i.classList.add("tsd-hierarchy"),ft(i,n,e),r.querySelectorAll("li").length==i.querySelectorAll("li").length)return;let s=document.createElement("span");s.classList.add("tsd-hierarchy-toggle"),s.textContent=window.translations.hierarchy_expand,t.querySelector("h4 a")?.insertAdjacentElement("afterend",s),s.insertAdjacentText("beforebegin",", "),s.addEventListener("click",()=>{s.textContent===window.translations.hierarchy_expand?(r.insertAdjacentElement("afterend",i),r.remove(),s.textContent=window.translations.hierarchy_collapse):(i.insertAdjacentElement("afterend",r),i.remove(),s.textContent=window.translations.hierarchy_expand)})}function ft(t,e,n){let r=e.roots.filter(i=>mt(e,i,n));for(let i of r)t.appendChild(je(e,i,n))}function je(t,e,n,r=new Set){if(r.has(e))return;r.add(e);let i=t.reflections[e],s=document.createElement("li");if(s.classList.add("tsd-hierarchy-item"),e===n){let o=s.appendChild(document.createElement("span"));o.textContent=i.name,o.classList.add("tsd-hierarchy-target")}else{for(let a of i.uniqueNameParents||[]){let c=t.reflections[a],l=s.appendChild(document.createElement("a"));l.textContent=c.name,l.href=oe+c.url,l.className=c.class+" tsd-signature-type",s.append(document.createTextNode("."))}let o=s.appendChild(document.createElement("a"));o.textContent=t.reflections[e].name,o.href=oe+i.url,o.className=i.class+" tsd-signature-type"}if(i.children){let o=s.appendChild(document.createElement("ul"));o.classList.add("tsd-hierarchy");for(let a of i.children){let c=je(t,a,n,r);c&&o.appendChild(c)}}return r.delete(e),s}function mt(t,e,n){if(e===n)return!0;let r=new Set,i=[t.reflections[e]];for(;i.length;){let s=i.pop();if(!r.has(s)){r.add(s);for(let o of s.children||[]){if(o===n)return!0;i.push(t.reflections[o])}}}return!1}function gt(){let t=document.createElementNS("http://www.w3.org/2000/svg","svg");return t.setAttribute("width","20"),t.setAttribute("height","20"),t.innerHTML='',t}X(re,"a[data-toggle]");X(ie,".tsd-accordion");X(ee,".tsd-filter-item input[type=checkbox]");var qe=document.getElementById("tsd-theme");qe&&He(qe);var yt=new Z;Object.defineProperty(window,"app",{value:yt});_e();Ne();$e();"virtualKeyboard"in navigator&&(navigator.virtualKeyboard.overlaysContent=!0);})(); /*! Bundled license information: lunr/lunr.js: diff --git a/api/classes/AbstractNumbering.html b/api/classes/AbstractNumbering.html index bcbad6c00e..8025a4c31c 100644 --- a/api/classes/AbstractNumbering.html +++ b/api/classes/AbstractNumbering.html @@ -10,19 +10,19 @@ Each abstract definition can contain up to 9 levels.

// Create an abstract numbering definition with multiple levels
const abstractNumbering = new AbstractNumbering(1, [
{
level: 0,
format: LevelFormat.DECIMAL,
text: "%1.",
alignment: AlignmentType.LEFT,
},
{
level: 1,
format: LevelFormat.LOWER_LETTER,
text: "%2)",
alignment: AlignmentType.LEFT,
},
]);
-

Hierarchy (View Summary)

Index

Constructors

Hierarchy (View Summary)

Index

Constructors

Properties

Methods

Constructors

Properties

id: number

The unique identifier for this abstract numbering definition.

-

Methods

Returns AbstractNumbering

Properties

id: number

The unique identifier for this abstract numbering definition.

+

Methods

  • Prepares this component and its children for XML serialization.

    This method is called by the Formatter to convert the component tree into an object structure compatible with the xml library (https://www.npmjs.com/package/xml). It recursively processes all children and handles special cases like @@ -34,4 +34,4 @@ or execute side effects during serialization (e.g., creating relationships).

    // Override to add custom serialization logic
    prepForXml(context: IContext): IXmlableObject | undefined {
    // Custom logic here
    return super.prepForXml(context);
    }
    -
+
diff --git a/api/classes/AnnotationReference.html b/api/classes/AnnotationReference.html index 0c2543748d..4287b4049c 100644 --- a/api/classes/AnnotationReference.html +++ b/api/classes/AnnotationReference.html @@ -1,13 +1,13 @@ AnnotationReference | docx
docx
    Preparing search index...

    Class AnnotationReference

    Represents a reference to an annotation (comment).

    Used internally within comment ranges to mark comment references.

    -

    Hierarchy (View Summary)

    Index

    Constructors

    Hierarchy (View Summary)

    Index

    Constructors

    Methods

    Constructors

    Methods

    • Prepares this component and its children for XML serialization.

      This method is called by the Formatter to convert the component tree into an object structure compatible with the xml library (https://www.npmjs.com/package/xml). It recursively processes all children and handles special cases like @@ -19,4 +19,4 @@ or execute side effects during serialization (e.g., creating relationships).

      // Override to add custom serialization logic
      prepForXml(context: IContext): IXmlableObject | undefined {
      // Custom logic here
      return super.prepForXml(context);
      }
      -
    +
    diff --git a/api/classes/Attributes.html b/api/classes/Attributes.html index 6506a09420..62292f1eb9 100644 --- a/api/classes/Attributes.html +++ b/api/classes/Attributes.html @@ -5,7 +5,7 @@ w: (WordprocessingML) namespace prefixed XML attribute names.

    // Create an element with a value attribute
    new Attributes({ val: "someValue" });
    // Generates: <element w:val="someValue"/>

    // Multiple attributes
    new Attributes({ color: "FF0000", sz: "24" });
    // Generates: <element w:color="FF0000" w:sz="24"/>
    -

    Hierarchy (View Summary)

    • XmlAttributeComponent<
          {
              bottom?: string;
              color?: string;
              fill?: string;
              footer?: string;
              gutter?: string;
              h?: string;
              header?: string;
              left?: string;
              linePitch?: string;
              pos?: string
              | number;
              right?: string;
              rsidR?: string;
              rsidRPr?: string;
              rsidSect?: string;
              space?: string;
              sz?: string;
              top?: string;
              type?: string;
              val?: string | number | boolean;
              w?: string;
          },
      >
      • Attributes
    Index

    Constructors

    Hierarchy (View Summary)

    • XmlAttributeComponent<
          {
              bottom?: string;
              color?: string;
              fill?: string;
              footer?: string;
              gutter?: string;
              h?: string;
              header?: string;
              left?: string;
              linePitch?: string;
              pos?: string
              | number;
              right?: string;
              rsidR?: string;
              rsidRPr?: string;
              rsidSect?: string;
              space?: string;
              sz?: string;
              top?: string;
              type?: string;
              val?: string | number | boolean;
              w?: string;
          },
      >
      • Attributes
    Index

    Constructors

    Methods

    Constructors

    • Creates a new attribute component.

      Parameters

      • root: {
            bottom?: string;
            color?: string;
            fill?: string;
            footer?: string;
            gutter?: string;
            h?: string;
            header?: string;
            left?: string;
            linePitch?: string;
            pos?: string | number;
            right?: string;
            rsidR?: string;
            rsidRPr?: string;
            rsidSect?: string;
            space?: string;
            sz?: string;
            top?: string;
            type?: string;
            val?: string | number | boolean;
            w?: string;
        }

        The attribute data object

        @@ -29,9 +29,9 @@ w: (WordprocessingML) namespace prefixed XML attribute names.

      • Optional Readonlytype?: string

        Type specification (w:type).

      • Optional Readonlyval?: string | number | boolean

        Generic value attribute (w:val).

      • Optional Readonlyw?: string

        Width (w:w).

        -

    Returns Attributes

    Methods

    Returns Attributes

    Methods

    +
    diff --git a/api/classes/BaseXmlComponent.html b/api/classes/BaseXmlComponent.html index 4c03c7b08a..ab7d10c483 100644 --- a/api/classes/BaseXmlComponent.html +++ b/api/classes/BaseXmlComponent.html @@ -5,14 +5,14 @@ the prepForXml method for serialization.

    class MyElement extends BaseXmlComponent {
    constructor() {
    super("w:myElement");
    }

    prepForXml(context: IContext): IXmlableObject {
    return { "w:myElement": {} };
    }
    }
    -

    Hierarchy (View Summary)

    Index

    Constructors

    Hierarchy (View Summary)

    Index

    Constructors

    Methods

    Constructors

    Methods

    Returns BaseXmlComponent

    Methods

    • Prepares this component for XML serialization.

      This method is called by the Formatter to convert the component into an object structure that can be serialized to XML. Subclasses must implement this to define their XML representation.

      Parameters

      • context: IContext

        The serialization context

      Returns IXmlableObject | undefined

      The XML-serializable object, or undefined to exclude from output

      -
    +
    diff --git a/api/classes/Body.html b/api/classes/Body.html index 88efe82542..47576771a7 100644 --- a/api/classes/Body.html +++ b/api/classes/Body.html @@ -12,16 +12,16 @@ section. The last section's properties are stored as a direct child of the body
    // Body is typically created internally by the Document class
    const doc = new Document({});
    const body = doc.Body;

    // Add content to the body via Document.add()
    doc.add(new Paragraph("Content in first section"));

    // Add a new section
    body.addSection({
    page: {
    size: { width: 12240, height: 15840 },
    },
    });

    // Content after addSection belongs to the new section
    doc.add(new Paragraph("Content in second section"));
    -

    Hierarchy (View Summary)

    Index

    Constructors

    Hierarchy (View Summary)

    Index

    Constructors

    Methods

    Constructors

    Methods

    • Adds new section properties to the document body.

      Creates a new section by moving the previous section's properties into a paragraph at the end of that section, and then adding the new section as the current section.

      According to the OOXML specification:

      @@ -31,13 +31,13 @@ properties (pPr/sectPr) at the end of each section
    • The last section's properties are stored as a direct child of the body element (w:body/w:sectPr)

    Parameters

    Returns void

    Returns void

    • Adds a block-level component to the body.

      This method is used internally by the Document class to add paragraphs, tables, and other block-level elements to the document body.

      Parameters

      • component: XmlComponent

        The XML component to add (paragraph, table, etc.)

        -

      Returns void

    +

    Returns void

    diff --git a/api/classes/Bookmark.html b/api/classes/Bookmark.html index 5de3fd49b8..6b0c849452 100644 --- a/api/classes/Bookmark.html +++ b/api/classes/Bookmark.html @@ -10,8 +10,8 @@ of a start marker, content, and an end marker.

    // Create a bookmark around a heading
    new Bookmark({
    id: "section1",
    children: [new TextRun("Section 1 Heading")],
    });

    // Link to the bookmark from elsewhere
    new InternalHyperlink({
    children: [new TextRun("Go to Section 1")],
    anchor: "section1",
    });
    -
    Index

    Constructors

    Index

    Constructors

    Properties

    Constructors

    Properties

    children: readonly ParagraphChild[]
    +

    Constructors

    Properties

    children: readonly ParagraphChild[]
    diff --git a/api/classes/BookmarkEnd.html b/api/classes/BookmarkEnd.html index c582d5e98a..2b95893224 100644 --- a/api/classes/BookmarkEnd.html +++ b/api/classes/BookmarkEnd.html @@ -9,14 +9,14 @@ It must be paired with a corresponding BookmarkStart element with the same id.
    new BookmarkEnd(1);
     
    -

    Hierarchy (View Summary)

    Index

    Constructors

    Hierarchy (View Summary)

    Index

    Constructors

    Methods

    Constructors

    Methods

    • Prepares this component and its children for XML serialization.

      This method is called by the Formatter to convert the component tree into an object structure compatible with the xml library (https://www.npmjs.com/package/xml). It recursively processes all children and handles special cases like @@ -28,4 +28,4 @@ or execute side effects during serialization (e.g., creating relationships).

      // Override to add custom serialization logic
      prepForXml(context: IContext): IXmlableObject | undefined {
      // Custom logic here
      return super.prepForXml(context);
      }
      -
    +
    diff --git a/api/classes/BookmarkStart.html b/api/classes/BookmarkStart.html index 725cf40c67..2fd43364a2 100644 --- a/api/classes/BookmarkStart.html +++ b/api/classes/BookmarkStart.html @@ -9,14 +9,14 @@ It must be paired with a corresponding BookmarkEnd element with the same id.

    new BookmarkStart("myBookmark", 1);
     
    -

    Hierarchy (View Summary)

    Index

    Constructors

    Hierarchy (View Summary)

    Index

    Constructors

    Methods

    Constructors

    Methods

    • Prepares this component and its children for XML serialization.

      This method is called by the Formatter to convert the component tree into an object structure compatible with the xml library (https://www.npmjs.com/package/xml). It recursively processes all children and handles special cases like @@ -28,4 +28,4 @@ or execute side effects during serialization (e.g., creating relationships).

      // Override to add custom serialization logic
      prepForXml(context: IContext): IXmlableObject | undefined {
      // Custom logic here
      return super.prepForXml(context);
      }
      -
    +
    diff --git a/api/classes/Border.html b/api/classes/Border.html index 659ac79a9d..3c1fdc3f0a 100644 --- a/api/classes/Border.html +++ b/api/classes/Border.html @@ -8,14 +8,14 @@
    new Paragraph({
    border: {
    top: { style: BorderStyle.SINGLE, size: 6, color: "FF0000" },
    bottom: { style: BorderStyle.SINGLE, size: 6, color: "FF0000" },
    },
    children: [new TextRun("Paragraph with top and bottom borders")],
    });
    -

    Hierarchy (View Summary)

    Index

    Constructors

    Hierarchy (View Summary)

    Index

    Constructors

    Methods

    Constructors

    Methods

    +
    diff --git a/api/classes/BuilderElement.html b/api/classes/BuilderElement.html index 8152196428..b515bf394f 100644 --- a/api/classes/BuilderElement.html +++ b/api/classes/BuilderElement.html @@ -5,7 +5,7 @@ explicit attribute key-value mapping.

    // Element with attributes
    new BuilderElement({
    name: "w:spacing",
    attributes: {
    before: { key: "w:before", value: 240 },
    after: { key: "w:after", value: 120 }
    }
    });
    // Generates: <w:spacing w:before="240" w:after="120"/>

    // Element with children
    new BuilderElement({
    name: "w:pPr",
    children: [
    new StringValueElement("w:pStyle", "Heading1")
    ]
    });
    -

    Type Parameters

    Hierarchy (View Summary)

    Index

    Constructors

    Type Parameters

    Hierarchy (View Summary)

    Index

    Constructors

    • Creates a BuilderElement with the specified configuration.

      @@ -13,11 +13,11 @@ explicit attribute key-value mapping.

      • Optional Readonlyattributes?: AttributePayload<T>

        Optional attributes with explicit key-value pairs.

      • Optional Readonlychildren?: readonly XmlComponent[]

        Optional child elements.

      • Readonlyname: string

        The XML element name.

        -

    Returns BuilderElement<T>

    Methods

    Returns BuilderElement<T>

    Methods

    • Prepares this component and its children for XML serialization.

      This method is called by the Formatter to convert the component tree into an object structure compatible with the xml library (https://www.npmjs.com/package/xml). It recursively processes all children and handles special cases like @@ -29,4 +29,4 @@ or execute side effects during serialization (e.g., creating relationships).

      // Override to add custom serialization logic
      prepForXml(context: IContext): IXmlableObject | undefined {
      // Custom logic here
      return super.prepForXml(context);
      }
      -
    +
    diff --git a/api/classes/CarriageReturn.html b/api/classes/CarriageReturn.html index 15495825c3..ccef08c6cd 100644 --- a/api/classes/CarriageReturn.html +++ b/api/classes/CarriageReturn.html @@ -1,13 +1,13 @@ CarriageReturn | docx
    docx
      Preparing search index...

      Class CarriageReturn

      Represents a carriage return character.

      Inserts a carriage return, which may be rendered differently than a standard line break.

      -

      Hierarchy (View Summary)

      Index

      Constructors

      Hierarchy (View Summary)

      Index

      Constructors

      Methods

      Constructors

      Methods

      • Prepares this component and its children for XML serialization.

        This method is called by the Formatter to convert the component tree into an object structure compatible with the xml library (https://www.npmjs.com/package/xml). It recursively processes all children and handles special cases like @@ -19,4 +19,4 @@ or execute side effects during serialization (e.g., creating relationships).

        // Override to add custom serialization logic
        prepForXml(context: IContext): IXmlableObject | undefined {
        // Custom logic here
        return super.prepForXml(context);
        }
        -
      +
      diff --git a/api/classes/CellMerge.html b/api/classes/CellMerge.html index d616918d17..1f3e8bf398 100644 --- a/api/classes/CellMerge.html +++ b/api/classes/CellMerge.html @@ -6,14 +6,14 @@ the intermediate object format used by the xml serialization library.

      // Creating a custom XML component
      class MyElement extends XmlComponent {
      constructor(text: string) {
      super("w:myElement");
      this.root.push(new Attributes({ val: text }));
      }
      }

      const element = new MyElement("Hello");
      // When serialized: <w:myElement w:val="Hello"/>
      -

      Hierarchy (View Summary)

      Index

      Constructors

      Hierarchy (View Summary)

      Index

      Constructors

      Methods

      Constructors

      Methods

      • Prepares this component and its children for XML serialization.

        This method is called by the Formatter to convert the component tree into an object structure compatible with the xml library (https://www.npmjs.com/package/xml). It recursively processes all children and handles special cases like @@ -25,4 +25,4 @@ or execute side effects during serialization (e.g., creating relationships).

        // Override to add custom serialization logic
        prepForXml(context: IContext): IXmlableObject | undefined {
        // Custom logic here
        return super.prepForXml(context);
        }
        -
      +
      diff --git a/api/classes/CellMergeAttributes.html b/api/classes/CellMergeAttributes.html index d13e1767a8..e45869fd95 100644 --- a/api/classes/CellMergeAttributes.html +++ b/api/classes/CellMergeAttributes.html @@ -5,13 +5,13 @@ can define an xmlKeys map to specify the transformation.

      class MyAttributes extends XmlAttributeComponent<{ fontSize: number }> {
      protected readonly xmlKeys = { fontSize: "w:sz" };
      }

      new MyAttributes({ fontSize: 24 });
      // Generates: _attr: { "w:sz": 24 }
      -

      Hierarchy (View Summary)

      Index

      Constructors

      Hierarchy (View Summary)

      Index

      Constructors

      Methods

      Constructors

      Methods

      Returns CellMergeAttributes

      Methods

      +
      diff --git a/api/classes/CheckBox.html b/api/classes/CheckBox.html index d58d012f35..c032ed4d15 100644 --- a/api/classes/CheckBox.html +++ b/api/classes/CheckBox.html @@ -10,14 +10,14 @@ properties.

      // Simple checkbox
      new CheckBox({ checked: true });

      // Checkbox with custom alias
      new CheckBox({
      checked: false,
      alias: "Accept Terms",
      });

      // Checkbox with custom symbols
      new CheckBox({
      checked: true,
      checkedState: { value: "2611", font: "Wingdings" },
      uncheckedState: { value: "2610", font: "Wingdings" },
      });
      -

      Hierarchy (View Summary)

      Index

      Constructors

      Hierarchy (View Summary)

      Index

      Constructors

      Methods

      Constructors

      Methods

      • Prepares this component and its children for XML serialization.

        This method is called by the Formatter to convert the component tree into an object structure compatible with the xml library (https://www.npmjs.com/package/xml). It recursively processes all children and handles special cases like @@ -29,4 +29,4 @@ or execute side effects during serialization (e.g., creating relationships).

        // Override to add custom serialization logic
        prepForXml(context: IContext): IXmlableObject | undefined {
        // Custom logic here
        return super.prepForXml(context);
        }
        -
      +
      diff --git a/api/classes/CheckBoxSymbolElement.html b/api/classes/CheckBoxSymbolElement.html index 3f9eac9c26..3957b333ec 100644 --- a/api/classes/CheckBoxSymbolElement.html +++ b/api/classes/CheckBoxSymbolElement.html @@ -8,14 +8,14 @@ specifying the Unicode character and font to render.

      // Checked state symbol
      new CheckBoxSymbolElement("w14:checkedState", "2612", "MS Gothic");

      // Unchecked state symbol
      new CheckBoxSymbolElement("w14:uncheckedState", "2610", "MS Gothic");

      // Symbol without explicit font
      new CheckBoxSymbolElement("w14:checked", "1");
      -

      Hierarchy (View Summary)

      Index

      Constructors

      Hierarchy (View Summary)

      Index

      Constructors

      Methods

      Constructors

      Methods

      • Prepares this component and its children for XML serialization.

        This method is called by the Formatter to convert the component tree into an object structure compatible with the xml library (https://www.npmjs.com/package/xml). It recursively processes all children and handles special cases like @@ -27,4 +27,4 @@ or execute side effects during serialization (e.g., creating relationships).

        // Override to add custom serialization logic
        prepForXml(context: IContext): IXmlableObject | undefined {
        // Custom logic here
        return super.prepForXml(context);
        }
        -
      +
      diff --git a/api/classes/CheckBoxUtil.html b/api/classes/CheckBoxUtil.html index 235c0494cb..9ec16d0fe9 100644 --- a/api/classes/CheckBoxUtil.html +++ b/api/classes/CheckBoxUtil.html @@ -8,14 +8,14 @@ including its checked state and the symbols used for checked and unchecked state
      // Default checkbox (unchecked with default symbols)
      new CheckBoxUtil();

      // Checked checkbox with defaults
      new CheckBoxUtil({ checked: true });

      // Custom symbols
      new CheckBoxUtil({
      checked: false,
      checkedState: { value: "2611", font: "Wingdings" },
      uncheckedState: { value: "2610", font: "Wingdings" },
      });
      -

      Hierarchy (View Summary)

      Index

      Constructors

      Hierarchy (View Summary)

      Index

      Constructors

      Methods

      Constructors

      Methods

      • Prepares this component and its children for XML serialization.

        This method is called by the Formatter to convert the component tree into an object structure compatible with the xml library (https://www.npmjs.com/package/xml). It recursively processes all children and handles special cases like @@ -27,4 +27,4 @@ or execute side effects during serialization (e.g., creating relationships).

        // Override to add custom serialization logic
        prepForXml(context: IContext): IXmlableObject | undefined {
        // Custom logic here
        return super.prepForXml(context);
        }
        -
      +
      diff --git a/api/classes/Column.html b/api/classes/Column.html index 19e388aab4..d90c9381a1 100644 --- a/api/classes/Column.html +++ b/api/classes/Column.html @@ -5,14 +5,14 @@ using unequal column widths in a section.

      // Create a column with specific width and spacing
      new Column({
      width: 3000,
      space: 720
      });
      -

      Hierarchy (View Summary)

      Index

      Constructors

      Hierarchy (View Summary)

      Index

      Constructors

      Methods

      Constructors

      Methods

      • Prepares this component and its children for XML serialization.

        This method is called by the Formatter to convert the component tree into an object structure compatible with the xml library (https://www.npmjs.com/package/xml). It recursively processes all children and handles special cases like @@ -24,4 +24,4 @@ or execute side effects during serialization (e.g., creating relationships).

        // Override to add custom serialization logic
        prepForXml(context: IContext): IXmlableObject | undefined {
        // Custom logic here
        return super.prepForXml(context);
        }
        -
      +
      diff --git a/api/classes/ColumnBreak.html b/api/classes/ColumnBreak.html index 7e62b1e914..fa09fc5695 100644 --- a/api/classes/ColumnBreak.html +++ b/api/classes/ColumnBreak.html @@ -8,14 +8,14 @@
      new Paragraph({
      children: [new ColumnBreak()],
      });
      -

      Hierarchy (View Summary)

      Index

      Constructors

      Hierarchy (View Summary)

      Index

      Constructors

      Methods

      Constructors

      Methods

      • Prepares this component and its children for XML serialization.

        This method is called by the Formatter to convert the component tree into an object structure compatible with the xml library (https://www.npmjs.com/package/xml). It recursively processes all children and handles special cases like @@ -27,4 +27,4 @@ or execute side effects during serialization (e.g., creating relationships).

        // Override to add custom serialization logic
        prepForXml(context: IContext): IXmlableObject | undefined {
        // Custom logic here
        return super.prepForXml(context);
        }
        -
      +
      diff --git a/api/classes/Comment.html b/api/classes/Comment.html index 62345d67e1..98e65c0091 100644 --- a/api/classes/Comment.html +++ b/api/classes/Comment.html @@ -9,14 +9,14 @@ and the comment text (typically paragraphs).

      new Comment({
      id: 0,
      author: "John Doe",
      initials: "JD",
      children: [new Paragraph("This is a comment")],
      });
      -

      Hierarchy (View Summary)

      Index

      Constructors

      Hierarchy (View Summary)

      Index

      Constructors

      Methods

      Constructors

      Methods

      +

      Parameters

      Returns IXmlableObject | undefined

      diff --git a/api/classes/CommentRangeEnd.html b/api/classes/CommentRangeEnd.html index 50e78f1cc8..98fa91c45c 100644 --- a/api/classes/CommentRangeEnd.html +++ b/api/classes/CommentRangeEnd.html @@ -9,14 +9,14 @@ Must be paired with a CommentRangeStart with the same ID.

      new CommentRangeEnd(0);
       
      -

      Hierarchy (View Summary)

      Index

      Constructors

      Hierarchy (View Summary)

      Index

      Constructors

      Methods

      Constructors

      Methods

      • Prepares this component and its children for XML serialization.

        This method is called by the Formatter to convert the component tree into an object structure compatible with the xml library (https://www.npmjs.com/package/xml). It recursively processes all children and handles special cases like @@ -28,4 +28,4 @@ or execute side effects during serialization (e.g., creating relationships).

        // Override to add custom serialization logic
        prepForXml(context: IContext): IXmlableObject | undefined {
        // Custom logic here
        return super.prepForXml(context);
        }
        -
      +
      diff --git a/api/classes/CommentRangeStart.html b/api/classes/CommentRangeStart.html index 40efe02f97..e82cb918c6 100644 --- a/api/classes/CommentRangeStart.html +++ b/api/classes/CommentRangeStart.html @@ -9,14 +9,14 @@ Must be paired with a CommentRangeEnd with the same ID.

      new CommentRangeStart(0);
       
      -

      Hierarchy (View Summary)

      Index

      Constructors

      Hierarchy (View Summary)

      Index

      Constructors

      Methods

      Constructors

      Methods

      • Prepares this component and its children for XML serialization.

        This method is called by the Formatter to convert the component tree into an object structure compatible with the xml library (https://www.npmjs.com/package/xml). It recursively processes all children and handles special cases like @@ -28,4 +28,4 @@ or execute side effects during serialization (e.g., creating relationships).

        // Override to add custom serialization logic
        prepForXml(context: IContext): IXmlableObject | undefined {
        // Custom logic here
        return super.prepForXml(context);
        }
        -
      +
      diff --git a/api/classes/CommentReference.html b/api/classes/CommentReference.html index b6f18c263e..b89e73a8a6 100644 --- a/api/classes/CommentReference.html +++ b/api/classes/CommentReference.html @@ -9,14 +9,14 @@ It should be placed after the CommentRangeEnd element.

      new CommentReference(0);
       
      -

      Hierarchy (View Summary)

      Index

      Constructors

      Hierarchy (View Summary)

      Index

      Constructors

      Methods

      Constructors

      Methods

      • Prepares this component and its children for XML serialization.

        This method is called by the Formatter to convert the component tree into an object structure compatible with the xml library (https://www.npmjs.com/package/xml). It recursively processes all children and handles special cases like @@ -28,4 +28,4 @@ or execute side effects during serialization (e.g., creating relationships).

        // Override to add custom serialization logic
        prepForXml(context: IContext): IXmlableObject | undefined {
        // Custom logic here
        return super.prepForXml(context);
        }
        -
      +
      diff --git a/api/classes/Comments.html b/api/classes/Comments.html index fcbcb54d84..8af4d37ed5 100644 --- a/api/classes/Comments.html +++ b/api/classes/Comments.html @@ -10,17 +10,17 @@ threading is activated and thread data is generated for commentsExtended.xml.

      new Comments({
      children: [
      {
      id: 0,
      author: "John Doe",
      children: [new Paragraph("First comment")],
      },
      {
      id: 1,
      author: "Jane Smith",
      parentId: 0,
      children: [new Paragraph("Reply to first comment")],
      },
      ],
      });
      -

      Hierarchy (View Summary)

      Index

      Constructors

      Hierarchy (View Summary)

      Index

      Constructors

      Accessors

      Methods

      Constructors

      Accessors

      Methods

      • Prepares this component and its children for XML serialization.

        This method is called by the Formatter to convert the component tree into an object structure compatible with the xml library (https://www.npmjs.com/package/xml). It recursively processes all children and handles special cases like @@ -32,4 +32,4 @@ or execute side effects during serialization (e.g., creating relationships).

        // Override to add custom serialization logic
        prepForXml(context: IContext): IXmlableObject | undefined {
        // Custom logic here
        return super.prepForXml(context);
        }
        -
      +
      diff --git a/api/classes/CommentsExtended.html b/api/classes/CommentsExtended.html index 5215cff716..fca7e80032 100644 --- a/api/classes/CommentsExtended.html +++ b/api/classes/CommentsExtended.html @@ -5,14 +5,14 @@ and resolved status.

      <xsd:complexType name="CT_CommentsEx">
      <xsd:sequence>
      <xsd:element name="commentEx" type="CT_CommentEx" minOccurs="0" maxOccurs="unbounded"/>
      </xsd:sequence>
      </xsd:complexType>
      -

      Hierarchy (View Summary)

      Index

      Constructors

      Hierarchy (View Summary)

      Index

      Constructors

      Methods

      Constructors

      Methods

      • Prepares this component and its children for XML serialization.

        This method is called by the Formatter to convert the component tree into an object structure compatible with the xml library (https://www.npmjs.com/package/xml). It recursively processes all children and handles special cases like @@ -24,4 +24,4 @@ or execute side effects during serialization (e.g., creating relationships).

        // Override to add custom serialization logic
        prepForXml(context: IContext): IXmlableObject | undefined {
        // Custom logic here
        return super.prepForXml(context);
        }
        -
      +
      diff --git a/api/classes/ConcreteHyperlink.html b/api/classes/ConcreteHyperlink.html index abff20849f..e5935e6f6e 100644 --- a/api/classes/ConcreteHyperlink.html +++ b/api/classes/ConcreteHyperlink.html @@ -6,15 +6,15 @@ Use InternalHyperlink or ExternalHyperlink for creating hyperlinks in documents.
      <xsd:element name="hyperlink" type="CT_Hyperlink"/>

      <xsd:complexType name="CT_Hyperlink">
      <xsd:group ref="EG_PContent" minOccurs="0" maxOccurs="unbounded"/>
      <xsd:attribute name="tgtFrame" type="s:ST_String" use="optional"/>
      <xsd:attribute name="tooltip" type="s:ST_String" use="optional"/>
      <xsd:attribute name="docLocation" type="s:ST_String" use="optional"/>
      <xsd:attribute name="history" type="s:ST_OnOff" use="optional"/>
      <xsd:attribute name="anchor" type="s:ST_String" use="optional"/>
      <xsd:attribute ref="r:id"/>
      </xsd:complexType>
      -

      Hierarchy (View Summary)

      Index

      Constructors

      Hierarchy (View Summary)

      Index

      Constructors

      Properties

      Methods

      Constructors

      Properties

      linkId: string

      Methods

      Constructors

      Properties

      linkId: string

      Methods

      • Prepares this component and its children for XML serialization.

        This method is called by the Formatter to convert the component tree into an object structure compatible with the xml library (https://www.npmjs.com/package/xml). It recursively processes all children and handles special cases like @@ -26,4 +26,4 @@ or execute side effects during serialization (e.g., creating relationships).

        // Override to add custom serialization logic
        prepForXml(context: IContext): IXmlableObject | undefined {
        // Custom logic here
        return super.prepForXml(context);
        }
        -
      +
      diff --git a/api/classes/ConcreteNumbering.html b/api/classes/ConcreteNumbering.html index 65ca5f2025..84e2b9272c 100644 --- a/api/classes/ConcreteNumbering.html +++ b/api/classes/ConcreteNumbering.html @@ -10,7 +10,7 @@ to apply list formatting.

      // Create a concrete numbering instance
      const concreteNumbering = new ConcreteNumbering({
      numId: 1,
      abstractNumId: 0,
      reference: "my-numbering",
      instance: 0,
      overrideLevels: [
      {
      num: 0,
      start: 5, // Start numbering at 5 instead of 1
      },
      ],
      });
      -

      Hierarchy (View Summary)

      Index

      Constructors

      Hierarchy (View Summary)

      Index

      Constructors

      Properties

      instance numId reference @@ -18,14 +18,14 @@ to apply list formatting.

      prepForXml

      Constructors

      Properties

      instance: number

      The instance number for tracking multiple uses.

      -
      numId: number

      The unique identifier for this numbering instance.

      -
      reference: string

      The reference name for this numbering instance.

      -

      Methods

      Returns ConcreteNumbering

      Properties

      instance: number

      The instance number for tracking multiple uses.

      +
      numId: number

      The unique identifier for this numbering instance.

      +
      reference: string

      The reference name for this numbering instance.

      +

      Methods

      • Prepares this component and its children for XML serialization.

        This method is called by the Formatter to convert the component tree into an object structure compatible with the xml library (https://www.npmjs.com/package/xml). It recursively processes all children and handles special cases like @@ -37,4 +37,4 @@ or execute side effects during serialization (e.g., creating relationships).

        // Override to add custom serialization logic
        prepForXml(context: IContext): IXmlableObject | undefined {
        // Custom logic here
        return super.prepForXml(context);
        }
        -
      +
      diff --git a/api/classes/ContinuationSeparator.html b/api/classes/ContinuationSeparator.html index f11c687a08..97d9da1400 100644 --- a/api/classes/ContinuationSeparator.html +++ b/api/classes/ContinuationSeparator.html @@ -1,13 +1,13 @@ ContinuationSeparator | docx
      docx
        Preparing search index...

        Class ContinuationSeparator

        Represents a continuation separator for footnotes or endnotes.

        Used when footnotes/endnotes continue across multiple pages.

        -

        Hierarchy (View Summary)

        Index

        Constructors

        Hierarchy (View Summary)

        Index

        Constructors

        Methods

        Constructors

        Methods

        • Prepares this component and its children for XML serialization.

          This method is called by the Formatter to convert the component tree into an object structure compatible with the xml library (https://www.npmjs.com/package/xml). It recursively processes all children and handles special cases like @@ -19,4 +19,4 @@ or execute side effects during serialization (e.g., creating relationships).

          // Override to add custom serialization logic
          prepForXml(context: IContext): IXmlableObject | undefined {
          // Custom logic here
          return super.prepForXml(context);
          }
          -
        +
        diff --git a/api/classes/DayLong.html b/api/classes/DayLong.html index 7930ef4677..06c8a92927 100644 --- a/api/classes/DayLong.html +++ b/api/classes/DayLong.html @@ -1,13 +1,13 @@ DayLong | docx
        docx
          Preparing search index...

          Class DayLong

          Represents the current day in long format (e.g., "01", "15").

          Inserts a dynamic field showing the day portion of the current date with leading zeros.

          -

          Hierarchy (View Summary)

          Index

          Constructors

          Hierarchy (View Summary)

          Index

          Constructors

          Methods

          Constructors

          Methods

          • Prepares this component and its children for XML serialization.

            This method is called by the Formatter to convert the component tree into an object structure compatible with the xml library (https://www.npmjs.com/package/xml). It recursively processes all children and handles special cases like @@ -19,4 +19,4 @@ or execute side effects during serialization (e.g., creating relationships).

            // Override to add custom serialization logic
            prepForXml(context: IContext): IXmlableObject | undefined {
            // Custom logic here
            return super.prepForXml(context);
            }
            -
          +
          diff --git a/api/classes/DayShort.html b/api/classes/DayShort.html index d94712562f..5fbc39effd 100644 --- a/api/classes/DayShort.html +++ b/api/classes/DayShort.html @@ -1,13 +1,13 @@ DayShort | docx
          docx
            Preparing search index...

            Class DayShort

            Represents the current day in short format (e.g., "1", "15").

            Inserts a dynamic field showing the day portion of the current date.

            -

            Hierarchy (View Summary)

            Index

            Constructors

            Hierarchy (View Summary)

            Index

            Constructors

            Methods

            Constructors

            Methods

            • Prepares this component and its children for XML serialization.

              This method is called by the Formatter to convert the component tree into an object structure compatible with the xml library (https://www.npmjs.com/package/xml). It recursively processes all children and handles special cases like @@ -19,4 +19,4 @@ or execute side effects during serialization (e.g., creating relationships).

              // Override to add custom serialization logic
              prepForXml(context: IContext): IXmlableObject | undefined {
              // Custom logic here
              return super.prepForXml(context);
              }
              -
            +
            diff --git a/api/classes/DeletedTableCell.html b/api/classes/DeletedTableCell.html index 30c32d3ac3..a8720f03d4 100644 --- a/api/classes/DeletedTableCell.html +++ b/api/classes/DeletedTableCell.html @@ -6,14 +6,14 @@ the intermediate object format used by the xml serialization library.

            // Creating a custom XML component
            class MyElement extends XmlComponent {
            constructor(text: string) {
            super("w:myElement");
            this.root.push(new Attributes({ val: text }));
            }
            }

            const element = new MyElement("Hello");
            // When serialized: <w:myElement w:val="Hello"/>
            -

            Hierarchy (View Summary)

            Index

            Constructors

            Hierarchy (View Summary)

            Index

            Constructors

            Methods

            Constructors

            Methods

            • Prepares this component and its children for XML serialization.

              This method is called by the Formatter to convert the component tree into an object structure compatible with the xml library (https://www.npmjs.com/package/xml). It recursively processes all children and handles special cases like @@ -25,4 +25,4 @@ or execute side effects during serialization (e.g., creating relationships).

              // Override to add custom serialization logic
              prepForXml(context: IContext): IXmlableObject | undefined {
              // Custom logic here
              return super.prepForXml(context);
              }
              -
            +
            diff --git a/api/classes/DeletedTableRow.html b/api/classes/DeletedTableRow.html index 42f63757c4..029dbba6c1 100644 --- a/api/classes/DeletedTableRow.html +++ b/api/classes/DeletedTableRow.html @@ -6,14 +6,14 @@ the intermediate object format used by the xml serialization library.

            // Creating a custom XML component
            class MyElement extends XmlComponent {
            constructor(text: string) {
            super("w:myElement");
            this.root.push(new Attributes({ val: text }));
            }
            }

            const element = new MyElement("Hello");
            // When serialized: <w:myElement w:val="Hello"/>
            -

            Hierarchy (View Summary)

            Index

            Constructors

            Hierarchy (View Summary)

            Index

            Constructors

            Methods

            Constructors

            Methods

            • Prepares this component and its children for XML serialization.

              This method is called by the Formatter to convert the component tree into an object structure compatible with the xml library (https://www.npmjs.com/package/xml). It recursively processes all children and handles special cases like @@ -25,4 +25,4 @@ or execute side effects during serialization (e.g., creating relationships).

              // Override to add custom serialization logic
              prepForXml(context: IContext): IXmlableObject | undefined {
              // Custom logic here
              return super.prepForXml(context);
              }
              -
            +
            diff --git a/api/classes/DeletedTextRun.html b/api/classes/DeletedTextRun.html index b9e1eecaa2..50f770cbc2 100644 --- a/api/classes/DeletedTextRun.html +++ b/api/classes/DeletedTextRun.html @@ -11,14 +11,14 @@ formatting in applications that support track changes.

            // Create a deleted text run
            new DeletedTextRun({
            id: 2,
            author: "Jane Smith",
            date: "2024-01-15T11:00:00Z",
            text: "This text was removed",
            italics: true
            });

            // Deleted run with page number field
            new DeletedTextRun({
            id: 3,
            author: "John Doe",
            date: "2024-01-15T12:00:00Z",
            children: [PageNumber.CURRENT]
            });
            -

            Hierarchy (View Summary)

            Index

            Constructors

            Hierarchy (View Summary)

            Index

            Constructors

            Methods

            Constructors

            Methods

            • Prepares this component and its children for XML serialization.

              This method is called by the Formatter to convert the component tree into an object structure compatible with the xml library (https://www.npmjs.com/package/xml). It recursively processes all children and handles special cases like @@ -30,4 +30,4 @@ or execute side effects during serialization (e.g., creating relationships).

              // Override to add custom serialization logic
              prepForXml(context: IContext): IXmlableObject | undefined {
              // Custom logic here
              return super.prepForXml(context);
              }
              -
            +
            diff --git a/api/classes/DocumentAttributes.html b/api/classes/DocumentAttributes.html index 3b1ad49c26..3751071293 100644 --- a/api/classes/DocumentAttributes.html +++ b/api/classes/DocumentAttributes.html @@ -4,11 +4,11 @@ of document.xml and other document parts.

            new DocumentAttributes(['w', 'r', 'wp'], 'w14 w15');
            // Generates: xmlns:w="..." xmlns:r="..." xmlns:wp="..." mc:Ignorable="w14 w15"
            -

            Hierarchy (View Summary)

            Index

            Constructors

            Hierarchy (View Summary)

            Index

            Constructors

            Methods

            Constructors

            • Parameters

              • ns: readonly (
                    | "w"
                    | "cx"
                    | "wps"
                    | "wpg"
                    | "r"
                    | "w15"
                    | "wpc"
                    | "mc"
                    | "o"
                    | "m"
                    | "v"
                    | "wp14"
                    | "wp"
                    | "w10"
                    | "w14"
                    | "wpi"
                    | "wne"
                    | "cp"
                    | "dc"
                    | "dcterms"
                    | "dcmitype"
                    | "xsi"
                    | "cx1"
                    | "cx2"
                    | "cx3"
                    | "cx4"
                    | "cx5"
                    | "cx6"
                    | "cx7"
                    | "cx8"
                    | "w16cid"
                    | "w16se"
                    | "aink"
                    | "am3d"
                    | "w16cex"
                    | "w16"
                    | "w16sdtdh"
                )[]
              • OptionalIgnorable: string

              Returns DocumentAttributes

            Methods

            Constructors

            • Parameters

              • ns: readonly (
                    | "w"
                    | "cx"
                    | "wps"
                    | "wpg"
                    | "r"
                    | "w15"
                    | "wpc"
                    | "mc"
                    | "o"
                    | "m"
                    | "v"
                    | "wp14"
                    | "wp"
                    | "w10"
                    | "w14"
                    | "wpi"
                    | "wne"
                    | "cp"
                    | "dc"
                    | "dcterms"
                    | "dcmitype"
                    | "xsi"
                    | "cx1"
                    | "cx2"
                    | "cx3"
                    | "cx4"
                    | "cx5"
                    | "cx6"
                    | "cx7"
                    | "cx8"
                    | "w16cid"
                    | "w16se"
                    | "aink"
                    | "am3d"
                    | "w16cex"
                    | "w16"
                    | "w16sdtdh"
                )[]
              • OptionalIgnorable: string

              Returns DocumentAttributes

            Methods

            +
            diff --git a/api/classes/DocumentBackground.html b/api/classes/DocumentBackground.html index 7aad44acb1..6aba9fdf06 100644 --- a/api/classes/DocumentBackground.html +++ b/api/classes/DocumentBackground.html @@ -9,14 +9,14 @@ for the document.

            new DocumentBackground({ color: "FFFF00" }); // Yellow background
            new DocumentBackground({ themeColor: "accent1" }); // Theme accent color
            -

            Hierarchy (View Summary)

            Index

            Constructors

            Hierarchy (View Summary)

            Index

            Constructors

            Methods

            Constructors

            Methods

            • Prepares this component and its children for XML serialization.

              This method is called by the Formatter to convert the component tree into an object structure compatible with the xml library (https://www.npmjs.com/package/xml). It recursively processes all children and handles special cases like @@ -28,4 +28,4 @@ or execute side effects during serialization (e.g., creating relationships).

              // Override to add custom serialization logic
              prepForXml(context: IContext): IXmlableObject | undefined {
              // Custom logic here
              return super.prepForXml(context);
              }
              -
            +
            diff --git a/api/classes/DocumentBackgroundAttributes.html b/api/classes/DocumentBackgroundAttributes.html index 9f5d825424..377ddbf61f 100644 --- a/api/classes/DocumentBackgroundAttributes.html +++ b/api/classes/DocumentBackgroundAttributes.html @@ -3,13 +3,13 @@
            <xsd:simpleType name="ST_ThemeColor">
            <xsd:restriction base="xsd:string">
            <xsd:enumeration value="dark1"/>
            <xsd:enumeration value="light1"/>
            <xsd:enumeration value="dark2"/>
            <xsd:enumeration value="light2"/>
            <xsd:enumeration value="accent1"/>
            <xsd:enumeration value="accent2"/>
            <xsd:enumeration value="accent3"/>
            <xsd:enumeration value="accent4"/>
            <xsd:enumeration value="accent5"/>
            <xsd:enumeration value="accent6"/>
            <xsd:enumeration value="hyperlink"/>
            <xsd:enumeration value="followedHyperlink"/>
            <xsd:enumeration value="none"/>
            <xsd:enumeration value="background1"/>
            <xsd:enumeration value="text1"/>
            <xsd:enumeration value="background2"/>
            <xsd:enumeration value="text2"/>
            </xsd:restriction>
            </xsd:simpleType>
            -

            Hierarchy (View Summary)

            • XmlAttributeComponent<
                  {
                      color?: string;
                      themeColor?: string;
                      themeShade?: string;
                      themeTint?: string;
                  },
              >
              • DocumentBackgroundAttributes
            Index

            Constructors

            Hierarchy (View Summary)

            • XmlAttributeComponent<
                  {
                      color?: string;
                      themeColor?: string;
                      themeShade?: string;
                      themeTint?: string;
                  },
              >
              • DocumentBackgroundAttributes
            Index

            Constructors

            Methods

            Constructors

            Methods

            Returns DocumentBackgroundAttributes

            Methods

            +
            diff --git a/api/classes/DocumentDefaults.html b/api/classes/DocumentDefaults.html index c18b2bb3a5..6085f6f84b 100644 --- a/api/classes/DocumentDefaults.html +++ b/api/classes/DocumentDefaults.html @@ -9,14 +9,14 @@ paragraphs and runs in a document unless overridden by a style or direct formatt
            // Set default font and spacing for the document
            new DocumentDefaults({
            run: {
            font: "Calibri",
            size: 22
            },
            paragraph: {
            spacing: { after: 200, line: 276 }
            }
            });
            -

            Hierarchy (View Summary)

            Index

            Constructors

            Hierarchy (View Summary)

            Index

            Constructors

            Methods

            Constructors

            Methods

            • Prepares this component and its children for XML serialization.

              This method is called by the Formatter to convert the component tree into an object structure compatible with the xml library (https://www.npmjs.com/package/xml). It recursively processes all children and handles special cases like @@ -28,4 +28,4 @@ or execute side effects during serialization (e.g., creating relationships).

              // Override to add custom serialization logic
              prepForXml(context: IContext): IXmlableObject | undefined {
              // Custom logic here
              return super.prepForXml(context);
              }
              -
            +
            diff --git a/api/classes/Drawing.html b/api/classes/Drawing.html index 395b41e4cc..6a31ccc889 100644 --- a/api/classes/Drawing.html +++ b/api/classes/Drawing.html @@ -6,14 +6,14 @@ anchored (positioned relative to the page, column, or paragraph).

            <xsd:complexType name="CT_Drawing">
            <xsd:choice minOccurs="1" maxOccurs="unbounded">
            <xsd:element ref="wp:anchor" minOccurs="0"/>
            <xsd:element ref="wp:inline" minOccurs="0"/>
            </xsd:choice>
            </xsd:complexType>
            -

            Hierarchy (View Summary)

            Index

            Constructors

            Hierarchy (View Summary)

            Index

            Constructors

            Methods

            Constructors

            Methods

            • Prepares this component and its children for XML serialization.

              This method is called by the Formatter to convert the component tree into an object structure compatible with the xml library (https://www.npmjs.com/package/xml). It recursively processes all children and handles special cases like @@ -25,4 +25,4 @@ or execute side effects during serialization (e.g., creating relationships).

              // Override to add custom serialization logic
              prepForXml(context: IContext): IXmlableObject | undefined {
              // Custom logic here
              return super.prepForXml(context);
              }
              -
            +
            diff --git a/api/classes/EmptyElement.html b/api/classes/EmptyElement.html index cbc60524d3..657f49fb01 100644 --- a/api/classes/EmptyElement.html +++ b/api/classes/EmptyElement.html @@ -7,16 +7,16 @@
            new EmptyElement("w:noProof");
            // Generates: <w:noProof/>
            -

            Hierarchy (View Summary)

            Index

            Constructors

            Hierarchy (View Summary)

            Index

            Constructors

            Methods

            Returns EmptyElement

            Methods

            • Prepares this component and its children for XML serialization.

              This method is called by the Formatter to convert the component tree into an object structure compatible with the xml library (https://www.npmjs.com/package/xml). It recursively processes all children and handles special cases like @@ -28,4 +28,4 @@ or execute side effects during serialization (e.g., creating relationships).

              // Override to add custom serialization logic
              prepForXml(context: IContext): IXmlableObject | undefined {
              // Custom logic here
              return super.prepForXml(context);
              }
              -
            +
            diff --git a/api/classes/EndnoteIdReference.html b/api/classes/EndnoteIdReference.html index 63a2d83cc5..be224d1228 100644 --- a/api/classes/EndnoteIdReference.html +++ b/api/classes/EndnoteIdReference.html @@ -6,14 +6,14 @@ the intermediate object format used by the xml serialization library.

            // Creating a custom XML component
            class MyElement extends XmlComponent {
            constructor(text: string) {
            super("w:myElement");
            this.root.push(new Attributes({ val: text }));
            }
            }

            const element = new MyElement("Hello");
            // When serialized: <w:myElement w:val="Hello"/>
            -

            Hierarchy (View Summary)

            Index

            Constructors

            Hierarchy (View Summary)

            Index

            Constructors

            Methods

            Constructors

            Methods

            • Prepares this component and its children for XML serialization.

              This method is called by the Formatter to convert the component tree into an object structure compatible with the xml library (https://www.npmjs.com/package/xml). It recursively processes all children and handles special cases like @@ -25,4 +25,4 @@ or execute side effects during serialization (e.g., creating relationships).

              // Override to add custom serialization logic
              prepForXml(context: IContext): IXmlableObject | undefined {
              // Custom logic here
              return super.prepForXml(context);
              }
              -
            +
            diff --git a/api/classes/EndnoteReference.html b/api/classes/EndnoteReference.html index c24dea5fc2..ab1aa90fb7 100644 --- a/api/classes/EndnoteReference.html +++ b/api/classes/EndnoteReference.html @@ -1,13 +1,13 @@ EndnoteReference | docx
            docx
              Preparing search index...

              Class EndnoteReference

              Represents a reference to an endnote.

              Used within endnote content to refer back to the endnote marker.

              -

              Hierarchy (View Summary)

              Index

              Constructors

              Hierarchy (View Summary)

              Index

              Constructors

              Methods

              Constructors

              Methods

              • Prepares this component and its children for XML serialization.

                This method is called by the Formatter to convert the component tree into an object structure compatible with the xml library (https://www.npmjs.com/package/xml). It recursively processes all children and handles special cases like @@ -19,4 +19,4 @@ or execute side effects during serialization (e.g., creating relationships).

                // Override to add custom serialization logic
                prepForXml(context: IContext): IXmlableObject | undefined {
                // Custom logic here
                return super.prepForXml(context);
                }
                -
              +
              diff --git a/api/classes/EndnoteReferenceRun.html b/api/classes/EndnoteReferenceRun.html index 6fe4892e2f..09e09df10f 100644 --- a/api/classes/EndnoteReferenceRun.html +++ b/api/classes/EndnoteReferenceRun.html @@ -9,14 +9,14 @@ shares the same formatting properties (bold, italic, font, size, etc.).

              // Simple run with text
              new Run({ text: "Hello World" });

              // Bold and italic run
              new Run({ text: "Formatted", bold: true, italics: true });

              // Run with page number
              new Run({ children: [PageNumber.CURRENT] });
              -

              Hierarchy (View Summary)

              • Run
                • EndnoteReferenceRun
              Index

              Constructors

              Hierarchy (View Summary)

              • Run
                • EndnoteReferenceRun
              Index

              Constructors

              Methods

              Constructors

              Methods

              • Prepares this component and its children for XML serialization.

                This method is called by the Formatter to convert the component tree into an object structure compatible with the xml library (https://www.npmjs.com/package/xml). It recursively processes all children and handles special cases like @@ -28,4 +28,4 @@ or execute side effects during serialization (e.g., creating relationships).

                // Override to add custom serialization logic
                prepForXml(context: IContext): IXmlableObject | undefined {
                // Custom logic here
                return super.prepForXml(context);
                }
                -
              +
              diff --git a/api/classes/EndnoteReferenceRunAttributes.html b/api/classes/EndnoteReferenceRunAttributes.html index 63c570696c..1e36974f51 100644 --- a/api/classes/EndnoteReferenceRunAttributes.html +++ b/api/classes/EndnoteReferenceRunAttributes.html @@ -5,13 +5,13 @@ can define an xmlKeys map to specify the transformation.

              class MyAttributes extends XmlAttributeComponent<{ fontSize: number }> {
              protected readonly xmlKeys = { fontSize: "w:sz" };
              }

              new MyAttributes({ fontSize: 24 });
              // Generates: _attr: { "w:sz": 24 }
              -

              Hierarchy (View Summary)

              Index

              Constructors

              Hierarchy (View Summary)

              Index

              Constructors

              Methods

              Constructors

              Methods

              Returns EndnoteReferenceRunAttributes

              Methods

              +
              diff --git a/api/classes/Endnotes.html b/api/classes/Endnotes.html index 119e08d861..db1105e6db 100644 --- a/api/classes/Endnotes.html +++ b/api/classes/Endnotes.html @@ -6,15 +6,15 @@ the intermediate object format used by the xml serialization library.

              // Creating a custom XML component
              class MyElement extends XmlComponent {
              constructor(text: string) {
              super("w:myElement");
              this.root.push(new Attributes({ val: text }));
              }
              }

              const element = new MyElement("Hello");
              // When serialized: <w:myElement w:val="Hello"/>
              -

              Hierarchy (View Summary)

              Index

              Constructors

              Hierarchy (View Summary)

              Index

              Constructors

              Methods

              Constructors

              Methods

              • Prepares this component and its children for XML serialization.

                This method is called by the Formatter to convert the component tree into an object structure compatible with the xml library (https://www.npmjs.com/package/xml). It recursively processes all children and handles special cases like @@ -26,4 +26,4 @@ or execute side effects during serialization (e.g., creating relationships).

                // Override to add custom serialization logic
                prepForXml(context: IContext): IXmlableObject | undefined {
                // Custom logic here
                return super.prepForXml(context);
                }
                -
              +
              diff --git a/api/classes/ExternalHyperlink.html b/api/classes/ExternalHyperlink.html index bf708232ac..31166d7958 100644 --- a/api/classes/ExternalHyperlink.html +++ b/api/classes/ExternalHyperlink.html @@ -10,15 +10,15 @@ is converted to a ConcreteHyperlink with the relationship ID.

              new ExternalHyperlink({
              children: [new TextRun({ text: "Visit Example", style: "Hyperlink" })],
              link: "https://example.com",
              });
              -

              Hierarchy (View Summary)

              Index

              Constructors

              Hierarchy (View Summary)

              Index

              Constructors

              Properties

              Methods

              Constructors

              Properties

              Methods

              Constructors

              Properties

              Methods

              • Prepares this component and its children for XML serialization.

                This method is called by the Formatter to convert the component tree into an object structure compatible with the xml library (https://www.npmjs.com/package/xml). It recursively processes all children and handles special cases like @@ -30,4 +30,4 @@ or execute side effects during serialization (e.g., creating relationships).

                // Override to add custom serialization logic
                prepForXml(context: IContext): IXmlableObject | undefined {
                // Custom logic here
                return super.prepForXml(context);
                }
                -
              +
              diff --git a/api/classes/File.html b/api/classes/File.html index 6ace26890a..bf3a69f4f5 100644 --- a/api/classes/File.html +++ b/api/classes/File.html @@ -8,7 +8,7 @@ including relationships, content types, and document properties.

              // Simple document with one section
              const doc = new Document({
              sections: [{
              children: [
              new Paragraph("Hello World"),
              ],
              }],
              });

              // Document with multiple sections and headers/footers
              const doc = new Document({
              creator: "John Doe",
              sections: [
              {
              headers: {
              default: new Header({
              children: [new Paragraph("Header Text")],
              }),
              },
              children: [
              new Paragraph("Section 1 content"),
              ],
              },
              {
              children: [
              new Paragraph("Section 2 content"),
              ],
              },
              ],
              });

              // Document with custom styles and numbering
              const doc = new Document({
              styles: {
              paragraphStyles: [
              {
              id: "MyHeading",
              name: "My Heading",
              basedOn: "Heading1",
              run: { bold: true, color: "FF0000" },
              },
              ],
              },
              numbering: {
              config: [
              {
              reference: "my-numbering",
              levels: [
              { level: 0, format: "decimal", text: "%1.", alignment: "left" },
              ],
              },
              ],
              },
              sections: [{
              children: [new Paragraph("Content")],
              }],
              });
              -
              Index

              Constructors

              Index

              Constructors

              Accessors

              AppProperties Comments CommentsExtended @@ -26,5 +26,5 @@ including relationships, content types, and document properties.

              Numbering Settings Styles -

              Constructors

              Accessors

              • get AppProperties(): AppProperties

                Returns AppProperties

              • get CoreProperties(): CoreProperties

                Returns CoreProperties

              • get CustomProperties(): CustomProperties

                Returns CustomProperties

              • get Document(): DocumentWrapper

                Returns DocumentWrapper

              • get Endnotes(): EndnotesWrapper

                Returns EndnotesWrapper

              • get FileRelationships(): Relationships

                Returns Relationships

              • get FootNotes(): FootnotesWrapper

                Returns FootnotesWrapper

              +

              Constructors

              Accessors

              • get AppProperties(): AppProperties

                Returns AppProperties

              • get CoreProperties(): CoreProperties

                Returns CoreProperties

              • get CustomProperties(): CustomProperties

                Returns CustomProperties

              • get Document(): DocumentWrapper

                Returns DocumentWrapper

              • get Endnotes(): EndnotesWrapper

                Returns EndnotesWrapper

              • get FileRelationships(): Relationships

                Returns Relationships

              • get FootNotes(): FootnotesWrapper

                Returns FootnotesWrapper

              diff --git a/api/classes/FileChild.html b/api/classes/FileChild.html index 04826854d4..91237121e1 100644 --- a/api/classes/FileChild.html +++ b/api/classes/FileChild.html @@ -1,18 +1,18 @@ FileChild | docx
              docx
                Preparing search index...

                Class FileChild

                Base class for document body children.

                FileChild represents a block-level element that can be added directly to the document body. Examples include Paragraph and Table.

                -

                Hierarchy (View Summary)

                Index

                Constructors

                Hierarchy (View Summary)

                Index

                Constructors

                Properties

                Methods

                Constructors

                Properties

                fileChild: symbol = ...

                Marker property identifying this as a FileChild

                -

                Methods

                Returns FileChild

                Properties

                fileChild: symbol = ...

                Marker property identifying this as a FileChild

                +

                Methods

                • Prepares this component and its children for XML serialization.

                  This method is called by the Formatter to convert the component tree into an object structure compatible with the xml library (https://www.npmjs.com/package/xml). It recursively processes all children and handles special cases like @@ -24,4 +24,4 @@ or execute side effects during serialization (e.g., creating relationships).

                  // Override to add custom serialization logic
                  prepForXml(context: IContext): IXmlableObject | undefined {
                  // Custom logic here
                  return super.prepForXml(context);
                  }
                  -
                +
                diff --git a/api/classes/FootNoteReferenceRunAttributes.html b/api/classes/FootNoteReferenceRunAttributes.html index 4b8be7d9e5..7964288f53 100644 --- a/api/classes/FootNoteReferenceRunAttributes.html +++ b/api/classes/FootNoteReferenceRunAttributes.html @@ -1,12 +1,12 @@ FootNoteReferenceRunAttributes | docx
                docx
                  Preparing search index...

                  Class FootNoteReferenceRunAttributesInternal

                  Represents the attributes for a footnote reference element.

                  -

                  Hierarchy (View Summary)

                  Index

                  Constructors

                  Hierarchy (View Summary)

                  Index

                  Constructors

                  Methods

                  Constructors

                  Methods

                  Returns FootNoteReferenceRunAttributes

                  Methods

                  +
                  diff --git a/api/classes/FootNotes.html b/api/classes/FootNotes.html index 5b86f51c13..779de07f66 100644 --- a/api/classes/FootNotes.html +++ b/api/classes/FootNotes.html @@ -11,18 +11,18 @@ line used when footnotes continue across pages.

                  // FootNotes is typically managed internally by the Document class
                  // Users create footnotes through the Document API
                  const doc = new Document({
                  sections: [{
                  children: [
                  new Paragraph({
                  children: [
                  new TextRun("Text with footnote"),
                  new FootnoteReferenceRun(1),
                  ],
                  }),
                  ],
                  footnotes: {
                  1: {
                  children: [new Paragraph("Footnote content")],
                  },
                  },
                  }],
                  });
                  -

                  Hierarchy (View Summary)

                  Index

                  Constructors

                  Hierarchy (View Summary)

                  Index

                  Constructors

                  Methods

                  Constructors

                  Methods

                  • Creates and adds a new footnote to the collection.

                    Parameters

                    • id: number

                      Unique numeric identifier for the footnote

                    • paragraph: readonly Paragraph[]

                      Array of paragraphs that make up the footnote content

                      -

                    Returns void

                  • Prepares this component and its children for XML serialization.

                    +

                  Returns void

                  • Prepares this component and its children for XML serialization.

                    This method is called by the Formatter to convert the component tree into an object structure compatible with the xml library (https://www.npmjs.com/package/xml). It recursively processes all children and handles special cases like @@ -34,4 +34,4 @@ or execute side effects during serialization (e.g., creating relationships).

                    // Override to add custom serialization logic
                    prepForXml(context: IContext): IXmlableObject | undefined {
                    // Custom logic here
                    return super.prepForXml(context);
                    }
                    -
                  +
                  diff --git a/api/classes/Footer.html b/api/classes/Footer.html index 6918f60b72..6270e9f038 100644 --- a/api/classes/Footer.html +++ b/api/classes/Footer.html @@ -4,6 +4,6 @@ paragraphs, tables, images, and other content.

                  const footer = new Footer({
                  children: [
                  new Paragraph({ children: [new TextRun("Page "), PageNumber.CURRENT] }),
                  ],
                  });
                  -
                  Index

                  Constructors

                  Index

                  Constructors

                  Properties

                  Constructors

                  Properties

                  +

                  Constructors

                  Properties

                  diff --git a/api/classes/FooterWrapper.html b/api/classes/FooterWrapper.html index e1b6cfc284..0227f4f365 100644 --- a/api/classes/FooterWrapper.html +++ b/api/classes/FooterWrapper.html @@ -6,10 +6,10 @@ Each section can have multiple footers for different page types.

                  const footerWrapper = new FooterWrapper(media, 1);
                  footerWrapper.add(new Paragraph("Page Footer"));
                  footerWrapper.add(new Table({
                  rows: [new TableRow({ children: [new TableCell({ children: [new Paragraph("Cell")] })] })],
                  }));
                  -

                  Implements

                  • IViewWrapper
                  Index

                  Constructors

                  Implements

                  • IViewWrapper
                  Index

                  Constructors

                  Accessors

                  Methods

                  Constructors

                  Accessors

                  • get Relationships(): Relationships

                    Returns Relationships

                  Methods

                  +

                  Constructors

                  Accessors

                  • get Relationships(): Relationships

                    Returns Relationships

                  Methods

                  diff --git a/api/classes/FootnoteReference.html b/api/classes/FootnoteReference.html index 33fede5d1e..a24c853f9b 100644 --- a/api/classes/FootnoteReference.html +++ b/api/classes/FootnoteReference.html @@ -5,14 +5,14 @@ and the footnote content by using a unique identifier.

                  <xsd:complexType name="CT_FtnEdnRef">
                  <xsd:attribute name="customMarkFollows" type="s:ST_OnOff" use="optional"/>
                  <xsd:attribute name="id" use="required" type="ST_DecimalNumber"/>
                  </xsd:complexType>
                  -

                  Hierarchy (View Summary)

                  Index

                  Constructors

                  Hierarchy (View Summary)

                  Index

                  Constructors

                  Methods

                  Constructors

                  Methods

                  • Prepares this component and its children for XML serialization.

                    This method is called by the Formatter to convert the component tree into an object structure compatible with the xml library (https://www.npmjs.com/package/xml). It recursively processes all children and handles special cases like @@ -24,4 +24,4 @@ or execute side effects during serialization (e.g., creating relationships).

                    // Override to add custom serialization logic
                    prepForXml(context: IContext): IXmlableObject | undefined {
                    // Custom logic here
                    return super.prepForXml(context);
                    }
                    -
                  +
                  diff --git a/api/classes/FootnoteReferenceElement.html b/api/classes/FootnoteReferenceElement.html index 17749a1b71..f63b5c8f96 100644 --- a/api/classes/FootnoteReferenceElement.html +++ b/api/classes/FootnoteReferenceElement.html @@ -1,13 +1,13 @@ FootnoteReferenceElement | docx
                  docx
                    Preparing search index...

                    Class FootnoteReferenceElement

                    Represents a reference to a footnote.

                    Used within footnote content to refer back to the footnote marker.

                    -

                    Hierarchy (View Summary)

                    Index

                    Constructors

                    Hierarchy (View Summary)

                    Index

                    Constructors

                    Methods

                    Constructors

                    Methods

                    • Prepares this component and its children for XML serialization.

                      This method is called by the Formatter to convert the component tree into an object structure compatible with the xml library (https://www.npmjs.com/package/xml). It recursively processes all children and handles special cases like @@ -19,4 +19,4 @@ or execute side effects during serialization (e.g., creating relationships).

                      // Override to add custom serialization logic
                      prepForXml(context: IContext): IXmlableObject | undefined {
                      // Custom logic here
                      return super.prepForXml(context);
                      }
                      -
                    +
                    diff --git a/api/classes/FootnoteReferenceRun.html b/api/classes/FootnoteReferenceRun.html index c111e95745..0a8320fffa 100644 --- a/api/classes/FootnoteReferenceRun.html +++ b/api/classes/FootnoteReferenceRun.html @@ -6,16 +6,16 @@ Clicking this marker navigates to the corresponding footnote content.

                    // Add a footnote reference in a paragraph
                    new Paragraph({
                    children: [
                    new TextRun("This text has a footnote"),
                    new FootnoteReferenceRun(1),
                    ],
                    });
                    -

                    Hierarchy (View Summary)

                    • Run
                      • FootnoteReferenceRun
                    Index

                    Constructors

                    Hierarchy (View Summary)

                    • Run
                      • FootnoteReferenceRun
                    Index

                    Constructors

                    Methods

                    Returns FootnoteReferenceRun

                    Methods

                    • Prepares this component and its children for XML serialization.

                      This method is called by the Formatter to convert the component tree into an object structure compatible with the xml library (https://www.npmjs.com/package/xml). It recursively processes all children and handles special cases like @@ -27,4 +27,4 @@ or execute side effects during serialization (e.g., creating relationships).

                      // Override to add custom serialization logic
                      prepForXml(context: IContext): IXmlableObject | undefined {
                      // Custom logic here
                      return super.prepForXml(context);
                      }
                      -
                    +
                    diff --git a/api/classes/GridSpan.html b/api/classes/GridSpan.html index 76b289559c..87c9829be8 100644 --- a/api/classes/GridSpan.html +++ b/api/classes/GridSpan.html @@ -9,14 +9,14 @@ in the table grid. This is used to merge cells horizontally (column span).

                    // Cell spanning 3 columns
                    new GridSpan(3);
                    -

                    Hierarchy (View Summary)

                    Index

                    Constructors

                    Hierarchy (View Summary)

                    Index

                    Constructors

                    Methods

                    Constructors

                    Methods

                    • Prepares this component and its children for XML serialization.

                      This method is called by the Formatter to convert the component tree into an object structure compatible with the xml library (https://www.npmjs.com/package/xml). It recursively processes all children and handles special cases like @@ -28,4 +28,4 @@ or execute side effects during serialization (e.g., creating relationships).

                      // Override to add custom serialization logic
                      prepForXml(context: IContext): IXmlableObject | undefined {
                      // Custom logic here
                      return super.prepForXml(context);
                      }
                      -
                    +
                    diff --git a/api/classes/Header.html b/api/classes/Header.html index 32d00e4662..2a00a83a5c 100644 --- a/api/classes/Header.html +++ b/api/classes/Header.html @@ -4,6 +4,6 @@ paragraphs, tables, images, and other content.

                    const header = new Header({
                    children: [
                    new Paragraph({ children: [new TextRun("Company Name")] }),
                    ],
                    });
                    -
                    Index

                    Constructors

                    Index

                    Constructors

                    Properties

                    Constructors

                    Properties

                    +

                    Constructors

                    Properties

                    diff --git a/api/classes/HeaderWrapper.html b/api/classes/HeaderWrapper.html index a5d1992fbc..22e7c0866b 100644 --- a/api/classes/HeaderWrapper.html +++ b/api/classes/HeaderWrapper.html @@ -6,10 +6,10 @@ Each section can have multiple headers for different page types.

                    const headerWrapper = new HeaderWrapper(media, 1);
                    headerWrapper.add(new Paragraph("Page Header"));
                    headerWrapper.add(new Table({
                    rows: [new TableRow({ children: [new TableCell({ children: [new Paragraph("Cell")] })] })],
                    }));
                    -

                    Implements

                    • IViewWrapper
                    Index

                    Constructors

                    Implements

                    • IViewWrapper
                    Index

                    Constructors

                    Accessors

                    Methods

                    Constructors

                    Accessors

                    • get Relationships(): Relationships

                      Returns Relationships

                    Methods

                    +

                    Constructors

                    Accessors

                    • get Relationships(): Relationships

                      Returns Relationships

                    Methods

                    diff --git a/api/classes/HpsMeasureElement.html b/api/classes/HpsMeasureElement.html index afeb3bd2ea..1b5ac3bdaf 100644 --- a/api/classes/HpsMeasureElement.html +++ b/api/classes/HpsMeasureElement.html @@ -8,17 +8,17 @@ Values can be specified as numbers (interpreted as half-points) or with explicit
                    // Font size of 24 half-points (12pt)
                    new HpsMeasureElement("w:sz", 24);
                    // Generates: <w:sz w:val="24"/>

                    // Using explicit units
                    new HpsMeasureElement("w:sz", "12pt");
                    -

                    Hierarchy (View Summary)

                    Index

                    Constructors

                    Hierarchy (View Summary)

                    Index

                    Constructors

                    • Creates an HpsMeasureElement.

                      Parameters

                      • name: string

                        The XML element name

                      • val:
                            | number
                            | `${number}mm`
                            | `${number}cm`
                            | `${number}in`
                            | `${number}pt`
                            | `${number}pc`
                            | `${number}pi`

                        The measurement value (number in half-points or string with units)

                        -

                      Returns HpsMeasureElement

                    Methods

                    Returns HpsMeasureElement

                    Methods

                    • Prepares this component and its children for XML serialization.

                      This method is called by the Formatter to convert the component tree into an object structure compatible with the xml library (https://www.npmjs.com/package/xml). It recursively processes all children and handles special cases like @@ -30,4 +30,4 @@ or execute side effects during serialization (e.g., creating relationships).

                      // Override to add custom serialization logic
                      prepForXml(context: IContext): IXmlableObject | undefined {
                      // Custom logic here
                      return super.prepForXml(context);
                      }
                      -
                    +
                    diff --git a/api/classes/IgnoreIfEmptyXmlComponent.html b/api/classes/IgnoreIfEmptyXmlComponent.html index bdf0590b91..593fc3ef97 100644 --- a/api/classes/IgnoreIfEmptyXmlComponent.html +++ b/api/classes/IgnoreIfEmptyXmlComponent.html @@ -6,14 +6,14 @@ to be excluded from the output.

                    class OptionalContainer extends IgnoreIfEmptyXmlComponent {
                    constructor(items?: Item[]) {
                    super("w:container");
                    if (items) {
                    items.forEach(item => this.root.push(item));
                    }
                    }
                    }

                    const container1 = new OptionalContainer([item1, item2]);
                    // Renders: <w:container>...</w:container>

                    const container2 = new OptionalContainer();
                    // Renders: nothing (excluded from output)
                    -

                    Hierarchy (View Summary)

                    Index

                    Constructors

                    Hierarchy (View Summary)

                    Index

                    Constructors

                    Methods

                    Constructors

                    Methods

                    +
                    diff --git a/api/classes/ImageRun.html b/api/classes/ImageRun.html index 484cb92370..c602122382 100644 --- a/api/classes/ImageRun.html +++ b/api/classes/ImageRun.html @@ -6,14 +6,14 @@ including JPG, PNG, GIF, BMP, and SVG. Optionally wraps the run in
                    new ImageRun({
                    data: fs.readFileSync("./image.png"),
                    transformation: {
                    width: 100,
                    height: 100,
                    },
                    type: "png",
                    });
                    -

                    Hierarchy (View Summary)

                    Index

                    Constructors

                    Hierarchy (View Summary)

                    Index

                    Constructors

                    Methods

                    Constructors

                    Methods

                    • Prepares this component and its children for XML serialization.

                      This method is called by the Formatter to convert the component tree into an object structure compatible with the xml library (https://www.npmjs.com/package/xml). It recursively processes all children and handles special cases like @@ -25,4 +25,4 @@ or execute side effects during serialization (e.g., creating relationships).

                      // Override to add custom serialization logic
                      prepForXml(context: IContext): IXmlableObject | undefined {
                      // Custom logic here
                      return super.prepForXml(context);
                      }
                      -
                    +
                    diff --git a/api/classes/ImportedRootElementAttributes.html b/api/classes/ImportedRootElementAttributes.html index c3fb08d8ee..f9024168f4 100644 --- a/api/classes/ImportedRootElementAttributes.html +++ b/api/classes/ImportedRootElementAttributes.html @@ -5,16 +5,16 @@ attributes without transformation.

                    const attrs = new ImportedRootElementAttributes({
                    "xmlns:w": "http://schemas.openxmlformats.org/wordprocessingml/2006/main"
                    });
                    -

                    Hierarchy (View Summary)

                    Index

                    Constructors

                    Hierarchy (View Summary)

                    Index

                    Constructors

                    Methods

                    Returns ImportedRootElementAttributes

                    Methods

                    +
                    diff --git a/api/classes/ImportedXmlComponent.html b/api/classes/ImportedXmlComponent.html index 6443c95c4e..d95bd8d4e4 100644 --- a/api/classes/ImportedXmlComponent.html +++ b/api/classes/ImportedXmlComponent.html @@ -5,7 +5,7 @@ templates or when you need to include pre-existing XML fragments.

                    // Parse XML string into component tree
                    const component = ImportedXmlComponent.fromXmlString(
                    '<w:p><w:r><w:t>Hello World</w:t></w:r></w:p>'
                    );

                    // Manually create an imported component
                    const element = new ImportedXmlComponent("w:customElement", { "w:val": "value" });
                    element.push(new ImportedXmlComponent("w:child"));
                    -

                    Hierarchy (View Summary)

                    Index

                    Constructors

                    Hierarchy (View Summary)

                    Index

                    Constructors

                    Methods

                    addChildElement prepForXml push @@ -13,11 +13,11 @@ templates or when you need to include pre-existing XML fragments.

                    Constructors

                    Methods

                    Returns ImportedXmlComponent

                    Methods

                    • Prepares this component and its children for XML serialization.

                      This method is called by the Formatter to convert the component tree into an object structure compatible with the xml library (https://www.npmjs.com/package/xml). It recursively processes all children and handles special cases like @@ -29,9 +29,9 @@ or execute side effects during serialization (e.g., creating relationships).

                      // Override to add custom serialization logic
                      prepForXml(context: IContext): IXmlableObject | undefined {
                      // Custom logic here
                      return super.prepForXml(context);
                      }
                      -
                    • Parses an XML string and converts it to an ImportedXmlComponent tree.

                      +

                    Returns void

                    • Parses an XML string and converts it to an ImportedXmlComponent tree.

                      This static method is the primary way to import external XML content. It uses xml-js to parse the XML string into a JSON representation, then converts that into a tree of XmlComponent objects.

                      @@ -40,4 +40,4 @@ then converts that into a tree of XmlComponent objects.

                      const xml = '<w:p><w:r><w:t>Hello</w:t></w:r></w:p>';
                      const component = ImportedXmlComponent.fromXmlString(xml);
                      -
                    +
                    diff --git a/api/classes/InitializableXmlComponent.html b/api/classes/InitializableXmlComponent.html index 043202d10d..c14400e9e4 100644 --- a/api/classes/InitializableXmlComponent.html +++ b/api/classes/InitializableXmlComponent.html @@ -5,17 +5,17 @@ create a new component that shares or extends the children of an existing compon
                    class MyElement extends InitializableXmlComponent {
                    constructor(init?: MyElement) {
                    super("w:myElement", init);
                    // If init is provided, this.root is copied from init
                    // Otherwise, this.root is an empty array
                    }
                    }

                    const element1 = new MyElement();
                    element1.addChildElement(new TextRun("Hello"));

                    const element2 = new MyElement(element1);
                    // element2 now has the same children as element1
                    -

                    Hierarchy (View Summary)

                    Index

                    Constructors

                    Hierarchy (View Summary)

                    Index

                    Constructors

                    Methods

                    Returns InitializableXmlComponent

                    Methods

                    • Prepares this component and its children for XML serialization.

                      This method is called by the Formatter to convert the component tree into an object structure compatible with the xml library (https://www.npmjs.com/package/xml). It recursively processes all children and handles special cases like @@ -27,4 +27,4 @@ or execute side effects during serialization (e.g., creating relationships).

                      // Override to add custom serialization logic
                      prepForXml(context: IContext): IXmlableObject | undefined {
                      // Custom logic here
                      return super.prepForXml(context);
                      }
                      -
                    +
                    diff --git a/api/classes/InsertedTableCell.html b/api/classes/InsertedTableCell.html index 7bad0ab401..0dccf12c1b 100644 --- a/api/classes/InsertedTableCell.html +++ b/api/classes/InsertedTableCell.html @@ -6,14 +6,14 @@ the intermediate object format used by the xml serialization library.

                    // Creating a custom XML component
                    class MyElement extends XmlComponent {
                    constructor(text: string) {
                    super("w:myElement");
                    this.root.push(new Attributes({ val: text }));
                    }
                    }

                    const element = new MyElement("Hello");
                    // When serialized: <w:myElement w:val="Hello"/>
                    -

                    Hierarchy (View Summary)

                    Index

                    Constructors

                    Hierarchy (View Summary)

                    Index

                    Constructors

                    Methods

                    Constructors

                    Methods

                    • Prepares this component and its children for XML serialization.

                      This method is called by the Formatter to convert the component tree into an object structure compatible with the xml library (https://www.npmjs.com/package/xml). It recursively processes all children and handles special cases like @@ -25,4 +25,4 @@ or execute side effects during serialization (e.g., creating relationships).

                      // Override to add custom serialization logic
                      prepForXml(context: IContext): IXmlableObject | undefined {
                      // Custom logic here
                      return super.prepForXml(context);
                      }
                      -
                    +
                    diff --git a/api/classes/InsertedTableRow.html b/api/classes/InsertedTableRow.html index 95788ee3e7..9fb1e27512 100644 --- a/api/classes/InsertedTableRow.html +++ b/api/classes/InsertedTableRow.html @@ -6,14 +6,14 @@ the intermediate object format used by the xml serialization library.

                    // Creating a custom XML component
                    class MyElement extends XmlComponent {
                    constructor(text: string) {
                    super("w:myElement");
                    this.root.push(new Attributes({ val: text }));
                    }
                    }

                    const element = new MyElement("Hello");
                    // When serialized: <w:myElement w:val="Hello"/>
                    -

                    Hierarchy (View Summary)

                    Index

                    Constructors

                    Hierarchy (View Summary)

                    Index

                    Constructors

                    Methods

                    Constructors

                    Methods

                    • Prepares this component and its children for XML serialization.

                      This method is called by the Formatter to convert the component tree into an object structure compatible with the xml library (https://www.npmjs.com/package/xml). It recursively processes all children and handles special cases like @@ -25,4 +25,4 @@ or execute side effects during serialization (e.g., creating relationships).

                      // Override to add custom serialization logic
                      prepForXml(context: IContext): IXmlableObject | undefined {
                      // Custom logic here
                      return super.prepForXml(context);
                      }
                      -
                    +
                    diff --git a/api/classes/InsertedTextRun.html b/api/classes/InsertedTextRun.html index 49dc12cef1..5005a29e74 100644 --- a/api/classes/InsertedTextRun.html +++ b/api/classes/InsertedTextRun.html @@ -10,14 +10,14 @@ made the insertion and when.

                    // Create an inserted text run
                    new InsertedTextRun({
                    id: 1,
                    author: "John Doe",
                    date: "2024-01-15T10:30:00Z",
                    text: "This text was added",
                    bold: true
                    });
                    -

                    Hierarchy (View Summary)

                    Index

                    Constructors

                    Hierarchy (View Summary)

                    Index

                    Constructors

                    Methods

                    Constructors

                    Methods

                    • Prepares this component and its children for XML serialization.

                      This method is called by the Formatter to convert the component tree into an object structure compatible with the xml library (https://www.npmjs.com/package/xml). It recursively processes all children and handles special cases like @@ -29,4 +29,4 @@ or execute side effects during serialization (e.g., creating relationships).

                      // Override to add custom serialization logic
                      prepForXml(context: IContext): IXmlableObject | undefined {
                      // Custom logic here
                      return super.prepForXml(context);
                      }
                      -
                    +
                    diff --git a/api/classes/InternalHyperlink.html b/api/classes/InternalHyperlink.html index e9e76437b9..e42c7adcdc 100644 --- a/api/classes/InternalHyperlink.html +++ b/api/classes/InternalHyperlink.html @@ -9,15 +9,15 @@ The bookmark must exist in the document for the hyperlink to function.

                    // Create a bookmark
                    new Bookmark({
                    id: "section1",
                    children: [new TextRun("Section 1")],
                    });

                    // Link to the bookmark
                    new InternalHyperlink({
                    children: [new TextRun({ text: "Go to Section 1", style: "Hyperlink" })],
                    anchor: "section1",
                    });
                    -

                    Hierarchy (View Summary)

                    Index

                    Constructors

                    Hierarchy (View Summary)

                    Index

                    Constructors

                    Properties

                    Methods

                    Constructors

                    Properties

                    linkId: string

                    Methods

                    Constructors

                    Properties

                    linkId: string

                    Methods

                    • Prepares this component and its children for XML serialization.

                      This method is called by the Formatter to convert the component tree into an object structure compatible with the xml library (https://www.npmjs.com/package/xml). It recursively processes all children and handles special cases like @@ -29,4 +29,4 @@ or execute side effects during serialization (e.g., creating relationships).

                      // Override to add custom serialization logic
                      prepForXml(context: IContext): IXmlableObject | undefined {
                      // Custom logic here
                      return super.prepForXml(context);
                      }
                      -
                    +
                    diff --git a/api/classes/LastRenderedPageBreak.html b/api/classes/LastRenderedPageBreak.html index 0864c6df0b..bbae5c2645 100644 --- a/api/classes/LastRenderedPageBreak.html +++ b/api/classes/LastRenderedPageBreak.html @@ -1,14 +1,14 @@ LastRenderedPageBreak | docx
                    docx
                      Preparing search index...

                      Class LastRenderedPageBreak

                      Represents the last rendered page break location.

                      Used internally by Word to track where page breaks occurred in the last rendering. This is typically generated by Word and not created manually.

                      -

                      Hierarchy (View Summary)

                      Index

                      Constructors

                      Hierarchy (View Summary)

                      Index

                      Constructors

                      Methods

                      Constructors

                      Methods

                      • Prepares this component and its children for XML serialization.

                        This method is called by the Formatter to convert the component tree into an object structure compatible with the xml library (https://www.npmjs.com/package/xml). It recursively processes all children and handles special cases like @@ -20,4 +20,4 @@ or execute side effects during serialization (e.g., creating relationships).

                        // Override to add custom serialization logic
                        prepForXml(context: IContext): IXmlableObject | undefined {
                        // Custom logic here
                        return super.prepForXml(context);
                        }
                        -
                      +
                      diff --git a/api/classes/Level.html b/api/classes/Level.html index d0993b4fd7..9e2bf189f9 100644 --- a/api/classes/Level.html +++ b/api/classes/Level.html @@ -5,17 +5,17 @@ Each abstract numbering definition can contain up to 9 levels (0-8).

                      // Create a decimal numbered level
                      const level = new Level({
                      level: 0,
                      format: LevelFormat.DECIMAL,
                      text: "%1.",
                      alignment: AlignmentType.LEFT,
                      start: 1,
                      });

                      // Create a bullet level with custom styling
                      const bulletLevel = new Level({
                      level: 0,
                      format: LevelFormat.BULLET,
                      text: "\u2022",
                      alignment: AlignmentType.LEFT,
                      style: {
                      paragraph: {
                      indent: { left: 720, hanging: 360 },
                      },
                      },
                      });
                      -

                      Hierarchy (View Summary)

                      Index

                      Constructors

                      Hierarchy (View Summary)

                      Index

                      Constructors

                      Methods

                      Methods

                      • Prepares this component and its children for XML serialization.

                        This method is called by the Formatter to convert the component tree into an object structure compatible with the xml library (https://www.npmjs.com/package/xml). It recursively processes all children and handles special cases like @@ -27,4 +27,4 @@ or execute side effects during serialization (e.g., creating relationships).

                        // Override to add custom serialization logic
                        prepForXml(context: IContext): IXmlableObject | undefined {
                        // Custom logic here
                        return super.prepForXml(context);
                        }
                        -
                      +
                      diff --git a/api/classes/LevelBase.html b/api/classes/LevelBase.html index b33fec8029..ce554ff21b 100644 --- a/api/classes/LevelBase.html +++ b/api/classes/LevelBase.html @@ -7,17 +7,17 @@ alignment, and styling.

                      <xsd:complexType name="CT_Lvl">
                      <xsd:sequence>
                      <xsd:element name="start" type="CT_DecimalNumber" minOccurs="0"/>
                      <xsd:element name="numFmt" type="CT_NumFmt" minOccurs="0"/>
                      <xsd:element name="lvlRestart" type="CT_DecimalNumber" minOccurs="0"/>
                      <xsd:element name="pStyle" type="CT_String" minOccurs="0"/>
                      <xsd:element name="isLgl" type="CT_OnOff" minOccurs="0"/>
                      <xsd:element name="suff" type="CT_LevelSuffix" minOccurs="0"/>
                      <xsd:element name="lvlText" type="CT_LevelText" minOccurs="0"/>
                      <xsd:element name="lvlPicBulletId" type="CT_DecimalNumber" minOccurs="0"/>
                      <xsd:element name="legacy" type="CT_LvlLegacy" minOccurs="0"/>
                      <xsd:element name="lvlJc" type="CT_Jc" minOccurs="0"/>
                      <xsd:element name="pPr" type="CT_PPrGeneral" minOccurs="0"/>
                      <xsd:element name="rPr" type="CT_RPr" minOccurs="0"/>
                      </xsd:sequence>
                      <xsd:attribute name="ilvl" type="ST_DecimalNumber" use="required"/>
                      <xsd:attribute name="tplc" type="ST_LongHexNumber" use="optional"/>
                      <xsd:attribute name="tentative" type="s:ST_OnOff" use="optional"/>
                      </xsd:complexType>
                      -

                      Hierarchy (View Summary)

                      Index

                      Constructors

                      Hierarchy (View Summary)

                      Index

                      Constructors

                      Methods

                      Methods

                      • Prepares this component and its children for XML serialization.

                        This method is called by the Formatter to convert the component tree into an object structure compatible with the xml library (https://www.npmjs.com/package/xml). It recursively processes all children and handles special cases like @@ -29,4 +29,4 @@ or execute side effects during serialization (e.g., creating relationships).

                        // Override to add custom serialization logic
                        prepForXml(context: IContext): IXmlableObject | undefined {
                        // Custom logic here
                        return super.prepForXml(context);
                        }
                        -
                      +
                      diff --git a/api/classes/LevelForOverride.html b/api/classes/LevelForOverride.html index ab365a2611..446048d059 100644 --- a/api/classes/LevelForOverride.html +++ b/api/classes/LevelForOverride.html @@ -1,17 +1,17 @@ LevelForOverride | docx
                      docx
                        Preparing search index...

                        Class LevelForOverride

                        Represents a numbering level used in level overrides.

                        This level type is used when overriding specific levels within a concrete numbering instance.

                        -

                        Hierarchy (View Summary)

                        Index

                        Constructors

                        Hierarchy (View Summary)

                        Index

                        Constructors

                        Methods

                        Methods

                        • Prepares this component and its children for XML serialization.

                          This method is called by the Formatter to convert the component tree into an object structure compatible with the xml library (https://www.npmjs.com/package/xml). It recursively processes all children and handles special cases like @@ -23,4 +23,4 @@ or execute side effects during serialization (e.g., creating relationships).

                          // Override to add custom serialization logic
                          prepForXml(context: IContext): IXmlableObject | undefined {
                          // Custom logic here
                          return super.prepForXml(context);
                          }
                          -
                        +
                        diff --git a/api/classes/LevelOverride.html b/api/classes/LevelOverride.html index 7db1ca7720..53fe467db3 100644 --- a/api/classes/LevelOverride.html +++ b/api/classes/LevelOverride.html @@ -5,17 +5,17 @@ instance, such as changing the starting number.

                        <xsd:complexType name="CT_NumLvl">
                        <xsd:sequence>
                        <xsd:element name="startOverride" type="CT_DecimalNumber" minOccurs="0"/>
                        <xsd:element name="lvl" type="CT_Lvl" minOccurs="0" maxOccurs="1"/>
                        </xsd:sequence>
                        <xsd:attribute name="ilvl" type="ST_DecimalNumber" use="required"/>
                        </xsd:complexType>
                        -

                        Hierarchy (View Summary)

                        Index

                        Constructors

                        Hierarchy (View Summary)

                        Index

                        Constructors

                        Methods

                        Returns LevelOverride

                        Methods

                        • Prepares this component and its children for XML serialization.

                          This method is called by the Formatter to convert the component tree into an object structure compatible with the xml library (https://www.npmjs.com/package/xml). It recursively processes all children and handles special cases like @@ -27,4 +27,4 @@ or execute side effects during serialization (e.g., creating relationships).

                          // Override to add custom serialization logic
                          prepForXml(context: IContext): IXmlableObject | undefined {
                          // Custom logic here
                          return super.prepForXml(context);
                          }
                          -
                        +
                        diff --git a/api/classes/Math.html b/api/classes/Math.html index 028b90fd5a..cdb409ce18 100644 --- a/api/classes/Math.html +++ b/api/classes/Math.html @@ -9,14 +9,14 @@ fractions, radicals, integrals, sums, scripts, and more.

                        new Math({
                        children: [
                        new MathFraction({
                        numerator: [new MathRun("a")],
                        denominator: [new MathRun("b")],
                        }),
                        ],
                        });
                        -

                        Hierarchy (View Summary)

                        Index

                        Constructors

                        Hierarchy (View Summary)

                        Index

                        Constructors

                        Methods

                        Constructors

                        Methods

                        • Prepares this component and its children for XML serialization.

                          This method is called by the Formatter to convert the component tree into an object structure compatible with the xml library (https://www.npmjs.com/package/xml). It recursively processes all children and handles special cases like @@ -28,4 +28,4 @@ or execute side effects during serialization (e.g., creating relationships).

                          // Override to add custom serialization logic
                          prepForXml(context: IContext): IXmlableObject | undefined {
                          // Custom logic here
                          return super.prepForXml(context);
                          }
                          -
                        +
                        diff --git a/api/classes/MathAngledBrackets.html b/api/classes/MathAngledBrackets.html index 7a9dd98abd..52e889fd29 100644 --- a/api/classes/MathAngledBrackets.html +++ b/api/classes/MathAngledBrackets.html @@ -4,14 +4,14 @@
                        new MathAngledBrackets({ children: [new MathRun("x, y")] });
                         
                        -

                        Hierarchy (View Summary)

                        Index

                        Constructors

                        Hierarchy (View Summary)

                        Index

                        Constructors

                        Methods

                        Constructors

                        Methods

                        • Prepares this component and its children for XML serialization.

                          This method is called by the Formatter to convert the component tree into an object structure compatible with the xml library (https://www.npmjs.com/package/xml). It recursively processes all children and handles special cases like @@ -23,4 +23,4 @@ or execute side effects during serialization (e.g., creating relationships).

                          // Override to add custom serialization logic
                          prepForXml(context: IContext): IXmlableObject | undefined {
                          // Custom logic here
                          return super.prepForXml(context);
                          }
                          -
                        +
                        diff --git a/api/classes/MathCurlyBrackets.html b/api/classes/MathCurlyBrackets.html index e468634e87..7133a7c0b2 100644 --- a/api/classes/MathCurlyBrackets.html +++ b/api/classes/MathCurlyBrackets.html @@ -4,14 +4,14 @@
                        new MathCurlyBrackets({ children: [new MathRun("x + y")] });
                         
                        -

                        Hierarchy (View Summary)

                        Index

                        Constructors

                        Hierarchy (View Summary)

                        Index

                        Constructors

                        Methods

                        Constructors

                        Methods

                        • Prepares this component and its children for XML serialization.

                          This method is called by the Formatter to convert the component tree into an object structure compatible with the xml library (https://www.npmjs.com/package/xml). It recursively processes all children and handles special cases like @@ -23,4 +23,4 @@ or execute side effects during serialization (e.g., creating relationships).

                          // Override to add custom serialization logic
                          prepForXml(context: IContext): IXmlableObject | undefined {
                          // Custom logic here
                          return super.prepForXml(context);
                          }
                          -
                        +
                        diff --git a/api/classes/MathDegree.html b/api/classes/MathDegree.html index 4ddf8a910b..fd2cfcc5c5 100644 --- a/api/classes/MathDegree.html +++ b/api/classes/MathDegree.html @@ -6,14 +6,14 @@ For square roots, this element is typically hidden.

                        <xsd:complexType name="CT_OMathArg">
                        <xsd:sequence>
                        <xsd:element name="argPr" type="CT_OMathArgPr" minOccurs="0"/>
                        <xsd:group ref="EG_OMathMathElements" minOccurs="0" maxOccurs="unbounded"/>
                        <xsd:element name="ctrlPr" type="CT_CtrlPr" minOccurs="0"/>
                        </xsd:sequence>
                        </xsd:complexType>
                        -

                        Hierarchy (View Summary)

                        Index

                        Constructors

                        Hierarchy (View Summary)

                        Index

                        Constructors

                        Methods

                        Constructors

                        Methods

                        • Prepares this component and its children for XML serialization.

                          This method is called by the Formatter to convert the component tree into an object structure compatible with the xml library (https://www.npmjs.com/package/xml). It recursively processes all children and handles special cases like @@ -25,4 +25,4 @@ or execute side effects during serialization (e.g., creating relationships).

                          // Override to add custom serialization logic
                          prepForXml(context: IContext): IXmlableObject | undefined {
                          // Custom logic here
                          return super.prepForXml(context);
                          }
                          -
                        +
                        diff --git a/api/classes/MathDenominator.html b/api/classes/MathDenominator.html index 47127f77ab..efe331efc4 100644 --- a/api/classes/MathDenominator.html +++ b/api/classes/MathDenominator.html @@ -1,12 +1,12 @@ MathDenominator | docx
                        docx
                          Preparing search index...

                          Class MathDenominatorInternal

                          Represents the denominator (bottom part) of a fraction.

                          -

                          Hierarchy (View Summary)

                          Index

                          Constructors

                          Hierarchy (View Summary)

                          Index

                          Constructors

                          Methods

                          Constructors

                          Methods

                          • Prepares this component and its children for XML serialization.

                            This method is called by the Formatter to convert the component tree into an object structure compatible with the xml library (https://www.npmjs.com/package/xml). It recursively processes all children and handles special cases like @@ -18,4 +18,4 @@ or execute side effects during serialization (e.g., creating relationships).

                            // Override to add custom serialization logic
                            prepForXml(context: IContext): IXmlableObject | undefined {
                            // Custom logic here
                            return super.prepForXml(context);
                            }
                            -
                          +
                          diff --git a/api/classes/MathFraction.html b/api/classes/MathFraction.html index aa8d3b3425..5f395bb854 100644 --- a/api/classes/MathFraction.html +++ b/api/classes/MathFraction.html @@ -8,14 +8,14 @@
                          new MathFraction({
                          numerator: [new MathRun("a + b")],
                          denominator: [new MathRun("c")],
                          });
                          -

                          Hierarchy (View Summary)

                          Index

                          Constructors

                          Hierarchy (View Summary)

                          Index

                          Constructors

                          Methods

                          Constructors

                          Methods

                          • Prepares this component and its children for XML serialization.

                            This method is called by the Formatter to convert the component tree into an object structure compatible with the xml library (https://www.npmjs.com/package/xml). It recursively processes all children and handles special cases like @@ -27,4 +27,4 @@ or execute side effects during serialization (e.g., creating relationships).

                            // Override to add custom serialization logic
                            prepForXml(context: IContext): IXmlableObject | undefined {
                            // Custom logic here
                            return super.prepForXml(context);
                            }
                            -
                          +
                          diff --git a/api/classes/MathFunction.html b/api/classes/MathFunction.html index 30f0c228bc..127b4ef3fd 100644 --- a/api/classes/MathFunction.html +++ b/api/classes/MathFunction.html @@ -9,14 +9,14 @@ such as sin(x), cos(θ), or log(n).

                          // sin(x)
                          new MathFunction({
                          name: [new MathRun("sin")],
                          children: [new MathRun("x")],
                          });
                          -

                          Hierarchy (View Summary)

                          Index

                          Constructors

                          Hierarchy (View Summary)

                          Index

                          Constructors

                          Methods

                          Constructors

                          Methods

                          • Prepares this component and its children for XML serialization.

                            This method is called by the Formatter to convert the component tree into an object structure compatible with the xml library (https://www.npmjs.com/package/xml). It recursively processes all children and handles special cases like @@ -28,4 +28,4 @@ or execute side effects during serialization (e.g., creating relationships).

                            // Override to add custom serialization logic
                            prepForXml(context: IContext): IXmlableObject | undefined {
                            // Custom logic here
                            return super.prepForXml(context);
                            }
                            -
                          +
                          diff --git a/api/classes/MathFunctionName.html b/api/classes/MathFunctionName.html index c22b1757fe..94e13665db 100644 --- a/api/classes/MathFunctionName.html +++ b/api/classes/MathFunctionName.html @@ -6,14 +6,14 @@ that appears before the function argument.

                          <xsd:complexType name="CT_OMathArg">
                          <xsd:sequence>
                          <xsd:element name="argPr" type="CT_OMathArgPr" minOccurs="0"/>
                          <xsd:group ref="EG_OMathMathElements" minOccurs="0" maxOccurs="unbounded"/>
                          <xsd:element name="ctrlPr" type="CT_CtrlPr" minOccurs="0"/>
                          </xsd:sequence>
                          </xsd:complexType>
                          -

                          Hierarchy (View Summary)

                          Index

                          Constructors

                          Hierarchy (View Summary)

                          Index

                          Constructors

                          Methods

                          Constructors

                          Methods

                          • Prepares this component and its children for XML serialization.

                            This method is called by the Formatter to convert the component tree into an object structure compatible with the xml library (https://www.npmjs.com/package/xml). It recursively processes all children and handles special cases like @@ -25,4 +25,4 @@ or execute side effects during serialization (e.g., creating relationships).

                            // Override to add custom serialization logic
                            prepForXml(context: IContext): IXmlableObject | undefined {
                            // Custom logic here
                            return super.prepForXml(context);
                            }
                            -
                          +
                          diff --git a/api/classes/MathFunctionProperties.html b/api/classes/MathFunctionProperties.html index 92200d5f2c..181505f756 100644 --- a/api/classes/MathFunctionProperties.html +++ b/api/classes/MathFunctionProperties.html @@ -6,14 +6,14 @@ such as function name alignment and spacing.

                          <xsd:complexType name="CT_FuncPr">
                          <xsd:sequence>
                          <xsd:element name="ctrlPr" type="CT_CtrlPr" minOccurs="0"/>
                          </xsd:sequence>
                          </xsd:complexType>
                          -

                          Hierarchy (View Summary)

                          Index

                          Constructors

                          Hierarchy (View Summary)

                          Index

                          Constructors

                          Methods

                          Constructors

                          Methods

                          • Prepares this component and its children for XML serialization.

                            This method is called by the Formatter to convert the component tree into an object structure compatible with the xml library (https://www.npmjs.com/package/xml). It recursively processes all children and handles special cases like @@ -25,4 +25,4 @@ or execute side effects during serialization (e.g., creating relationships).

                            // Override to add custom serialization logic
                            prepForXml(context: IContext): IXmlableObject | undefined {
                            // Custom logic here
                            return super.prepForXml(context);
                            }
                            -
                          +
                          diff --git a/api/classes/MathIntegral.html b/api/classes/MathIntegral.html index 8f84deafad..7085cb28e4 100644 --- a/api/classes/MathIntegral.html +++ b/api/classes/MathIntegral.html @@ -8,14 +8,14 @@
                          // Definite integral from 0 to 1
                          new MathIntegral({
                          children: [new MathRun("f(x) dx")],
                          subScript: [new MathRun("0")],
                          superScript: [new MathRun("1")],
                          });
                          -

                          Hierarchy (View Summary)

                          Index

                          Constructors

                          Hierarchy (View Summary)

                          Index

                          Constructors

                          Methods

                          Constructors

                          Methods

                          • Prepares this component and its children for XML serialization.

                            This method is called by the Formatter to convert the component tree into an object structure compatible with the xml library (https://www.npmjs.com/package/xml). It recursively processes all children and handles special cases like @@ -27,4 +27,4 @@ or execute side effects during serialization (e.g., creating relationships).

                            // Override to add custom serialization logic
                            prepForXml(context: IContext): IXmlableObject | undefined {
                            // Custom logic here
                            return super.prepForXml(context);
                            }
                            -
                          +
                          diff --git a/api/classes/MathLimit.html b/api/classes/MathLimit.html index c2ebb73433..46495b2c3e 100644 --- a/api/classes/MathLimit.html +++ b/api/classes/MathLimit.html @@ -6,14 +6,14 @@ expression that appears above or below the base.

                          <xsd:complexType name="CT_OMathArg">
                          <xsd:sequence>
                          <xsd:element name="argPr" type="CT_OMathArgPr" minOccurs="0"/>
                          <xsd:group ref="EG_OMathMathElements" minOccurs="0" maxOccurs="unbounded"/>
                          <xsd:element name="ctrlPr" type="CT_CtrlPr" minOccurs="0"/>
                          </xsd:sequence>
                          </xsd:complexType>
                          -

                          Hierarchy (View Summary)

                          Index

                          Constructors

                          Hierarchy (View Summary)

                          Index

                          Constructors

                          Methods

                          Constructors

                          Methods

                          • Prepares this component and its children for XML serialization.

                            This method is called by the Formatter to convert the component tree into an object structure compatible with the xml library (https://www.npmjs.com/package/xml). It recursively processes all children and handles special cases like @@ -25,4 +25,4 @@ or execute side effects during serialization (e.g., creating relationships).

                            // Override to add custom serialization logic
                            prepForXml(context: IContext): IXmlableObject | undefined {
                            // Custom logic here
                            return super.prepForXml(context);
                            }
                            -
                          +
                          diff --git a/api/classes/MathLimitLower.html b/api/classes/MathLimitLower.html index 5e84b1c1ff..2a2fc8251b 100644 --- a/api/classes/MathLimitLower.html +++ b/api/classes/MathLimitLower.html @@ -9,14 +9,14 @@ commonly used for limits in calculus (e.g., lim with x→0 below).

                          // lim with x→0 underneath
                          new MathLimitLower({
                          children: [new MathRun("lim")],
                          limit: [new MathRun("x→0")],
                          });
                          -

                          Hierarchy (View Summary)

                          Index

                          Constructors

                          Hierarchy (View Summary)

                          Index

                          Constructors

                          Methods

                          Constructors

                          Methods

                          • Prepares this component and its children for XML serialization.

                            This method is called by the Formatter to convert the component tree into an object structure compatible with the xml library (https://www.npmjs.com/package/xml). It recursively processes all children and handles special cases like @@ -28,4 +28,4 @@ or execute side effects during serialization (e.g., creating relationships).

                            // Override to add custom serialization logic
                            prepForXml(context: IContext): IXmlableObject | undefined {
                            // Custom logic here
                            return super.prepForXml(context);
                            }
                            -
                          +
                          diff --git a/api/classes/MathLimitUpper.html b/api/classes/MathLimitUpper.html index a78c0ee861..5bbecd1ee3 100644 --- a/api/classes/MathLimitUpper.html +++ b/api/classes/MathLimitUpper.html @@ -9,14 +9,14 @@ commonly used for mathematical notation like lim with conditions above.

                          // Expression with limit above
                          new MathLimitUpper({
                          children: [new MathRun("max")],
                          limit: [new MathRun("x∈S")],
                          });
                          -

                          Hierarchy (View Summary)

                          Index

                          Constructors

                          Hierarchy (View Summary)

                          Index

                          Constructors

                          Methods

                          Constructors

                          Methods

                          • Prepares this component and its children for XML serialization.

                            This method is called by the Formatter to convert the component tree into an object structure compatible with the xml library (https://www.npmjs.com/package/xml). It recursively processes all children and handles special cases like @@ -28,4 +28,4 @@ or execute side effects during serialization (e.g., creating relationships).

                            // Override to add custom serialization logic
                            prepForXml(context: IContext): IXmlableObject | undefined {
                            // Custom logic here
                            return super.prepForXml(context);
                            }
                            -
                          +
                          diff --git a/api/classes/MathNumerator.html b/api/classes/MathNumerator.html index 91208d4b21..777398fb75 100644 --- a/api/classes/MathNumerator.html +++ b/api/classes/MathNumerator.html @@ -1,12 +1,12 @@ MathNumerator | docx
                          docx
                            Preparing search index...

                            Class MathNumeratorInternal

                            Represents the numerator (top part) of a fraction.

                            -

                            Hierarchy (View Summary)

                            Index

                            Constructors

                            Hierarchy (View Summary)

                            Index

                            Constructors

                            Methods

                            Constructors

                            Methods

                            • Prepares this component and its children for XML serialization.

                              This method is called by the Formatter to convert the component tree into an object structure compatible with the xml library (https://www.npmjs.com/package/xml). It recursively processes all children and handles special cases like @@ -18,4 +18,4 @@ or execute side effects during serialization (e.g., creating relationships).

                              // Override to add custom serialization logic
                              prepForXml(context: IContext): IXmlableObject | undefined {
                              // Custom logic here
                              return super.prepForXml(context);
                              }
                              -
                            +
                            diff --git a/api/classes/MathPreSubSuperScript.html b/api/classes/MathPreSubSuperScript.html index a026da660e..16c233202a 100644 --- a/api/classes/MathPreSubSuperScript.html +++ b/api/classes/MathPreSubSuperScript.html @@ -9,14 +9,14 @@ positioned before (to the left of) the base, commonly used in tensor notation.
                            // Pre-scripts for tensor notation
                            new MathPreSubSuperScript({
                            children: [new MathRun("T")],
                            subScript: [new MathRun("i")],
                            superScript: [new MathRun("j")],
                            });
                            -

                            Hierarchy (View Summary)

                            Index

                            Constructors

                            Hierarchy (View Summary)

                            Index

                            Constructors

                            Methods

                            Constructors

                            Methods

                            • Prepares this component and its children for XML serialization.

                              This method is called by the Formatter to convert the component tree into an object structure compatible with the xml library (https://www.npmjs.com/package/xml). It recursively processes all children and handles special cases like @@ -28,4 +28,4 @@ or execute side effects during serialization (e.g., creating relationships).

                              // Override to add custom serialization logic
                              prepForXml(context: IContext): IXmlableObject | undefined {
                              // Custom logic here
                              return super.prepForXml(context);
                              }
                              -
                            +
                            diff --git a/api/classes/MathRadical.html b/api/classes/MathRadical.html index f9103e011c..13e4bd593c 100644 --- a/api/classes/MathRadical.html +++ b/api/classes/MathRadical.html @@ -9,14 +9,14 @@ n-th roots (cube root, fourth root, etc.).

                            // Square root of x
                            new MathRadical({ children: [new MathRun("x")] });

                            // Cube root of x
                            new MathRadical({
                            children: [new MathRun("x")],
                            degree: [new MathRun("3")],
                            });
                            -

                            Hierarchy (View Summary)

                            Index

                            Constructors

                            Hierarchy (View Summary)

                            Index

                            Constructors

                            Methods

                            Constructors

                            Methods

                            • Prepares this component and its children for XML serialization.

                              This method is called by the Formatter to convert the component tree into an object structure compatible with the xml library (https://www.npmjs.com/package/xml). It recursively processes all children and handles special cases like @@ -28,4 +28,4 @@ or execute side effects during serialization (e.g., creating relationships).

                              // Override to add custom serialization logic
                              prepForXml(context: IContext): IXmlableObject | undefined {
                              // Custom logic here
                              return super.prepForXml(context);
                              }
                              -
                            +
                            diff --git a/api/classes/MathRadicalProperties.html b/api/classes/MathRadicalProperties.html index 045d536923..5606387d92 100644 --- a/api/classes/MathRadicalProperties.html +++ b/api/classes/MathRadicalProperties.html @@ -6,14 +6,14 @@ such as whether to hide the degree (for square roots).

                            <xsd:complexType name="CT_RadPr">
                            <xsd:sequence>
                            <xsd:element name="degHide" type="CT_OnOff" minOccurs="0"/>
                            <xsd:element name="ctrlPr" type="CT_CtrlPr" minOccurs="0"/>
                            </xsd:sequence>
                            </xsd:complexType>
                            -

                            Hierarchy (View Summary)

                            Index

                            Constructors

                            Hierarchy (View Summary)

                            Index

                            Constructors

                            Methods

                            Constructors

                            Methods

                            • Prepares this component and its children for XML serialization.

                              This method is called by the Formatter to convert the component tree into an object structure compatible with the xml library (https://www.npmjs.com/package/xml). It recursively processes all children and handles special cases like @@ -25,4 +25,4 @@ or execute side effects during serialization (e.g., creating relationships).

                              // Override to add custom serialization logic
                              prepForXml(context: IContext): IXmlableObject | undefined {
                              // Custom logic here
                              return super.prepForXml(context);
                              }
                              -
                            +
                            diff --git a/api/classes/MathRoundBrackets.html b/api/classes/MathRoundBrackets.html index 3390373a04..288fadfa23 100644 --- a/api/classes/MathRoundBrackets.html +++ b/api/classes/MathRoundBrackets.html @@ -8,14 +8,14 @@
                            new MathRoundBrackets({ children: [new MathRun("x + y")] });
                             
                            -

                            Hierarchy (View Summary)

                            Index

                            Constructors

                            Hierarchy (View Summary)

                            Index

                            Constructors

                            Methods

                            Constructors

                            Methods

                            • Prepares this component and its children for XML serialization.

                              This method is called by the Formatter to convert the component tree into an object structure compatible with the xml library (https://www.npmjs.com/package/xml). It recursively processes all children and handles special cases like @@ -27,4 +27,4 @@ or execute side effects during serialization (e.g., creating relationships).

                              // Override to add custom serialization logic
                              prepForXml(context: IContext): IXmlableObject | undefined {
                              // Custom logic here
                              return super.prepForXml(context);
                              }
                              -
                            +
                            diff --git a/api/classes/MathRun.html b/api/classes/MathRun.html index fb0c7ca64d..6ac7e13e5f 100644 --- a/api/classes/MathRun.html +++ b/api/classes/MathRun.html @@ -9,14 +9,14 @@ similar to how Run contains text in regular paragraphs.

                            new MathRun("x + y");
                             
                            -

                            Hierarchy (View Summary)

                            Index

                            Constructors

                            Hierarchy (View Summary)

                            Index

                            Constructors

                            Methods

                            Constructors

                            Methods

                            • Prepares this component and its children for XML serialization.

                              This method is called by the Formatter to convert the component tree into an object structure compatible with the xml library (https://www.npmjs.com/package/xml). It recursively processes all children and handles special cases like @@ -28,4 +28,4 @@ or execute side effects during serialization (e.g., creating relationships).

                              // Override to add custom serialization logic
                              prepForXml(context: IContext): IXmlableObject | undefined {
                              // Custom logic here
                              return super.prepForXml(context);
                              }
                              -
                            +
                            diff --git a/api/classes/MathSquareBrackets.html b/api/classes/MathSquareBrackets.html index 7834dbc2eb..503e17143b 100644 --- a/api/classes/MathSquareBrackets.html +++ b/api/classes/MathSquareBrackets.html @@ -4,14 +4,14 @@
                            new MathSquareBrackets({ children: [new MathRun("x + y")] });
                             
                            -

                            Hierarchy (View Summary)

                            Index

                            Constructors

                            Hierarchy (View Summary)

                            Index

                            Constructors

                            Methods

                            Constructors

                            Methods

                            • Prepares this component and its children for XML serialization.

                              This method is called by the Formatter to convert the component tree into an object structure compatible with the xml library (https://www.npmjs.com/package/xml). It recursively processes all children and handles special cases like @@ -23,4 +23,4 @@ or execute side effects during serialization (e.g., creating relationships).

                              // Override to add custom serialization logic
                              prepForXml(context: IContext): IXmlableObject | undefined {
                              // Custom logic here
                              return super.prepForXml(context);
                              }
                              -
                            +
                            diff --git a/api/classes/MathSubScript.html b/api/classes/MathSubScript.html index ed134d41a9..6fd4aca2d2 100644 --- a/api/classes/MathSubScript.html +++ b/api/classes/MathSubScript.html @@ -8,14 +8,14 @@
                            // x with subscript 1
                            new MathSubScript({
                            children: [new MathRun("x")],
                            subScript: [new MathRun("1")],
                            });
                            -

                            Hierarchy (View Summary)

                            Index

                            Constructors

                            Hierarchy (View Summary)

                            Index

                            Constructors

                            Methods

                            Constructors

                            Methods

                            • Prepares this component and its children for XML serialization.

                              This method is called by the Formatter to convert the component tree into an object structure compatible with the xml library (https://www.npmjs.com/package/xml). It recursively processes all children and handles special cases like @@ -27,4 +27,4 @@ or execute side effects during serialization (e.g., creating relationships).

                              // Override to add custom serialization logic
                              prepForXml(context: IContext): IXmlableObject | undefined {
                              // Custom logic here
                              return super.prepForXml(context);
                              }
                              -
                            +
                            diff --git a/api/classes/MathSubSuperScript.html b/api/classes/MathSubSuperScript.html index 80c4deddd5..482f20d9b4 100644 --- a/api/classes/MathSubSuperScript.html +++ b/api/classes/MathSubSuperScript.html @@ -9,14 +9,14 @@ commonly used for tensor notation or indexed variables with exponents.

                            // x with subscript i and superscript 2
                            new MathSubSuperScript({
                            children: [new MathRun("x")],
                            subScript: [new MathRun("i")],
                            superScript: [new MathRun("2")],
                            });
                            -

                            Hierarchy (View Summary)

                            Index

                            Constructors

                            Hierarchy (View Summary)

                            Index

                            Constructors

                            Methods

                            Constructors

                            Methods

                            • Prepares this component and its children for XML serialization.

                              This method is called by the Formatter to convert the component tree into an object structure compatible with the xml library (https://www.npmjs.com/package/xml). It recursively processes all children and handles special cases like @@ -28,4 +28,4 @@ or execute side effects during serialization (e.g., creating relationships).

                              // Override to add custom serialization logic
                              prepForXml(context: IContext): IXmlableObject | undefined {
                              // Custom logic here
                              return super.prepForXml(context);
                              }
                              -
                            +
                            diff --git a/api/classes/MathSum.html b/api/classes/MathSum.html index 7402e1f9f7..04ff448852 100644 --- a/api/classes/MathSum.html +++ b/api/classes/MathSum.html @@ -8,14 +8,14 @@
                            // Sum from i=1 to n
                            new MathSum({
                            children: [new MathRun("x")],
                            subScript: [new MathRun("i=1")],
                            superScript: [new MathRun("n")],
                            });
                            -

                            Hierarchy (View Summary)

                            Index

                            Constructors

                            Hierarchy (View Summary)

                            Index

                            Constructors

                            Methods

                            Constructors

                            Methods

                            • Prepares this component and its children for XML serialization.

                              This method is called by the Formatter to convert the component tree into an object structure compatible with the xml library (https://www.npmjs.com/package/xml). It recursively processes all children and handles special cases like @@ -27,4 +27,4 @@ or execute side effects during serialization (e.g., creating relationships).

                              // Override to add custom serialization logic
                              prepForXml(context: IContext): IXmlableObject | undefined {
                              // Custom logic here
                              return super.prepForXml(context);
                              }
                              -
                            +
                            diff --git a/api/classes/MathSuperScript.html b/api/classes/MathSuperScript.html index cc68677f4f..066e174683 100644 --- a/api/classes/MathSuperScript.html +++ b/api/classes/MathSuperScript.html @@ -8,14 +8,14 @@
                            // x squared
                            new MathSuperScript({
                            children: [new MathRun("x")],
                            superScript: [new MathRun("2")],
                            });
                            -

                            Hierarchy (View Summary)

                            Index

                            Constructors

                            Hierarchy (View Summary)

                            Index

                            Constructors

                            Methods

                            Constructors

                            Methods

                            • Prepares this component and its children for XML serialization.

                              This method is called by the Formatter to convert the component tree into an object structure compatible with the xml library (https://www.npmjs.com/package/xml). It recursively processes all children and handles special cases like @@ -27,4 +27,4 @@ or execute side effects during serialization (e.g., creating relationships).

                              // Override to add custom serialization logic
                              prepForXml(context: IContext): IXmlableObject | undefined {
                              // Custom logic here
                              return super.prepForXml(context);
                              }
                              -
                            +
                            diff --git a/api/classes/Media.html b/api/classes/Media.html index 69c4737806..a41255761f 100644 --- a/api/classes/Media.html +++ b/api/classes/Media.html @@ -5,12 +5,12 @@ is stored with a unique key for retrieval.

                            const media = new Media();
                            media.addImage("image1", {
                            type: "png",
                            fileName: "image1.png",
                            transformation: {
                            pixels: { x: 200, y: 100 },
                            emus: { x: 1828800, y: 914400 }
                            },
                            data: imageBuffer
                            });
                            const allImages = media.Array;
                            -
                            Index

                            Constructors

                            Index

                            Constructors

                            Accessors

                            Methods

                            Constructors

                            Accessors

                            • get Array(): readonly IMediaData[]

                              Gets all images as an array.

                              +

                            Constructors

                            Accessors

                            Methods

                            Methods

                            • Adds an image to the media collection.

                              Parameters

                              • key: string

                                Unique identifier for this image

                              • mediaData: IMediaData

                                Complete image data including file name, transformation, and raw data

                                -

                              Returns void

                            +

                            Returns void

                            diff --git a/api/classes/MonthLong.html b/api/classes/MonthLong.html index f47c1d81c8..0659bc3507 100644 --- a/api/classes/MonthLong.html +++ b/api/classes/MonthLong.html @@ -1,13 +1,13 @@ MonthLong | docx
                            docx
                              Preparing search index...

                              Class MonthLong

                              Represents the current month in long format (e.g., "January", "December").

                              Inserts a dynamic field showing the full month name of the current date.

                              -

                              Hierarchy (View Summary)

                              Index

                              Constructors

                              Hierarchy (View Summary)

                              Index

                              Constructors

                              Methods

                              Constructors

                              Methods

                              • Prepares this component and its children for XML serialization.

                                This method is called by the Formatter to convert the component tree into an object structure compatible with the xml library (https://www.npmjs.com/package/xml). It recursively processes all children and handles special cases like @@ -19,4 +19,4 @@ or execute side effects during serialization (e.g., creating relationships).

                                // Override to add custom serialization logic
                                prepForXml(context: IContext): IXmlableObject | undefined {
                                // Custom logic here
                                return super.prepForXml(context);
                                }
                                -
                              +
                              diff --git a/api/classes/MonthShort.html b/api/classes/MonthShort.html index 27cd1fc0a3..e2d5ac8847 100644 --- a/api/classes/MonthShort.html +++ b/api/classes/MonthShort.html @@ -1,13 +1,13 @@ MonthShort | docx
                              docx
                                Preparing search index...

                                Class MonthShort

                                Represents the current month in short format (e.g., "1", "12").

                                Inserts a dynamic field showing the month portion of the current date.

                                -

                                Hierarchy (View Summary)

                                Index

                                Constructors

                                Hierarchy (View Summary)

                                Index

                                Constructors

                                Methods

                                Constructors

                                Methods

                                • Prepares this component and its children for XML serialization.

                                  This method is called by the Formatter to convert the component tree into an object structure compatible with the xml library (https://www.npmjs.com/package/xml). It recursively processes all children and handles special cases like @@ -19,4 +19,4 @@ or execute side effects during serialization (e.g., creating relationships).

                                  // Override to add custom serialization logic
                                  prepForXml(context: IContext): IXmlableObject | undefined {
                                  // Custom logic here
                                  return super.prepForXml(context);
                                  }
                                  -
                                +
                                diff --git a/api/classes/NextAttributeComponent.html b/api/classes/NextAttributeComponent.html index 7a0d2e4710..d2195eb574 100644 --- a/api/classes/NextAttributeComponent.html +++ b/api/classes/NextAttributeComponent.html @@ -5,13 +5,13 @@ This gives more control but is more verbose than XmlAttributeComponent.

                                new NextAttributeComponent({
                                fontSize: { key: "w:sz", value: 24 },
                                bold: { key: "w:b", value: true }
                                });
                                // Generates: _attr: { "w:sz": 24, "w:b": true }
                                -

                                Type Parameters

                                Hierarchy (View Summary)

                                Index

                                Constructors

                                Type Parameters

                                Hierarchy (View Summary)

                                Index

                                Constructors

                                Methods

                                Constructors

                                Methods

                                Returns NextAttributeComponent<T>

                                Methods

                                +
                                diff --git a/api/classes/NoBreakHyphen.html b/api/classes/NoBreakHyphen.html index 67432196f1..a36b76df5e 100644 --- a/api/classes/NoBreakHyphen.html +++ b/api/classes/NoBreakHyphen.html @@ -1,13 +1,13 @@ NoBreakHyphen | docx
                                docx
                                  Preparing search index...

                                  Class NoBreakHyphen

                                  Represents a non-breaking hyphen character.

                                  Inserts a hyphen that prevents line breaking at that position.

                                  -

                                  Hierarchy (View Summary)

                                  Index

                                  Constructors

                                  Hierarchy (View Summary)

                                  Index

                                  Constructors

                                  Methods

                                  Constructors

                                  Methods

                                  • Prepares this component and its children for XML serialization.

                                    This method is called by the Formatter to convert the component tree into an object structure compatible with the xml library (https://www.npmjs.com/package/xml). It recursively processes all children and handles special cases like @@ -19,4 +19,4 @@ or execute side effects during serialization (e.g., creating relationships).

                                    // Override to add custom serialization logic
                                    prepForXml(context: IContext): IXmlableObject | undefined {
                                    // Custom logic here
                                    return super.prepForXml(context);
                                    }
                                    -
                                  +
                                  diff --git a/api/classes/NumberProperties.html b/api/classes/NumberProperties.html index f166d7e6a0..2fdb7591c6 100644 --- a/api/classes/NumberProperties.html +++ b/api/classes/NumberProperties.html @@ -9,14 +9,14 @@ for the paragraph, enabling numbered and bulleted lists.

                                  // Create a bulleted list item at level 0
                                  new Paragraph({
                                  numbering: {
                                  reference: "my-bullet-list",
                                  level: 0,
                                  },
                                  children: [new TextRun("First item")],
                                  });

                                  // Create a numbered list item at level 1
                                  new Paragraph({
                                  numbering: {
                                  reference: "my-numbered-list",
                                  level: 1,
                                  },
                                  children: [new TextRun("Nested item")],
                                  });
                                  -

                                  Hierarchy (View Summary)

                                  Index

                                  Constructors

                                  Hierarchy (View Summary)

                                  Index

                                  Constructors

                                  Methods

                                  Constructors

                                  Methods

                                  • Prepares this component and its children for XML serialization.

                                    This method is called by the Formatter to convert the component tree into an object structure compatible with the xml library (https://www.npmjs.com/package/xml). It recursively processes all children and handles special cases like @@ -28,4 +28,4 @@ or execute side effects during serialization (e.g., creating relationships).

                                    // Override to add custom serialization logic
                                    prepForXml(context: IContext): IXmlableObject | undefined {
                                    // Custom logic here
                                    return super.prepForXml(context);
                                    }
                                    -
                                  +
                                  diff --git a/api/classes/NumberValueElement.html b/api/classes/NumberValueElement.html index e2111e7f52..8caceb65a3 100644 --- a/api/classes/NumberValueElement.html +++ b/api/classes/NumberValueElement.html @@ -4,17 +4,17 @@ containing a numeric value.

                                  new NumberValueElement("w:ilvl", 2);
                                  // Generates: <w:ilvl w:val="2"/>
                                  -

                                  Hierarchy (View Summary)

                                  Index

                                  Constructors

                                  Hierarchy (View Summary)

                                  Index

                                  Constructors

                                  Methods

                                  Returns NumberValueElement

                                  Methods

                                  • Prepares this component and its children for XML serialization.

                                    This method is called by the Formatter to convert the component tree into an object structure compatible with the xml library (https://www.npmjs.com/package/xml). It recursively processes all children and handles special cases like @@ -26,4 +26,4 @@ or execute side effects during serialization (e.g., creating relationships).

                                    // Override to add custom serialization logic
                                    prepForXml(context: IContext): IXmlableObject | undefined {
                                    // Custom logic here
                                    return super.prepForXml(context);
                                    }
                                    -
                                  +
                                  diff --git a/api/classes/NumberedItemReference.html b/api/classes/NumberedItemReference.html index 2bd82b3c74..28dca95d4c 100644 --- a/api/classes/NumberedItemReference.html +++ b/api/classes/NumberedItemReference.html @@ -4,15 +4,15 @@ particularly useful for referencing numbered headings or list items.

                                  // Reference a numbered heading
                                  new NumberedItemReference("heading_1_bookmark", "1.2.3", {
                                  hyperlink: true,
                                  referenceFormat: NumberedItemReferenceFormat.FULL_CONTEXT,
                                  });
                                  -

                                  Hierarchy (View Summary)

                                  Index

                                  Constructors

                                  Hierarchy (View Summary)

                                  Index

                                  Constructors

                                  Methods

                                  Returns NumberedItemReference

                                  Methods

                                  • Prepares this component and its children for XML serialization.

                                    This method is called by the Formatter to convert the component tree into an object structure compatible with the xml library (https://www.npmjs.com/package/xml). It recursively processes all children and handles special cases like @@ -24,4 +24,4 @@ or execute side effects during serialization (e.g., creating relationships).

                                    // Override to add custom serialization logic
                                    prepForXml(context: IContext): IXmlableObject | undefined {
                                    // Custom logic here
                                    return super.prepForXml(context);
                                    }
                                    -
                                  +
                                  diff --git a/api/classes/Numbering.html b/api/classes/Numbering.html index 3bff8f769a..71c93d57ee 100644 --- a/api/classes/Numbering.html +++ b/api/classes/Numbering.html @@ -11,7 +11,7 @@ custom numbering schemes defined by the user.

                                  // Create numbering with custom decimal list
                                  const numbering = new Numbering({
                                  config: [
                                  {
                                  reference: "my-decimal-list",
                                  levels: [
                                  {
                                  level: 0,
                                  format: LevelFormat.DECIMAL,
                                  text: "%1.",
                                  alignment: AlignmentType.LEFT,
                                  start: 1,
                                  style: {
                                  paragraph: {
                                  indent: { left: 720, hanging: 360 },
                                  },
                                  },
                                  },
                                  {
                                  level: 1,
                                  format: LevelFormat.LOWER_LETTER,
                                  text: "%2)",
                                  alignment: AlignmentType.LEFT,
                                  style: {
                                  paragraph: {
                                  indent: { left: 1440, hanging: 360 },
                                  },
                                  },
                                  },
                                  ],
                                  },
                                  ],
                                  });
                                  -

                                  Hierarchy (View Summary)

                                  Index

                                  Constructors

                                  Hierarchy (View Summary)

                                  Index

                                  Constructors

                                  Accessors

                                  Methods

                                  addChildElement @@ -21,22 +21,22 @@ custom numbering schemes defined by the user.

                                  Initializes the numbering with a default bullet list configuration and any custom numbering configurations provided in the options.

                                  Parameters

                                  Returns Numbering

                                  Accessors

                                  • get ConcreteNumbering(): readonly ConcreteNumbering[]

                                    Gets all concrete numbering instances.

                                    +

                                  Returns Numbering

                                  Accessors

                                  • get ReferenceConfig(): readonly Record<string, any>[]

                                    Gets all reference configurations.

                                    Returns readonly Record<string, any>[]

                                    An array of all numbering reference configurations

                                    -

                                  Methods

                                  Methods

                                  • Creates a concrete numbering instance from an abstract numbering definition.

                                    This method creates a new concrete numbering instance that references an abstract numbering definition. It's used internally when paragraphs reference numbering configurations.

                                    Parameters

                                    • reference: string

                                      The reference name of the abstract numbering definition

                                    • instance: number

                                      The instance number for this concrete numbering

                                      -

                                    Returns void

                                  • Prepares the numbering definitions for XML serialization.

                                    +

                                  Returns void

                                  +
                                  diff --git a/api/classes/OnOffElement.html b/api/classes/OnOffElement.html index d153b0a9a5..6e4b7707d8 100644 --- a/api/classes/OnOffElement.html +++ b/api/classes/OnOffElement.html @@ -9,17 +9,17 @@ it is explicitly disabled. When the value is true, the attribute is often omitte
                                  // Bold enabled (w:val omitted when true)
                                  new OnOffElement("w:b", true);
                                  // Generates: <w:b/>

                                  // Bold explicitly disabled
                                  new OnOffElement("w:b", false);
                                  // Generates: <w:b w:val="false"/>
                                  -

                                  Hierarchy (View Summary)

                                  Index

                                  Constructors

                                  Hierarchy (View Summary)

                                  Index

                                  Constructors

                                  Methods

                                  Returns OnOffElement

                                  Methods

                                  • Prepares this component and its children for XML serialization.

                                    This method is called by the Formatter to convert the component tree into an object structure compatible with the xml library (https://www.npmjs.com/package/xml). It recursively processes all children and handles special cases like @@ -31,4 +31,4 @@ or execute side effects during serialization (e.g., creating relationships).

                                    // Override to add custom serialization logic
                                    prepForXml(context: IContext): IXmlableObject | undefined {
                                    // Custom logic here
                                    return super.prepForXml(context);
                                    }
                                    -
                                  +
                                  diff --git a/api/classes/Packer.html b/api/classes/Packer.html index d2a5f880f3..0a19a590d7 100644 --- a/api/classes/Packer.html +++ b/api/classes/Packer.html @@ -5,7 +5,7 @@ of the document structure into OOXML format and compression into a .docx ZIP arc
                                  // Export to buffer (Node.js)
                                  const buffer = await Packer.toBuffer(doc);

                                  // Export to blob (browser)
                                  const blob = await Packer.toBlob(doc);

                                  // Export with prettified XML
                                  const buffer = await Packer.toBuffer(doc, PrettifyType.WITH_2_BLANKS);
                                  -
                                  Index

                                  Constructors

                                  Index

                                  Constructors

                                  Methods

                                  pack toArrayBuffer toBase64String @@ -19,34 +19,34 @@ of the document structure into OOXML format and compression into a .docx ZIP arc
                                • Optionalprettify: boolean | "" | " " | " " | "\t"

                                  Whether to prettify the XML output (boolean or PrettifyType)

                                • overrides: readonly IXmlifyedFile[] = []

                                  Optional array of file overrides for custom XML content

                                • Returns Promise<OutputByType[T]>

                                  A promise resolving to the exported document in the specified format

                                  -
                                  • Exports a document to an ArrayBuffer.

                                    +
                                  • Exports a document to an ArrayBuffer.

                                    Parameters

                                    • file: File

                                      The document to export

                                    • Optionalprettify: boolean | "" | " " | " " | "\t"

                                      Whether to prettify the XML output

                                    • overrides: readonly IXmlifyedFile[] = []

                                      Optional array of file overrides

                                    Returns Promise<ArrayBuffer>

                                    A promise resolving to the document as an ArrayBuffer

                                    -
                                  • Exports a document to a base64-encoded string.

                                    +
                                  • Exports a document to a base64-encoded string.

                                    Parameters

                                    • file: File

                                      The document to export

                                    • Optionalprettify: boolean | "" | " " | " " | "\t"

                                      Whether to prettify the XML output

                                    • overrides: readonly IXmlifyedFile[] = []

                                      Optional array of file overrides

                                    Returns Promise<string>

                                    A promise resolving to the document as a base64 string

                                    -
                                  • Exports a document to a Blob (for browser environments).

                                    +
                                  • Exports a document to a Blob (for browser environments).

                                    Parameters

                                    • file: File

                                      The document to export

                                    • Optionalprettify: boolean | "" | " " | " " | "\t"

                                      Whether to prettify the XML output

                                    • overrides: readonly IXmlifyedFile[] = []

                                      Optional array of file overrides

                                    Returns Promise<Blob>

                                    A promise resolving to the document as a Blob

                                    -
                                  • Exports a document to a Node.js Buffer.

                                    +
                                  • Exports a document to a Node.js Buffer.

                                    Parameters

                                    • file: File

                                      The document to export

                                    • Optionalprettify: boolean | "" | " " | " " | "\t"

                                      Whether to prettify the XML output

                                    • overrides: readonly IXmlifyedFile[] = []

                                      Optional array of file overrides

                                    Returns Promise<Buffer<ArrayBufferLike>>

                                    A promise resolving to the document as a Buffer

                                    -
                                  • Exports a document to a Node.js Stream.

                                    +
                                  • Exports a document to a Node.js Stream.

                                    Parameters

                                    • file: File

                                      The document to export

                                    • Optionalprettify: boolean | "" | " " | " " | "\t"

                                      Whether to prettify the XML output

                                    • overrides: readonly IXmlifyedFile[] = []

                                      Optional array of file overrides

                                    Returns Stream

                                    A readable stream containing the document data

                                    -
                                  • Exports a document to a string representation.

                                    +
                                  • Exports a document to a string representation.

                                    Parameters

                                    • file: File

                                      The document to export

                                    • Optionalprettify: boolean | "" | " " | " " | "\t"

                                      Whether to prettify the XML output

                                    • overrides: readonly IXmlifyedFile[] = []

                                      Optional array of file overrides

                                    Returns Promise<string>

                                    A promise resolving to the document as a string

                                    -
                                  +
                                  diff --git a/api/classes/PageBorders.html b/api/classes/PageBorders.html index 7da3e3c08f..d5714ab43c 100644 --- a/api/classes/PageBorders.html +++ b/api/classes/PageBorders.html @@ -9,14 +9,14 @@ including which pages display the borders and how they are positioned.

                                  // Add page borders to all pages
                                  new PageBorders({
                                  pageBorders: {
                                  display: PageBorderDisplay.ALL_PAGES,
                                  offsetFrom: PageBorderOffsetFrom.PAGE,
                                  zOrder: PageBorderZOrder.FRONT
                                  },
                                  pageBorderTop: { style: BorderStyle.SINGLE, size: 24, color: "000000" },
                                  pageBorderBottom: { style: BorderStyle.SINGLE, size: 24, color: "000000" }
                                  });
                                  -

                                  Hierarchy (View Summary)

                                  Index

                                  Constructors

                                  Hierarchy (View Summary)

                                  Index

                                  Constructors

                                  Methods

                                  Constructors

                                  Methods

                                  +
                                  diff --git a/api/classes/PageBreak.html b/api/classes/PageBreak.html index 47dc6f4409..101882000d 100644 --- a/api/classes/PageBreak.html +++ b/api/classes/PageBreak.html @@ -8,14 +8,14 @@
                                  new Paragraph({
                                  children: [new PageBreak()],
                                  });
                                  -

                                  Hierarchy (View Summary)

                                  Index

                                  Constructors

                                  Hierarchy (View Summary)

                                  Index

                                  Constructors

                                  Methods

                                  Constructors

                                  Methods

                                  • Prepares this component and its children for XML serialization.

                                    This method is called by the Formatter to convert the component tree into an object structure compatible with the xml library (https://www.npmjs.com/package/xml). It recursively processes all children and handles special cases like @@ -27,4 +27,4 @@ or execute side effects during serialization (e.g., creating relationships).

                                    // Override to add custom serialization logic
                                    prepForXml(context: IContext): IXmlableObject | undefined {
                                    // Custom logic here
                                    return super.prepForXml(context);
                                    }
                                    -
                                  +
                                  diff --git a/api/classes/PageBreakBefore.html b/api/classes/PageBreakBefore.html index e58712a2b7..8faea947b5 100644 --- a/api/classes/PageBreakBefore.html +++ b/api/classes/PageBreakBefore.html @@ -8,14 +8,14 @@
                                  new Paragraph({
                                  pageBreakBefore: true,
                                  children: [new TextRun("This text starts on a new page")],
                                  });
                                  -

                                  Hierarchy (View Summary)

                                  Index

                                  Constructors

                                  Hierarchy (View Summary)

                                  Index

                                  Constructors

                                  Methods

                                  Constructors

                                  Methods

                                  • Prepares this component and its children for XML serialization.

                                    This method is called by the Formatter to convert the component tree into an object structure compatible with the xml library (https://www.npmjs.com/package/xml). It recursively processes all children and handles special cases like @@ -27,4 +27,4 @@ or execute side effects during serialization (e.g., creating relationships).

                                    // Override to add custom serialization logic
                                    prepForXml(context: IContext): IXmlableObject | undefined {
                                    // Custom logic here
                                    return super.prepForXml(context);
                                    }
                                    -
                                  +
                                  diff --git a/api/classes/PageNumberElement.html b/api/classes/PageNumberElement.html index ca36555403..a771112c9a 100644 --- a/api/classes/PageNumberElement.html +++ b/api/classes/PageNumberElement.html @@ -1,13 +1,13 @@ PageNumberElement | docx
                                  docx
                                    Preparing search index...

                                    Class PageNumberElement

                                    Represents a page number field element.

                                    Inserts the current page number at this position.

                                    -

                                    Hierarchy (View Summary)

                                    Index

                                    Constructors

                                    Hierarchy (View Summary)

                                    Index

                                    Constructors

                                    Methods

                                    Constructors

                                    Methods

                                    • Prepares this component and its children for XML serialization.

                                      This method is called by the Formatter to convert the component tree into an object structure compatible with the xml library (https://www.npmjs.com/package/xml). It recursively processes all children and handles special cases like @@ -19,4 +19,4 @@ or execute side effects during serialization (e.g., creating relationships).

                                      // Override to add custom serialization logic
                                      prepForXml(context: IContext): IXmlableObject | undefined {
                                      // Custom logic here
                                      return super.prepForXml(context);
                                      }
                                      -
                                    +
                                    diff --git a/api/classes/PageReference.html b/api/classes/PageReference.html index 7b6566dbb4..784b8aab10 100644 --- a/api/classes/PageReference.html +++ b/api/classes/PageReference.html @@ -4,14 +4,14 @@ the specified bookmark, useful for cross-references like "see page 5".
                                    // Simple page reference
                                    new PageReference("figure_1_bookmark");

                                    // With hyperlink
                                    new PageReference("table_2", { hyperlink: true });

                                    // With relative position (e.g., "above" or "on page 5")
                                    new PageReference("section_3", {
                                    hyperlink: true,
                                    useRelativePosition: true,
                                    });
                                    -

                                    Hierarchy (View Summary)

                                    • Run
                                      • PageReference
                                    Index

                                    Constructors

                                    Hierarchy (View Summary)

                                    • Run
                                      • PageReference
                                    Index

                                    Constructors

                                    Methods

                                    Constructors

                                    Methods

                                    • Prepares this component and its children for XML serialization.

                                      This method is called by the Formatter to convert the component tree into an object structure compatible with the xml library (https://www.npmjs.com/package/xml). It recursively processes all children and handles special cases like @@ -23,4 +23,4 @@ or execute side effects during serialization (e.g., creating relationships).

                                      // Override to add custom serialization logic
                                      prepForXml(context: IContext): IXmlableObject | undefined {
                                      // Custom logic here
                                      return super.prepForXml(context);
                                      }
                                      -
                                    +
                                    diff --git a/api/classes/PageTextDirection.html b/api/classes/PageTextDirection.html index 68166d18b7..8829fa0d01 100644 --- a/api/classes/PageTextDirection.html +++ b/api/classes/PageTextDirection.html @@ -5,14 +5,14 @@ for all pages in a section.

                                    // Horizontal text flow (left-to-right, top-to-bottom)
                                    new PageTextDirection(PageTextDirectionType.LEFT_TO_RIGHT_TOP_TO_BOTTOM);

                                    // Vertical text flow (top-to-bottom, right-to-left)
                                    new PageTextDirection(PageTextDirectionType.TOP_TO_BOTTOM_RIGHT_TO_LEFT);
                                    -

                                    Hierarchy (View Summary)

                                    Index

                                    Constructors

                                    Hierarchy (View Summary)

                                    Index

                                    Constructors

                                    Methods

                                    Constructors

                                    Methods

                                    • Prepares this component and its children for XML serialization.

                                      This method is called by the Formatter to convert the component tree into an object structure compatible with the xml library (https://www.npmjs.com/package/xml). It recursively processes all children and handles special cases like @@ -24,4 +24,4 @@ or execute side effects during serialization (e.g., creating relationships).

                                      // Override to add custom serialization logic
                                      prepForXml(context: IContext): IXmlableObject | undefined {
                                      // Custom logic here
                                      return super.prepForXml(context);
                                      }
                                      -
                                    +
                                    diff --git a/api/classes/Paragraph.html b/api/classes/Paragraph.html index 1b800ee1fe..cc57e29e5b 100644 --- a/api/classes/Paragraph.html +++ b/api/classes/Paragraph.html @@ -9,17 +9,17 @@ various inline elements such as text runs, images, hyperlinks, and bookmarks.

                                    // Simple paragraph with text
                                    new Paragraph("Hello World");

                                    // Paragraph with options
                                    new Paragraph({
                                    children: [new TextRun("Hello"), new TextRun({ text: "World", bold: true })],
                                    alignment: AlignmentType.CENTER,
                                    });
                                    -

                                    Hierarchy (View Summary)

                                    Index

                                    Constructors

                                    Hierarchy (View Summary)

                                    Index

                                    Constructors

                                    Properties

                                    fileChild: symbol = ...

                                    Marker property identifying this as a FileChild

                                    -

                                    Methods

                                    Constructors

                                    Properties

                                    fileChild: symbol = ...

                                    Marker property identifying this as a FileChild

                                    +

                                    Methods

                                    • Prepares this component and its children for XML serialization.

                                      This method is called by the Formatter to convert the component tree into an object structure compatible with the xml library (https://www.npmjs.com/package/xml). It recursively processes all children and handles special cases like @@ -31,4 +31,4 @@ or execute side effects during serialization (e.g., creating relationships).

                                      // Override to add custom serialization logic
                                      prepForXml(context: IContext): IXmlableObject | undefined {
                                      // Custom logic here
                                      return super.prepForXml(context);
                                      }
                                      -
                                    +
                                    diff --git a/api/classes/ParagraphProperties.html b/api/classes/ParagraphProperties.html index d185c4d9da..2f342661c8 100644 --- a/api/classes/ParagraphProperties.html +++ b/api/classes/ParagraphProperties.html @@ -13,19 +13,19 @@ including alignment, spacing, indentation, borders, numbering, and style referen
                                    // Basic paragraph with alignment
                                    new ParagraphProperties({
                                    alignment: AlignmentType.CENTER,
                                    });

                                    // Formatted paragraph with spacing and indentation
                                    new ParagraphProperties({
                                    alignment: AlignmentType.JUSTIFIED,
                                    spacing: { before: 200, after: 200, line: 360 },
                                    indent: { left: 720, right: 720 },
                                    });

                                    // Heading with outline level
                                    new ParagraphProperties({
                                    heading: HeadingLevel.HEADING_1,
                                    outlineLevel: 0,
                                    keepNext: true,
                                    });

                                    // Numbered list item
                                    new ParagraphProperties({
                                    numbering: {
                                    reference: "my-numbering",
                                    level: 0,
                                    instance: 0,
                                    },
                                    });

                                    // Paragraph with borders and shading
                                    new ParagraphProperties({
                                    border: {
                                    top: { style: BorderStyle.SINGLE, size: 6, color: "000000" },
                                    bottom: { style: BorderStyle.SINGLE, size: 6, color: "000000" },
                                    },
                                    shading: { fill: "EEEEEE" },
                                    });
                                    -

                                    Hierarchy (View Summary)

                                    Index

                                    Constructors

                                    Hierarchy (View Summary)

                                    Index

                                    Constructors

                                    Methods

                                    Constructors

                                    Methods

                                    +

                                    Returns void

                                    diff --git a/api/classes/ParagraphPropertiesChange.html b/api/classes/ParagraphPropertiesChange.html index bb56119678..a484557510 100644 --- a/api/classes/ParagraphPropertiesChange.html +++ b/api/classes/ParagraphPropertiesChange.html @@ -6,14 +6,14 @@ the intermediate object format used by the xml serialization library.

                                    // Creating a custom XML component
                                    class MyElement extends XmlComponent {
                                    constructor(text: string) {
                                    super("w:myElement");
                                    this.root.push(new Attributes({ val: text }));
                                    }
                                    }

                                    const element = new MyElement("Hello");
                                    // When serialized: <w:myElement w:val="Hello"/>
                                    -

                                    Hierarchy (View Summary)

                                    Index

                                    Constructors

                                    Hierarchy (View Summary)

                                    Index

                                    Constructors

                                    Methods

                                    Constructors

                                    Methods

                                    • Prepares this component and its children for XML serialization.

                                      This method is called by the Formatter to convert the component tree into an object structure compatible with the xml library (https://www.npmjs.com/package/xml). It recursively processes all children and handles special cases like @@ -25,4 +25,4 @@ or execute side effects during serialization (e.g., creating relationships).

                                      // Override to add custom serialization logic
                                      prepForXml(context: IContext): IXmlableObject | undefined {
                                      // Custom logic here
                                      return super.prepForXml(context);
                                      }
                                      -
                                    +
                                    diff --git a/api/classes/ParagraphPropertiesDefaults.html b/api/classes/ParagraphPropertiesDefaults.html index e96a6e9c93..ad178074ef 100644 --- a/api/classes/ParagraphPropertiesDefaults.html +++ b/api/classes/ParagraphPropertiesDefaults.html @@ -9,14 +9,14 @@ to all paragraphs in the document unless overridden.

                                    // Set default paragraph spacing
                                    new ParagraphPropertiesDefaults({
                                    spacing: { after: 200, line: 276 }
                                    });
                                    -

                                    Hierarchy (View Summary)

                                    Index

                                    Constructors

                                    Hierarchy (View Summary)

                                    Index

                                    Constructors

                                    Methods

                                    Constructors

                                    Methods

                                    • Prepares this component and its children for XML serialization.

                                      This method is called by the Formatter to convert the component tree into an object structure compatible with the xml library (https://www.npmjs.com/package/xml). It recursively processes all children and handles special cases like @@ -28,4 +28,4 @@ or execute side effects during serialization (e.g., creating relationships).

                                      // Override to add custom serialization logic
                                      prepForXml(context: IContext): IXmlableObject | undefined {
                                      // Custom logic here
                                      return super.prepForXml(context);
                                      }
                                      -
                                    +
                                    diff --git a/api/classes/ParagraphRunProperties.html b/api/classes/ParagraphRunProperties.html index b216ca4cb1..0e5e95a431 100644 --- a/api/classes/ParagraphRunProperties.html +++ b/api/classes/ParagraphRunProperties.html @@ -10,15 +10,15 @@ such as bold, italic, font, size, color, underline, and other text effects.

                                    caps, smallCaps, strike, dstrike, outline, shadow, emboss, imprint, noProof, snapToGrid, vanish, color, spacing, w, kern, position, sz, szCs, highlight, u, effect, bdr, shd, vertAlign, rtl, em, lang, and more.

                                    -

                                    Hierarchy (View Summary)

                                    Index

                                    Constructors

                                    Hierarchy (View Summary)

                                    Index

                                    Constructors

                                    Methods

                                    Constructors

                                    Methods

                                    +
                                    diff --git a/api/classes/PositionalTab.html b/api/classes/PositionalTab.html index 96d20d08e3..cfc13f9f1d 100644 --- a/api/classes/PositionalTab.html +++ b/api/classes/PositionalTab.html @@ -10,14 +10,14 @@ an exact alignment and position within the paragraph.

                                    // Create a centered positional tab
                                    new PositionalTab({
                                    alignment: PositionalTabAlignment.CENTER,
                                    relativeTo: PositionalTabRelativeTo.MARGIN,
                                    leader: PositionalTabLeader.DOT,
                                    });
                                    -

                                    Hierarchy (View Summary)

                                    Index

                                    Constructors

                                    Hierarchy (View Summary)

                                    Index

                                    Constructors

                                    Methods

                                    Constructors

                                    Methods

                                    • Prepares this component and its children for XML serialization.

                                      This method is called by the Formatter to convert the component tree into an object structure compatible with the xml library (https://www.npmjs.com/package/xml). It recursively processes all children and handles special cases like @@ -29,4 +29,4 @@ or execute side effects during serialization (e.g., creating relationships).

                                      // Override to add custom serialization logic
                                      prepForXml(context: IContext): IXmlableObject | undefined {
                                      // Custom logic here
                                      return super.prepForXml(context);
                                      }
                                      -
                                    +
                                    diff --git a/api/classes/Run.html b/api/classes/Run.html index 49bb303d81..d3583d4d83 100644 --- a/api/classes/Run.html +++ b/api/classes/Run.html @@ -9,14 +9,14 @@ shares the same formatting properties (bold, italic, font, size, etc.).

                                    // Simple run with text
                                    new Run({ text: "Hello World" });

                                    // Bold and italic run
                                    new Run({ text: "Formatted", bold: true, italics: true });

                                    // Run with page number
                                    new Run({ children: [PageNumber.CURRENT] });
                                    -

                                    Hierarchy (View Summary)

                                    Index

                                    Constructors

                                    Hierarchy (View Summary)

                                    Index

                                    Constructors

                                    Methods

                                    Constructors

                                    Methods

                                    • Prepares this component and its children for XML serialization.

                                      This method is called by the Formatter to convert the component tree into an object structure compatible with the xml library (https://www.npmjs.com/package/xml). It recursively processes all children and handles special cases like @@ -28,4 +28,4 @@ or execute side effects during serialization (e.g., creating relationships).

                                      // Override to add custom serialization logic
                                      prepForXml(context: IContext): IXmlableObject | undefined {
                                      // Custom logic here
                                      return super.prepForXml(context);
                                      }
                                      -
                                    +
                                    diff --git a/api/classes/RunProperties.html b/api/classes/RunProperties.html index e25ab6d2ba..ed0acaf7da 100644 --- a/api/classes/RunProperties.html +++ b/api/classes/RunProperties.html @@ -10,15 +10,15 @@ such as bold, italic, font, size, color, underline, and other text effects.

                                    caps, smallCaps, strike, dstrike, outline, shadow, emboss, imprint, noProof, snapToGrid, vanish, color, spacing, w, kern, position, sz, szCs, highlight, u, effect, bdr, shd, vertAlign, rtl, em, lang, and more.

                                    -

                                    Hierarchy (View Summary)

                                    Index

                                    Constructors

                                    Hierarchy (View Summary)

                                    Index

                                    Constructors

                                    Methods

                                    Constructors

                                    Methods

                                    +
                                    diff --git a/api/classes/RunPropertiesChange.html b/api/classes/RunPropertiesChange.html index 7f2d00e176..3353fe47a5 100644 --- a/api/classes/RunPropertiesChange.html +++ b/api/classes/RunPropertiesChange.html @@ -1,14 +1,14 @@ RunPropertiesChange | docx
                                    docx
                                      Preparing search index...

                                      Class RunPropertiesChange

                                      Represents a run properties change element for revision tracking.

                                      This element is used to track changes to run properties when revision tracking is enabled in the document.

                                      -

                                      Hierarchy (View Summary)

                                      Index

                                      Constructors

                                      Hierarchy (View Summary)

                                      Index

                                      Constructors

                                      Methods

                                      Constructors

                                      Methods

                                      • Prepares this component and its children for XML serialization.

                                        This method is called by the Formatter to convert the component tree into an object structure compatible with the xml library (https://www.npmjs.com/package/xml). It recursively processes all children and handles special cases like @@ -20,4 +20,4 @@ or execute side effects during serialization (e.g., creating relationships).

                                        // Override to add custom serialization logic
                                        prepForXml(context: IContext): IXmlableObject | undefined {
                                        // Custom logic here
                                        return super.prepForXml(context);
                                        }
                                        -
                                      +
                                      diff --git a/api/classes/RunPropertiesDefaults.html b/api/classes/RunPropertiesDefaults.html index f115c79718..13303a29d4 100644 --- a/api/classes/RunPropertiesDefaults.html +++ b/api/classes/RunPropertiesDefaults.html @@ -9,14 +9,14 @@ to all text runs in the document unless overridden by styles or direct formattin
                                      // Set default font and size
                                      new RunPropertiesDefaults({
                                      font: "Calibri",
                                      size: 22
                                      });
                                      -

                                      Hierarchy (View Summary)

                                      Index

                                      Constructors

                                      Hierarchy (View Summary)

                                      Index

                                      Constructors

                                      Methods

                                      Constructors

                                      Methods

                                      • Prepares this component and its children for XML serialization.

                                        This method is called by the Formatter to convert the component tree into an object structure compatible with the xml library (https://www.npmjs.com/package/xml). It recursively processes all children and handles special cases like @@ -28,4 +28,4 @@ or execute side effects during serialization (e.g., creating relationships).

                                        // Override to add custom serialization logic
                                        prepForXml(context: IContext): IXmlableObject | undefined {
                                        // Custom logic here
                                        return super.prepForXml(context);
                                        }
                                        -
                                      +
                                      diff --git a/api/classes/SectionProperties.html b/api/classes/SectionProperties.html index afce2171ba..dd5ffb5dfa 100644 --- a/api/classes/SectionProperties.html +++ b/api/classes/SectionProperties.html @@ -10,14 +10,14 @@ A document can contain multiple sections with different properties.

                                      // Create section with custom page size and margins
                                      new SectionProperties({
                                      page: {
                                      size: {
                                      width: 12240,
                                      height: 15840,
                                      orientation: PageOrientation.PORTRAIT
                                      },
                                      margin: {
                                      top: 1440,
                                      right: 1440,
                                      bottom: 1440,
                                      left: 1440
                                      },
                                      pageNumbers: {
                                      start: 1,
                                      formatType: NumberFormat.DECIMAL
                                      }
                                      },
                                      column: {
                                      count: 2,
                                      space: 720
                                      }
                                      });
                                      -

                                      Hierarchy (View Summary)

                                      Index

                                      Constructors

                                      Hierarchy (View Summary)

                                      Index

                                      Constructors

                                      Methods

                                      Constructors

                                      Methods

                                      • Prepares this component and its children for XML serialization.

                                        This method is called by the Formatter to convert the component tree into an object structure compatible with the xml library (https://www.npmjs.com/package/xml). It recursively processes all children and handles special cases like @@ -29,4 +29,4 @@ or execute side effects during serialization (e.g., creating relationships).

                                        // Override to add custom serialization logic
                                        prepForXml(context: IContext): IXmlableObject | undefined {
                                        // Custom logic here
                                        return super.prepForXml(context);
                                        }
                                        -
                                      +
                                      diff --git a/api/classes/SectionPropertiesChange.html b/api/classes/SectionPropertiesChange.html index d7d18f588c..a2cf2f64ee 100644 --- a/api/classes/SectionPropertiesChange.html +++ b/api/classes/SectionPropertiesChange.html @@ -6,14 +6,14 @@ the intermediate object format used by the xml serialization library.

                                      // Creating a custom XML component
                                      class MyElement extends XmlComponent {
                                      constructor(text: string) {
                                      super("w:myElement");
                                      this.root.push(new Attributes({ val: text }));
                                      }
                                      }

                                      const element = new MyElement("Hello");
                                      // When serialized: <w:myElement w:val="Hello"/>
                                      -

                                      Hierarchy (View Summary)

                                      Index

                                      Constructors

                                      Hierarchy (View Summary)

                                      Index

                                      Constructors

                                      Methods

                                      Constructors

                                      Methods

                                      • Prepares this component and its children for XML serialization.

                                        This method is called by the Formatter to convert the component tree into an object structure compatible with the xml library (https://www.npmjs.com/package/xml). It recursively processes all children and handles special cases like @@ -25,4 +25,4 @@ or execute side effects during serialization (e.g., creating relationships).

                                        // Override to add custom serialization logic
                                        prepForXml(context: IContext): IXmlableObject | undefined {
                                        // Custom logic here
                                        return super.prepForXml(context);
                                        }
                                        -
                                      +
                                      diff --git a/api/classes/Separator.html b/api/classes/Separator.html index aa50bfebe6..e84e4a7e5c 100644 --- a/api/classes/Separator.html +++ b/api/classes/Separator.html @@ -1,13 +1,13 @@ Separator | docx
                                      docx
                                        Preparing search index...

                                        Class Separator

                                        Represents a separator line for footnotes or endnotes.

                                        Used to create the separator line between document content and footnotes/endnotes.

                                        -

                                        Hierarchy (View Summary)

                                        Index

                                        Constructors

                                        Hierarchy (View Summary)

                                        Index

                                        Constructors

                                        Methods

                                        Constructors

                                        Methods

                                        • Prepares this component and its children for XML serialization.

                                          This method is called by the Formatter to convert the component tree into an object structure compatible with the xml library (https://www.npmjs.com/package/xml). It recursively processes all children and handles special cases like @@ -19,4 +19,4 @@ or execute side effects during serialization (e.g., creating relationships).

                                          // Override to add custom serialization logic
                                          prepForXml(context: IContext): IXmlableObject | undefined {
                                          // Custom logic here
                                          return super.prepForXml(context);
                                          }
                                          -
                                        +
                                        diff --git a/api/classes/SequentialIdentifier.html b/api/classes/SequentialIdentifier.html index 1c172e18d0..fd1fe5220e 100644 --- a/api/classes/SequentialIdentifier.html +++ b/api/classes/SequentialIdentifier.html @@ -10,14 +10,14 @@ for figures, tables, equations, etc.

                                        // Create a figure number
                                        new SequentialIdentifier("Figure");

                                        // Create a table number
                                        new SequentialIdentifier("Table");

                                        // Create an equation number
                                        new SequentialIdentifier("Equation");
                                        -

                                        Hierarchy (View Summary)

                                        • Run
                                          • SequentialIdentifier
                                        Index

                                        Constructors

                                        Hierarchy (View Summary)

                                        • Run
                                          • SequentialIdentifier
                                        Index

                                        Constructors

                                        Methods

                                        Constructors

                                        Methods

                                        • Prepares this component and its children for XML serialization.

                                          This method is called by the Formatter to convert the component tree into an object structure compatible with the xml library (https://www.npmjs.com/package/xml). It recursively processes all children and handles special cases like @@ -29,4 +29,4 @@ or execute side effects during serialization (e.g., creating relationships).

                                          // Override to add custom serialization logic
                                          prepForXml(context: IContext): IXmlableObject | undefined {
                                          // Custom logic here
                                          return super.prepForXml(context);
                                          }
                                          -
                                        +
                                        diff --git a/api/classes/SimpleField.html b/api/classes/SimpleField.html index f5d85cc3ba..47202a7a9f 100644 --- a/api/classes/SimpleField.html +++ b/api/classes/SimpleField.html @@ -10,14 +10,14 @@ Simple fields are typically used for fields that don't require complex nesting.<
                                        // Simple field with instruction
                                        new SimpleField("DATE");

                                        // Simple field with cached value
                                        new SimpleField("DATE", "2024-01-01");
                                        -

                                        Hierarchy (View Summary)

                                        Index

                                        Constructors

                                        Hierarchy (View Summary)

                                        Index

                                        Constructors

                                        Methods

                                        Constructors

                                        Methods

                                        • Prepares this component and its children for XML serialization.

                                          This method is called by the Formatter to convert the component tree into an object structure compatible with the xml library (https://www.npmjs.com/package/xml). It recursively processes all children and handles special cases like @@ -29,4 +29,4 @@ or execute side effects during serialization (e.g., creating relationships).

                                          // Override to add custom serialization logic
                                          prepForXml(context: IContext): IXmlableObject | undefined {
                                          // Custom logic here
                                          return super.prepForXml(context);
                                          }
                                          -
                                        +
                                        diff --git a/api/classes/SimpleMailMergeField.html b/api/classes/SimpleMailMergeField.html index 9201f29e6d..a756a00c46 100644 --- a/api/classes/SimpleMailMergeField.html +++ b/api/classes/SimpleMailMergeField.html @@ -5,14 +5,14 @@ It creates a MERGEFIELD that will be populated with data during mail merge.

                                        // Creates a merge field for "FirstName"
                                        new SimpleMailMergeField("FirstName");
                                        // Renders as: MERGEFIELD FirstName with placeholder «FirstName»
                                        -

                                        Hierarchy (View Summary)

                                        Index

                                        Constructors

                                        Hierarchy (View Summary)

                                        Index

                                        Constructors

                                        Methods

                                        Constructors

                                        Methods

                                        • Prepares this component and its children for XML serialization.

                                          This method is called by the Formatter to convert the component tree into an object structure compatible with the xml library (https://www.npmjs.com/package/xml). It recursively processes all children and handles special cases like @@ -24,4 +24,4 @@ or execute side effects during serialization (e.g., creating relationships).

                                          // Override to add custom serialization logic
                                          prepForXml(context: IContext): IXmlableObject | undefined {
                                          // Custom logic here
                                          return super.prepForXml(context);
                                          }
                                          -
                                        +
                                        diff --git a/api/classes/SoftHyphen.html b/api/classes/SoftHyphen.html index ec2ae4a44a..aae4762d22 100644 --- a/api/classes/SoftHyphen.html +++ b/api/classes/SoftHyphen.html @@ -1,13 +1,13 @@ SoftHyphen | docx
                                        docx
                                          Preparing search index...

                                          Class SoftHyphen

                                          Represents a soft hyphen (optional hyphen) character.

                                          Inserts a hyphen that only appears when a word is broken across lines.

                                          -

                                          Hierarchy (View Summary)

                                          Index

                                          Constructors

                                          Hierarchy (View Summary)

                                          Index

                                          Constructors

                                          Methods

                                          Constructors

                                          Methods

                                          • Prepares this component and its children for XML serialization.

                                            This method is called by the Formatter to convert the component tree into an object structure compatible with the xml library (https://www.npmjs.com/package/xml). It recursively processes all children and handles special cases like @@ -19,4 +19,4 @@ or execute side effects during serialization (e.g., creating relationships).

                                            // Override to add custom serialization logic
                                            prepForXml(context: IContext): IXmlableObject | undefined {
                                            // Custom logic here
                                            return super.prepForXml(context);
                                            }
                                            -
                                          +
                                          diff --git a/api/classes/StringContainer.html b/api/classes/StringContainer.html index aeed241b4f..158c4322f0 100644 --- a/api/classes/StringContainer.html +++ b/api/classes/StringContainer.html @@ -5,17 +5,17 @@ rather than an attribute.

                                          new StringContainer("w:author", "John Doe");
                                          // Generates: <w:author>John Doe</w:author>
                                          -

                                          Hierarchy (View Summary)

                                          Index

                                          Constructors

                                          Hierarchy (View Summary)

                                          Index

                                          Constructors

                                          Methods

                                          Returns StringContainer

                                          Methods

                                          • Prepares this component and its children for XML serialization.

                                            This method is called by the Formatter to convert the component tree into an object structure compatible with the xml library (https://www.npmjs.com/package/xml). It recursively processes all children and handles special cases like @@ -27,4 +27,4 @@ or execute side effects during serialization (e.g., creating relationships).

                                            // Override to add custom serialization logic
                                            prepForXml(context: IContext): IXmlableObject | undefined {
                                            // Custom logic here
                                            return super.prepForXml(context);
                                            }
                                            -
                                          +
                                          diff --git a/api/classes/StringEnumValueElement.html b/api/classes/StringEnumValueElement.html index b1ed59a23b..07b5f7aeac 100644 --- a/api/classes/StringEnumValueElement.html +++ b/api/classes/StringEnumValueElement.html @@ -4,17 +4,17 @@ type parameter to enforce type safety for enum values.

                                          type AlignmentType = "left" | "center" | "right";
                                          new StringEnumValueElement<AlignmentType>("w:jc", "center");
                                          // Generates: <w:jc w:val="center"/>
                                          -

                                          Type Parameters

                                          • T extends string

                                          Hierarchy (View Summary)

                                          Index

                                          Constructors

                                          Type Parameters

                                          • T extends string

                                          Hierarchy (View Summary)

                                          Index

                                          Constructors

                                          Methods

                                          Returns StringEnumValueElement<T>

                                          Methods

                                          • Prepares this component and its children for XML serialization.

                                            This method is called by the Formatter to convert the component tree into an object structure compatible with the xml library (https://www.npmjs.com/package/xml). It recursively processes all children and handles special cases like @@ -26,4 +26,4 @@ or execute side effects during serialization (e.g., creating relationships).

                                            // Override to add custom serialization logic
                                            prepForXml(context: IContext): IXmlableObject | undefined {
                                            // Custom logic here
                                            return super.prepForXml(context);
                                            }
                                            -
                                          +
                                          diff --git a/api/classes/StringValueElement.html b/api/classes/StringValueElement.html index fc749be99c..4435be73ed 100644 --- a/api/classes/StringValueElement.html +++ b/api/classes/StringValueElement.html @@ -8,17 +8,17 @@ containing a string value.

                                          new StringValueElement("w:style", "Heading1");
                                          // Generates: <w:style w:val="Heading1"/>
                                          -

                                          Hierarchy (View Summary)

                                          Index

                                          Constructors

                                          Hierarchy (View Summary)

                                          Index

                                          Constructors

                                          Methods

                                          Returns StringValueElement

                                          Methods

                                          • Prepares this component and its children for XML serialization.

                                            This method is called by the Formatter to convert the component tree into an object structure compatible with the xml library (https://www.npmjs.com/package/xml). It recursively processes all children and handles special cases like @@ -30,4 +30,4 @@ or execute side effects during serialization (e.g., creating relationships).

                                            // Override to add custom serialization logic
                                            prepForXml(context: IContext): IXmlableObject | undefined {
                                            // Custom logic here
                                            return super.prepForXml(context);
                                            }
                                            -
                                          +
                                          diff --git a/api/classes/StyleForCharacter.html b/api/classes/StyleForCharacter.html index dcc54b6ca3..4822ea3269 100644 --- a/api/classes/StyleForCharacter.html +++ b/api/classes/StyleForCharacter.html @@ -9,14 +9,14 @@ such as font, size, color, bold, italic, and other text-level formatting.

                                          // Create a custom character style for highlighting
                                          new StyleForCharacter({
                                          id: "Highlight",
                                          name: "Highlight Text",
                                          basedOn: "DefaultParagraphFont",
                                          run: {
                                          color: "FF0000",
                                          bold: true
                                          }
                                          });
                                          -

                                          Hierarchy

                                          • Style
                                            • StyleForCharacter
                                          Index

                                          Constructors

                                          Hierarchy

                                          • Style
                                            • StyleForCharacter
                                          Index

                                          Constructors

                                          Methods

                                          Constructors

                                          Methods

                                          • Prepares this component and its children for XML serialization.

                                            This method is called by the Formatter to convert the component tree into an object structure compatible with the xml library (https://www.npmjs.com/package/xml). It recursively processes all children and handles special cases like @@ -28,4 +28,4 @@ or execute side effects during serialization (e.g., creating relationships).

                                            // Override to add custom serialization logic
                                            prepForXml(context: IContext): IXmlableObject | undefined {
                                            // Custom logic here
                                            return super.prepForXml(context);
                                            }
                                            -
                                          +
                                          diff --git a/api/classes/StyleForParagraph.html b/api/classes/StyleForParagraph.html index 77829b6d3e..7bbedb28fc 100644 --- a/api/classes/StyleForParagraph.html +++ b/api/classes/StyleForParagraph.html @@ -10,14 +10,14 @@ run-level properties (font, size, color) for text within the paragraph.

                                          // Create a custom heading style
                                          new StyleForParagraph({
                                          id: "CustomHeading",
                                          name: "Custom Heading",
                                          basedOn: "Normal",
                                          paragraph: {
                                          spacing: { before: 240, after: 120 },
                                          alignment: AlignmentType.LEFT
                                          },
                                          run: {
                                          size: 28,
                                          bold: true,
                                          color: "2E74B5"
                                          }
                                          });
                                          -

                                          Hierarchy

                                          • Style
                                            • StyleForParagraph
                                          Index

                                          Constructors

                                          Hierarchy

                                          • Style
                                            • StyleForParagraph
                                          Index

                                          Constructors

                                          Methods

                                          Constructors

                                          Methods

                                          • Prepares this component and its children for XML serialization.

                                            This method is called by the Formatter to convert the component tree into an object structure compatible with the xml library (https://www.npmjs.com/package/xml). It recursively processes all children and handles special cases like @@ -29,4 +29,4 @@ or execute side effects during serialization (e.g., creating relationships).

                                            // Override to add custom serialization logic
                                            prepForXml(context: IContext): IXmlableObject | undefined {
                                            // Custom logic here
                                            return super.prepForXml(context);
                                            }
                                            -
                                          +
                                          diff --git a/api/classes/StyleLevel.html b/api/classes/StyleLevel.html index cd14727fc9..fb7b719f13 100644 --- a/api/classes/StyleLevel.html +++ b/api/classes/StyleLevel.html @@ -1,9 +1,9 @@ StyleLevel | docx
                                          docx
                                            Preparing search index...

                                            Class StyleLevel

                                            Represents a style-to-level mapping for table of contents entries.

                                            StyleLevel associates a paragraph style name with a TOC level, allowing custom styles to be included in the table of contents at specific levels.

                                            -
                                            Index

                                            Constructors

                                            Index

                                            Constructors

                                            Properties

                                            Constructors

                                            Properties

                                            level: number

                                            The TOC level (1-9) to assign to this style.

                                            -
                                            styleName: string

                                            The name of the paragraph style.

                                            -
                                            +

                                            Constructors

                                            Properties

                                            level: number

                                            The TOC level (1-9) to assign to this style.

                                            +
                                            styleName: string

                                            The name of the paragraph style.

                                            +
                                            diff --git a/api/classes/Styles.html b/api/classes/Styles.html index 6a83cda74d..92ee0da2bc 100644 --- a/api/classes/Styles.html +++ b/api/classes/Styles.html @@ -10,14 +10,14 @@ a way to define consistent formatting across a document.

                                            // Create styles with custom paragraph and character styles
                                            new Styles({
                                            paragraphStyles: [{
                                            id: "CustomHeading",
                                            name: "Custom Heading",
                                            basedOn: "Normal",
                                            run: { bold: true, size: 28 }
                                            }],
                                            characterStyles: [{
                                            id: "Highlight",
                                            name: "Highlight",
                                            run: { color: "FF0000" }
                                            }]
                                            });
                                            -

                                            Hierarchy (View Summary)

                                            Index

                                            Constructors

                                            Hierarchy (View Summary)

                                            Index

                                            Constructors

                                            Methods

                                            Constructors

                                            Methods

                                            • Prepares this component and its children for XML serialization.

                                              This method is called by the Formatter to convert the component tree into an object structure compatible with the xml library (https://www.npmjs.com/package/xml). It recursively processes all children and handles special cases like @@ -29,4 +29,4 @@ or execute side effects during serialization (e.g., creating relationships).

                                              // Override to add custom serialization logic
                                              prepForXml(context: IContext): IXmlableObject | undefined {
                                              // Custom logic here
                                              return super.prepForXml(context);
                                              }
                                              -
                                            +
                                            diff --git a/api/classes/SymbolRun.html b/api/classes/SymbolRun.html index 12d48836df..5f8df6afa7 100644 --- a/api/classes/SymbolRun.html +++ b/api/classes/SymbolRun.html @@ -3,14 +3,14 @@
                                            new SymbolRun({
                                            char: "F04A",
                                            symbolfont: "Wingdings",
                                            });
                                            -

                                            Hierarchy (View Summary)

                                            Index

                                            Constructors

                                            Hierarchy (View Summary)

                                            Index

                                            Constructors

                                            Methods

                                            Constructors

                                            Methods

                                            • Prepares this component and its children for XML serialization.

                                              This method is called by the Formatter to convert the component tree into an object structure compatible with the xml library (https://www.npmjs.com/package/xml). It recursively processes all children and handles special cases like @@ -22,4 +22,4 @@ or execute side effects during serialization (e.g., creating relationships).

                                              // Override to add custom serialization logic
                                              prepForXml(context: IContext): IXmlableObject | undefined {
                                              // Custom logic here
                                              return super.prepForXml(context);
                                              }
                                              -
                                            +
                                            diff --git a/api/classes/TDirection.html b/api/classes/TDirection.html index 1d3f2bae6f..b9433abeeb 100644 --- a/api/classes/TDirection.html +++ b/api/classes/TDirection.html @@ -9,14 +9,14 @@ useful for creating rotated text or supporting different writing systems.

                                            // Vertical text flowing from top to bottom
                                            new TDirection(TextDirection.TOP_TO_BOTTOM_RIGHT_TO_LEFT);
                                            -

                                            Hierarchy (View Summary)

                                            Index

                                            Constructors

                                            Hierarchy (View Summary)

                                            Index

                                            Constructors

                                            Methods

                                            Constructors

                                            Methods

                                            • Prepares this component and its children for XML serialization.

                                              This method is called by the Formatter to convert the component tree into an object structure compatible with the xml library (https://www.npmjs.com/package/xml). It recursively processes all children and handles special cases like @@ -28,4 +28,4 @@ or execute side effects during serialization (e.g., creating relationships).

                                              // Override to add custom serialization logic
                                              prepForXml(context: IContext): IXmlableObject | undefined {
                                              // Custom logic here
                                              return super.prepForXml(context);
                                              }
                                              -
                                            +
                                            diff --git a/api/classes/Tab.html b/api/classes/Tab.html index 9fef69317e..90dd722e4b 100644 --- a/api/classes/Tab.html +++ b/api/classes/Tab.html @@ -1,13 +1,13 @@ Tab | docx
                                            docx
                                              Preparing search index...

                                              Class Tab

                                              Represents a tab character.

                                              Inserts a tab stop, advancing to the next tab position in the paragraph.

                                              -

                                              Hierarchy (View Summary)

                                              Index

                                              Constructors

                                              Hierarchy (View Summary)

                                              Index

                                              Constructors

                                              Methods

                                              Constructors

                                              Methods

                                              • Prepares this component and its children for XML serialization.

                                                This method is called by the Formatter to convert the component tree into an object structure compatible with the xml library (https://www.npmjs.com/package/xml). It recursively processes all children and handles special cases like @@ -19,4 +19,4 @@ or execute side effects during serialization (e.g., creating relationships).

                                                // Override to add custom serialization logic
                                                prepForXml(context: IContext): IXmlableObject | undefined {
                                                // Custom logic here
                                                return super.prepForXml(context);
                                                }
                                                -
                                              +
                                              diff --git a/api/classes/Table.html b/api/classes/Table.html index 1e32af6b52..3269ac9c55 100644 --- a/api/classes/Table.html +++ b/api/classes/Table.html @@ -9,16 +9,16 @@ Tables are used to organize content into a grid structure.

                                              new Table({
                                              rows: [
                                              new TableRow({
                                              children: [
                                              new TableCell({ children: [new Paragraph("Cell 1")] }),
                                              new TableCell({ children: [new Paragraph("Cell 2")] }),
                                              ],
                                              }),
                                              ],
                                              });
                                              -

                                              Hierarchy (View Summary)

                                              Index

                                              Constructors

                                              Hierarchy (View Summary)

                                              Index

                                              Constructors

                                              Properties

                                              Methods

                                              Constructors

                                              Properties

                                              fileChild: symbol = ...

                                              Marker property identifying this as a FileChild

                                              -

                                              Methods

                                              Constructors

                                              Properties

                                              fileChild: symbol = ...

                                              Marker property identifying this as a FileChild

                                              +

                                              Methods

                                              • Prepares this component and its children for XML serialization.

                                                This method is called by the Formatter to convert the component tree into an object structure compatible with the xml library (https://www.npmjs.com/package/xml). It recursively processes all children and handles special cases like @@ -30,4 +30,4 @@ or execute side effects during serialization (e.g., creating relationships).

                                                // Override to add custom serialization logic
                                                prepForXml(context: IContext): IXmlableObject | undefined {
                                                // Custom logic here
                                                return super.prepForXml(context);
                                                }
                                                -
                                              +
                                              diff --git a/api/classes/TableBorders.html b/api/classes/TableBorders.html index 6dae2fcf57..9605c0f282 100644 --- a/api/classes/TableBorders.html +++ b/api/classes/TableBorders.html @@ -4,15 +4,15 @@
                                              new TableBorders({
                                              top: { style: BorderStyle.SINGLE, size: 6, color: "000000" },
                                              bottom: { style: BorderStyle.SINGLE, size: 6, color: "000000" },
                                              });

                                              // To remove all borders
                                              new TableBorders(TableBorders.NONE);
                                              -

                                              Hierarchy (View Summary)

                                              Index

                                              Constructors

                                              Hierarchy (View Summary)

                                              Index

                                              Constructors

                                              Properties

                                              Methods

                                              Constructors

                                              Properties

                                              Methods

                                              Constructors

                                              Properties

                                              Methods

                                              • Prepares this component and its children for XML serialization.

                                                This method is called by the Formatter to convert the component tree into an object structure compatible with the xml library (https://www.npmjs.com/package/xml). It recursively processes all children and handles special cases like @@ -24,4 +24,4 @@ or execute side effects during serialization (e.g., creating relationships).

                                                // Override to add custom serialization logic
                                                prepForXml(context: IContext): IXmlableObject | undefined {
                                                // Custom logic here
                                                return super.prepForXml(context);
                                                }
                                                -
                                              +
                                              diff --git a/api/classes/TableCell.html b/api/classes/TableCell.html index f606583942..146722ad70 100644 --- a/api/classes/TableCell.html +++ b/api/classes/TableCell.html @@ -10,15 +10,15 @@ with a paragraph element.

                                              new TableCell({
                                              children: [new Paragraph("Cell content")],
                                              width: { size: 3000, type: WidthType.DXA },
                                              });
                                              -

                                              Hierarchy (View Summary)

                                              Index

                                              Constructors

                                              Hierarchy (View Summary)

                                              Index

                                              Constructors

                                              Properties

                                              Methods

                                              Constructors

                                              Properties

                                              Methods

                                              Constructors

                                              Properties

                                              Methods

                                              • Prepares this component and its children for XML serialization.

                                                This method is called by the Formatter to convert the component tree into an object structure compatible with the xml library (https://www.npmjs.com/package/xml). It recursively processes all children and handles special cases like @@ -30,4 +30,4 @@ or execute side effects during serialization (e.g., creating relationships).

                                                // Override to add custom serialization logic
                                                prepForXml(context: IContext): IXmlableObject | undefined {
                                                // Custom logic here
                                                return super.prepForXml(context);
                                                }
                                                -
                                              +
                                              diff --git a/api/classes/TableCellBorders.html b/api/classes/TableCellBorders.html index 636ec3c394..f72d5f2a63 100644 --- a/api/classes/TableCellBorders.html +++ b/api/classes/TableCellBorders.html @@ -9,14 +9,14 @@ can be configured independently with different styles, colors, and widths.

                                              new TableCellBorders({
                                              top: { style: BorderStyle.SINGLE, size: 6, color: "FF0000" },
                                              bottom: { style: BorderStyle.SINGLE, size: 6, color: "0000FF" },
                                              });
                                              -

                                              Hierarchy (View Summary)

                                              Index

                                              Constructors

                                              Hierarchy (View Summary)

                                              Index

                                              Constructors

                                              Methods

                                              Constructors

                                              Methods

                                              +
                                              diff --git a/api/classes/TableOfContents.html b/api/classes/TableOfContents.html index 4c7ef9588d..8159bf2391 100644 --- a/api/classes/TableOfContents.html +++ b/api/classes/TableOfContents.html @@ -9,18 +9,18 @@ with page numbers. It uses a TOC field code to generate entries.

                                              new TableOfContents("Contents", {
                                              hyperlink: true,
                                              headingStyleRange: "1-3",
                                              });
                                              -

                                              Hierarchy (View Summary)

                                              Index

                                              Constructors

                                              Hierarchy (View Summary)

                                              Index

                                              Constructors

                                              Properties

                                              Methods

                                              Constructors

                                              • Parameters

                                                • alias: string = "Table of Contents"
                                                • __namedParameters: ITableOfContentsOptions & {
                                                      beginDirty?: boolean;
                                                      cachedEntries?: readonly ToCEntry[];
                                                      contentChildren?: readonly (string | XmlComponent)[];
                                                  } = {}
                                                  • Optional ReadonlybeginDirty?: boolean
                                                  • Optional ReadonlycachedEntries?: readonly ToCEntry[]

                                                    Use this to provide pre-generated entries for the Table of Contents.

                                                    Note that indentation should come from the paragraph styles defined on the document. By default the styles are TOC1, TOC2, etc. These can be overridden with stylesWithLevels (\t)

                                                    -
                                                  • Optional ReadonlycontentChildren?: readonly (string | XmlComponent)[]

                                                Returns TableOfContents

                                              Properties

                                              fileChild: symbol = ...

                                              Marker property identifying this as a FileChild

                                              -

                                              Methods

                                              Returns TableOfContents

                                              Properties

                                              fileChild: symbol = ...

                                              Marker property identifying this as a FileChild

                                              +

                                              Methods

                                              • Prepares this component and its children for XML serialization.

                                                This method is called by the Formatter to convert the component tree into an object structure compatible with the xml library (https://www.npmjs.com/package/xml). It recursively processes all children and handles special cases like @@ -32,4 +32,4 @@ or execute side effects during serialization (e.g., creating relationships).

                                                // Override to add custom serialization logic
                                                prepForXml(context: IContext): IXmlableObject | undefined {
                                                // Custom logic here
                                                return super.prepForXml(context);
                                                }
                                                -
                                              +
                                              diff --git a/api/classes/TableProperties.html b/api/classes/TableProperties.html index c07e52636b..a2fad22691 100644 --- a/api/classes/TableProperties.html +++ b/api/classes/TableProperties.html @@ -2,14 +2,14 @@

                                              The tblPr element specifies the properties for a table including width, alignment, borders, margins, and layout.

                                              Reference: http://officeopenxml.com/WPtableProperties.php

                                              -

                                              Hierarchy (View Summary)

                                              Index

                                              Constructors

                                              Hierarchy (View Summary)

                                              Index

                                              Constructors

                                              Methods

                                              Constructors

                                              Methods

                                              +
                                              diff --git a/api/classes/TableRow.html b/api/classes/TableRow.html index 40c5803c2e..46b5dbe0a6 100644 --- a/api/classes/TableRow.html +++ b/api/classes/TableRow.html @@ -9,7 +9,7 @@ one or more table cells that hold the actual content.

                                              new TableRow({
                                              children: [
                                              new TableCell({ children: [new Paragraph("Cell 1")] }),
                                              new TableCell({ children: [new Paragraph("Cell 2")] }),
                                              ],
                                              });
                                              -

                                              Hierarchy (View Summary)

                                              Index

                                              Constructors

                                              Hierarchy (View Summary)

                                              Index

                                              Constructors

                                              Accessors

                                              Methods

                                              addCellToColumnIndex @@ -18,11 +18,11 @@ one or more table cells that hold the actual content.

                                              columnIndexToRootIndex prepForXml rootIndexToColumnIndex -

                                              Constructors

                                              Accessors

                                              Methods

                                              Constructors

                                              Accessors

                                              Methods

                                              • Parameters

                                                • columnIndex: number
                                                • allowEndNewCell: boolean = false

                                                Returns number

                                              • Parameters

                                                • columnIndex: number
                                                • allowEndNewCell: boolean = false

                                                Returns number

                                              • Prepares this component and its children for XML serialization.

                                                This method is called by the Formatter to convert the component tree into an object structure compatible with the xml library (https://www.npmjs.com/package/xml). It recursively processes all children and handles special cases like @@ -34,4 +34,4 @@ or execute side effects during serialization (e.g., creating relationships).

                                                // Override to add custom serialization logic
                                                prepForXml(context: IContext): IXmlableObject | undefined {
                                                // Custom logic here
                                                return super.prepForXml(context);
                                                }
                                                -
                                              +
                                              diff --git a/api/classes/TableRowProperties.html b/api/classes/TableRowProperties.html index d310bc2d50..5574ebf521 100644 --- a/api/classes/TableRowProperties.html +++ b/api/classes/TableRowProperties.html @@ -5,14 +5,14 @@ whether it can split across pages, and whether it's a header row.

                                              new TableRowProperties({
                                              cantSplit: true,
                                              tableHeader: true,
                                              height: {
                                              value: 1000,
                                              rule: HeightRule.EXACT,
                                              },
                                              });
                                              -

                                              Hierarchy (View Summary)

                                              Index

                                              Constructors

                                              Hierarchy (View Summary)

                                              Index

                                              Constructors

                                              Methods

                                              Constructors

                                              Methods

                                              +
                                              diff --git a/api/classes/TableRowPropertiesChange.html b/api/classes/TableRowPropertiesChange.html index bf0eafe24c..d53260ff70 100644 --- a/api/classes/TableRowPropertiesChange.html +++ b/api/classes/TableRowPropertiesChange.html @@ -6,14 +6,14 @@ the intermediate object format used by the xml serialization library.

                                              // Creating a custom XML component
                                              class MyElement extends XmlComponent {
                                              constructor(text: string) {
                                              super("w:myElement");
                                              this.root.push(new Attributes({ val: text }));
                                              }
                                              }

                                              const element = new MyElement("Hello");
                                              // When serialized: <w:myElement w:val="Hello"/>
                                              -

                                              Hierarchy (View Summary)

                                              Index

                                              Constructors

                                              Hierarchy (View Summary)

                                              Index

                                              Constructors

                                              Methods

                                              Constructors

                                              Methods

                                              • Prepares this component and its children for XML serialization.

                                                This method is called by the Formatter to convert the component tree into an object structure compatible with the xml library (https://www.npmjs.com/package/xml). It recursively processes all children and handles special cases like @@ -25,4 +25,4 @@ or execute side effects during serialization (e.g., creating relationships).

                                                // Override to add custom serialization logic
                                                prepForXml(context: IContext): IXmlableObject | undefined {
                                                // Custom logic here
                                                return super.prepForXml(context);
                                                }
                                                -
                                              +
                                              diff --git a/api/classes/TextRun.html b/api/classes/TextRun.html index 8922995bdf..8aa96982d1 100644 --- a/api/classes/TextRun.html +++ b/api/classes/TextRun.html @@ -6,14 +6,14 @@ add text content to a paragraph.

                                              // Simple text
                                              new TextRun("Hello World");

                                              // Formatted text
                                              new TextRun({ text: "Bold Text", bold: true });
                                              -

                                              Hierarchy (View Summary)

                                              Index

                                              Constructors

                                              Hierarchy (View Summary)

                                              Index

                                              Constructors

                                              Methods

                                              Constructors

                                              Methods

                                              • Prepares this component and its children for XML serialization.

                                                This method is called by the Formatter to convert the component tree into an object structure compatible with the xml library (https://www.npmjs.com/package/xml). It recursively processes all children and handles special cases like @@ -25,4 +25,4 @@ or execute side effects during serialization (e.g., creating relationships).

                                                // Override to add custom serialization logic
                                                prepForXml(context: IContext): IXmlableObject | undefined {
                                                // Custom logic here
                                                return super.prepForXml(context);
                                                }
                                                -
                                              +
                                              diff --git a/api/classes/Textbox.html b/api/classes/Textbox.html index a5029b82f4..de1585a5f0 100644 --- a/api/classes/Textbox.html +++ b/api/classes/Textbox.html @@ -16,16 +16,16 @@ a VML shape (v:shape) that contains a VML textbox (v:textbox) with the actual co
                                              // Simple textbox with text
                                              new Textbox({
                                              children: [new TextRun("Hello World")],
                                              style: {
                                              width: "3in",
                                              height: "1in"
                                              }
                                              });

                                              // Positioned textbox with wrapping
                                              new Textbox({
                                              children: [
                                              new TextRun({ text: "Floating Text", bold: true }),
                                              new TextRun({ text: " in a textbox", break: 1 })
                                              ],
                                              style: {
                                              width: "2.5in",
                                              height: "1.5in",
                                              position: "absolute",
                                              left: "1in",
                                              top: "2in",
                                              wrapStyle: "square"
                                              }
                                              });
                                              -

                                              Hierarchy (View Summary)

                                              Index

                                              Constructors

                                              Hierarchy (View Summary)

                                              Index

                                              Constructors

                                              Properties

                                              Methods

                                              Constructors

                                              Properties

                                              fileChild: symbol = ...

                                              Marker property identifying this as a FileChild

                                              -

                                              Methods

                                              Constructors

                                              Properties

                                              fileChild: symbol = ...

                                              Marker property identifying this as a FileChild

                                              +

                                              Methods

                                              • Prepares this component and its children for XML serialization.

                                                This method is called by the Formatter to convert the component tree into an object structure compatible with the xml library (https://www.npmjs.com/package/xml). It recursively processes all children and handles special cases like @@ -37,4 +37,4 @@ or execute side effects during serialization (e.g., creating relationships).

                                                // Override to add custom serialization logic
                                                prepForXml(context: IContext): IXmlableObject | undefined {
                                                // Custom logic here
                                                return super.prepForXml(context);
                                                }
                                                -
                                              +
                                              diff --git a/api/classes/ThematicBreak.html b/api/classes/ThematicBreak.html index 3aa197a201..e6fbe75669 100644 --- a/api/classes/ThematicBreak.html +++ b/api/classes/ThematicBreak.html @@ -8,14 +8,14 @@
                                              new Paragraph({
                                              thematicBreak: true,
                                              children: [new TextRun("Paragraph with horizontal rule below")],
                                              });
                                              -

                                              Hierarchy (View Summary)

                                              Index

                                              Constructors

                                              Hierarchy (View Summary)

                                              Index

                                              Constructors

                                              Methods

                                              Constructors

                                              Methods

                                              • Prepares this component and its children for XML serialization.

                                                This method is called by the Formatter to convert the component tree into an object structure compatible with the xml library (https://www.npmjs.com/package/xml). It recursively processes all children and handles special cases like @@ -27,4 +27,4 @@ or execute side effects during serialization (e.g., creating relationships).

                                                // Override to add custom serialization logic
                                                prepForXml(context: IContext): IXmlableObject | undefined {
                                                // Custom logic here
                                                return super.prepForXml(context);
                                                }
                                                -
                                              +
                                              diff --git a/api/classes/VerticalMerge.html b/api/classes/VerticalMerge.html index b3262f4f3c..f1e6ac2328 100644 --- a/api/classes/VerticalMerge.html +++ b/api/classes/VerticalMerge.html @@ -10,14 +10,14 @@ This is used to create row spans in tables.

                                              // First cell in a vertical merge
                                              new VerticalMerge(VerticalMergeType.RESTART);

                                              // Subsequent cells that continue the merge
                                              new VerticalMerge(VerticalMergeType.CONTINUE);
                                              -

                                              Hierarchy (View Summary)

                                              Index

                                              Constructors

                                              Hierarchy (View Summary)

                                              Index

                                              Constructors

                                              Methods

                                              Constructors

                                              Methods

                                              • Prepares this component and its children for XML serialization.

                                                This method is called by the Formatter to convert the component tree into an object structure compatible with the xml library (https://www.npmjs.com/package/xml). It recursively processes all children and handles special cases like @@ -29,4 +29,4 @@ or execute side effects during serialization (e.g., creating relationships).

                                                // Override to add custom serialization logic
                                                prepForXml(context: IContext): IXmlableObject | undefined {
                                                // Custom logic here
                                                return super.prepForXml(context);
                                                }
                                                -
                                              +
                                              diff --git a/api/classes/WpgGroupRun.html b/api/classes/WpgGroupRun.html index 58e52309f4..61a5c802a0 100644 --- a/api/classes/WpgGroupRun.html +++ b/api/classes/WpgGroupRun.html @@ -1,11 +1,11 @@ -WpgGroupRun | docx
                                              docx
                                                Preparing search index...

                                                Class WpgGroupRun

                                                Hierarchy (View Summary)

                                                Index

                                                Constructors

                                                constructor +WpgGroupRun | docx
                                                docx
                                                  Preparing search index...

                                                  Class WpgGroupRun

                                                  Hierarchy (View Summary)

                                                  Index

                                                  Constructors

                                                  Methods

                                                  Constructors

                                                  Methods

                                                  • Prepares this component and its children for XML serialization.

                                                    This method is called by the Formatter to convert the component tree into an object structure compatible with the xml library (https://www.npmjs.com/package/xml). It recursively processes all children and handles special cases like @@ -17,4 +17,4 @@ or execute side effects during serialization (e.g., creating relationships).

                                                    // Override to add custom serialization logic
                                                    prepForXml(context: IContext): IXmlableObject | undefined {
                                                    // Custom logic here
                                                    return super.prepForXml(context);
                                                    }
                                                    -
                                                  +
                                                  diff --git a/api/classes/WpsShapeRun.html b/api/classes/WpsShapeRun.html index 17399a28b0..d7fee5a5ec 100644 --- a/api/classes/WpsShapeRun.html +++ b/api/classes/WpsShapeRun.html @@ -1,11 +1,11 @@ -WpsShapeRun | docx
                                                  docx
                                                    Preparing search index...

                                                    Class WpsShapeRun

                                                    Hierarchy (View Summary)

                                                    Index

                                                    Constructors

                                                    constructor +WpsShapeRun | docx
                                                    docx
                                                      Preparing search index...

                                                      Class WpsShapeRun

                                                      Hierarchy (View Summary)

                                                      Index

                                                      Constructors

                                                      Methods

                                                      Constructors

                                                      Methods

                                                      • Prepares this component and its children for XML serialization.

                                                        This method is called by the Formatter to convert the component tree into an object structure compatible with the xml library (https://www.npmjs.com/package/xml). It recursively processes all children and handles special cases like @@ -17,4 +17,4 @@ or execute side effects during serialization (e.g., creating relationships).

                                                        // Override to add custom serialization logic
                                                        prepForXml(context: IContext): IXmlableObject | undefined {
                                                        // Custom logic here
                                                        return super.prepForXml(context);
                                                        }
                                                        -
                                                      +
                                                      diff --git a/api/classes/XmlAttributeComponent.html b/api/classes/XmlAttributeComponent.html index 7f4e434924..cb767f352c 100644 --- a/api/classes/XmlAttributeComponent.html +++ b/api/classes/XmlAttributeComponent.html @@ -5,13 +5,13 @@ can define an xmlKeys map to specify the transformation.

                                                      class MyAttributes extends XmlAttributeComponent<{ fontSize: number }> {
                                                      protected readonly xmlKeys = { fontSize: "w:sz" };
                                                      }

                                                      new MyAttributes({ fontSize: 24 });
                                                      // Generates: _attr: { "w:sz": 24 }
                                                      -

                                                      Type Parameters

                                                      • T extends Record<string, any>

                                                      Hierarchy (View Summary)

                                                      Index

                                                      Constructors

                                                      Type Parameters

                                                      • T extends Record<string, any>

                                                      Hierarchy (View Summary)

                                                      Index

                                                      Constructors

                                                      Methods

                                                      Constructors

                                                      Methods

                                                      Returns XmlAttributeComponent<T>

                                                      Methods

                                                      +
                                                      diff --git a/api/classes/XmlComponent.html b/api/classes/XmlComponent.html index 452975cecd..06ee61fd4b 100644 --- a/api/classes/XmlComponent.html +++ b/api/classes/XmlComponent.html @@ -6,16 +6,16 @@ the intermediate object format used by the xml serialization library.

                                                      // Creating a custom XML component
                                                      class MyElement extends XmlComponent {
                                                      constructor(text: string) {
                                                      super("w:myElement");
                                                      this.root.push(new Attributes({ val: text }));
                                                      }
                                                      }

                                                      const element = new MyElement("Hello");
                                                      // When serialized: <w:myElement w:val="Hello"/>
                                                      -

                                                      Hierarchy (View Summary)

                                                      Index

                                                      Constructors

                                                      Hierarchy (View Summary)

                                                      Index

                                                      Constructors

                                                      Methods

                                                      Returns XmlComponent

                                                      Methods

                                                      • Prepares this component and its children for XML serialization.

                                                        This method is called by the Formatter to convert the component tree into an object structure compatible with the xml library (https://www.npmjs.com/package/xml). It recursively processes all children and handles special cases like @@ -27,4 +27,4 @@ or execute side effects during serialization (e.g., creating relationships).

                                                        // Override to add custom serialization logic
                                                        prepForXml(context: IContext): IXmlableObject | undefined {
                                                        // Custom logic here
                                                        return super.prepForXml(context);
                                                        }
                                                        -
                                                      +
                                                      diff --git a/api/classes/YearLong.html b/api/classes/YearLong.html index 504016ca9c..2c9095d78c 100644 --- a/api/classes/YearLong.html +++ b/api/classes/YearLong.html @@ -1,13 +1,13 @@ YearLong | docx
                                                      docx
                                                        Preparing search index...

                                                        Class YearLong

                                                        Represents the current year in long format (e.g., "2024").

                                                        Inserts a dynamic field showing the year portion of the current date in four digits.

                                                        -

                                                        Hierarchy (View Summary)

                                                        Index

                                                        Constructors

                                                        Hierarchy (View Summary)

                                                        Index

                                                        Constructors

                                                        Methods

                                                        Constructors

                                                        Methods

                                                        • Prepares this component and its children for XML serialization.

                                                          This method is called by the Formatter to convert the component tree into an object structure compatible with the xml library (https://www.npmjs.com/package/xml). It recursively processes all children and handles special cases like @@ -19,4 +19,4 @@ or execute side effects during serialization (e.g., creating relationships).

                                                          // Override to add custom serialization logic
                                                          prepForXml(context: IContext): IXmlableObject | undefined {
                                                          // Custom logic here
                                                          return super.prepForXml(context);
                                                          }
                                                          -
                                                        +
                                                        diff --git a/api/classes/YearShort.html b/api/classes/YearShort.html index 18d1684233..3aa61b26e0 100644 --- a/api/classes/YearShort.html +++ b/api/classes/YearShort.html @@ -1,13 +1,13 @@ YearShort | docx
                                                        docx
                                                          Preparing search index...

                                                          Class YearShort

                                                          Represents the current year in short format (e.g., "24").

                                                          Inserts a dynamic field showing the year portion of the current date in two digits.

                                                          -

                                                          Hierarchy (View Summary)

                                                          Index

                                                          Constructors

                                                          Hierarchy (View Summary)

                                                          Index

                                                          Constructors

                                                          Methods

                                                          Constructors

                                                          Methods

                                                          • Prepares this component and its children for XML serialization.

                                                            This method is called by the Formatter to convert the component tree into an object structure compatible with the xml library (https://www.npmjs.com/package/xml). It recursively processes all children and handles special cases like @@ -19,4 +19,4 @@ or execute side effects during serialization (e.g., creating relationships).

                                                            // Override to add custom serialization logic
                                                            prepForXml(context: IContext): IXmlableObject | undefined {
                                                            // Custom logic here
                                                            return super.prepForXml(context);
                                                            }
                                                            -
                                                          +
                                                          diff --git a/api/enums/NumberedItemReferenceFormat.html b/api/enums/NumberedItemReferenceFormat.html index 882cba8bec..01c25cad85 100644 --- a/api/enums/NumberedItemReferenceFormat.html +++ b/api/enums/NumberedItemReferenceFormat.html @@ -1,10 +1,10 @@ NumberedItemReferenceFormat | docx
                                                          docx
                                                            Preparing search index...

                                                            Enumeration NumberedItemReferenceFormat

                                                            Format options for numbered item references.

                                                            Specifies how the paragraph number should be displayed when referenced.

                                                            -
                                                            Index

                                                            Enumeration Members

                                                            Index

                                                            Enumeration Members

                                                            Enumeration Members

                                                            FULL_CONTEXT: "full_context"

                                                            \w option - causes the field result to be the entire paragraph number without trailing periods, regardless of the location of the REF field.

                                                            -
                                                            NO_CONTEXT: "no_context"

                                                            \n option - causes the field result to be the paragraph number without trailing periods. No information about prior numbered levels is displayed unless it is included as part of the current level.

                                                            -
                                                            NONE: "none"
                                                            RELATIVE: "relative"

                                                            \r option - inserts the paragraph number of the bookmarked paragraph in relative context, or relative to its position in the numbering scheme

                                                            -
                                                            +
                                                            NO_CONTEXT: "no_context"

                                                            \n option - causes the field result to be the paragraph number without trailing periods. No information about prior numbered levels is displayed unless it is included as part of the current level.

                                                            +
                                                            NONE: "none"
                                                            RELATIVE: "relative"

                                                            \r option - inserts the paragraph number of the bookmarked paragraph in relative context, or relative to its position in the numbering scheme

                                                            +
                                                            diff --git a/api/enums/VerticalAnchor.html b/api/enums/VerticalAnchor.html index c1fb754efc..d1005f581f 100644 --- a/api/enums/VerticalAnchor.html +++ b/api/enums/VerticalAnchor.html @@ -1,4 +1,4 @@ -VerticalAnchor | docx
                                                            docx
                                                              Preparing search index...

                                                              Enumeration VerticalAnchor

                                                              Index

                                                              Enumeration Members

                                                              BOTTOM +VerticalAnchor | docx
                                                              docx
                                                                Preparing search index...
                                                                +

                                                                Enumeration Members

                                                                BOTTOM: "b"
                                                                CENTER: "ctr"
                                                                TOP: "t"
                                                                diff --git a/api/functions/abstractNumUniqueNumericIdGen.html b/api/functions/abstractNumUniqueNumericIdGen.html index 8db6a91ae9..203b60b0fd 100644 --- a/api/functions/abstractNumUniqueNumericIdGen.html +++ b/api/functions/abstractNumUniqueNumericIdGen.html @@ -4,4 +4,4 @@
                                                                const idGen = abstractNumUniqueNumericIdGen();
                                                                const id = idGen(); // Returns 1
                                                                -
                                                                +
                                                                diff --git a/api/functions/bookmarkUniqueNumericIdGen.html b/api/functions/bookmarkUniqueNumericIdGen.html index dea3c596fc..f1b82961e1 100644 --- a/api/functions/bookmarkUniqueNumericIdGen.html +++ b/api/functions/bookmarkUniqueNumericIdGen.html @@ -5,4 +5,4 @@ and cross-referencing.

                                                                const idGen = bookmarkUniqueNumericIdGen();
                                                                const id = idGen(); // Returns 1
                                                                -
                                                                +
                                                                diff --git a/api/functions/commentIdToParaId.html b/api/functions/commentIdToParaId.html index 6a2b3b347d..7196705700 100644 --- a/api/functions/commentIdToParaId.html +++ b/api/functions/commentIdToParaId.html @@ -1,2 +1,2 @@ commentIdToParaId | docx
                                                                docx
                                                                  Preparing search index...

                                                                  Function commentIdToParaId

                                                                  • Converts a comment ID to a deterministic 8-character uppercase hex paraId.

                                                                    -

                                                                    Parameters

                                                                    • id: number

                                                                    Returns string

                                                                  +

                                                                  Parameters

                                                                  • id: number

                                                                  Returns string

                                                                  diff --git a/api/functions/concreteNumUniqueNumericIdGen.html b/api/functions/concreteNumUniqueNumericIdGen.html index 00bfedfd81..9fea39c4e6 100644 --- a/api/functions/concreteNumUniqueNumericIdGen.html +++ b/api/functions/concreteNumUniqueNumericIdGen.html @@ -6,4 +6,4 @@ reserved for "default-bullet-numbering".

                                                                  const idGen = concreteNumUniqueNumericIdGen();
                                                                  const id = idGen(); // Returns 2 (1 is reserved)
                                                                  -
                                                                  +
                                                                  diff --git a/api/functions/convertInchesToTwip.html b/api/functions/convertInchesToTwip.html index 750e0774c7..f16c38dced 100644 --- a/api/functions/convertInchesToTwip.html +++ b/api/functions/convertInchesToTwip.html @@ -5,4 +5,4 @@
                                                                  const width = convertInchesToTwip(1); // Returns 1440
                                                                   
                                                                  -
                                                                  +
                                                                  diff --git a/api/functions/convertMillimetersToTwip.html b/api/functions/convertMillimetersToTwip.html index 2012acbc8a..debbcdc8a1 100644 --- a/api/functions/convertMillimetersToTwip.html +++ b/api/functions/convertMillimetersToTwip.html @@ -5,4 +5,4 @@
                                                                  const width = convertMillimetersToTwip(25.4); // Returns 1440 (1 inch)
                                                                   
                                                                  -
                                                                  +
                                                                  diff --git a/api/functions/convertToXmlComponent.html b/api/functions/convertToXmlComponent.html index b22594cf13..9a9d9698a6 100644 --- a/api/functions/convertToXmlComponent.html +++ b/api/functions/convertToXmlComponent.html @@ -7,4 +7,4 @@ of the original XML.

                                                                  const xmlElement = xml2js('<w:p><w:r><w:t>Hello</w:t></w:r></w:p>');
                                                                  const component = convertToXmlComponent(xmlElement);
                                                                  -
                                                                  +
                                                                  diff --git a/api/functions/createAlignment.html b/api/functions/createAlignment.html index a1d2cdbd6c..d2cbcddf30 100644 --- a/api/functions/createAlignment.html +++ b/api/functions/createAlignment.html @@ -8,4 +8,4 @@

                                                                  Parameters

                                                                  • type:
                                                                        | "center"
                                                                        | "left"
                                                                        | "right"
                                                                        | "end"
                                                                        | "both"
                                                                        | "start"
                                                                        | "mediumKashida"
                                                                        | "distribute"
                                                                        | "numTab"
                                                                        | "highKashida"
                                                                        | "lowKashida"
                                                                        | "thaiDistribute"

                                                                  Returns XmlComponent

                                                                  new Paragraph({
                                                                  alignment: AlignmentType.CENTER,
                                                                  children: [new TextRun("Centered text")],
                                                                  });
                                                                  -
                                                                  +
                                                                  diff --git a/api/functions/createBodyProperties.html b/api/functions/createBodyProperties.html index d8200238a0..ffcd0cd83c 100644 --- a/api/functions/createBodyProperties.html +++ b/api/functions/createBodyProperties.html @@ -1 +1 @@ -createBodyProperties | docx
                                                                  docx
                                                                    Preparing search index...

                                                                    Function createBodyProperties

                                                                    +createBodyProperties | docx
                                                                    docx
                                                                      Preparing search index...

                                                                      Function createBodyProperties

                                                                      diff --git a/api/functions/createBorderElement.html b/api/functions/createBorderElement.html index 2647a7b388..5db8a01521 100644 --- a/api/functions/createBorderElement.html +++ b/api/functions/createBorderElement.html @@ -5,4 +5,4 @@ types (top, bottom, left, right, etc.).

                                                                      Parameters

                                                                      Returns XmlComponent

                                                                      // Create a top border
                                                                      createBorderElement("w:top", {
                                                                      style: BorderStyle.SINGLE,
                                                                      color: "FF0000",
                                                                      size: 24,
                                                                      space: 1,
                                                                      });
                                                                      -
                                                                      +
                                                                      diff --git a/api/functions/createColumns.html b/api/functions/createColumns.html index ca7e1dc888..796b734eb0 100644 --- a/api/functions/createColumns.html +++ b/api/functions/createColumns.html @@ -9,4 +9,4 @@ including column count, spacing, and whether columns have equal or custom widths

                                                                      Parameters

                                                                      Returns XmlComponent

                                                                      // Two equal-width columns with separator
                                                                      createColumns({
                                                                      count: 2,
                                                                      space: 720,
                                                                      separate: true,
                                                                      equalWidth: true
                                                                      });

                                                                      // Custom column widths
                                                                      createColumns({
                                                                      equalWidth: false,
                                                                      children: [
                                                                      { width: 3000, space: 720 },
                                                                      { width: 4000, space: 0 }
                                                                      ]
                                                                      });
                                                                      -
                                                                      +
                                                                      diff --git a/api/functions/createDocumentGrid.html b/api/functions/createDocumentGrid.html index 126842d436..a26c8aa88d 100644 --- a/api/functions/createDocumentGrid.html +++ b/api/functions/createDocumentGrid.html @@ -3,4 +3,4 @@
                                                                      <xsd:complexType name="CT_DocGrid">
                                                                      <xsd:attribute name="type" type="ST_DocGrid"/>
                                                                      <xsd:attribute name="linePitch" type="ST_DecimalNumber"/>
                                                                      <xsd:attribute name="charSpace" type="ST_DecimalNumber"/>
                                                                      </xsd:complexType>
                                                                      -

                                                                      Parameters

                                                                      Returns XmlComponent

                                                                      +

                                                                      Parameters

                                                                      Returns XmlComponent

                                                                      diff --git a/api/functions/createDotEmphasisMark.html b/api/functions/createDotEmphasisMark.html index 88566773de..98434f7a1f 100644 --- a/api/functions/createDotEmphasisMark.html +++ b/api/functions/createDotEmphasisMark.html @@ -1,3 +1,3 @@ createDotEmphasisMark | docx
                                                                      docx
                                                                        Preparing search index...

                                                                        Function createDotEmphasisMark

                                                                        +

                                                                        Returns XmlComponent

                                                                        diff --git a/api/functions/createEmphasisMark.html b/api/functions/createEmphasisMark.html index 5d645f0e3e..339f64a7c3 100644 --- a/api/functions/createEmphasisMark.html +++ b/api/functions/createEmphasisMark.html @@ -9,4 +9,4 @@ text to emphasize it. This is commonly used in East Asian typography.

                                                                        Parameters

                                                                        • emphasisMarkType: "dot" = EmphasisMarkType.DOT

                                                                        Returns XmlComponent

                                                                        // Apply dot emphasis mark
                                                                        createEmphasisMark(EmphasisMarkType.DOT);

                                                                        // Default to dot
                                                                        createEmphasisMark();
                                                                        -
                                                                        +
                                                                        diff --git a/api/functions/createFrameProperties.html b/api/functions/createFrameProperties.html index 3bf8d1de85..e43861c09d 100644 --- a/api/functions/createFrameProperties.html +++ b/api/functions/createFrameProperties.html @@ -12,4 +12,4 @@ drop cap effects and various text wrapping options.

                                                                        // Frame with absolute positioning
                                                                        createFrameProperties({
                                                                        type: "absolute",
                                                                        position: { x: 1440, y: 1440 }, // 1 inch from anchor
                                                                        width: 2880, // 2 inches
                                                                        height: 1440, // 1 inch
                                                                        anchor: {
                                                                        horizontal: FrameAnchorType.PAGE,
                                                                        vertical: FrameAnchorType.PAGE,
                                                                        },
                                                                        wrap: FrameWrap.AROUND,
                                                                        });

                                                                        // Frame with alignment positioning and drop cap
                                                                        createFrameProperties({
                                                                        type: "alignment",
                                                                        alignment: {
                                                                        x: HorizontalPositionAlign.LEFT,
                                                                        y: VerticalPositionAlign.TOP,
                                                                        },
                                                                        width: 1440,
                                                                        height: 1440,
                                                                        anchor: {
                                                                        horizontal: FrameAnchorType.TEXT,
                                                                        vertical: FrameAnchorType.TEXT,
                                                                        },
                                                                        dropCap: DropCapType.DROP,
                                                                        lines: 3,
                                                                        });
                                                                        -
                                                                        +
                                                                        diff --git a/api/functions/createHeaderFooterReference.html b/api/functions/createHeaderFooterReference.html index 7fbe7b62c9..149179a8bc 100644 --- a/api/functions/createHeaderFooterReference.html +++ b/api/functions/createHeaderFooterReference.html @@ -1 +1 @@ -createHeaderFooterReference | docx
                                                                        docx
                                                                          Preparing search index...

                                                                          Function createHeaderFooterReference

                                                                          +createHeaderFooterReference | docx
                                                                          docx
                                                                            Preparing search index...

                                                                            Function createHeaderFooterReference

                                                                            diff --git a/api/functions/createHorizontalPosition.html b/api/functions/createHorizontalPosition.html index 39a5173d97..7dd1dc6b85 100644 --- a/api/functions/createHorizontalPosition.html +++ b/api/functions/createHorizontalPosition.html @@ -11,4 +11,4 @@ object relative to a base element (page, margin, column, etc.).

                                                                            // Align to the left of the page
                                                                            createHorizontalPosition({
                                                                            relative: HorizontalPositionRelativeFrom.PAGE,
                                                                            align: HorizontalPositionAlign.LEFT,
                                                                            });

                                                                            // Offset from the margin
                                                                            createHorizontalPosition({
                                                                            relative: HorizontalPositionRelativeFrom.MARGIN,
                                                                            offset: 914400, // 1 inch in EMUs
                                                                            });
                                                                            -
                                                                            +
                                                                            diff --git a/api/functions/createIndent.html b/api/functions/createIndent.html index 8f25bceb01..8cd3f04872 100644 --- a/api/functions/createIndent.html +++ b/api/functions/createIndent.html @@ -5,4 +5,4 @@
                                                                            <xsd:complexType name="CT_Ind">
                                                                            <xsd:attribute name="start" type="ST_SignedTwipsMeasure" use="optional"/>
                                                                            <xsd:attribute name="startChars" type="ST_DecimalNumber" use="optional"/>
                                                                            <xsd:attribute name="end" type="ST_SignedTwipsMeasure" use="optional"/>
                                                                            <xsd:attribute name="endChars" type="ST_DecimalNumber" use="optional"/>
                                                                            <xsd:attribute name="left" type="ST_SignedTwipsMeasure" use="optional"/>
                                                                            <xsd:attribute name="leftChars" type="ST_DecimalNumber" use="optional"/>
                                                                            <xsd:attribute name="right" type="ST_SignedTwipsMeasure" use="optional"/>
                                                                            <xsd:attribute name="rightChars" type="ST_DecimalNumber" use="optional"/>
                                                                            <xsd:attribute name="hanging" type="s:ST_TwipsMeasure" use="optional"/>
                                                                            <xsd:attribute name="hangingChars" type="ST_DecimalNumber" use="optional"/>
                                                                            <xsd:attribute name="firstLine" type="s:ST_TwipsMeasure" use="optional"/>
                                                                            <xsd:attribute name="firstLineChars" type="ST_DecimalNumber" use="optional"/>
                                                                            </xsd:complexType>
                                                                            -

                                                                            Parameters

                                                                            Returns XmlComponent

                                                                            +

                                                                            Parameters

                                                                            Returns XmlComponent

                                                                            diff --git a/api/functions/createLineNumberType.html b/api/functions/createLineNumberType.html index 18d126bdc3..f64afe28af 100644 --- a/api/functions/createLineNumberType.html +++ b/api/functions/createLineNumberType.html @@ -8,4 +8,4 @@
                                                                            <xsd:complexType name="CT_LineNumber">
                                                                            <xsd:attribute name="countBy" type="ST_DecimalNumber" use="optional"/>
                                                                            <xsd:attribute name="start" type="ST_DecimalNumber" use="optional" default="1"/>
                                                                            <xsd:attribute name="distance" type="s:ST_TwipsMeasure" use="optional"/>
                                                                            <xsd:attribute name="restart" type="ST_LineNumberRestart" use="optional" default="newPage"/>
                                                                            </xsd:complexType>
                                                                            -

                                                                            Parameters

                                                                            Returns XmlComponent

                                                                            +

                                                                            Parameters

                                                                            Returns XmlComponent

                                                                            diff --git a/api/functions/createMathAccentCharacter.html b/api/functions/createMathAccentCharacter.html index 817e0d525f..2496c51618 100644 --- a/api/functions/createMathAccentCharacter.html +++ b/api/functions/createMathAccentCharacter.html @@ -6,4 +6,4 @@ such as summation (∑), integral (∫), or product (∏) symbols.

                                                                            <xsd:complexType name="CT_Char">
                                                                            <xsd:attribute name="val" type="ST_Char" use="required"/>
                                                                            </xsd:complexType>
                                                                            -

                                                                            Parameters

                                                                            • __namedParameters: MathAccentCharacterOptions

                                                                            Returns XmlComponent

                                                                            +

                                                                            Parameters

                                                                            • __namedParameters: MathAccentCharacterOptions

                                                                            Returns XmlComponent

                                                                            diff --git a/api/functions/createMathBase.html b/api/functions/createMathBase.html index 1f02d5f0a1..3d336ec0b5 100644 --- a/api/functions/createMathBase.html +++ b/api/functions/createMathBase.html @@ -6,4 +6,4 @@ radicals, and n-ary operators to contain the primary expression.

                                                                            <xsd:complexType name="CT_OMathArg">
                                                                            <xsd:sequence>
                                                                            <xsd:element name="argPr" type="CT_OMathArgPr" minOccurs="0"/>
                                                                            <xsd:group ref="EG_OMathMathElements" minOccurs="0" maxOccurs="unbounded"/>
                                                                            <xsd:element name="ctrlPr" type="CT_CtrlPr" minOccurs="0"/>
                                                                            </xsd:sequence>
                                                                            </xsd:complexType>
                                                                            -

                                                                            Parameters

                                                                            • __namedParameters: MathBaseOptions

                                                                            Returns XmlComponent

                                                                            +

                                                                            Parameters

                                                                            • __namedParameters: MathBaseOptions

                                                                            Returns XmlComponent

                                                                            diff --git a/api/functions/createMathLimitLocation.html b/api/functions/createMathLimitLocation.html index b3002611fe..0f3a51ceaa 100644 --- a/api/functions/createMathLimitLocation.html +++ b/api/functions/createMathLimitLocation.html @@ -9,4 +9,4 @@
                                                                            <xsd:complexType name="CT_LimLoc">
                                                                            <xsd:attribute name="val" type="ST_LimLoc"/>
                                                                            </xsd:complexType>
                                                                            -

                                                                            Parameters

                                                                            • __namedParameters: MathLimitLocationOptions

                                                                            Returns XmlComponent

                                                                            +

                                                                            Parameters

                                                                            • __namedParameters: MathLimitLocationOptions

                                                                            Returns XmlComponent

                                                                            diff --git a/api/functions/createMathNAryProperties.html b/api/functions/createMathNAryProperties.html index 4617606cc8..133c52de4c 100644 --- a/api/functions/createMathNAryProperties.html +++ b/api/functions/createMathNAryProperties.html @@ -6,4 +6,4 @@ and integrals, including the operator character and limit positioning.

                                                                            <xsd:complexType name="CT_NaryPr">
                                                                            <xsd:sequence>
                                                                            <xsd:element name="chr" type="CT_Char" minOccurs="0"/>
                                                                            <xsd:element name="limLoc" type="CT_LimLoc" minOccurs="0"/>
                                                                            <xsd:element name="grow" type="CT_OnOff" minOccurs="0"/>
                                                                            <xsd:element name="subHide" type="CT_OnOff" minOccurs="0"/>
                                                                            <xsd:element name="supHide" type="CT_OnOff" minOccurs="0"/>
                                                                            <xsd:element name="ctrlPr" type="CT_CtrlPr" minOccurs="0"/>
                                                                            </xsd:sequence>
                                                                            </xsd:complexType>
                                                                            -

                                                                            Parameters

                                                                            • __namedParameters: MathNAryPropertiesOptions

                                                                            Returns XmlComponent

                                                                            +

                                                                            Parameters

                                                                            • __namedParameters: MathNAryPropertiesOptions

                                                                            Returns XmlComponent

                                                                            diff --git a/api/functions/createMathPreSubSuperScriptProperties.html b/api/functions/createMathPreSubSuperScriptProperties.html index f57aef2066..fbb9d81d95 100644 --- a/api/functions/createMathPreSubSuperScriptProperties.html +++ b/api/functions/createMathPreSubSuperScriptProperties.html @@ -5,4 +5,4 @@
                                                                            <xsd:complexType name="CT_SPrePr">
                                                                            <xsd:sequence>
                                                                            <xsd:element name="ctrlPr" type="CT_CtrlPr" minOccurs="0"/>
                                                                            </xsd:sequence>
                                                                            </xsd:complexType>
                                                                            -

                                                                            Returns XmlComponent

                                                                            +

                                                                            Returns XmlComponent

                                                                            diff --git a/api/functions/createMathSubScriptElement.html b/api/functions/createMathSubScriptElement.html index cc6b7daf00..33f32a9b06 100644 --- a/api/functions/createMathSubScriptElement.html +++ b/api/functions/createMathSubScriptElement.html @@ -6,4 +6,4 @@ script objects, and other structures that support subscripts.

                                                                            <xsd:complexType name="CT_OMathArg">
                                                                            <xsd:sequence>
                                                                            <xsd:element name="argPr" type="CT_OMathArgPr" minOccurs="0"/>
                                                                            <xsd:group ref="EG_OMathMathElements" minOccurs="0" maxOccurs="unbounded"/>
                                                                            <xsd:element name="ctrlPr" type="CT_CtrlPr" minOccurs="0"/>
                                                                            </xsd:sequence>
                                                                            </xsd:complexType>
                                                                            -

                                                                            Parameters

                                                                            • __namedParameters: MathSubScriptElementOptions

                                                                            Returns XmlComponent

                                                                            +

                                                                            Parameters

                                                                            • __namedParameters: MathSubScriptElementOptions

                                                                            Returns XmlComponent

                                                                            diff --git a/api/functions/createMathSubScriptProperties.html b/api/functions/createMathSubScriptProperties.html index 91d696664e..3af9e66175 100644 --- a/api/functions/createMathSubScriptProperties.html +++ b/api/functions/createMathSubScriptProperties.html @@ -5,4 +5,4 @@
                                                                            <xsd:complexType name="CT_SSubPr">
                                                                            <xsd:sequence>
                                                                            <xsd:element name="ctrlPr" type="CT_CtrlPr" minOccurs="0"/>
                                                                            </xsd:sequence>
                                                                            </xsd:complexType>
                                                                            -

                                                                            Returns XmlComponent

                                                                            +

                                                                            Returns XmlComponent

                                                                            diff --git a/api/functions/createMathSubSuperScriptProperties.html b/api/functions/createMathSubSuperScriptProperties.html index 2a133eec0e..805ffe0bcc 100644 --- a/api/functions/createMathSubSuperScriptProperties.html +++ b/api/functions/createMathSubSuperScriptProperties.html @@ -5,4 +5,4 @@
                                                                            <xsd:complexType name="CT_SSubSupPr">
                                                                            <xsd:sequence>
                                                                            <xsd:element name="alignScripts" type="CT_OnOff" minOccurs="0"/>
                                                                            <xsd:element name="ctrlPr" type="CT_CtrlPr" minOccurs="0"/>
                                                                            </xsd:sequence>
                                                                            </xsd:complexType>
                                                                            -

                                                                            Returns XmlComponent

                                                                            +

                                                                            Returns XmlComponent

                                                                            diff --git a/api/functions/createMathSuperScriptElement.html b/api/functions/createMathSuperScriptElement.html index a6b5392599..de65197307 100644 --- a/api/functions/createMathSuperScriptElement.html +++ b/api/functions/createMathSuperScriptElement.html @@ -6,4 +6,4 @@ script objects, and other structures that support superscripts.

                                                                            <xsd:complexType name="CT_OMathArg">
                                                                            <xsd:sequence>
                                                                            <xsd:element name="argPr" type="CT_OMathArgPr" minOccurs="0"/>
                                                                            <xsd:group ref="EG_OMathMathElements" minOccurs="0" maxOccurs="unbounded"/>
                                                                            <xsd:element name="ctrlPr" type="CT_CtrlPr" minOccurs="0"/>
                                                                            </xsd:sequence>
                                                                            </xsd:complexType>
                                                                            -

                                                                            Parameters

                                                                            • __namedParameters: MathSuperScriptElementOptions

                                                                            Returns XmlComponent

                                                                            +

                                                                            Parameters

                                                                            • __namedParameters: MathSuperScriptElementOptions

                                                                            Returns XmlComponent

                                                                            diff --git a/api/functions/createMathSuperScriptProperties.html b/api/functions/createMathSuperScriptProperties.html index 44e7fb252d..d33b472bdc 100644 --- a/api/functions/createMathSuperScriptProperties.html +++ b/api/functions/createMathSuperScriptProperties.html @@ -5,4 +5,4 @@
                                                                            <xsd:complexType name="CT_SSupPr">
                                                                            <xsd:sequence>
                                                                            <xsd:element name="ctrlPr" type="CT_CtrlPr" minOccurs="0"/>
                                                                            </xsd:sequence>
                                                                            </xsd:complexType>
                                                                            -

                                                                            Returns XmlComponent

                                                                            +

                                                                            Returns XmlComponent

                                                                            diff --git a/api/functions/createOutlineLevel.html b/api/functions/createOutlineLevel.html index f4e8ae5527..6faeba7330 100644 --- a/api/functions/createOutlineLevel.html +++ b/api/functions/createOutlineLevel.html @@ -9,4 +9,4 @@ to Heading 1, level 1 to Heading 2, etc.

                                                                            Parameters

                                                                            • level: number

                                                                            Returns XmlComponent

                                                                            // Set outline level to 0 (Heading 1)
                                                                            createOutlineLevel(0);

                                                                            // Set outline level to 2 (Heading 3)
                                                                            createOutlineLevel(2);
                                                                            -
                                                                            +
                                                                            diff --git a/api/functions/createPageMargin.html b/api/functions/createPageMargin.html index 6c1160442b..acfda2aa4d 100644 --- a/api/functions/createPageMargin.html +++ b/api/functions/createPageMargin.html @@ -9,4 +9,4 @@ including top, bottom, left, right, header, footer, and gutter margins.

                                                                            Parameters

                                                                            • top:
                                                                                  | number
                                                                                  | `${number}mm`
                                                                                  | `${number}cm`
                                                                                  | `${number}in`
                                                                                  | `${number}pt`
                                                                                  | `${number}pc`
                                                                                  | `${number}pi`
                                                                                  | `-${number}mm`
                                                                                  | `-${number}cm`
                                                                                  | `-${number}in`
                                                                                  | `-${number}pt`
                                                                                  | `-${number}pc`
                                                                                  | `-${number}pi`
                                                                            • right:
                                                                                  | number
                                                                                  | `${number}mm`
                                                                                  | `${number}cm`
                                                                                  | `${number}in`
                                                                                  | `${number}pt`
                                                                                  | `${number}pc`
                                                                                  | `${number}pi`
                                                                            • bottom:
                                                                                  | number
                                                                                  | `${number}mm`
                                                                                  | `${number}cm`
                                                                                  | `${number}in`
                                                                                  | `${number}pt`
                                                                                  | `${number}pc`
                                                                                  | `${number}pi`
                                                                                  | `-${number}mm`
                                                                                  | `-${number}cm`
                                                                                  | `-${number}in`
                                                                                  | `-${number}pt`
                                                                                  | `-${number}pc`
                                                                                  | `-${number}pi`
                                                                            • left:
                                                                                  | number
                                                                                  | `${number}mm`
                                                                                  | `${number}cm`
                                                                                  | `${number}in`
                                                                                  | `${number}pt`
                                                                                  | `${number}pc`
                                                                                  | `${number}pi`
                                                                            • header:
                                                                                  | number
                                                                                  | `${number}mm`
                                                                                  | `${number}cm`
                                                                                  | `${number}in`
                                                                                  | `${number}pt`
                                                                                  | `${number}pc`
                                                                                  | `${number}pi`
                                                                            • footer:
                                                                                  | number
                                                                                  | `${number}mm`
                                                                                  | `${number}cm`
                                                                                  | `${number}in`
                                                                                  | `${number}pt`
                                                                                  | `${number}pc`
                                                                                  | `${number}pi`
                                                                            • gutter:
                                                                                  | number
                                                                                  | `${number}mm`
                                                                                  | `${number}cm`
                                                                                  | `${number}in`
                                                                                  | `${number}pt`
                                                                                  | `${number}pc`
                                                                                  | `${number}pi`

                                                                            Returns XmlComponent

                                                                            // Create page margins with 1 inch margins (1440 twips = 1 inch)
                                                                            createPageMargin(1440, 1440, 1440, 1440, 720, 720, 0);
                                                                            -
                                                                            +
                                                                            diff --git a/api/functions/createPageNumberType.html b/api/functions/createPageNumberType.html index e2ddc6e3f4..a2b297def0 100644 --- a/api/functions/createPageNumberType.html +++ b/api/functions/createPageNumberType.html @@ -9,4 +9,4 @@ for all pages in a section.

                                                                            Parameters

                                                                            Returns XmlComponent

                                                                            // Start page numbering at 5 with lowercase roman numerals
                                                                            createPageNumberType({
                                                                            start: 5,
                                                                            formatType: NumberFormat.LOWER_ROMAN
                                                                            });
                                                                            -
                                                                            +
                                                                            diff --git a/api/functions/createPageSize.html b/api/functions/createPageSize.html index 7a40c8e3b2..c641073ee1 100644 --- a/api/functions/createPageSize.html +++ b/api/functions/createPageSize.html @@ -4,4 +4,4 @@
                                                                            <xsd:complexType name="CT_PageSz">
                                                                            <xsd:attribute name="w" type="s:ST_TwipsMeasure"/>
                                                                            <xsd:attribute name="h" type="s:ST_TwipsMeasure"/>
                                                                            <xsd:attribute name="orient" type="ST_PageOrientation" use="optional"/>
                                                                            <xsd:attribute name="code" type="ST_DecimalNumber" use="optional"/>
                                                                            </xsd:complexType>
                                                                            -

                                                                            Parameters

                                                                            Returns XmlComponent

                                                                            +

                                                                            Parameters

                                                                            Returns XmlComponent

                                                                            diff --git a/api/functions/createParagraphStyle.html b/api/functions/createParagraphStyle.html index 00ce603638..a971f32bd7 100644 --- a/api/functions/createParagraphStyle.html +++ b/api/functions/createParagraphStyle.html @@ -8,4 +8,4 @@

                                                                            Parameters

                                                                            • styleId: string

                                                                            Returns XmlComponent

                                                                            // Using a built-in heading style
                                                                            new Paragraph({
                                                                            style: HeadingLevel.HEADING_1,
                                                                            children: [new TextRun("Chapter 1")],
                                                                            });

                                                                            // Using a custom style
                                                                            new Paragraph({
                                                                            style: "MyCustomStyle",
                                                                            children: [new TextRun("Styled text")],
                                                                            });
                                                                            -
                                                                            +
                                                                            diff --git a/api/functions/createRunFonts.html b/api/functions/createRunFonts.html index c133766665..ab3755fe9e 100644 --- a/api/functions/createRunFonts.html +++ b/api/functions/createRunFonts.html @@ -10,4 +10,4 @@ script, East Asian, and high ANSI characters.

                                                                            Parameters

                                                                            Returns XmlComponent

                                                                            // Use same font for all character sets
                                                                            createRunFonts("Arial");

                                                                            // Specify different fonts for different character sets
                                                                            createRunFonts({
                                                                            ascii: "Arial",
                                                                            eastAsia: "MS Mincho",
                                                                            cs: "Arial",
                                                                            hAnsi: "Arial",
                                                                            });
                                                                            -
                                                                            +
                                                                            diff --git a/api/functions/createSectionType.html b/api/functions/createSectionType.html index 1018eb3cbc..001754db4f 100644 --- a/api/functions/createSectionType.html +++ b/api/functions/createSectionType.html @@ -9,4 +9,4 @@ where the new section begins relative to the previous section.

                                                                            Parameters

                                                                            • value: "continuous" | "nextPage" | "nextColumn" | "evenPage" | "oddPage"

                                                                            Returns XmlComponent

                                                                            // Create a continuous section (no page break)
                                                                            createSectionType(SectionType.CONTINUOUS);

                                                                            // Create a section that starts on next odd page
                                                                            createSectionType(SectionType.ODD_PAGE);
                                                                            -
                                                                            +
                                                                            diff --git a/api/functions/createShading.html b/api/functions/createShading.html index cb0c4c04d4..837191eaa9 100644 --- a/api/functions/createShading.html +++ b/api/functions/createShading.html @@ -2,4 +2,4 @@

                                                                            The shd element specifies the shading applied to the paragraph, table cell, or text run.

                                                                            Reference: http://officeopenxml.com/WPshading.php

                                                                            -

                                                                            Parameters

                                                                            Returns XmlComponent

                                                                            +

                                                                            Parameters

                                                                            Returns XmlComponent

                                                                            diff --git a/api/functions/createSimplePos.html b/api/functions/createSimplePos.html index e0ffed4873..a661681dac 100644 --- a/api/functions/createSimplePos.html +++ b/api/functions/createSimplePos.html @@ -9,4 +9,4 @@
                                                                            <xsd:complexType name="CT_Point2D">
                                                                            <xsd:attribute name="x" type="ST_Coordinate" use="required"/>
                                                                            <xsd:attribute name="y" type="ST_Coordinate" use="required"/>
                                                                            </xsd:complexType>
                                                                            -

                                                                            Returns XmlComponent

                                                                            +

                                                                            Returns XmlComponent

                                                                            diff --git a/api/functions/createSpacing.html b/api/functions/createSpacing.html index 93cb6c55d1..fda9c6e111 100644 --- a/api/functions/createSpacing.html +++ b/api/functions/createSpacing.html @@ -8,4 +8,4 @@

                                                                            Parameters

                                                                            Returns XmlComponent

                                                                            new Paragraph({
                                                                            spacing: {
                                                                            before: 200,
                                                                            after: 200,
                                                                            line: 360,
                                                                            lineRule: LineRuleType.AT_LEAST,
                                                                            },
                                                                            children: [new TextRun("Paragraph with custom spacing")],
                                                                            });
                                                                            -
                                                                            +
                                                                            diff --git a/api/functions/createStringElement.html b/api/functions/createStringElement.html index 7b9f97ced3..2dce99f13e 100644 --- a/api/functions/createStringElement.html +++ b/api/functions/createStringElement.html @@ -7,4 +7,4 @@ for more explicit attribute naming.

                                                                            createStringElement("w:pStyle", "Heading1");
                                                                            // Generates: <w:pStyle w:val="Heading1"/>
                                                                            -
                                                                            +
                                                                            diff --git a/api/functions/createTabStop.html b/api/functions/createTabStop.html index 1a657e7d62..635588326b 100644 --- a/api/functions/createTabStop.html +++ b/api/functions/createTabStop.html @@ -8,4 +8,4 @@

                                                                            Parameters

                                                                            Returns XmlComponent

                                                                            new Paragraph({
                                                                            tabStops: [
                                                                            { type: TabStopType.LEFT, position: 2000 },
                                                                            { type: TabStopType.CENTER, position: 4000 },
                                                                            { type: TabStopType.RIGHT, position: TabStopPosition.MAX, leader: LeaderType.DOT },
                                                                            ],
                                                                            children: [new TextRun("Text\twith\ttabs")],
                                                                            });
                                                                            -
                                                                            +
                                                                            diff --git a/api/functions/createTabStopItem.html b/api/functions/createTabStopItem.html index 795de74fd6..5ea92c52b0 100644 --- a/api/functions/createTabStopItem.html +++ b/api/functions/createTabStopItem.html @@ -4,4 +4,4 @@
                                                                            <xsd:complexType name="CT_TabStop">
                                                                            <xsd:attribute name="val" type="ST_TabJc" use="required"/>
                                                                            <xsd:attribute name="leader" type="ST_TabTlc" use="optional"/>
                                                                            <xsd:attribute name="pos" type="ST_SignedTwipsMeasure" use="required"/>
                                                                            </xsd:complexType>
                                                                            -

                                                                            Parameters

                                                                            Returns XmlComponent

                                                                            +

                                                                            Parameters

                                                                            Returns XmlComponent

                                                                            diff --git a/api/functions/createTableFloatProperties.html b/api/functions/createTableFloatProperties.html index 58521b59a2..90f4d87c89 100644 --- a/api/functions/createTableFloatProperties.html +++ b/api/functions/createTableFloatProperties.html @@ -9,4 +9,4 @@ including anchor points, offsets, and text wrapping behavior.

                                                                            Parameters

                                                                            Returns XmlComponent

                                                                            createTableFloatProperties({
                                                                            horizontalAnchor: TableAnchorType.MARGIN,
                                                                            relativeHorizontalPosition: RelativeHorizontalPosition.CENTER,
                                                                            topFromText: 200,
                                                                            bottomFromText: 200,
                                                                            });
                                                                            -
                                                                            +
                                                                            diff --git a/api/functions/createTableLayout.html b/api/functions/createTableLayout.html index 6b67663dc4..2c910b7783 100644 --- a/api/functions/createTableLayout.html +++ b/api/functions/createTableLayout.html @@ -7,4 +7,4 @@

                                                                            Parameters

                                                                            • type: "fixed" | "autofit"

                                                                            Returns XmlComponent

                                                                            createTableLayout(TableLayoutType.FIXED);
                                                                             
                                                                            -
                                                                            +
                                                                            diff --git a/api/functions/createTableLook.html b/api/functions/createTableLook.html index b8cb50364e..01baa6f37d 100644 --- a/api/functions/createTableLook.html +++ b/api/functions/createTableLook.html @@ -6,4 +6,4 @@ styles to apply special formatting to specific regions of the table.

                                                                            Parameters

                                                                            Returns XmlComponent

                                                                            // Table with header row formatting and alternating row colors
                                                                            new Table({
                                                                            rows: [...],
                                                                            tableLook: {
                                                                            firstRow: true,
                                                                            noHBand: false,
                                                                            noVBand: true,
                                                                            },
                                                                            });
                                                                            -
                                                                            +
                                                                            diff --git a/api/functions/createTableRowHeight.html b/api/functions/createTableRowHeight.html index 167cfcfb3c..0e2ee0e095 100644 --- a/api/functions/createTableRowHeight.html +++ b/api/functions/createTableRowHeight.html @@ -9,4 +9,4 @@ determining how the height should be applied.

                                                                            Parameters

                                                                            • value:
                                                                                  | number
                                                                                  | `${number}mm`
                                                                                  | `${number}cm`
                                                                                  | `${number}in`
                                                                                  | `${number}pt`
                                                                                  | `${number}pc`
                                                                                  | `${number}pi`
                                                                            • rule: "auto" | "atLeast" | "exact"

                                                                            Returns XmlComponent

                                                                            createTableRowHeight(1000, HeightRule.EXACT);
                                                                             
                                                                            -
                                                                            +
                                                                            diff --git a/api/functions/createTableWidthElement.html b/api/functions/createTableWidthElement.html index c43844afd9..0c7500c71b 100644 --- a/api/functions/createTableWidthElement.html +++ b/api/functions/createTableWidthElement.html @@ -4,4 +4,4 @@

                                                                            Parameters

                                                                            Returns XmlComponent

                                                                            createTableWidthElement("w:tblW", { size: 5000, type: WidthType.DXA });
                                                                            createTableWidthElement("w:tcW", { size: 50, type: WidthType.PERCENTAGE });
                                                                            -
                                                                            +
                                                                            diff --git a/api/functions/createTransformation.html b/api/functions/createTransformation.html index e8e92a943c..389a759275 100644 --- a/api/functions/createTransformation.html +++ b/api/functions/createTransformation.html @@ -1 +1 @@ -createTransformation | docx
                                                                            docx
                                                                              Preparing search index...

                                                                              Function createTransformation

                                                                              +createTransformation | docx
                                                                              docx
                                                                                Preparing search index...

                                                                                Function createTransformation

                                                                                diff --git a/api/functions/createUnderline.html b/api/functions/createUnderline.html index faef023700..9f020c70f4 100644 --- a/api/functions/createUnderline.html +++ b/api/functions/createUnderline.html @@ -9,4 +9,4 @@ formatting applied to text.

                                                                                Parameters

                                                                                • underlineType:
                                                                                      | "none"
                                                                                      | "single"
                                                                                      | "dotDash"
                                                                                      | "dotDotDash"
                                                                                      | "dotted"
                                                                                      | "double"
                                                                                      | "thick"
                                                                                      | "wave"
                                                                                      | "words"
                                                                                      | "dottedHeavy"
                                                                                      | "dash"
                                                                                      | "dashedHeavy"
                                                                                      | "dashLong"
                                                                                      | "dashLongHeavy"
                                                                                      | "dashDotHeavy"
                                                                                      | "dashDotDotHeavy"
                                                                                      | "wavyHeavy"
                                                                                      | "wavyDouble" = UnderlineType.SINGLE
                                                                                • Optionalcolor: string

                                                                                Returns XmlComponent

                                                                                // Simple single underline
                                                                                createUnderline();

                                                                                // Double underline
                                                                                createUnderline(UnderlineType.DOUBLE);

                                                                                // Red wavy underline
                                                                                createUnderline(UnderlineType.WAVE, "FF0000");
                                                                                -
                                                                                +
                                                                                diff --git a/api/functions/createVerticalAlign.html b/api/functions/createVerticalAlign.html index 8162c492fb..a4d2855f95 100644 --- a/api/functions/createVerticalAlign.html +++ b/api/functions/createVerticalAlign.html @@ -3,4 +3,4 @@

                                                                                Parameters

                                                                                • value: "center" | "bottom" | "top" | "both"

                                                                                Returns XmlComponent

                                                                                createVerticalAlign(VerticalAlignTable.CENTER);
                                                                                 
                                                                                -
                                                                                +
                                                                                diff --git a/api/functions/createVerticalPosition.html b/api/functions/createVerticalPosition.html index 7196b1be3d..7c70f58fc9 100644 --- a/api/functions/createVerticalPosition.html +++ b/api/functions/createVerticalPosition.html @@ -11,4 +11,4 @@ object relative to a base element (page, margin, paragraph, line, etc.).

                                                                                // Align to the top of the page
                                                                                createVerticalPosition({
                                                                                relative: VerticalPositionRelativeFrom.PAGE,
                                                                                align: VerticalPositionAlign.TOP,
                                                                                });

                                                                                // Offset from the paragraph
                                                                                createVerticalPosition({
                                                                                relative: VerticalPositionRelativeFrom.PARAGRAPH,
                                                                                offset: 457200, // 0.5 inch in EMUs
                                                                                });
                                                                                -
                                                                                +
                                                                                diff --git a/api/functions/createWrapNone.html b/api/functions/createWrapNone.html index 94db79ec5e..676d797194 100644 --- a/api/functions/createWrapNone.html +++ b/api/functions/createWrapNone.html @@ -2,4 +2,4 @@

                                                                                WrapNone causes text to flow behind or in front of the drawing without wrapping around it.

                                                                                Reference: http://officeopenxml.com/drwPicFloating-textWrap.php

                                                                                -

                                                                                Returns XmlComponent

                                                                                +

                                                                                Returns XmlComponent

                                                                                diff --git a/api/functions/createWrapSquare.html b/api/functions/createWrapSquare.html index 4d6b2202c6..01acc00e0b 100644 --- a/api/functions/createWrapSquare.html +++ b/api/functions/createWrapSquare.html @@ -6,4 +6,4 @@ of the drawing on the specified side(s).

                                                                                <xsd:complexType name="CT_WrapSquare">
                                                                                <xsd:sequence>
                                                                                <xsd:element name="effectExtent" type="CT_EffectExtent" minOccurs="0"/>
                                                                                </xsd:sequence>
                                                                                <xsd:attribute name="wrapText" type="ST_WrapText" use="required"/>
                                                                                <xsd:attribute name="distT" type="ST_WrapDistance"/>
                                                                                <xsd:attribute name="distB" type="ST_WrapDistance"/>
                                                                                <xsd:attribute name="distL" type="ST_WrapDistance"/>
                                                                                <xsd:attribute name="distR" type="ST_WrapDistance"/>
                                                                                </xsd:complexType>
                                                                                -

                                                                                Parameters

                                                                                Returns XmlComponent

                                                                                +

                                                                                Parameters

                                                                                Returns XmlComponent

                                                                                diff --git a/api/functions/createWrapTight.html b/api/functions/createWrapTight.html index 7d4a20d7d3..f5bd72eca2 100644 --- a/api/functions/createWrapTight.html +++ b/api/functions/createWrapTight.html @@ -6,4 +6,4 @@ of the drawing rather than its rectangular bounding box.

                                                                                <xsd:complexType name="CT_WrapTight">
                                                                                <xsd:sequence>
                                                                                <xsd:element name="wrapPolygon" type="CT_WrapPath"/>
                                                                                </xsd:sequence>
                                                                                <xsd:attribute name="wrapText" type="ST_WrapText" use="required"/>
                                                                                <xsd:attribute name="distL" type="ST_WrapDistance"/>
                                                                                <xsd:attribute name="distR" type="ST_WrapDistance"/>
                                                                                </xsd:complexType>
                                                                                -

                                                                                Parameters

                                                                                Returns XmlComponent

                                                                                +

                                                                                Parameters

                                                                                Returns XmlComponent

                                                                                diff --git a/api/functions/createWrapTopAndBottom.html b/api/functions/createWrapTopAndBottom.html index e93c2f2d13..e31e354ba8 100644 --- a/api/functions/createWrapTopAndBottom.html +++ b/api/functions/createWrapTopAndBottom.html @@ -6,4 +6,4 @@ without wrapping beside it, creating a line break effect.

                                                                                <xsd:complexType name="CT_WrapTopBottom">
                                                                                <xsd:sequence>
                                                                                <xsd:element name="effectExtent" type="CT_EffectExtent" minOccurs="0"/>
                                                                                </xsd:sequence>
                                                                                <xsd:attribute name="distT" type="ST_WrapDistance"/>
                                                                                <xsd:attribute name="distB" type="ST_WrapDistance"/>
                                                                                </xsd:complexType>
                                                                                -

                                                                                Parameters

                                                                                Returns XmlComponent

                                                                                +

                                                                                Parameters

                                                                                Returns XmlComponent

                                                                                diff --git a/api/functions/dateTimeValue.html b/api/functions/dateTimeValue.html index 5445e9e66f..a3c3e78019 100644 --- a/api/functions/dateTimeValue.html +++ b/api/functions/dateTimeValue.html @@ -7,4 +7,4 @@ This matches the xsd:dateTime format required by OOXML.

                                                                                const now = new Date();
                                                                                const timestamp = dateTimeValue(now); // Returns "2024-01-15T10:30:00.000Z"
                                                                                -
                                                                                +
                                                                                diff --git a/api/functions/decimalNumber.html b/api/functions/decimalNumber.html index 6a582f3550..806f819316 100644 --- a/api/functions/decimalNumber.html +++ b/api/functions/decimalNumber.html @@ -6,4 +6,4 @@
                                                                                const num = decimalNumber(10.7); // Returns 10
                                                                                const negative = decimalNumber(-5.3); // Returns -5
                                                                                -
                                                                                +
                                                                                diff --git a/api/functions/docPropertiesUniqueNumericIdGen.html b/api/functions/docPropertiesUniqueNumericIdGen.html index 9176d9d138..fe01c1a4d9 100644 --- a/api/functions/docPropertiesUniqueNumericIdGen.html +++ b/api/functions/docPropertiesUniqueNumericIdGen.html @@ -3,4 +3,4 @@
                                                                                const idGen = docPropertiesUniqueNumericIdGen();
                                                                                const id = idGen(); // Returns 1
                                                                                -
                                                                                +
                                                                                diff --git a/api/functions/encodeUtf8.html b/api/functions/encodeUtf8.html index c891051760..83b5b26908 100644 --- a/api/functions/encodeUtf8.html +++ b/api/functions/encodeUtf8.html @@ -7,4 +7,4 @@ current module's Uint8Array constructor, avoiding cross-realm issues in test environments (jsdom) where TextEncoder returns a different realm's Uint8Array that fails JSZip's instanceof checks.

                                                                                Parameters

                                                                                • str: string

                                                                                Returns Uint8Array

                                                                                +
                                                                                diff --git a/api/functions/hashedId.html b/api/functions/hashedId.html index b83a59dd85..e3e91a50f0 100644 --- a/api/functions/hashedId.html +++ b/api/functions/hashedId.html @@ -6,4 +6,4 @@ image references or revision tracking.

                                                                                const hash = hashedId("Hello World"); // Returns "0a4d55a8d778e5022fab701977c5d840bbc486d0"
                                                                                 
                                                                                -
                                                                                +
                                                                                diff --git a/api/functions/hexColorValue.html b/api/functions/hexColorValue.html index e2b6282b19..139c2e36f6 100644 --- a/api/functions/hexColorValue.html +++ b/api/functions/hexColorValue.html @@ -9,4 +9,4 @@ for strict compliance.

                                                                                const color1 = hexColorValue("auto"); // Returns "auto"
                                                                                const color2 = hexColorValue("FF0000"); // Returns "FF0000"
                                                                                const color3 = hexColorValue("#00FF00"); // Returns "00FF00" (# stripped)
                                                                                -
                                                                                +
                                                                                diff --git a/api/functions/hpsMeasureValue.html b/api/functions/hpsMeasureValue.html index db06c2e11e..a516ccd7a0 100644 --- a/api/functions/hpsMeasureValue.html +++ b/api/functions/hpsMeasureValue.html @@ -7,4 +7,4 @@ HPS (half-points) are commonly used for font sizes.

                                                                                const fontSize1 = hpsMeasureValue("12pt");
                                                                                const fontSize2 = hpsMeasureValue(24); // 12pt in half-points
                                                                                -
                                                                                +
                                                                                diff --git a/api/functions/longHexNumber.html b/api/functions/longHexNumber.html index d4aad07db9..8f9088b557 100644 --- a/api/functions/longHexNumber.html +++ b/api/functions/longHexNumber.html @@ -6,4 +6,4 @@
                                                                                const hex = longHexNumber("ABCD1234"); // Valid
                                                                                 
                                                                                -
                                                                                +
                                                                                diff --git a/api/functions/measurementOrPercentValue.html b/api/functions/measurementOrPercentValue.html index 8127887a81..0925b41f21 100644 --- a/api/functions/measurementOrPercentValue.html +++ b/api/functions/measurementOrPercentValue.html @@ -5,4 +5,4 @@
                                                                                const measure1 = measurementOrPercentValue(100); // Unqualified number
                                                                                const measure2 = measurementOrPercentValue("50%"); // Percentage
                                                                                const measure3 = measurementOrPercentValue("10mm"); // Universal measure
                                                                                -
                                                                                +
                                                                                diff --git a/api/functions/patchDetector.html b/api/functions/patchDetector.html index e24b482bd3..9d190a7a41 100644 --- a/api/functions/patchDetector.html +++ b/api/functions/patchDetector.html @@ -7,4 +7,4 @@ discovering what patches a template expects before performing replacement.

                                                                                const placeholders = await patchDetector({ data: templateBuffer });
                                                                                // Returns: ["name", "date", "address"] if template contains {{name}}, {{date}}, {{address}}

                                                                                // Use detected placeholders to create patches
                                                                                const patches = {};
                                                                                placeholders.forEach(key => {
                                                                                patches[key] = {
                                                                                type: PatchType.PARAGRAPH,
                                                                                children: [new TextRun(getUserData(key))],
                                                                                };
                                                                                });
                                                                                -
                                                                                +
                                                                                diff --git a/api/functions/patchDocument.html b/api/functions/patchDocument.html index 71f8fab34a..6b1cb919c4 100644 --- a/api/functions/patchDocument.html +++ b/api/functions/patchDocument.html @@ -7,4 +7,4 @@ the original document structure and optionally the original formatting.

                                                                                // Patch with paragraph content
                                                                                const buffer = await patchDocument({
                                                                                outputType: "nodebuffer",
                                                                                data: templateBuffer,
                                                                                patches: {
                                                                                name: {
                                                                                type: PatchType.PARAGRAPH,
                                                                                children: [new TextRun({ text: "John Doe", bold: true })],
                                                                                },
                                                                                },
                                                                                });

                                                                                // Patch with custom delimiters
                                                                                const buffer = await patchDocument({
                                                                                outputType: "nodebuffer",
                                                                                data: templateBuffer,
                                                                                patches: { ... },
                                                                                placeholderDelimiters: { start: "<<", end: ">>" },
                                                                                });
                                                                                -
                                                                                +
                                                                                diff --git a/api/functions/percentageValue.html b/api/functions/percentageValue.html index 5b7145c32d..e2627fc6c0 100644 --- a/api/functions/percentageValue.html +++ b/api/functions/percentageValue.html @@ -5,4 +5,4 @@
                                                                                const percent = percentageValue("50.000%"); // Returns "50%"
                                                                                 
                                                                                -
                                                                                +
                                                                                diff --git a/api/functions/positiveUniversalMeasureValue.html b/api/functions/positiveUniversalMeasureValue.html index ef8aed5350..987a488afe 100644 --- a/api/functions/positiveUniversalMeasureValue.html +++ b/api/functions/positiveUniversalMeasureValue.html @@ -6,4 +6,4 @@
                                                                                const measure = positiveUniversalMeasureValue("10.5mm"); // Valid
                                                                                const invalid = positiveUniversalMeasureValue("-5mm"); // Throws Error
                                                                                -
                                                                                +
                                                                                diff --git a/api/functions/shortHexNumber.html b/api/functions/shortHexNumber.html index 7f563bf543..acf52856e2 100644 --- a/api/functions/shortHexNumber.html +++ b/api/functions/shortHexNumber.html @@ -6,4 +6,4 @@
                                                                                const hex = shortHexNumber("AB12"); // Valid
                                                                                 
                                                                                -
                                                                                +
                                                                                diff --git a/api/functions/signedHpsMeasureValue.html b/api/functions/signedHpsMeasureValue.html index c3939be893..81d4e7a194 100644 --- a/api/functions/signedHpsMeasureValue.html +++ b/api/functions/signedHpsMeasureValue.html @@ -6,4 +6,4 @@
                                                                                const spacing1 = signedHpsMeasureValue("6pt");
                                                                                const spacing2 = signedHpsMeasureValue(-12); // Negative spacing
                                                                                -
                                                                                +
                                                                                diff --git a/api/functions/signedTwipsMeasureValue.html b/api/functions/signedTwipsMeasureValue.html index dc6ba9dae9..5c685a44db 100644 --- a/api/functions/signedTwipsMeasureValue.html +++ b/api/functions/signedTwipsMeasureValue.html @@ -6,4 +6,4 @@
                                                                                const measure1 = signedTwipsMeasureValue("10mm");
                                                                                const measure2 = signedTwipsMeasureValue(1440); // 1 inch in TWIP
                                                                                -
                                                                                +
                                                                                diff --git a/api/functions/standardizeData.html b/api/functions/standardizeData.html index 142e54352d..5a65486ffd 100644 --- a/api/functions/standardizeData.html +++ b/api/functions/standardizeData.html @@ -1 +1 @@ -standardizeData | docx
                                                                                docx
                                                                                  Preparing search index...

                                                                                  Function standardizeData

                                                                                  • Parameters

                                                                                    • data: string | ArrayBuffer | Buffer<ArrayBufferLike> | Uint8Array<ArrayBufferLike>

                                                                                    Returns ArrayBuffer | Buffer<ArrayBufferLike> | Uint8Array<ArrayBufferLike>

                                                                                  +standardizeData | docx
                                                                                  docx
                                                                                    Preparing search index...

                                                                                    Function standardizeData

                                                                                    • Parameters

                                                                                      • data: string | ArrayBuffer | Buffer<ArrayBufferLike> | Uint8Array<ArrayBufferLike>

                                                                                      Returns ArrayBuffer | Buffer<ArrayBufferLike> | Uint8Array<ArrayBufferLike>

                                                                                    diff --git a/api/functions/twipsMeasureValue.html b/api/functions/twipsMeasureValue.html index c22877c9b5..70bc0dc2b2 100644 --- a/api/functions/twipsMeasureValue.html +++ b/api/functions/twipsMeasureValue.html @@ -6,4 +6,4 @@
                                                                                    const width1 = twipsMeasureValue("25.4mm");
                                                                                    const width2 = twipsMeasureValue(1440); // 1 inch in TWIP
                                                                                    -
                                                                                    +
                                                                                    diff --git a/api/functions/uCharHexNumber.html b/api/functions/uCharHexNumber.html index 30b9d80f6c..c21c2933c1 100644 --- a/api/functions/uCharHexNumber.html +++ b/api/functions/uCharHexNumber.html @@ -6,4 +6,4 @@
                                                                                    const hex = uCharHexNumber("FF"); // Valid
                                                                                     
                                                                                    -
                                                                                    +
                                                                                    diff --git a/api/functions/uniqueId.html b/api/functions/uniqueId.html index c565cb26a5..5f482a5c1b 100644 --- a/api/functions/uniqueId.html +++ b/api/functions/uniqueId.html @@ -2,4 +2,4 @@

                                                                                    The ID is suitable for use as a relationship ID or other unique identifier within a document.

                                                                                    Returns string

                                                                                    A unique lowercase string ID

                                                                                    -
                                                                                    +
                                                                                    diff --git a/api/functions/uniqueNumericIdCreator.html b/api/functions/uniqueNumericIdCreator.html index c20b6d610f..27ff986677 100644 --- a/api/functions/uniqueNumericIdCreator.html +++ b/api/functions/uniqueNumericIdCreator.html @@ -4,4 +4,4 @@
                                                                                    const idGen = uniqueNumericIdCreator(10);
                                                                                    console.log(idGen()); // 11
                                                                                    console.log(idGen()); // 12
                                                                                    console.log(idGen()); // 13
                                                                                    -
                                                                                    +
                                                                                    diff --git a/api/functions/uniqueUuid.html b/api/functions/uniqueUuid.html index 172ba1353d..1250f0a79a 100644 --- a/api/functions/uniqueUuid.html +++ b/api/functions/uniqueUuid.html @@ -4,4 +4,4 @@
                                                                                    const uuid = uniqueUuid(); // Returns "a3bb189e-8bf9-3888-9912-ace4e6543002"
                                                                                     
                                                                                    -
                                                                                    +
                                                                                    diff --git a/api/functions/universalMeasureValue.html b/api/functions/universalMeasureValue.html index e8d455fe1b..def8fa4178 100644 --- a/api/functions/universalMeasureValue.html +++ b/api/functions/universalMeasureValue.html @@ -6,4 +6,4 @@
                                                                                    const measure = universalMeasureValue("10.500mm"); // Returns "10.5mm"
                                                                                     
                                                                                    -
                                                                                    +
                                                                                    diff --git a/api/functions/unsignedDecimalNumber.html b/api/functions/unsignedDecimalNumber.html index c68ce1713c..f0395dd320 100644 --- a/api/functions/unsignedDecimalNumber.html +++ b/api/functions/unsignedDecimalNumber.html @@ -6,4 +6,4 @@
                                                                                    const num = unsignedDecimalNumber(10.7); // Returns 10
                                                                                    const invalid = unsignedDecimalNumber(-5); // Throws Error
                                                                                    -
                                                                                    +
                                                                                    diff --git a/api/interfaces/IXmlableObject.html b/api/interfaces/IXmlableObject.html index 57939c51fd..c06eddefd8 100644 --- a/api/interfaces/IXmlableObject.html +++ b/api/interfaces/IXmlableObject.html @@ -4,4 +4,4 @@ to generate the final XML output. Objects typically have a structure like:

                                                                                    {
                                                                                    "w:elementName": {
                                                                                    _attr: { "w:attribute": "value" },
                                                                                    // child elements or text
                                                                                    }
                                                                                    }
                                                                                    -

                                                                                    Hierarchy

                                                                                    • Record<string, unknown>
                                                                                      • IXmlableObject

                                                                                    Indexable

                                                                                    • readonly [key: string]: any
                                                                                    +

                                                                                    Hierarchy

                                                                                    • Record<string, unknown>
                                                                                      • IXmlableObject

                                                                                    Indexable

                                                                                    • readonly [key: string]: any
                                                                                    diff --git a/api/types/AttributeData.html b/api/types/AttributeData.html index 5a6c848f17..28c01e260b 100644 --- a/api/types/AttributeData.html +++ b/api/types/AttributeData.html @@ -1,2 +1,2 @@ AttributeData | docx
                                                                                    docx
                                                                                      Preparing search index...

                                                                                      Type Alias AttributeData

                                                                                      AttributeData: Record<string, boolean | number | string>

                                                                                      Simple attribute data as a key-value record.

                                                                                      -
                                                                                      +
                                                                                      diff --git a/api/types/AttributeMap.html b/api/types/AttributeMap.html index 405a60207d..94c939a289 100644 --- a/api/types/AttributeMap.html +++ b/api/types/AttributeMap.html @@ -1,4 +1,4 @@ AttributeMap | docx
                                                                                      docx
                                                                                        Preparing search index...

                                                                                        Type Alias AttributeMap<T>

                                                                                        AttributeMap: Record<keyof T, string>

                                                                                        Maps TypeScript property names to their XML attribute names.

                                                                                        This type is used to define how JavaScript-friendly property names are translated into namespaced XML attribute names.

                                                                                        -

                                                                                        Type Parameters

                                                                                        • T
                                                                                        +

                                                                                        Type Parameters

                                                                                        • T
                                                                                        diff --git a/api/types/AttributePayload.html b/api/types/AttributePayload.html index 2dbd30dee7..f803e4d291 100644 --- a/api/types/AttributePayload.html +++ b/api/types/AttributePayload.html @@ -1,4 +1,4 @@ AttributePayload | docx
                                                                                        docx
                                                                                          Preparing search index...

                                                                                          Type Alias AttributePayload<T>

                                                                                          AttributePayload: { readonly [P in keyof T]: { key: string; value: T[P] } }

                                                                                          Structured attribute payload with explicit key-value mapping.

                                                                                          This type is used by NextAttributeComponent to provide more explicit control over attribute name mapping.

                                                                                          -

                                                                                          Type Parameters

                                                                                          • T
                                                                                          +

                                                                                          Type Parameters

                                                                                          • T
                                                                                          diff --git a/api/types/DocumentAttributeNamespace.html b/api/types/DocumentAttributeNamespace.html index ab2e9aef7d..d179af3e88 100644 --- a/api/types/DocumentAttributeNamespace.html +++ b/api/types/DocumentAttributeNamespace.html @@ -1,2 +1,2 @@ DocumentAttributeNamespace | docx
                                                                                          docx
                                                                                            Preparing search index...

                                                                                            Type Alias DocumentAttributeNamespace

                                                                                            DocumentAttributeNamespace: keyof typeof DocumentAttributeNamespaces

                                                                                            Type representing valid namespace keys.

                                                                                            -
                                                                                            +
                                                                                            diff --git a/api/types/IAlignmentFrameOptions.html b/api/types/IAlignmentFrameOptions.html index 4839af4328..f624969db7 100644 --- a/api/types/IAlignmentFrameOptions.html +++ b/api/types/IAlignmentFrameOptions.html @@ -5,4 +5,4 @@ using standard alignment positions (e.g., left, center, right, top, bottom).

                                                                                          • Readonlytype: "alignment"

                                                                                            Must be "alignment" for alignment-based positioning

                                                                                            -
                                                                                          • +
                                                                                            diff --git a/api/types/IBaseCharacterStyleOptions.html b/api/types/IBaseCharacterStyleOptions.html index 6d9a82fbb0..da3d4dd736 100644 --- a/api/types/IBaseCharacterStyleOptions.html +++ b/api/types/IBaseCharacterStyleOptions.html @@ -1,3 +1,3 @@ IBaseCharacterStyleOptions | docx
                                                                                            docx
                                                                                              Preparing search index...

                                                                                              Type Alias IBaseCharacterStyleOptions

                                                                                              IBaseCharacterStyleOptions: { run?: IRunStylePropertiesOptions } & IStyleOptions

                                                                                              Base options for character style configuration.

                                                                                              Type Declaration

                                                                                              +
                                                                                              diff --git a/api/types/IBaseParagraphStyleOptions.html b/api/types/IBaseParagraphStyleOptions.html index 575e88e39d..00da6632ee 100644 --- a/api/types/IBaseParagraphStyleOptions.html +++ b/api/types/IBaseParagraphStyleOptions.html @@ -1,4 +1,4 @@ IBaseParagraphStyleOptions | docx
                                                                                              docx
                                                                                                Preparing search index...

                                                                                                Type Alias IBaseParagraphStyleOptions

                                                                                                IBaseParagraphStyleOptions: {
                                                                                                    paragraph?: IParagraphStylePropertiesOptions;
                                                                                                    run?: IRunStylePropertiesOptions;
                                                                                                } & IStyleOptions

                                                                                                Base options for paragraph style configuration.

                                                                                                Type Declaration

                                                                                                +
                                                                                                diff --git a/api/types/IBodyPropertiesOptions.html b/api/types/IBodyPropertiesOptions.html index 2afb45d28b..d9541e7711 100644 --- a/api/types/IBodyPropertiesOptions.html +++ b/api/types/IBodyPropertiesOptions.html @@ -1,5 +1,5 @@ -IBodyPropertiesOptions | docx
                                                                                                docx
                                                                                                  Preparing search index...

                                                                                                  Type Alias IBodyPropertiesOptions

                                                                                                  type IBodyPropertiesOptions = {
                                                                                                      margins?: {
                                                                                                          bottom?: number;
                                                                                                          left?: number;
                                                                                                          right?: number;
                                                                                                          top?: number;
                                                                                                      };
                                                                                                      noAutoFit?: boolean;
                                                                                                      verticalAnchor?: VerticalAnchor;
                                                                                                      wrap?: typeof TextWrappingType[keyof typeof TextWrappingType];
                                                                                                  }
                                                                                                  Index

                                                                                                  Properties

                                                                                                  margins? +IBodyPropertiesOptions | docx
                                                                                                  docx
                                                                                                    Preparing search index...

                                                                                                    Type Alias IBodyPropertiesOptions

                                                                                                    type IBodyPropertiesOptions = {
                                                                                                        margins?: {
                                                                                                            bottom?: number;
                                                                                                            left?: number;
                                                                                                            right?: number;
                                                                                                            top?: number;
                                                                                                        };
                                                                                                        noAutoFit?: boolean;
                                                                                                        verticalAnchor?: VerticalAnchor;
                                                                                                        wrap?: typeof TextWrappingType[keyof typeof TextWrappingType];
                                                                                                    }
                                                                                                    Index

                                                                                                    Properties

                                                                                                    margins?: { bottom?: number; left?: number; right?: number; top?: number }
                                                                                                    noAutoFit?: boolean
                                                                                                    verticalAnchor?: VerticalAnchor
                                                                                                    wrap?: typeof TextWrappingType[keyof typeof TextWrappingType]
                                                                                                    +

                                                                                                    Properties

                                                                                                    margins?: { bottom?: number; left?: number; right?: number; top?: number }
                                                                                                    noAutoFit?: boolean
                                                                                                    verticalAnchor?: VerticalAnchor
                                                                                                    wrap?: typeof TextWrappingType[keyof typeof TextWrappingType]
                                                                                                    diff --git a/api/types/IBookmarkOptions.html b/api/types/IBookmarkOptions.html index 0740969a31..a73b6b8323 100644 --- a/api/types/IBookmarkOptions.html +++ b/api/types/IBookmarkOptions.html @@ -1,6 +1,6 @@ IBookmarkOptions | docx
                                                                                                    docx
                                                                                                      Preparing search index...

                                                                                                      Type Alias IBookmarkOptions

                                                                                                      Options for creating a bookmark.

                                                                                                      -
                                                                                                      type IBookmarkOptions = {
                                                                                                          children: readonly ParagraphChild[];
                                                                                                          id: string;
                                                                                                      }
                                                                                                      Index

                                                                                                      Properties

                                                                                                      type IBookmarkOptions = {
                                                                                                          children: readonly ParagraphChild[];
                                                                                                          id: string;
                                                                                                      }
                                                                                                      Index

                                                                                                      Properties

                                                                                                      Properties

                                                                                                      children: readonly ParagraphChild[]

                                                                                                      Array of paragraph children contained within the bookmark range

                                                                                                      -
                                                                                                      id: string

                                                                                                      The bookmark name used for reference

                                                                                                      -
                                                                                                      +
                                                                                                      id: string

                                                                                                      The bookmark name used for reference

                                                                                                      +
                                                                                                      diff --git a/api/types/IBorderOptions.html b/api/types/IBorderOptions.html index 433845ab26..854114d31f 100644 --- a/api/types/IBorderOptions.html +++ b/api/types/IBorderOptions.html @@ -1,10 +1,10 @@ IBorderOptions | docx
                                                                                                      docx
                                                                                                        Preparing search index...

                                                                                                        Type Alias IBorderOptions

                                                                                                        Options for configuring a border element.

                                                                                                        -
                                                                                                        type IBorderOptions = {
                                                                                                            color?: string;
                                                                                                            size?: number;
                                                                                                            space?: number;
                                                                                                            style: typeof BorderStyle[keyof typeof BorderStyle];
                                                                                                        }
                                                                                                        Index

                                                                                                        Properties

                                                                                                        type IBorderOptions = {
                                                                                                            color?: string;
                                                                                                            size?: number;
                                                                                                            space?: number;
                                                                                                            style: typeof BorderStyle[keyof typeof BorderStyle];
                                                                                                        }
                                                                                                        Index

                                                                                                        Properties

                                                                                                        color?: string

                                                                                                        Border color in hex format (e.g., "FF00AA" for purple)

                                                                                                        -
                                                                                                        size?: number

                                                                                                        Border thickness in eighths of a point (1/8 pt)

                                                                                                        -
                                                                                                        space?: number

                                                                                                        Spacing offset from the content in points

                                                                                                        -
                                                                                                        style: typeof BorderStyle[keyof typeof BorderStyle]

                                                                                                        The border style (single, dashed, dotted, etc.)

                                                                                                        -
                                                                                                        +
                                                                                                        size?: number

                                                                                                        Border thickness in eighths of a point (1/8 pt)

                                                                                                        +
                                                                                                        space?: number

                                                                                                        Spacing offset from the content in points

                                                                                                        +
                                                                                                        style: typeof BorderStyle[keyof typeof BorderStyle]

                                                                                                        The border style (single, dashed, dotted, etc.)

                                                                                                        +
                                                                                                        diff --git a/api/types/IBordersOptions.html b/api/types/IBordersOptions.html index 771aa831df..d2920cecd6 100644 --- a/api/types/IBordersOptions.html +++ b/api/types/IBordersOptions.html @@ -1,13 +1,13 @@ IBordersOptions | docx
                                                                                                        docx
                                                                                                          Preparing search index...

                                                                                                          Type Alias IBordersOptions

                                                                                                          Options for configuring paragraph borders.

                                                                                                          Borders can be applied to top, bottom, left, right, and between paragraphs.

                                                                                                          -
                                                                                                          type IBordersOptions = {
                                                                                                              between?: IBorderOptions;
                                                                                                              bottom?: IBorderOptions;
                                                                                                              left?: IBorderOptions;
                                                                                                              right?: IBorderOptions;
                                                                                                              top?: IBorderOptions;
                                                                                                          }
                                                                                                          Index

                                                                                                          Properties

                                                                                                          type IBordersOptions = {
                                                                                                              between?: IBorderOptions;
                                                                                                              bottom?: IBorderOptions;
                                                                                                              left?: IBorderOptions;
                                                                                                              right?: IBorderOptions;
                                                                                                              top?: IBorderOptions;
                                                                                                          }
                                                                                                          Index

                                                                                                          Properties

                                                                                                          between?: IBorderOptions

                                                                                                          Border between consecutive paragraphs with the same border settings

                                                                                                          -

                                                                                                          Border for the bottom edge of the paragraph

                                                                                                          -

                                                                                                          Border for the left edge of the paragraph

                                                                                                          -

                                                                                                          Border for the right edge of the paragraph

                                                                                                          -

                                                                                                          Border for the top edge of the paragraph

                                                                                                          -
                                                                                                          +

                                                                                                          Border for the bottom edge of the paragraph

                                                                                                          +

                                                                                                          Border for the left edge of the paragraph

                                                                                                          +

                                                                                                          Border for the right edge of the paragraph

                                                                                                          +

                                                                                                          Border for the top edge of the paragraph

                                                                                                          +
                                                                                                          diff --git a/api/types/ICellMergeAttributes.html b/api/types/ICellMergeAttributes.html index bc98c2f063..b0031bf7d8 100644 --- a/api/types/ICellMergeAttributes.html +++ b/api/types/ICellMergeAttributes.html @@ -1 +1 @@ -ICellMergeAttributes | docx
                                                                                                          docx
                                                                                                            Preparing search index...

                                                                                                            Type Alias ICellMergeAttributes

                                                                                                            ICellMergeAttributes: IChangedAttributesProperties & {
                                                                                                                verticalMerge?: typeof VerticalMergeRevisionType[keyof typeof VerticalMergeRevisionType];
                                                                                                                verticalMergeOriginal?: typeof VerticalMergeRevisionType[keyof typeof VerticalMergeRevisionType];
                                                                                                            }
                                                                                                            +ICellMergeAttributes | docx
                                                                                                            docx
                                                                                                              Preparing search index...

                                                                                                              Type Alias ICellMergeAttributes

                                                                                                              ICellMergeAttributes: IChangedAttributesProperties & {
                                                                                                                  verticalMerge?: typeof VerticalMergeRevisionType[keyof typeof VerticalMergeRevisionType];
                                                                                                                  verticalMergeOriginal?: typeof VerticalMergeRevisionType[keyof typeof VerticalMergeRevisionType];
                                                                                                              }
                                                                                                              diff --git a/api/types/ICharacterStyleOptions.html b/api/types/ICharacterStyleOptions.html index 2466b24b5c..14c278b6c7 100644 --- a/api/types/ICharacterStyleOptions.html +++ b/api/types/ICharacterStyleOptions.html @@ -1,3 +1,3 @@ ICharacterStyleOptions | docx
                                                                                                              docx
                                                                                                                Preparing search index...

                                                                                                                Type Alias ICharacterStyleOptions

                                                                                                                ICharacterStyleOptions: { id: string } & IBaseCharacterStyleOptions

                                                                                                                Options for creating a character style.

                                                                                                                Type Declaration

                                                                                                                • Readonlyid: string

                                                                                                                  Unique identifier for the character style

                                                                                                                  -
                                                                                                                +
                                                                                                                diff --git a/api/types/ICheckboxSymbolOptions.html b/api/types/ICheckboxSymbolOptions.html index d4af1d3022..f4e88abfd4 100644 --- a/api/types/ICheckboxSymbolOptions.html +++ b/api/types/ICheckboxSymbolOptions.html @@ -1,10 +1,10 @@ ICheckboxSymbolOptions | docx
                                                                                                                docx
                                                                                                                  Preparing search index...

                                                                                                                  Type Alias ICheckboxSymbolOptions

                                                                                                                  Options for configuring a checkbox control.

                                                                                                                  -
                                                                                                                  type ICheckboxSymbolOptions = {
                                                                                                                      alias?: string;
                                                                                                                      checked?: boolean;
                                                                                                                      checkedState?: ICheckboxSymbolProperties;
                                                                                                                      uncheckedState?: ICheckboxSymbolProperties;
                                                                                                                  }
                                                                                                                  Index

                                                                                                                  Properties

                                                                                                                  type ICheckboxSymbolOptions = {
                                                                                                                      alias?: string;
                                                                                                                      checked?: boolean;
                                                                                                                      checkedState?: ICheckboxSymbolProperties;
                                                                                                                      uncheckedState?: ICheckboxSymbolProperties;
                                                                                                                  }
                                                                                                                  Index

                                                                                                                  Properties

                                                                                                                  alias?: string

                                                                                                                  Display name for the checkbox control

                                                                                                                  -
                                                                                                                  checked?: boolean

                                                                                                                  Whether the checkbox is initially checked

                                                                                                                  -

                                                                                                                  Symbol properties for the checked state

                                                                                                                  -
                                                                                                                  uncheckedState?: ICheckboxSymbolProperties

                                                                                                                  Symbol properties for the unchecked state

                                                                                                                  -
                                                                                                                  +
                                                                                                                  checked?: boolean

                                                                                                                  Whether the checkbox is initially checked

                                                                                                                  +

                                                                                                                  Symbol properties for the checked state

                                                                                                                  +
                                                                                                                  uncheckedState?: ICheckboxSymbolProperties

                                                                                                                  Symbol properties for the unchecked state

                                                                                                                  +
                                                                                                                  diff --git a/api/types/ICheckboxSymbolProperties.html b/api/types/ICheckboxSymbolProperties.html index 1c35fa75ab..cd7e7f9c9c 100644 --- a/api/types/ICheckboxSymbolProperties.html +++ b/api/types/ICheckboxSymbolProperties.html @@ -1,6 +1,6 @@ ICheckboxSymbolProperties | docx
                                                                                                                  docx
                                                                                                                    Preparing search index...

                                                                                                                    Type Alias ICheckboxSymbolProperties

                                                                                                                    Configuration for a checkbox symbol state (checked or unchecked).

                                                                                                                    -
                                                                                                                    type ICheckboxSymbolProperties = {
                                                                                                                        font?: string;
                                                                                                                        value?: string;
                                                                                                                    }
                                                                                                                    Index

                                                                                                                    Properties

                                                                                                                    type ICheckboxSymbolProperties = {
                                                                                                                        font?: string;
                                                                                                                        value?: string;
                                                                                                                    }
                                                                                                                    Index

                                                                                                                    Properties

                                                                                                                    Properties

                                                                                                                    font?: string

                                                                                                                    Font family to use for rendering the symbol

                                                                                                                    -
                                                                                                                    value?: string

                                                                                                                    Hexadecimal character code for the symbol (e.g., "2612" for ☒)

                                                                                                                    -
                                                                                                                    +
                                                                                                                    value?: string

                                                                                                                    Hexadecimal character code for the symbol (e.g., "2612" for ☒)

                                                                                                                    +
                                                                                                                    diff --git a/api/types/IColumnAttributes.html b/api/types/IColumnAttributes.html index ff41e5a113..e1ab3347d4 100644 --- a/api/types/IColumnAttributes.html +++ b/api/types/IColumnAttributes.html @@ -1,6 +1,6 @@ IColumnAttributes | docx
                                                                                                                    docx
                                                                                                                      Preparing search index...

                                                                                                                      Type Alias IColumnAttributes

                                                                                                                      Options for configuring individual column properties.

                                                                                                                      -
                                                                                                                      type IColumnAttributes = {
                                                                                                                          space?: number | PositiveUniversalMeasure;
                                                                                                                          width: number | PositiveUniversalMeasure;
                                                                                                                      }
                                                                                                                      Index

                                                                                                                      Properties

                                                                                                                      type IColumnAttributes = {
                                                                                                                          space?: number | PositiveUniversalMeasure;
                                                                                                                          width: number | PositiveUniversalMeasure;
                                                                                                                      }
                                                                                                                      Index

                                                                                                                      Properties

                                                                                                                      Properties

                                                                                                                      space?: number | PositiveUniversalMeasure

                                                                                                                      Space after column in twips or universal measure (default: 0)

                                                                                                                      -
                                                                                                                      width: number | PositiveUniversalMeasure

                                                                                                                      Column width in twips or universal measure

                                                                                                                      -
                                                                                                                      +
                                                                                                                      width: number | PositiveUniversalMeasure

                                                                                                                      Column width in twips or universal measure

                                                                                                                      +
                                                                                                                      diff --git a/api/types/IColumnsAttributes.html b/api/types/IColumnsAttributes.html index 086630d8e8..bfc9f3d9e3 100644 --- a/api/types/IColumnsAttributes.html +++ b/api/types/IColumnsAttributes.html @@ -1,12 +1,12 @@ IColumnsAttributes | docx
                                                                                                                      docx
                                                                                                                        Preparing search index...

                                                                                                                        Type Alias IColumnsAttributes

                                                                                                                        Options for configuring column layout in a section.

                                                                                                                        -
                                                                                                                        type IColumnsAttributes = {
                                                                                                                            children?: readonly Column[];
                                                                                                                            count?: number;
                                                                                                                            equalWidth?: boolean;
                                                                                                                            separate?: boolean;
                                                                                                                            space?: number | PositiveUniversalMeasure;
                                                                                                                        }
                                                                                                                        Index

                                                                                                                        Properties

                                                                                                                        type IColumnsAttributes = {
                                                                                                                            children?: readonly Column[];
                                                                                                                            count?: number;
                                                                                                                            equalWidth?: boolean;
                                                                                                                            separate?: boolean;
                                                                                                                            space?: number | PositiveUniversalMeasure;
                                                                                                                        }
                                                                                                                        Index

                                                                                                                        Properties

                                                                                                                        children?: readonly Column[]

                                                                                                                        Individual column definitions (used when equalWidth is false)

                                                                                                                        -
                                                                                                                        count?: number

                                                                                                                        Number of columns (default: 1)

                                                                                                                        -
                                                                                                                        equalWidth?: boolean

                                                                                                                        Whether all columns have equal width

                                                                                                                        -
                                                                                                                        separate?: boolean

                                                                                                                        Whether to draw vertical separator lines between columns

                                                                                                                        -
                                                                                                                        space?: number | PositiveUniversalMeasure

                                                                                                                        Spacing between columns in twips (default: 720)

                                                                                                                        -
                                                                                                                        +
                                                                                                                        count?: number

                                                                                                                        Number of columns (default: 1)

                                                                                                                        +
                                                                                                                        equalWidth?: boolean

                                                                                                                        Whether all columns have equal width

                                                                                                                        +
                                                                                                                        separate?: boolean

                                                                                                                        Whether to draw vertical separator lines between columns

                                                                                                                        +
                                                                                                                        space?: number | PositiveUniversalMeasure

                                                                                                                        Spacing between columns in twips (default: 720)

                                                                                                                        +
                                                                                                                        diff --git a/api/types/ICommentOptions.html b/api/types/ICommentOptions.html index 0fdbb9c13e..f45c4788be 100644 --- a/api/types/ICommentOptions.html +++ b/api/types/ICommentOptions.html @@ -1,5 +1,5 @@ ICommentOptions | docx
                                                                                                                        docx
                                                                                                                          Preparing search index...

                                                                                                                          Type Alias ICommentOptions

                                                                                                                          Options for creating a single comment.

                                                                                                                          -
                                                                                                                          type ICommentOptions = {
                                                                                                                              author?: string;
                                                                                                                              children: readonly FileChild[];
                                                                                                                              date?: Date;
                                                                                                                              id: number;
                                                                                                                              initials?: string;
                                                                                                                              parentId?: number;
                                                                                                                              resolved?: boolean;
                                                                                                                          }
                                                                                                                          Index

                                                                                                                          Properties

                                                                                                                          type ICommentOptions = {
                                                                                                                              author?: string;
                                                                                                                              children: readonly FileChild[];
                                                                                                                              date?: Date;
                                                                                                                              id: number;
                                                                                                                              initials?: string;
                                                                                                                              parentId?: number;
                                                                                                                              resolved?: boolean;
                                                                                                                          }
                                                                                                                          Index

                                                                                                                          Properties

                                                                                                                          Properties

                                                                                                                          author?: string

                                                                                                                          Name of the comment author

                                                                                                                          -
                                                                                                                          children: readonly FileChild[]

                                                                                                                          Content of the comment (typically paragraphs)

                                                                                                                          -
                                                                                                                          date?: Date

                                                                                                                          Date and time the comment was created

                                                                                                                          -
                                                                                                                          id: number

                                                                                                                          Unique identifier for the comment

                                                                                                                          -
                                                                                                                          initials?: string

                                                                                                                          Initials of the comment author

                                                                                                                          -
                                                                                                                          parentId?: number

                                                                                                                          ID of the parent comment for reply threading

                                                                                                                          -
                                                                                                                          resolved?: boolean

                                                                                                                          Whether the comment thread is marked as resolved

                                                                                                                          -
                                                                                                                          +
                                                                                                                          children: readonly FileChild[]

                                                                                                                          Content of the comment (typically paragraphs)

                                                                                                                          +
                                                                                                                          date?: Date

                                                                                                                          Date and time the comment was created

                                                                                                                          +
                                                                                                                          id: number

                                                                                                                          Unique identifier for the comment

                                                                                                                          +
                                                                                                                          initials?: string

                                                                                                                          Initials of the comment author

                                                                                                                          +
                                                                                                                          parentId?: number

                                                                                                                          ID of the parent comment for reply threading

                                                                                                                          +
                                                                                                                          resolved?: boolean

                                                                                                                          Whether the comment thread is marked as resolved

                                                                                                                          +
                                                                                                                          diff --git a/api/types/ICommentThreadData.html b/api/types/ICommentThreadData.html index 87109187c4..f043410356 100644 --- a/api/types/ICommentThreadData.html +++ b/api/types/ICommentThreadData.html @@ -1,8 +1,8 @@ ICommentThreadData | docx
                                                                                                                          docx
                                                                                                                            Preparing search index...

                                                                                                                            Type Alias ICommentThreadData

                                                                                                                            Thread data for a single comment, used to build commentsExtended.xml.

                                                                                                                            -
                                                                                                                            type ICommentThreadData = {
                                                                                                                                done?: boolean;
                                                                                                                                paraId: string;
                                                                                                                                parentParaId?: string;
                                                                                                                            }
                                                                                                                            Index

                                                                                                                            Properties

                                                                                                                            type ICommentThreadData = {
                                                                                                                                done?: boolean;
                                                                                                                                paraId: string;
                                                                                                                                parentParaId?: string;
                                                                                                                            }
                                                                                                                            Index

                                                                                                                            Properties

                                                                                                                            done?: boolean

                                                                                                                            Whether the thread is resolved (maps to w15:done: "1"/"0")

                                                                                                                            -
                                                                                                                            paraId: string

                                                                                                                            8-character uppercase hex identifier linking to w14:paraId on the comment's paragraph

                                                                                                                            -
                                                                                                                            parentParaId?: string

                                                                                                                            paraId of the parent comment for reply threading (maps to w15:paraIdParent)

                                                                                                                            -
                                                                                                                            +
                                                                                                                            paraId: string

                                                                                                                            8-character uppercase hex identifier linking to w14:paraId on the comment's paragraph

                                                                                                                            +
                                                                                                                            parentParaId?: string

                                                                                                                            paraId of the parent comment for reply threading (maps to w15:paraIdParent)

                                                                                                                            +
                                                                                                                            diff --git a/api/types/ICommentsOptions.html b/api/types/ICommentsOptions.html index 5a95db06a4..10b9f2d486 100644 --- a/api/types/ICommentsOptions.html +++ b/api/types/ICommentsOptions.html @@ -1,4 +1,4 @@ ICommentsOptions | docx
                                                                                                                            docx
                                                                                                                              Preparing search index...

                                                                                                                              Type Alias ICommentsOptions

                                                                                                                              Options for creating a comments container.

                                                                                                                              -
                                                                                                                              type ICommentsOptions = {
                                                                                                                                  children: readonly ICommentOptions[];
                                                                                                                              }
                                                                                                                              Index

                                                                                                                              Properties

                                                                                                                              type ICommentsOptions = {
                                                                                                                                  children: readonly ICommentOptions[];
                                                                                                                              }
                                                                                                                              Index

                                                                                                                              Properties

                                                                                                                              Properties

                                                                                                                              children: readonly ICommentOptions[]

                                                                                                                              Array of comment definitions

                                                                                                                              -
                                                                                                                              +
                                                                                                                              diff --git a/api/types/IConcreteNumberingOptions.html b/api/types/IConcreteNumberingOptions.html index ada623923b..f6188e3550 100644 --- a/api/types/IConcreteNumberingOptions.html +++ b/api/types/IConcreteNumberingOptions.html @@ -1,12 +1,12 @@ IConcreteNumberingOptions | docx
                                                                                                                              docx
                                                                                                                                Preparing search index...

                                                                                                                                Type Alias IConcreteNumberingOptions

                                                                                                                                Options for creating a concrete numbering instance.

                                                                                                                                -
                                                                                                                                type IConcreteNumberingOptions = {
                                                                                                                                    abstractNumId: number;
                                                                                                                                    instance: number;
                                                                                                                                    numId: number;
                                                                                                                                    overrideLevels?: readonly IOverrideLevel[];
                                                                                                                                    reference: string;
                                                                                                                                }
                                                                                                                                Index

                                                                                                                                Properties

                                                                                                                                type IConcreteNumberingOptions = {
                                                                                                                                    abstractNumId: number;
                                                                                                                                    instance: number;
                                                                                                                                    numId: number;
                                                                                                                                    overrideLevels?: readonly IOverrideLevel[];
                                                                                                                                    reference: string;
                                                                                                                                }
                                                                                                                                Index

                                                                                                                                Properties

                                                                                                                                abstractNumId: number

                                                                                                                                ID of the abstract numbering definition to reference

                                                                                                                                -
                                                                                                                                instance: number

                                                                                                                                Instance number for tracking multiple uses

                                                                                                                                -
                                                                                                                                numId: number

                                                                                                                                Unique identifier for this numbering instance

                                                                                                                                -
                                                                                                                                overrideLevels?: readonly IOverrideLevel[]

                                                                                                                                Array of level overrides to customize specific levels

                                                                                                                                -
                                                                                                                                reference: string

                                                                                                                                Reference name for this numbering instance

                                                                                                                                -
                                                                                                                                +
                                                                                                                                instance: number

                                                                                                                                Instance number for tracking multiple uses

                                                                                                                                +
                                                                                                                                numId: number

                                                                                                                                Unique identifier for this numbering instance

                                                                                                                                +
                                                                                                                                overrideLevels?: readonly IOverrideLevel[]

                                                                                                                                Array of level overrides to customize specific levels

                                                                                                                                +
                                                                                                                                reference: string

                                                                                                                                Reference name for this numbering instance

                                                                                                                                +
                                                                                                                                diff --git a/api/types/IContext.html b/api/types/IContext.html index 71de57cbdb..83e823dee9 100644 --- a/api/types/IContext.html +++ b/api/types/IContext.html @@ -1,10 +1,10 @@ IContext | docx
                                                                                                                                docx
                                                                                                                                  Preparing search index...

                                                                                                                                  Type Alias IContext

                                                                                                                                  Context object passed through the XML tree during serialization.

                                                                                                                                  This context provides access to the document structure and maintains state during the conversion of components to XML.

                                                                                                                                  -
                                                                                                                                  type IContext = {
                                                                                                                                      file: File;
                                                                                                                                      stack: IXmlableObject[];
                                                                                                                                      viewWrapper: IViewWrapper;
                                                                                                                                  }
                                                                                                                                  Index

                                                                                                                                  Properties

                                                                                                                                  type IContext = {
                                                                                                                                      file: File;
                                                                                                                                      stack: IXmlableObject[];
                                                                                                                                      viewWrapper: IViewWrapper;
                                                                                                                                  }
                                                                                                                                  Index

                                                                                                                                  Properties

                                                                                                                                  file: File

                                                                                                                                  The root File object being serialized

                                                                                                                                  -

                                                                                                                                  Current traversal stack of components (mutable for performance)

                                                                                                                                  -
                                                                                                                                  viewWrapper: IViewWrapper

                                                                                                                                  Access to document relationships and other document parts

                                                                                                                                  -
                                                                                                                                  +

                                                                                                                                  Current traversal stack of components (mutable for performance)

                                                                                                                                  +
                                                                                                                                  viewWrapper: IViewWrapper

                                                                                                                                  Access to document relationships and other document parts

                                                                                                                                  +
                                                                                                                                  diff --git a/api/types/IDistance.html b/api/types/IDistance.html index cee199811e..d55d5fc1c2 100644 --- a/api/types/IDistance.html +++ b/api/types/IDistance.html @@ -1,7 +1,7 @@ IDistance | docx
                                                                                                                                  docx
                                                                                                                                    Preparing search index...

                                                                                                                                    Type Alias IDistance

                                                                                                                                    Distance options for drawing elements.

                                                                                                                                    Specifies the margins around a drawing element.

                                                                                                                                    -
                                                                                                                                    type IDistance = {
                                                                                                                                        distB?: number;
                                                                                                                                        distL?: number;
                                                                                                                                        distR?: number;
                                                                                                                                        distT?: number;
                                                                                                                                    }
                                                                                                                                    Index

                                                                                                                                    Properties

                                                                                                                                    type IDistance = {
                                                                                                                                        distB?: number;
                                                                                                                                        distL?: number;
                                                                                                                                        distR?: number;
                                                                                                                                        distT?: number;
                                                                                                                                    }
                                                                                                                                    Index

                                                                                                                                    Properties

                                                                                                                                    distB?: number
                                                                                                                                    distL?: number
                                                                                                                                    distR?: number
                                                                                                                                    distT?: number
                                                                                                                                    +

                                                                                                                                    Properties

                                                                                                                                    distB?: number
                                                                                                                                    distL?: number
                                                                                                                                    distR?: number
                                                                                                                                    distT?: number
                                                                                                                                    diff --git a/api/types/IDocGridAttributesProperties.html b/api/types/IDocGridAttributesProperties.html index 65edfccac9..5287484bb6 100644 --- a/api/types/IDocGridAttributesProperties.html +++ b/api/types/IDocGridAttributesProperties.html @@ -1,4 +1,4 @@ -IDocGridAttributesProperties | docx
                                                                                                                                    docx
                                                                                                                                      Preparing search index...

                                                                                                                                      Type Alias IDocGridAttributesProperties

                                                                                                                                      type IDocGridAttributesProperties = {
                                                                                                                                          charSpace?: number;
                                                                                                                                          linePitch: number;
                                                                                                                                          type?: typeof DocumentGridType[keyof typeof DocumentGridType];
                                                                                                                                      }
                                                                                                                                      Index

                                                                                                                                      Properties

                                                                                                                                      charSpace? +IDocGridAttributesProperties | docx
                                                                                                                                      docx
                                                                                                                                        Preparing search index...

                                                                                                                                        Type Alias IDocGridAttributesProperties

                                                                                                                                        type IDocGridAttributesProperties = {
                                                                                                                                            charSpace?: number;
                                                                                                                                            linePitch: number;
                                                                                                                                            type?: typeof DocumentGridType[keyof typeof DocumentGridType];
                                                                                                                                        }
                                                                                                                                        Index

                                                                                                                                        Properties

                                                                                                                                        charSpace?: number

                                                                                                                                        Specifies the number of characters to be allowed on the document grid for each line in this section.

                                                                                                                                        @@ -10,7 +10,7 @@

                                                                                                                                        The charSpace attribute specifies a value of 40960, which means that the delta between the character pitch of each character in the grid and the Normal font is 10 points, resulting in a character pitch of 11+10 = 21 points for all characters in this section. ]

                                                                                                                                        Individual runs of text can override the line pitch information specified for the document grid by specifying that the run text shall not snap to the document grid via the element (§2.3.2.32).

                                                                                                                                        The possible values for this attribute are defined by the ST_DecimalNumber simple type (§2.18.16).

                                                                                                                                        -
                                                                                                                                        linePitch: number

                                                                                                                                        Specifies the number of lines to be allowed on the document grid for the current page assuming all lines have equal line pitch applied to them. This line pitch shall not be added to any line which appears within a table cell unless the element (§2.15.3.1) is present in the document's compatibility settings.

                                                                                                                                        +
                                                                                                                                        linePitch: number

                                                                                                                                        Specifies the number of lines to be allowed on the document grid for the current page assuming all lines have equal line pitch applied to them. This line pitch shall not be added to any line which appears within a table cell unless the element (§2.15.3.1) is present in the document's compatibility settings.

                                                                                                                                        This attribute is specified in twentieths of a point, and defines the pitch for each line of text on this page such that the desired number of single spaced lines of text fits on the current page.

                                                                                                                                        <w:docGrid w:linePitch="684" …/>
                                                                                                                                         
                                                                                                                                        @@ -20,6 +20,6 @@

                                                                                                                                        Specifying an exact line spacing value using the lineRule attribute of value exact on the element (§2.3.1.33).

                                                                                                                                        Specifying that the paragraph text shall not snap to the document grid via the element (§2.3.1.32).

                                                                                                                                        The possible values for this attribute are defined by the ST_DecimalNumber simple type (§2.18.16).

                                                                                                                                        -
                                                                                                                                        type?: typeof DocumentGridType[keyof typeof DocumentGridType]

                                                                                                                                        Specifies the type of the current document grid, which defines the grid behavior.

                                                                                                                                        +
                                                                                                                                        type?: typeof DocumentGridType[keyof typeof DocumentGridType]

                                                                                                                                        Specifies the type of the current document grid, which defines the grid behavior.

                                                                                                                                        The grid can define a grid which snaps all East Asian characters to grid positions, but leaves Latin text with its default spacing; a grid which adds the specified character pitch to each character on each row; or a grid which affects only the line pitch for the current section.

                                                                                                                                        -
                                                                                                                                        +
                                                                                                                                        diff --git a/api/types/IDocumentAttributesProperties.html b/api/types/IDocumentAttributesProperties.html index c7cd1edf11..a9cc50fbb1 100644 --- a/api/types/IDocumentAttributesProperties.html +++ b/api/types/IDocumentAttributesProperties.html @@ -1,4 +1,4 @@ IDocumentAttributesProperties | docx
                                                                                                                                        docx
                                                                                                                                          Preparing search index...

                                                                                                                                          Type Alias IDocumentAttributesProperties

                                                                                                                                          IDocumentAttributesProperties: Partial<
                                                                                                                                              Record<DocumentAttributeNamespace, string>,
                                                                                                                                          > & { Ignorable?: string }

                                                                                                                                          Properties for document namespace attributes.

                                                                                                                                          Allows specifying which namespaces to include and optional Ignorable attribute for compatibility with older processors.

                                                                                                                                          -
                                                                                                                                          +
                                                                                                                                          diff --git a/api/types/IDocumentBackgroundOptions.html b/api/types/IDocumentBackgroundOptions.html index 3b011462a9..693fc0bf50 100644 --- a/api/types/IDocumentBackgroundOptions.html +++ b/api/types/IDocumentBackgroundOptions.html @@ -1,11 +1,11 @@ IDocumentBackgroundOptions | docx
                                                                                                                                          docx
                                                                                                                                            Preparing search index...

                                                                                                                                            Type Alias IDocumentBackgroundOptions

                                                                                                                                            Options for creating a document background.

                                                                                                                                            type IDocumentBackgroundOptions = {
                                                                                                                                                color?: string;
                                                                                                                                                themeColor?: string;
                                                                                                                                                themeShade?: string;
                                                                                                                                                themeTint?: string;
                                                                                                                                            }
                                                                                                                                            Index

                                                                                                                                            Properties

                                                                                                                                            type IDocumentBackgroundOptions = {
                                                                                                                                                color?: string;
                                                                                                                                                themeColor?: string;
                                                                                                                                                themeShade?: string;
                                                                                                                                                themeTint?: string;
                                                                                                                                            }
                                                                                                                                            Index

                                                                                                                                            Properties

                                                                                                                                            color?: string

                                                                                                                                            Background color in hex format (e.g., "FF0000" for red)

                                                                                                                                            -
                                                                                                                                            themeColor?: string

                                                                                                                                            Theme color name (e.g., "accent1", "dark1")

                                                                                                                                            -
                                                                                                                                            themeShade?: string

                                                                                                                                            Theme shade value (darkens the theme color)

                                                                                                                                            -
                                                                                                                                            themeTint?: string

                                                                                                                                            Theme tint value (lightens the theme color)

                                                                                                                                            -
                                                                                                                                            +
                                                                                                                                            themeColor?: string

                                                                                                                                            Theme color name (e.g., "accent1", "dark1")

                                                                                                                                            +
                                                                                                                                            themeShade?: string

                                                                                                                                            Theme shade value (darkens the theme color)

                                                                                                                                            +
                                                                                                                                            themeTint?: string

                                                                                                                                            Theme tint value (lightens the theme color)

                                                                                                                                            +
                                                                                                                                            diff --git a/api/types/IDocumentDefaultsOptions.html b/api/types/IDocumentDefaultsOptions.html index 9b6d2bbda2..4d082cbf48 100644 --- a/api/types/IDocumentDefaultsOptions.html +++ b/api/types/IDocumentDefaultsOptions.html @@ -1,6 +1,6 @@ IDocumentDefaultsOptions | docx
                                                                                                                                            docx
                                                                                                                                              Preparing search index...

                                                                                                                                              Type Alias IDocumentDefaultsOptions

                                                                                                                                              Options for configuring document-wide default formatting.

                                                                                                                                              -
                                                                                                                                              type IDocumentDefaultsOptions = {
                                                                                                                                                  paragraph?: IParagraphStylePropertiesOptions;
                                                                                                                                                  run?: IRunStylePropertiesOptions;
                                                                                                                                              }
                                                                                                                                              Index

                                                                                                                                              Properties

                                                                                                                                              type IDocumentDefaultsOptions = {
                                                                                                                                                  paragraph?: IParagraphStylePropertiesOptions;
                                                                                                                                                  run?: IRunStylePropertiesOptions;
                                                                                                                                              }
                                                                                                                                              Index

                                                                                                                                              Properties

                                                                                                                                              Properties

                                                                                                                                              Default paragraph properties applied to all paragraphs

                                                                                                                                              -

                                                                                                                                              Default run properties applied to all text runs

                                                                                                                                              -
                                                                                                                                              +

                                                                                                                                              Default run properties applied to all text runs

                                                                                                                                              +
                                                                                                                                              diff --git a/api/types/IDocumentFooter.html b/api/types/IDocumentFooter.html index 91f37adf51..a940fe4a93 100644 --- a/api/types/IDocumentFooter.html +++ b/api/types/IDocumentFooter.html @@ -1,6 +1,6 @@ IDocumentFooter | docx
                                                                                                                                              docx
                                                                                                                                                Preparing search index...

                                                                                                                                                Type Alias IDocumentFooter

                                                                                                                                                Configuration for a document footer.

                                                                                                                                                -
                                                                                                                                                type IDocumentFooter = {
                                                                                                                                                    footer: FooterWrapper;
                                                                                                                                                    type: typeof HeaderFooterReferenceType[keyof typeof HeaderFooterReferenceType];
                                                                                                                                                }
                                                                                                                                                Index

                                                                                                                                                Properties

                                                                                                                                                type IDocumentFooter = {
                                                                                                                                                    footer: FooterWrapper;
                                                                                                                                                    type: typeof HeaderFooterReferenceType[keyof typeof HeaderFooterReferenceType];
                                                                                                                                                }
                                                                                                                                                Index

                                                                                                                                                Properties

                                                                                                                                                Properties

                                                                                                                                                The FooterWrapper instance containing the footer content

                                                                                                                                                -

                                                                                                                                                The footer type (default, first page, even pages)

                                                                                                                                                -
                                                                                                                                                +

                                                                                                                                                The footer type (default, first page, even pages)

                                                                                                                                                +
                                                                                                                                                diff --git a/api/types/IDocumentHeader.html b/api/types/IDocumentHeader.html index e5a78d16e5..3374fd39d9 100644 --- a/api/types/IDocumentHeader.html +++ b/api/types/IDocumentHeader.html @@ -1,6 +1,6 @@ IDocumentHeader | docx
                                                                                                                                                docx
                                                                                                                                                  Preparing search index...

                                                                                                                                                  Type Alias IDocumentHeader

                                                                                                                                                  Configuration for a document header.

                                                                                                                                                  -
                                                                                                                                                  type IDocumentHeader = {
                                                                                                                                                      header: HeaderWrapper;
                                                                                                                                                      type: typeof HeaderFooterReferenceType[keyof typeof HeaderFooterReferenceType];
                                                                                                                                                  }
                                                                                                                                                  Index

                                                                                                                                                  Properties

                                                                                                                                                  type IDocumentHeader = {
                                                                                                                                                      header: HeaderWrapper;
                                                                                                                                                      type: typeof HeaderFooterReferenceType[keyof typeof HeaderFooterReferenceType];
                                                                                                                                                  }
                                                                                                                                                  Index

                                                                                                                                                  Properties

                                                                                                                                                  Properties

                                                                                                                                                  The HeaderWrapper instance containing the header content

                                                                                                                                                  -

                                                                                                                                                  The header type (default, first page, even pages)

                                                                                                                                                  -
                                                                                                                                                  +

                                                                                                                                                  The header type (default, first page, even pages)

                                                                                                                                                  +
                                                                                                                                                  diff --git a/api/types/IDocumentOptions.html b/api/types/IDocumentOptions.html index f208b2218d..deb23cd53e 100644 --- a/api/types/IDocumentOptions.html +++ b/api/types/IDocumentOptions.html @@ -1,5 +1,5 @@ IDocumentOptions | docx
                                                                                                                                                  docx
                                                                                                                                                    Preparing search index...

                                                                                                                                                    Type Alias IDocumentOptions

                                                                                                                                                    Options for creating a Document element.

                                                                                                                                                    type IDocumentOptions = {
                                                                                                                                                        background?: IDocumentBackgroundOptions;
                                                                                                                                                    }
                                                                                                                                                    Index

                                                                                                                                                    Properties

                                                                                                                                                    type IDocumentOptions = {
                                                                                                                                                        background?: IDocumentBackgroundOptions;
                                                                                                                                                    }
                                                                                                                                                    Index

                                                                                                                                                    Properties

                                                                                                                                                    Properties

                                                                                                                                                    Optional background settings for the document

                                                                                                                                                    -
                                                                                                                                                    +
                                                                                                                                                    diff --git a/api/types/IDrawingOptions.html b/api/types/IDrawingOptions.html index 39639ad316..e6efbadb7f 100644 --- a/api/types/IDrawingOptions.html +++ b/api/types/IDrawingOptions.html @@ -1,7 +1,7 @@ IDrawingOptions | docx
                                                                                                                                                    docx
                                                                                                                                                      Preparing search index...

                                                                                                                                                      Type Alias IDrawingOptions

                                                                                                                                                      Options for configuring a drawing element.

                                                                                                                                                      Drawing

                                                                                                                                                      -
                                                                                                                                                      type IDrawingOptions = {
                                                                                                                                                          docProperties?: DocPropertiesOptions;
                                                                                                                                                          floating?: IFloating;
                                                                                                                                                          outline?: OutlineOptions;
                                                                                                                                                          solidFill?: SolidFillOptions;
                                                                                                                                                      }
                                                                                                                                                      Index

                                                                                                                                                      Properties

                                                                                                                                                      type IDrawingOptions = {
                                                                                                                                                          docProperties?: DocPropertiesOptions;
                                                                                                                                                          floating?: IFloating;
                                                                                                                                                          outline?: OutlineOptions;
                                                                                                                                                          solidFill?: SolidFillOptions;
                                                                                                                                                      }
                                                                                                                                                      Index

                                                                                                                                                      Properties

                                                                                                                                                      docProperties?: DocPropertiesOptions
                                                                                                                                                      floating?: IFloating
                                                                                                                                                      outline?: OutlineOptions
                                                                                                                                                      solidFill?: SolidFillOptions
                                                                                                                                                      +

                                                                                                                                                      Properties

                                                                                                                                                      docProperties?: DocPropertiesOptions
                                                                                                                                                      floating?: IFloating
                                                                                                                                                      outline?: OutlineOptions
                                                                                                                                                      solidFill?: SolidFillOptions
                                                                                                                                                      diff --git a/api/types/IExtendedMediaData.html b/api/types/IExtendedMediaData.html index b7995bcc8d..d04fb1abc6 100644 --- a/api/types/IExtendedMediaData.html +++ b/api/types/IExtendedMediaData.html @@ -1 +1 @@ -IExtendedMediaData | docx
                                                                                                                                                      docx
                                                                                                                                                        Preparing search index...

                                                                                                                                                        Type Alias IExtendedMediaData

                                                                                                                                                        IExtendedMediaData: IMediaData | WpsMediaData | WpgMediaData
                                                                                                                                                        +IExtendedMediaData | docx
                                                                                                                                                        docx
                                                                                                                                                          Preparing search index...

                                                                                                                                                          Type Alias IExtendedMediaData

                                                                                                                                                          IExtendedMediaData: IMediaData | WpsMediaData | WpgMediaData
                                                                                                                                                          diff --git a/api/types/IExternalHyperlinkOptions.html b/api/types/IExternalHyperlinkOptions.html index 21b1964830..e40ddd82b5 100644 --- a/api/types/IExternalHyperlinkOptions.html +++ b/api/types/IExternalHyperlinkOptions.html @@ -1,6 +1,6 @@ IExternalHyperlinkOptions | docx
                                                                                                                                                          docx
                                                                                                                                                            Preparing search index...

                                                                                                                                                            Type Alias IExternalHyperlinkOptions

                                                                                                                                                            Options for creating an external hyperlink.

                                                                                                                                                            -
                                                                                                                                                            type IExternalHyperlinkOptions = {
                                                                                                                                                                children: readonly ParagraphChild[];
                                                                                                                                                                link: string;
                                                                                                                                                            }
                                                                                                                                                            Index

                                                                                                                                                            Properties

                                                                                                                                                            type IExternalHyperlinkOptions = {
                                                                                                                                                                children: readonly ParagraphChild[];
                                                                                                                                                                link: string;
                                                                                                                                                            }
                                                                                                                                                            Index

                                                                                                                                                            Properties

                                                                                                                                                            Properties

                                                                                                                                                            children: readonly ParagraphChild[]

                                                                                                                                                            Array of paragraph children (usually TextRun elements) that form the hyperlink text

                                                                                                                                                            -
                                                                                                                                                            link: string

                                                                                                                                                            URL to link to outside the document

                                                                                                                                                            -
                                                                                                                                                            +
                                                                                                                                                            link: string

                                                                                                                                                            URL to link to outside the document

                                                                                                                                                            +
                                                                                                                                                            diff --git a/api/types/IFloating.html b/api/types/IFloating.html index 9fe96703d9..4494db587f 100644 --- a/api/types/IFloating.html +++ b/api/types/IFloating.html @@ -1,6 +1,6 @@ IFloating | docx
                                                                                                                                                            docx
                                                                                                                                                              Preparing search index...

                                                                                                                                                              Type Alias IFloating

                                                                                                                                                              Configuration options for a floating/anchored drawing.

                                                                                                                                                              Anchor

                                                                                                                                                              -
                                                                                                                                                              type IFloating = {
                                                                                                                                                                  allowOverlap?: boolean;
                                                                                                                                                                  behindDocument?: boolean;
                                                                                                                                                                  horizontalPosition: IHorizontalPositionOptions;
                                                                                                                                                                  layoutInCell?: boolean;
                                                                                                                                                                  lockAnchor?: boolean;
                                                                                                                                                                  margins?: IMargins;
                                                                                                                                                                  verticalPosition: IVerticalPositionOptions;
                                                                                                                                                                  wrap?: ITextWrapping;
                                                                                                                                                                  zIndex?: number;
                                                                                                                                                              }
                                                                                                                                                              Index

                                                                                                                                                              Properties

                                                                                                                                                              type IFloating = {
                                                                                                                                                                  allowOverlap?: boolean;
                                                                                                                                                                  behindDocument?: boolean;
                                                                                                                                                                  horizontalPosition: IHorizontalPositionOptions;
                                                                                                                                                                  layoutInCell?: boolean;
                                                                                                                                                                  lockAnchor?: boolean;
                                                                                                                                                                  margins?: IMargins;
                                                                                                                                                                  verticalPosition: IVerticalPositionOptions;
                                                                                                                                                                  wrap?: ITextWrapping;
                                                                                                                                                                  zIndex?: number;
                                                                                                                                                              }
                                                                                                                                                              Index

                                                                                                                                                              Properties

                                                                                                                                                              allowOverlap?: boolean
                                                                                                                                                              behindDocument?: boolean
                                                                                                                                                              horizontalPosition: IHorizontalPositionOptions
                                                                                                                                                              layoutInCell?: boolean
                                                                                                                                                              lockAnchor?: boolean
                                                                                                                                                              margins?: IMargins
                                                                                                                                                              verticalPosition: IVerticalPositionOptions
                                                                                                                                                              zIndex?: number
                                                                                                                                                              +

                                                                                                                                                              Properties

                                                                                                                                                              allowOverlap?: boolean
                                                                                                                                                              behindDocument?: boolean
                                                                                                                                                              horizontalPosition: IHorizontalPositionOptions
                                                                                                                                                              layoutInCell?: boolean
                                                                                                                                                              lockAnchor?: boolean
                                                                                                                                                              margins?: IMargins
                                                                                                                                                              verticalPosition: IVerticalPositionOptions
                                                                                                                                                              zIndex?: number
                                                                                                                                                              diff --git a/api/types/IFontAttributesProperties.html b/api/types/IFontAttributesProperties.html index 46085f835b..f77b1200f6 100644 --- a/api/types/IFontAttributesProperties.html +++ b/api/types/IFontAttributesProperties.html @@ -1,12 +1,12 @@ IFontAttributesProperties | docx
                                                                                                                                                              docx
                                                                                                                                                                Preparing search index...

                                                                                                                                                                Type Alias IFontAttributesProperties

                                                                                                                                                                Options for font attributes across different character sets.

                                                                                                                                                                -
                                                                                                                                                                type IFontAttributesProperties = {
                                                                                                                                                                    ascii?: string;
                                                                                                                                                                    cs?: string;
                                                                                                                                                                    eastAsia?: string;
                                                                                                                                                                    hAnsi?: string;
                                                                                                                                                                    hint?: string;
                                                                                                                                                                }
                                                                                                                                                                Index

                                                                                                                                                                Properties

                                                                                                                                                                type IFontAttributesProperties = {
                                                                                                                                                                    ascii?: string;
                                                                                                                                                                    cs?: string;
                                                                                                                                                                    eastAsia?: string;
                                                                                                                                                                    hAnsi?: string;
                                                                                                                                                                    hint?: string;
                                                                                                                                                                }
                                                                                                                                                                Index

                                                                                                                                                                Properties

                                                                                                                                                                ascii?: string

                                                                                                                                                                Font for ASCII characters (0x00-0x7F)

                                                                                                                                                                -
                                                                                                                                                                cs?: string

                                                                                                                                                                Font for complex script characters

                                                                                                                                                                -
                                                                                                                                                                eastAsia?: string

                                                                                                                                                                Font for East Asian characters

                                                                                                                                                                -
                                                                                                                                                                hAnsi?: string

                                                                                                                                                                Font for high ANSI characters (0x80-0xFF)

                                                                                                                                                                -
                                                                                                                                                                hint?: string

                                                                                                                                                                Hint for font selection algorithm

                                                                                                                                                                -
                                                                                                                                                                +
                                                                                                                                                                cs?: string

                                                                                                                                                                Font for complex script characters

                                                                                                                                                                +
                                                                                                                                                                eastAsia?: string

                                                                                                                                                                Font for East Asian characters

                                                                                                                                                                +
                                                                                                                                                                hAnsi?: string

                                                                                                                                                                Font for high ANSI characters (0x80-0xFF)

                                                                                                                                                                +
                                                                                                                                                                hint?: string

                                                                                                                                                                Hint for font selection algorithm

                                                                                                                                                                +
                                                                                                                                                                diff --git a/api/types/IFrameOptions.html b/api/types/IFrameOptions.html index 52e107792b..c3315093b0 100644 --- a/api/types/IFrameOptions.html +++ b/api/types/IFrameOptions.html @@ -3,4 +3,4 @@ or alignment values (IAlignmentFrameOptions).

                                                                                                                                                                Note: Be wary of TypeScript's Open types when using discriminated unions. Reference: https://stackoverflow.com/q/46370222/3481582

                                                                                                                                                                -
                                                                                                                                                                +
                                                                                                                                                                diff --git a/api/types/IGroupChildMediaData.html b/api/types/IGroupChildMediaData.html index 1f492b36cd..eb98901338 100644 --- a/api/types/IGroupChildMediaData.html +++ b/api/types/IGroupChildMediaData.html @@ -1 +1 @@ -IGroupChildMediaData | docx
                                                                                                                                                                docx
                                                                                                                                                                  Preparing search index...

                                                                                                                                                                  Type Alias IGroupChildMediaData

                                                                                                                                                                  IGroupChildMediaData: (WpsMediaData | IMediaData) & WpgCommonMediaData
                                                                                                                                                                  +IGroupChildMediaData | docx
                                                                                                                                                                  docx
                                                                                                                                                                    Preparing search index...

                                                                                                                                                                    Type Alias IGroupChildMediaData

                                                                                                                                                                    IGroupChildMediaData: (WpsMediaData | IMediaData) & WpgCommonMediaData
                                                                                                                                                                    diff --git a/api/types/IHeaderFooterGroup.html b/api/types/IHeaderFooterGroup.html index 8b371d3286..0432daa66e 100644 --- a/api/types/IHeaderFooterGroup.html +++ b/api/types/IHeaderFooterGroup.html @@ -1,9 +1,9 @@ IHeaderFooterGroup | docx
                                                                                                                                                                    docx
                                                                                                                                                                      Preparing search index...

                                                                                                                                                                      Type Alias IHeaderFooterGroup<T>

                                                                                                                                                                      Header/footer group for specifying different headers/footers for default, first, and even pages.

                                                                                                                                                                      -
                                                                                                                                                                      type IHeaderFooterGroup<T> = {
                                                                                                                                                                          default?: T;
                                                                                                                                                                          even?: T;
                                                                                                                                                                          first?: T;
                                                                                                                                                                      }

                                                                                                                                                                      Type Parameters

                                                                                                                                                                      • T
                                                                                                                                                                      Index

                                                                                                                                                                      Properties

                                                                                                                                                                      type IHeaderFooterGroup<T> = {
                                                                                                                                                                          default?: T;
                                                                                                                                                                          even?: T;
                                                                                                                                                                          first?: T;
                                                                                                                                                                      }

                                                                                                                                                                      Type Parameters

                                                                                                                                                                      • T
                                                                                                                                                                      Index

                                                                                                                                                                      Properties

                                                                                                                                                                      Properties

                                                                                                                                                                      default?: T

                                                                                                                                                                      Header/footer for default pages (odd pages when even headers are used)

                                                                                                                                                                      -
                                                                                                                                                                      even?: T

                                                                                                                                                                      Header/footer for even pages (requires evenAndOddHeaders setting)

                                                                                                                                                                      -
                                                                                                                                                                      first?: T

                                                                                                                                                                      Header/footer for first page (requires titlePage setting)

                                                                                                                                                                      -
                                                                                                                                                                      +
                                                                                                                                                                      even?: T

                                                                                                                                                                      Header/footer for even pages (requires evenAndOddHeaders setting)

                                                                                                                                                                      +
                                                                                                                                                                      first?: T

                                                                                                                                                                      Header/footer for first page (requires titlePage setting)

                                                                                                                                                                      +
                                                                                                                                                                      diff --git a/api/types/IHeaderFooterOptions.html b/api/types/IHeaderFooterOptions.html index fd99cc3b6b..1447c4788c 100644 --- a/api/types/IHeaderFooterOptions.html +++ b/api/types/IHeaderFooterOptions.html @@ -1,3 +1,3 @@ -IHeaderFooterOptions | docx
                                                                                                                                                                      docx
                                                                                                                                                                        Preparing search index...

                                                                                                                                                                        Type Alias IHeaderFooterOptions

                                                                                                                                                                        type IHeaderFooterOptions = {
                                                                                                                                                                            id?: number;
                                                                                                                                                                            type?: typeof HeaderFooterReferenceType[keyof typeof HeaderFooterReferenceType];
                                                                                                                                                                        }
                                                                                                                                                                        Index

                                                                                                                                                                        Properties

                                                                                                                                                                        id? +IHeaderFooterOptions | docx
                                                                                                                                                                        docx
                                                                                                                                                                          Preparing search index...

                                                                                                                                                                          Type Alias IHeaderFooterOptions

                                                                                                                                                                          type IHeaderFooterOptions = {
                                                                                                                                                                              id?: number;
                                                                                                                                                                              type?: typeof HeaderFooterReferenceType[keyof typeof HeaderFooterReferenceType];
                                                                                                                                                                          }
                                                                                                                                                                          Index

                                                                                                                                                                          Properties

                                                                                                                                                                          Properties

                                                                                                                                                                          id?: number
                                                                                                                                                                          +

                                                                                                                                                                          Properties

                                                                                                                                                                          id?: number
                                                                                                                                                                          diff --git a/api/types/IHeaderOptions.html b/api/types/IHeaderOptions.html index 7466ab4d18..7a09605b60 100644 --- a/api/types/IHeaderOptions.html +++ b/api/types/IHeaderOptions.html @@ -3,6 +3,6 @@
                                                                                                                                                                        • Header
                                                                                                                                                                        • Footer
                                                                                                                                                                        • -
                                                                                                                                                                          type IHeaderOptions = {
                                                                                                                                                                              children: readonly (Paragraph | Table)[];
                                                                                                                                                                          }
                                                                                                                                                                          Index

                                                                                                                                                                          Properties

                                                                                                                                                                          type IHeaderOptions = {
                                                                                                                                                                              children: readonly (Paragraph | Table)[];
                                                                                                                                                                          }
                                                                                                                                                                          Index

                                                                                                                                                                          Properties

                                                                                                                                                                          Properties

                                                                                                                                                                          children: readonly (Paragraph | Table)[]

                                                                                                                                                                          The content elements (paragraphs and tables) for the header/footer

                                                                                                                                                                          -
                                                                                                                                                                          +
                                                                                                                                                                          diff --git a/api/types/IHorizontalPositionOptions.html b/api/types/IHorizontalPositionOptions.html index f9d6d4fc17..ba115f92fc 100644 --- a/api/types/IHorizontalPositionOptions.html +++ b/api/types/IHorizontalPositionOptions.html @@ -1,8 +1,8 @@ IHorizontalPositionOptions | docx
                                                                                                                                                                          docx
                                                                                                                                                                            Preparing search index...

                                                                                                                                                                            Type Alias IHorizontalPositionOptions

                                                                                                                                                                            Options for horizontal positioning of a floating drawing.

                                                                                                                                                                            -
                                                                                                                                                                            type IHorizontalPositionOptions = {
                                                                                                                                                                                align?: typeof HorizontalPositionAlign[keyof typeof HorizontalPositionAlign];
                                                                                                                                                                                offset?: number;
                                                                                                                                                                                relative?: typeof HorizontalPositionRelativeFrom[keyof typeof HorizontalPositionRelativeFrom];
                                                                                                                                                                            }
                                                                                                                                                                            Index

                                                                                                                                                                            Properties

                                                                                                                                                                            type IHorizontalPositionOptions = {
                                                                                                                                                                                align?: typeof HorizontalPositionAlign[keyof typeof HorizontalPositionAlign];
                                                                                                                                                                                offset?: number;
                                                                                                                                                                                relative?: typeof HorizontalPositionRelativeFrom[keyof typeof HorizontalPositionRelativeFrom];
                                                                                                                                                                            }
                                                                                                                                                                            Index

                                                                                                                                                                            Properties

                                                                                                                                                                            Alignment relative to the horizontal base

                                                                                                                                                                            -
                                                                                                                                                                            offset?: number

                                                                                                                                                                            Offset in EMUs from the horizontal base

                                                                                                                                                                            -

                                                                                                                                                                            The base from which horizontal position is calculated

                                                                                                                                                                            -
                                                                                                                                                                            +
                                                                                                                                                                            offset?: number

                                                                                                                                                                            Offset in EMUs from the horizontal base

                                                                                                                                                                            +

                                                                                                                                                                            The base from which horizontal position is calculated

                                                                                                                                                                            +
                                                                                                                                                                            diff --git a/api/types/IImageOptions.html b/api/types/IImageOptions.html index 4893c57ba2..7e41b534c4 100644 --- a/api/types/IImageOptions.html +++ b/api/types/IImageOptions.html @@ -1,3 +1,3 @@ IImageOptions | docx
                                                                                                                                                                            docx
                                                                                                                                                                              Preparing search index...

                                                                                                                                                                              Type Alias IImageOptions

                                                                                                                                                                              IImageOptions: (RegularImageOptions | SvgMediaOptions) & CoreImageOptions

                                                                                                                                                                              Options for creating an ImageRun.

                                                                                                                                                                              +
                                                                                                                                                                              diff --git a/api/types/IIndentAttributesProperties.html b/api/types/IIndentAttributesProperties.html index 45f3963008..a205ebd7fa 100644 --- a/api/types/IIndentAttributesProperties.html +++ b/api/types/IIndentAttributesProperties.html @@ -1,10 +1,10 @@ IIndentAttributesProperties | docx
                                                                                                                                                                              docx
                                                                                                                                                                                Preparing search index...

                                                                                                                                                                                Type Alias IIndentAttributesProperties

                                                                                                                                                                                Properties for configuring paragraph indentation.

                                                                                                                                                                                Values can be specified as numbers (in twips) or as universal measures (e.g., "1in", "2.5cm").

                                                                                                                                                                                -
                                                                                                                                                                                type IIndentAttributesProperties = {
                                                                                                                                                                                    end?: number | UniversalMeasure;
                                                                                                                                                                                    firstLine?: number | PositiveUniversalMeasure;
                                                                                                                                                                                    firstLineChars?: number;
                                                                                                                                                                                    hanging?: number | PositiveUniversalMeasure;
                                                                                                                                                                                    left?: number | UniversalMeasure;
                                                                                                                                                                                    right?: number | UniversalMeasure;
                                                                                                                                                                                    start?: number | UniversalMeasure;
                                                                                                                                                                                }
                                                                                                                                                                                Index

                                                                                                                                                                                Properties

                                                                                                                                                                                type IIndentAttributesProperties = {
                                                                                                                                                                                    end?: number | UniversalMeasure;
                                                                                                                                                                                    firstLine?: number | PositiveUniversalMeasure;
                                                                                                                                                                                    firstLineChars?: number;
                                                                                                                                                                                    hanging?: number | PositiveUniversalMeasure;
                                                                                                                                                                                    left?: number | UniversalMeasure;
                                                                                                                                                                                    right?: number | UniversalMeasure;
                                                                                                                                                                                    start?: number | UniversalMeasure;
                                                                                                                                                                                }
                                                                                                                                                                                Index

                                                                                                                                                                                Properties

                                                                                                                                                                                end?: number | UniversalMeasure
                                                                                                                                                                                firstLine?: number | PositiveUniversalMeasure
                                                                                                                                                                                firstLineChars?: number
                                                                                                                                                                                hanging?: number | PositiveUniversalMeasure
                                                                                                                                                                                left?: number | UniversalMeasure
                                                                                                                                                                                right?: number | UniversalMeasure
                                                                                                                                                                                start?: number | UniversalMeasure
                                                                                                                                                                                +

                                                                                                                                                                                Properties

                                                                                                                                                                                end?: number | UniversalMeasure
                                                                                                                                                                                firstLine?: number | PositiveUniversalMeasure
                                                                                                                                                                                firstLineChars?: number
                                                                                                                                                                                hanging?: number | PositiveUniversalMeasure
                                                                                                                                                                                left?: number | UniversalMeasure
                                                                                                                                                                                right?: number | UniversalMeasure
                                                                                                                                                                                start?: number | UniversalMeasure
                                                                                                                                                                                diff --git a/api/types/IInternalHyperlinkOptions.html b/api/types/IInternalHyperlinkOptions.html index e62fad5095..43e3f6925a 100644 --- a/api/types/IInternalHyperlinkOptions.html +++ b/api/types/IInternalHyperlinkOptions.html @@ -1,6 +1,6 @@ IInternalHyperlinkOptions | docx
                                                                                                                                                                                docx
                                                                                                                                                                                  Preparing search index...

                                                                                                                                                                                  Type Alias IInternalHyperlinkOptions

                                                                                                                                                                                  Options for creating an internal hyperlink.

                                                                                                                                                                                  -
                                                                                                                                                                                  type IInternalHyperlinkOptions = {
                                                                                                                                                                                      anchor: string;
                                                                                                                                                                                      children: readonly ParagraphChild[];
                                                                                                                                                                                  }
                                                                                                                                                                                  Index

                                                                                                                                                                                  Properties

                                                                                                                                                                                  type IInternalHyperlinkOptions = {
                                                                                                                                                                                      anchor: string;
                                                                                                                                                                                      children: readonly ParagraphChild[];
                                                                                                                                                                                  }
                                                                                                                                                                                  Index

                                                                                                                                                                                  Properties

                                                                                                                                                                                  Properties

                                                                                                                                                                                  anchor: string

                                                                                                                                                                                  Name of the bookmark to link to within the document

                                                                                                                                                                                  -
                                                                                                                                                                                  children: readonly ParagraphChild[]

                                                                                                                                                                                  Array of paragraph children (usually TextRun elements) that form the hyperlink text

                                                                                                                                                                                  -
                                                                                                                                                                                  +
                                                                                                                                                                                  children: readonly ParagraphChild[]

                                                                                                                                                                                  Array of paragraph children (usually TextRun elements) that form the hyperlink text

                                                                                                                                                                                  +
                                                                                                                                                                                  diff --git a/api/types/ILevelParagraphStylePropertiesOptions.html b/api/types/ILevelParagraphStylePropertiesOptions.html index faf009aa28..ed90f65c80 100644 --- a/api/types/ILevelParagraphStylePropertiesOptions.html +++ b/api/types/ILevelParagraphStylePropertiesOptions.html @@ -1,6 +1,6 @@ ILevelParagraphStylePropertiesOptions | docx
                                                                                                                                                                                  docx
                                                                                                                                                                                    Preparing search index...

                                                                                                                                                                                    Type Alias ILevelParagraphStylePropertiesOptions

                                                                                                                                                                                    Paragraph style properties for numbering levels.

                                                                                                                                                                                    These properties are used when defining paragraph styles within numbering level definitions.

                                                                                                                                                                                    -
                                                                                                                                                                                    type ILevelParagraphStylePropertiesOptions = {
                                                                                                                                                                                        alignment?: typeof AlignmentType[keyof typeof AlignmentType];
                                                                                                                                                                                        contextualSpacing?: boolean;
                                                                                                                                                                                        indent?: IIndentAttributesProperties;
                                                                                                                                                                                        keepLines?: boolean;
                                                                                                                                                                                        keepNext?: boolean;
                                                                                                                                                                                        leftTabStop?: number;
                                                                                                                                                                                        outlineLevel?: number;
                                                                                                                                                                                        rightTabStop?: number;
                                                                                                                                                                                        spacing?: ISpacingProperties;
                                                                                                                                                                                        thematicBreak?: boolean;
                                                                                                                                                                                    }
                                                                                                                                                                                    Index

                                                                                                                                                                                    Properties

                                                                                                                                                                                    type ILevelParagraphStylePropertiesOptions = {
                                                                                                                                                                                        alignment?: typeof AlignmentType[keyof typeof AlignmentType];
                                                                                                                                                                                        contextualSpacing?: boolean;
                                                                                                                                                                                        indent?: IIndentAttributesProperties;
                                                                                                                                                                                        keepLines?: boolean;
                                                                                                                                                                                        keepNext?: boolean;
                                                                                                                                                                                        leftTabStop?: number;
                                                                                                                                                                                        outlineLevel?: number;
                                                                                                                                                                                        rightTabStop?: number;
                                                                                                                                                                                        spacing?: ISpacingProperties;
                                                                                                                                                                                        thematicBreak?: boolean;
                                                                                                                                                                                    }
                                                                                                                                                                                    Index

                                                                                                                                                                                    Properties

                                                                                                                                                                                    alignment?: typeof AlignmentType[keyof typeof AlignmentType]

                                                                                                                                                                                    Paragraph text alignment (left, right, center, justified, etc.)

                                                                                                                                                                                    -
                                                                                                                                                                                    contextualSpacing?: boolean

                                                                                                                                                                                    Whether to ignore spacing before/after when adjacent paragraphs have the same style

                                                                                                                                                                                    -

                                                                                                                                                                                    Indentation settings for the paragraph

                                                                                                                                                                                    -
                                                                                                                                                                                    keepLines?: boolean

                                                                                                                                                                                    Specifies that all lines of the paragraph are to be kept on a single page when possible.

                                                                                                                                                                                    -
                                                                                                                                                                                    keepNext?: boolean

                                                                                                                                                                                    Specifies that the paragraph (or at least part of it) should be rendered on the same page as the next paragraph when possible. If multiple paragraphs are to be kept together but they exceed a page, then the set of paragraphs begin on a new page and page breaks are used thereafter as needed.

                                                                                                                                                                                    -
                                                                                                                                                                                    leftTabStop?: number

                                                                                                                                                                                    Position in twips for a left-aligned tab stop

                                                                                                                                                                                    -
                                                                                                                                                                                    outlineLevel?: number

                                                                                                                                                                                    Outline level for table of contents and document outline (0-9)

                                                                                                                                                                                    -
                                                                                                                                                                                    rightTabStop?: number

                                                                                                                                                                                    Position in twips for a right-aligned tab stop

                                                                                                                                                                                    -

                                                                                                                                                                                    Spacing before/after paragraph and between lines

                                                                                                                                                                                    -
                                                                                                                                                                                    thematicBreak?: boolean

                                                                                                                                                                                    Whether to display a horizontal line (thematic break) below the paragraph

                                                                                                                                                                                    -
                                                                                                                                                                                    +
                                                                                                                                                                                    contextualSpacing?: boolean

                                                                                                                                                                                    Whether to ignore spacing before/after when adjacent paragraphs have the same style

                                                                                                                                                                                    +

                                                                                                                                                                                    Indentation settings for the paragraph

                                                                                                                                                                                    +
                                                                                                                                                                                    keepLines?: boolean

                                                                                                                                                                                    Specifies that all lines of the paragraph are to be kept on a single page when possible.

                                                                                                                                                                                    +
                                                                                                                                                                                    keepNext?: boolean

                                                                                                                                                                                    Specifies that the paragraph (or at least part of it) should be rendered on the same page as the next paragraph when possible. If multiple paragraphs are to be kept together but they exceed a page, then the set of paragraphs begin on a new page and page breaks are used thereafter as needed.

                                                                                                                                                                                    +
                                                                                                                                                                                    leftTabStop?: number

                                                                                                                                                                                    Position in twips for a left-aligned tab stop

                                                                                                                                                                                    +
                                                                                                                                                                                    outlineLevel?: number

                                                                                                                                                                                    Outline level for table of contents and document outline (0-9)

                                                                                                                                                                                    +
                                                                                                                                                                                    rightTabStop?: number

                                                                                                                                                                                    Position in twips for a right-aligned tab stop

                                                                                                                                                                                    +

                                                                                                                                                                                    Spacing before/after paragraph and between lines

                                                                                                                                                                                    +
                                                                                                                                                                                    thematicBreak?: boolean

                                                                                                                                                                                    Whether to display a horizontal line (thematic break) below the paragraph

                                                                                                                                                                                    +
                                                                                                                                                                                    diff --git a/api/types/ILevelsOptions.html b/api/types/ILevelsOptions.html index 062bd9a002..5560aac0f6 100644 --- a/api/types/ILevelsOptions.html +++ b/api/types/ILevelsOptions.html @@ -1,5 +1,5 @@ ILevelsOptions | docx
                                                                                                                                                                                    docx
                                                                                                                                                                                      Preparing search index...

                                                                                                                                                                                      Type Alias ILevelsOptions

                                                                                                                                                                                      Options for configuring a numbering level.

                                                                                                                                                                                      -
                                                                                                                                                                                      type ILevelsOptions = {
                                                                                                                                                                                          alignment?: typeof AlignmentType[keyof typeof AlignmentType];
                                                                                                                                                                                          format?: typeof LevelFormat[keyof typeof LevelFormat];
                                                                                                                                                                                          isLegalNumberingStyle?: boolean;
                                                                                                                                                                                          level: number;
                                                                                                                                                                                          start?: number;
                                                                                                                                                                                          style?: {
                                                                                                                                                                                              paragraph?: ILevelParagraphStylePropertiesOptions;
                                                                                                                                                                                              run?: IRunStylePropertiesOptions;
                                                                                                                                                                                              style?: string;
                                                                                                                                                                                          };
                                                                                                                                                                                          suffix?: typeof LevelSuffix[keyof typeof LevelSuffix];
                                                                                                                                                                                          text?: string;
                                                                                                                                                                                      }
                                                                                                                                                                                      Index

                                                                                                                                                                                      Properties

                                                                                                                                                                                      type ILevelsOptions = {
                                                                                                                                                                                          alignment?: typeof AlignmentType[keyof typeof AlignmentType];
                                                                                                                                                                                          format?: typeof LevelFormat[keyof typeof LevelFormat];
                                                                                                                                                                                          isLegalNumberingStyle?: boolean;
                                                                                                                                                                                          level: number;
                                                                                                                                                                                          start?: number;
                                                                                                                                                                                          style?: {
                                                                                                                                                                                              paragraph?: ILevelParagraphStylePropertiesOptions;
                                                                                                                                                                                              run?: IRunStylePropertiesOptions;
                                                                                                                                                                                              style?: string;
                                                                                                                                                                                          };
                                                                                                                                                                                          suffix?: typeof LevelSuffix[keyof typeof LevelSuffix];
                                                                                                                                                                                          text?: string;
                                                                                                                                                                                      }
                                                                                                                                                                                      Index

                                                                                                                                                                                      Properties

                                                                                                                                                                                      alignment?: typeof AlignmentType[keyof typeof AlignmentType]

                                                                                                                                                                                      Text alignment for the numbering

                                                                                                                                                                                      -
                                                                                                                                                                                      format?: typeof LevelFormat[keyof typeof LevelFormat]

                                                                                                                                                                                      Number format type (decimal, roman, letter, etc.)

                                                                                                                                                                                      -
                                                                                                                                                                                      isLegalNumberingStyle?: boolean

                                                                                                                                                                                      Use legal numbering style

                                                                                                                                                                                      -
                                                                                                                                                                                      level: number

                                                                                                                                                                                      Level index (0-8)

                                                                                                                                                                                      -
                                                                                                                                                                                      start?: number

                                                                                                                                                                                      Starting number for this level

                                                                                                                                                                                      -
                                                                                                                                                                                      style?: {
                                                                                                                                                                                          paragraph?: ILevelParagraphStylePropertiesOptions;
                                                                                                                                                                                          run?: IRunStylePropertiesOptions;
                                                                                                                                                                                          style?: string;
                                                                                                                                                                                      }

                                                                                                                                                                                      Run and paragraph style properties

                                                                                                                                                                                      +
                                                                                                                                                                                      format?: typeof LevelFormat[keyof typeof LevelFormat]

                                                                                                                                                                                      Number format type (decimal, roman, letter, etc.)

                                                                                                                                                                                      +
                                                                                                                                                                                      isLegalNumberingStyle?: boolean

                                                                                                                                                                                      Use legal numbering style

                                                                                                                                                                                      +
                                                                                                                                                                                      level: number

                                                                                                                                                                                      Level index (0-8)

                                                                                                                                                                                      +
                                                                                                                                                                                      start?: number

                                                                                                                                                                                      Starting number for this level

                                                                                                                                                                                      +
                                                                                                                                                                                      style?: {
                                                                                                                                                                                          paragraph?: ILevelParagraphStylePropertiesOptions;
                                                                                                                                                                                          run?: IRunStylePropertiesOptions;
                                                                                                                                                                                          style?: string;
                                                                                                                                                                                      }

                                                                                                                                                                                      Run and paragraph style properties

                                                                                                                                                                                      Type Declaration

                                                                                                                                                                                      suffix?: typeof LevelSuffix[keyof typeof LevelSuffix]

                                                                                                                                                                                      Character(s) following the numbering (tab, space, nothing)

                                                                                                                                                                                      -
                                                                                                                                                                                      text?: string

                                                                                                                                                                                      Level text template with placeholders like %1, %2

                                                                                                                                                                                      -
                                                                                                                                                                                      +
                                                                                                                                                                                      suffix?: typeof LevelSuffix[keyof typeof LevelSuffix]

                                                                                                                                                                                      Character(s) following the numbering (tab, space, nothing)

                                                                                                                                                                                      +
                                                                                                                                                                                      text?: string

                                                                                                                                                                                      Level text template with placeholders like %1, %2

                                                                                                                                                                                      +
                                                                                                                                                                                      diff --git a/api/types/ILineNumberAttributes.html b/api/types/ILineNumberAttributes.html index 8a0a6d0e31..5e771f4017 100644 --- a/api/types/ILineNumberAttributes.html +++ b/api/types/ILineNumberAttributes.html @@ -1,4 +1,4 @@ -ILineNumberAttributes | docx
                                                                                                                                                                                      docx
                                                                                                                                                                                        Preparing search index...

                                                                                                                                                                                        Type Alias ILineNumberAttributes

                                                                                                                                                                                        type ILineNumberAttributes = {
                                                                                                                                                                                            countBy?: number;
                                                                                                                                                                                            distance?: number | PositiveUniversalMeasure;
                                                                                                                                                                                            restart?: typeof LineNumberRestartFormat[keyof typeof LineNumberRestartFormat];
                                                                                                                                                                                            start?: number;
                                                                                                                                                                                        }
                                                                                                                                                                                        Index

                                                                                                                                                                                        Properties

                                                                                                                                                                                        countBy? +ILineNumberAttributes | docx
                                                                                                                                                                                        docx
                                                                                                                                                                                          Preparing search index...

                                                                                                                                                                                          Type Alias ILineNumberAttributes

                                                                                                                                                                                          type ILineNumberAttributes = {
                                                                                                                                                                                              countBy?: number;
                                                                                                                                                                                              distance?: number | PositiveUniversalMeasure;
                                                                                                                                                                                              restart?: typeof LineNumberRestartFormat[keyof typeof LineNumberRestartFormat];
                                                                                                                                                                                              start?: number;
                                                                                                                                                                                          }
                                                                                                                                                                                          Index

                                                                                                                                                                                          Properties

                                                                                                                                                                                          countBy? distance? restart? start? @@ -10,12 +10,12 @@

                                                                                                                                                                                          This setting ensures that only lines whose number is a multiple of (e.g. 5, 10, and 15) will have a line number displayed. ]

                                                                                                                                                                                          The possible values for this attribute are defined by the ST_DecimalNumber simple type (§2.18.16).

                                                                                                                                                                                          -
                                                                                                                                                                                          distance?: number | PositiveUniversalMeasure

                                                                                                                                                                                          Specifies the distance between the text margin and the edge of any line numbers appearing in that section.

                                                                                                                                                                                          +
                                                                                                                                                                                          distance?: number | PositiveUniversalMeasure

                                                                                                                                                                                          Specifies the distance between the text margin and the edge of any line numbers appearing in that section.

                                                                                                                                                                                          <w:lnNumType ... w:distance="720"/>
                                                                                                                                                                                           

                                                                                                                                                                                          The possible values for this attribute are defined by the ST_TwipsMeasure simple type (§2.18.105).

                                                                                                                                                                                          -
                                                                                                                                                                                          restart?: typeof LineNumberRestartFormat[keyof typeof LineNumberRestartFormat]
                                                                                                                                                                                          +
                                                                                                                                                                                          restart?: typeof LineNumberRestartFormat[keyof typeof LineNumberRestartFormat]

                                                                                                                                                                                          Specifies when the line numbering in this section shall be reset to the line number specified by the start attribute's value.

                                                                                                                                                                                          The line numbering increments for each line (even if it is not displayed) until it reaches the restart point specified by this element.

                                                                                                                                                                                          @@ -24,7 +24,7 @@

                                                                                                                                                                                          The value of newPage specifies that the line numbers shall restart at the top of each page to the value specified by the start attribute. In this case, newPage is the default, so this value could have been omitted entirely.

                                                                                                                                                                                          The possible values for this attribute are defined by the ST_LineNumberRestart simple type (§2.18.54).

                                                                                                                                                                                          -
                                                                                                                                                                                          start?: number
                                                                                                                                                                                          +
                                                                                                                                                                                          start?: number

                                                                                                                                                                                          Specifies the starting value used for the first line whenever the line numbering is restarted by use of the restart attribute.

                                                                                                                                                                                          <w:lnNumType w:start="3" w:countBy="5"/>
                                                                                                                                                                                          @@ -32,4 +32,4 @@
                                                                                                                                                                                           
                                                                                                                                                                                           

                                                                                                                                                                                          The start attribute specifies that line numbers shall be counted starting from the number 3.

                                                                                                                                                                                          The possible values for this attribute are defined by the ST_DecimalNumber simple type (§2.18.16).

                                                                                                                                                                                          -
                                                                                                                                                                                          +
                                                                                                                                                                                          diff --git a/api/types/IMargins.html b/api/types/IMargins.html index 2ec989883e..d1a10d2146 100644 --- a/api/types/IMargins.html +++ b/api/types/IMargins.html @@ -1,6 +1,6 @@ IMargins | docx
                                                                                                                                                                                          docx
                                                                                                                                                                                            Preparing search index...

                                                                                                                                                                                            Type Alias IMargins

                                                                                                                                                                                            Margin distances around a floating drawing in EMUs.

                                                                                                                                                                                            -
                                                                                                                                                                                            type IMargins = {
                                                                                                                                                                                                bottom?: number;
                                                                                                                                                                                                left?: number;
                                                                                                                                                                                                right?: number;
                                                                                                                                                                                                top?: number;
                                                                                                                                                                                            }
                                                                                                                                                                                            Index

                                                                                                                                                                                            Properties

                                                                                                                                                                                            type IMargins = {
                                                                                                                                                                                                bottom?: number;
                                                                                                                                                                                                left?: number;
                                                                                                                                                                                                right?: number;
                                                                                                                                                                                                top?: number;
                                                                                                                                                                                            }
                                                                                                                                                                                            Index

                                                                                                                                                                                            Properties

                                                                                                                                                                                            Properties

                                                                                                                                                                                            bottom?: number
                                                                                                                                                                                            left?: number
                                                                                                                                                                                            right?: number
                                                                                                                                                                                            top?: number
                                                                                                                                                                                            +

                                                                                                                                                                                            Properties

                                                                                                                                                                                            bottom?: number
                                                                                                                                                                                            left?: number
                                                                                                                                                                                            right?: number
                                                                                                                                                                                            top?: number
                                                                                                                                                                                            diff --git a/api/types/IMathFractionOptions.html b/api/types/IMathFractionOptions.html index bfb8f81fab..0cd813dcbd 100644 --- a/api/types/IMathFractionOptions.html +++ b/api/types/IMathFractionOptions.html @@ -1,7 +1,7 @@ IMathFractionOptions | docx
                                                                                                                                                                                            docx
                                                                                                                                                                                              Preparing search index...

                                                                                                                                                                                              Type Alias IMathFractionOptions

                                                                                                                                                                                              Options for creating a MathFraction.

                                                                                                                                                                                              type IMathFractionOptions = {
                                                                                                                                                                                                  denominator: readonly MathComponent[];
                                                                                                                                                                                                  numerator: readonly MathComponent[];
                                                                                                                                                                                              }
                                                                                                                                                                                              Index

                                                                                                                                                                                              Properties

                                                                                                                                                                                              type IMathFractionOptions = {
                                                                                                                                                                                                  denominator: readonly MathComponent[];
                                                                                                                                                                                                  numerator: readonly MathComponent[];
                                                                                                                                                                                              }
                                                                                                                                                                                              Index

                                                                                                                                                                                              Properties

                                                                                                                                                                                              denominator: readonly MathComponent[]

                                                                                                                                                                                              Math components for the denominator (bottom) of the fraction

                                                                                                                                                                                              -
                                                                                                                                                                                              numerator: readonly MathComponent[]

                                                                                                                                                                                              Math components for the numerator (top) of the fraction

                                                                                                                                                                                              -
                                                                                                                                                                                              +
                                                                                                                                                                                              numerator: readonly MathComponent[]

                                                                                                                                                                                              Math components for the numerator (top) of the fraction

                                                                                                                                                                                              +
                                                                                                                                                                                              diff --git a/api/types/IMathFunctionOptions.html b/api/types/IMathFunctionOptions.html index 1c45919d08..ed14b2f71e 100644 --- a/api/types/IMathFunctionOptions.html +++ b/api/types/IMathFunctionOptions.html @@ -1,7 +1,7 @@ IMathFunctionOptions | docx
                                                                                                                                                                                              docx
                                                                                                                                                                                                Preparing search index...

                                                                                                                                                                                                Type Alias IMathFunctionOptions

                                                                                                                                                                                                Options for creating a MathFunction.

                                                                                                                                                                                                type IMathFunctionOptions = {
                                                                                                                                                                                                    children: readonly MathComponent[];
                                                                                                                                                                                                    name: readonly MathComponent[];
                                                                                                                                                                                                }
                                                                                                                                                                                                Index

                                                                                                                                                                                                Properties

                                                                                                                                                                                                type IMathFunctionOptions = {
                                                                                                                                                                                                    children: readonly MathComponent[];
                                                                                                                                                                                                    name: readonly MathComponent[];
                                                                                                                                                                                                }
                                                                                                                                                                                                Index

                                                                                                                                                                                                Properties

                                                                                                                                                                                                Properties

                                                                                                                                                                                                children: readonly MathComponent[]

                                                                                                                                                                                                The function argument (e.g., the expression inside sin(...))

                                                                                                                                                                                                -
                                                                                                                                                                                                name: readonly MathComponent[]

                                                                                                                                                                                                The function name (e.g., "sin", "cos", "log")

                                                                                                                                                                                                -
                                                                                                                                                                                                +
                                                                                                                                                                                                name: readonly MathComponent[]

                                                                                                                                                                                                The function name (e.g., "sin", "cos", "log")

                                                                                                                                                                                                +
                                                                                                                                                                                                diff --git a/api/types/IMathIntegralOptions.html b/api/types/IMathIntegralOptions.html index 97b13b35b3..04045903a1 100644 --- a/api/types/IMathIntegralOptions.html +++ b/api/types/IMathIntegralOptions.html @@ -1,9 +1,9 @@ IMathIntegralOptions | docx
                                                                                                                                                                                                docx
                                                                                                                                                                                                  Preparing search index...

                                                                                                                                                                                                  Type Alias IMathIntegralOptions

                                                                                                                                                                                                  Options for creating a MathIntegral.

                                                                                                                                                                                                  type IMathIntegralOptions = {
                                                                                                                                                                                                      children: readonly MathComponent[];
                                                                                                                                                                                                      subScript?: readonly MathComponent[];
                                                                                                                                                                                                      superScript?: readonly MathComponent[];
                                                                                                                                                                                                  }
                                                                                                                                                                                                  Index

                                                                                                                                                                                                  Properties

                                                                                                                                                                                                  type IMathIntegralOptions = {
                                                                                                                                                                                                      children: readonly MathComponent[];
                                                                                                                                                                                                      subScript?: readonly MathComponent[];
                                                                                                                                                                                                      superScript?: readonly MathComponent[];
                                                                                                                                                                                                  }
                                                                                                                                                                                                  Index

                                                                                                                                                                                                  Properties

                                                                                                                                                                                                  children: readonly MathComponent[]

                                                                                                                                                                                                  The integrand expression

                                                                                                                                                                                                  -
                                                                                                                                                                                                  subScript?: readonly MathComponent[]

                                                                                                                                                                                                  Optional lower bound of integration

                                                                                                                                                                                                  -
                                                                                                                                                                                                  superScript?: readonly MathComponent[]

                                                                                                                                                                                                  Optional upper bound of integration

                                                                                                                                                                                                  -
                                                                                                                                                                                                  +
                                                                                                                                                                                                  subScript?: readonly MathComponent[]

                                                                                                                                                                                                  Optional lower bound of integration

                                                                                                                                                                                                  +
                                                                                                                                                                                                  superScript?: readonly MathComponent[]

                                                                                                                                                                                                  Optional upper bound of integration

                                                                                                                                                                                                  +
                                                                                                                                                                                                  diff --git a/api/types/IMathLimitLowerOptions.html b/api/types/IMathLimitLowerOptions.html index 1de6b5e46a..4df2b72506 100644 --- a/api/types/IMathLimitLowerOptions.html +++ b/api/types/IMathLimitLowerOptions.html @@ -1,7 +1,7 @@ IMathLimitLowerOptions | docx
                                                                                                                                                                                                  docx
                                                                                                                                                                                                    Preparing search index...

                                                                                                                                                                                                    Type Alias IMathLimitLowerOptions

                                                                                                                                                                                                    Options for creating a MathLimitLower.

                                                                                                                                                                                                    type IMathLimitLowerOptions = {
                                                                                                                                                                                                        children: readonly MathComponent[];
                                                                                                                                                                                                        limit: readonly MathComponent[];
                                                                                                                                                                                                    }
                                                                                                                                                                                                    Index

                                                                                                                                                                                                    Properties

                                                                                                                                                                                                    type IMathLimitLowerOptions = {
                                                                                                                                                                                                        children: readonly MathComponent[];
                                                                                                                                                                                                        limit: readonly MathComponent[];
                                                                                                                                                                                                    }
                                                                                                                                                                                                    Index

                                                                                                                                                                                                    Properties

                                                                                                                                                                                                    Properties

                                                                                                                                                                                                    children: readonly MathComponent[]

                                                                                                                                                                                                    The base expression

                                                                                                                                                                                                    -
                                                                                                                                                                                                    limit: readonly MathComponent[]

                                                                                                                                                                                                    The limit expression that appears below the base

                                                                                                                                                                                                    -
                                                                                                                                                                                                    +
                                                                                                                                                                                                    limit: readonly MathComponent[]

                                                                                                                                                                                                    The limit expression that appears below the base

                                                                                                                                                                                                    +
                                                                                                                                                                                                    diff --git a/api/types/IMathLimitUpperOptions.html b/api/types/IMathLimitUpperOptions.html index 1c312b4926..66c01a313b 100644 --- a/api/types/IMathLimitUpperOptions.html +++ b/api/types/IMathLimitUpperOptions.html @@ -1,7 +1,7 @@ IMathLimitUpperOptions | docx
                                                                                                                                                                                                    docx
                                                                                                                                                                                                      Preparing search index...

                                                                                                                                                                                                      Type Alias IMathLimitUpperOptions

                                                                                                                                                                                                      Options for creating a MathLimitUpper.

                                                                                                                                                                                                      type IMathLimitUpperOptions = {
                                                                                                                                                                                                          children: readonly MathComponent[];
                                                                                                                                                                                                          limit: readonly MathComponent[];
                                                                                                                                                                                                      }
                                                                                                                                                                                                      Index

                                                                                                                                                                                                      Properties

                                                                                                                                                                                                      type IMathLimitUpperOptions = {
                                                                                                                                                                                                          children: readonly MathComponent[];
                                                                                                                                                                                                          limit: readonly MathComponent[];
                                                                                                                                                                                                      }
                                                                                                                                                                                                      Index

                                                                                                                                                                                                      Properties

                                                                                                                                                                                                      Properties

                                                                                                                                                                                                      children: readonly MathComponent[]

                                                                                                                                                                                                      The base expression

                                                                                                                                                                                                      -
                                                                                                                                                                                                      limit: readonly MathComponent[]

                                                                                                                                                                                                      The limit expression that appears above the base

                                                                                                                                                                                                      -
                                                                                                                                                                                                      +
                                                                                                                                                                                                      limit: readonly MathComponent[]

                                                                                                                                                                                                      The limit expression that appears above the base

                                                                                                                                                                                                      +
                                                                                                                                                                                                      diff --git a/api/types/IMathOptions.html b/api/types/IMathOptions.html index f9c329602e..7759e36ca6 100644 --- a/api/types/IMathOptions.html +++ b/api/types/IMathOptions.html @@ -1,5 +1,5 @@ IMathOptions | docx
                                                                                                                                                                                                      docx
                                                                                                                                                                                                        Preparing search index...

                                                                                                                                                                                                        Type Alias IMathOptions

                                                                                                                                                                                                        Options for creating a Math element.

                                                                                                                                                                                                        Math

                                                                                                                                                                                                        -
                                                                                                                                                                                                        type IMathOptions = {
                                                                                                                                                                                                            children: readonly MathComponent[];
                                                                                                                                                                                                        }
                                                                                                                                                                                                        Index

                                                                                                                                                                                                        Properties

                                                                                                                                                                                                        type IMathOptions = {
                                                                                                                                                                                                            children: readonly MathComponent[];
                                                                                                                                                                                                        }
                                                                                                                                                                                                        Index

                                                                                                                                                                                                        Properties

                                                                                                                                                                                                        Properties

                                                                                                                                                                                                        children: readonly MathComponent[]

                                                                                                                                                                                                        Array of math components (fractions, radicals, runs, etc.)

                                                                                                                                                                                                        -
                                                                                                                                                                                                        +
                                                                                                                                                                                                        diff --git a/api/types/IMathPreSubSuperScriptOptions.html b/api/types/IMathPreSubSuperScriptOptions.html index 926b040c12..dd5dddac72 100644 --- a/api/types/IMathPreSubSuperScriptOptions.html +++ b/api/types/IMathPreSubSuperScriptOptions.html @@ -1,9 +1,9 @@ IMathPreSubSuperScriptOptions | docx
                                                                                                                                                                                                        docx
                                                                                                                                                                                                          Preparing search index...

                                                                                                                                                                                                          Type Alias IMathPreSubSuperScriptOptions

                                                                                                                                                                                                          Options for creating a MathPreSubSuperScript.

                                                                                                                                                                                                          type IMathPreSubSuperScriptOptions = {
                                                                                                                                                                                                              children: readonly MathComponent[];
                                                                                                                                                                                                              subScript: readonly MathComponent[];
                                                                                                                                                                                                              superScript: readonly MathComponent[];
                                                                                                                                                                                                          }
                                                                                                                                                                                                          Index

                                                                                                                                                                                                          Properties

                                                                                                                                                                                                          type IMathPreSubSuperScriptOptions = {
                                                                                                                                                                                                              children: readonly MathComponent[];
                                                                                                                                                                                                              subScript: readonly MathComponent[];
                                                                                                                                                                                                              superScript: readonly MathComponent[];
                                                                                                                                                                                                          }
                                                                                                                                                                                                          Index

                                                                                                                                                                                                          Properties

                                                                                                                                                                                                          children: readonly MathComponent[]

                                                                                                                                                                                                          The base expression

                                                                                                                                                                                                          -
                                                                                                                                                                                                          subScript: readonly MathComponent[]

                                                                                                                                                                                                          The pre-subscript expression (appears lower-left of base)

                                                                                                                                                                                                          -
                                                                                                                                                                                                          superScript: readonly MathComponent[]

                                                                                                                                                                                                          The pre-superscript expression (appears upper-left of base)

                                                                                                                                                                                                          -
                                                                                                                                                                                                          +
                                                                                                                                                                                                          subScript: readonly MathComponent[]

                                                                                                                                                                                                          The pre-subscript expression (appears lower-left of base)

                                                                                                                                                                                                          +
                                                                                                                                                                                                          superScript: readonly MathComponent[]

                                                                                                                                                                                                          The pre-superscript expression (appears upper-left of base)

                                                                                                                                                                                                          +
                                                                                                                                                                                                          diff --git a/api/types/IMathRadicalOptions.html b/api/types/IMathRadicalOptions.html index 0045eff7da..c0b7890113 100644 --- a/api/types/IMathRadicalOptions.html +++ b/api/types/IMathRadicalOptions.html @@ -1,7 +1,7 @@ IMathRadicalOptions | docx
                                                                                                                                                                                                          docx
                                                                                                                                                                                                            Preparing search index...

                                                                                                                                                                                                            Type Alias IMathRadicalOptions

                                                                                                                                                                                                            Options for creating a MathRadical.

                                                                                                                                                                                                            type IMathRadicalOptions = {
                                                                                                                                                                                                                children: readonly MathComponent[];
                                                                                                                                                                                                                degree?: readonly MathComponent[];
                                                                                                                                                                                                            }
                                                                                                                                                                                                            Index

                                                                                                                                                                                                            Properties

                                                                                                                                                                                                            type IMathRadicalOptions = {
                                                                                                                                                                                                                children: readonly MathComponent[];
                                                                                                                                                                                                                degree?: readonly MathComponent[];
                                                                                                                                                                                                            }
                                                                                                                                                                                                            Index

                                                                                                                                                                                                            Properties

                                                                                                                                                                                                            Properties

                                                                                                                                                                                                            children: readonly MathComponent[]

                                                                                                                                                                                                            The content under the radical sign

                                                                                                                                                                                                            -
                                                                                                                                                                                                            degree?: readonly MathComponent[]

                                                                                                                                                                                                            Optional degree of the root (e.g., 3 for cube root). If omitted, square root is assumed.

                                                                                                                                                                                                            -
                                                                                                                                                                                                            +
                                                                                                                                                                                                            degree?: readonly MathComponent[]

                                                                                                                                                                                                            Optional degree of the root (e.g., 3 for cube root). If omitted, square root is assumed.

                                                                                                                                                                                                            +
                                                                                                                                                                                                            diff --git a/api/types/IMathSubScriptOptions.html b/api/types/IMathSubScriptOptions.html index 0e1ffe4bf5..cc2bdecbf0 100644 --- a/api/types/IMathSubScriptOptions.html +++ b/api/types/IMathSubScriptOptions.html @@ -1,7 +1,7 @@ IMathSubScriptOptions | docx
                                                                                                                                                                                                            docx
                                                                                                                                                                                                              Preparing search index...

                                                                                                                                                                                                              Type Alias IMathSubScriptOptions

                                                                                                                                                                                                              Options for creating a MathSubScript.

                                                                                                                                                                                                              type IMathSubScriptOptions = {
                                                                                                                                                                                                                  children: readonly MathComponent[];
                                                                                                                                                                                                                  subScript: readonly MathComponent[];
                                                                                                                                                                                                              }
                                                                                                                                                                                                              Index

                                                                                                                                                                                                              Properties

                                                                                                                                                                                                              type IMathSubScriptOptions = {
                                                                                                                                                                                                                  children: readonly MathComponent[];
                                                                                                                                                                                                                  subScript: readonly MathComponent[];
                                                                                                                                                                                                              }
                                                                                                                                                                                                              Index

                                                                                                                                                                                                              Properties

                                                                                                                                                                                                              Properties

                                                                                                                                                                                                              children: readonly MathComponent[]

                                                                                                                                                                                                              The base expression

                                                                                                                                                                                                              -
                                                                                                                                                                                                              subScript: readonly MathComponent[]

                                                                                                                                                                                                              The subscript expression

                                                                                                                                                                                                              -
                                                                                                                                                                                                              +
                                                                                                                                                                                                              subScript: readonly MathComponent[]

                                                                                                                                                                                                              The subscript expression

                                                                                                                                                                                                              +
                                                                                                                                                                                                              diff --git a/api/types/IMathSubSuperScriptOptions.html b/api/types/IMathSubSuperScriptOptions.html index 58a830ee15..8b9f5913a8 100644 --- a/api/types/IMathSubSuperScriptOptions.html +++ b/api/types/IMathSubSuperScriptOptions.html @@ -1,9 +1,9 @@ IMathSubSuperScriptOptions | docx
                                                                                                                                                                                                              docx
                                                                                                                                                                                                                Preparing search index...

                                                                                                                                                                                                                Type Alias IMathSubSuperScriptOptions

                                                                                                                                                                                                                Options for creating a MathSubSuperScript.

                                                                                                                                                                                                                type IMathSubSuperScriptOptions = {
                                                                                                                                                                                                                    children: readonly MathComponent[];
                                                                                                                                                                                                                    subScript: readonly MathComponent[];
                                                                                                                                                                                                                    superScript: readonly MathComponent[];
                                                                                                                                                                                                                }
                                                                                                                                                                                                                Index

                                                                                                                                                                                                                Properties

                                                                                                                                                                                                                type IMathSubSuperScriptOptions = {
                                                                                                                                                                                                                    children: readonly MathComponent[];
                                                                                                                                                                                                                    subScript: readonly MathComponent[];
                                                                                                                                                                                                                    superScript: readonly MathComponent[];
                                                                                                                                                                                                                }
                                                                                                                                                                                                                Index

                                                                                                                                                                                                                Properties

                                                                                                                                                                                                                children: readonly MathComponent[]

                                                                                                                                                                                                                The base expression

                                                                                                                                                                                                                -
                                                                                                                                                                                                                subScript: readonly MathComponent[]

                                                                                                                                                                                                                The subscript expression

                                                                                                                                                                                                                -
                                                                                                                                                                                                                superScript: readonly MathComponent[]

                                                                                                                                                                                                                The superscript expression

                                                                                                                                                                                                                -
                                                                                                                                                                                                                +
                                                                                                                                                                                                                subScript: readonly MathComponent[]

                                                                                                                                                                                                                The subscript expression

                                                                                                                                                                                                                +
                                                                                                                                                                                                                superScript: readonly MathComponent[]

                                                                                                                                                                                                                The superscript expression

                                                                                                                                                                                                                +
                                                                                                                                                                                                                diff --git a/api/types/IMathSumOptions.html b/api/types/IMathSumOptions.html index 7058b39693..83aef5373a 100644 --- a/api/types/IMathSumOptions.html +++ b/api/types/IMathSumOptions.html @@ -1,9 +1,9 @@ IMathSumOptions | docx
                                                                                                                                                                                                                docx
                                                                                                                                                                                                                  Preparing search index...

                                                                                                                                                                                                                  Type Alias IMathSumOptions

                                                                                                                                                                                                                  Options for creating a MathSum.

                                                                                                                                                                                                                  MathSum

                                                                                                                                                                                                                  -
                                                                                                                                                                                                                  type IMathSumOptions = {
                                                                                                                                                                                                                      children: readonly MathComponent[];
                                                                                                                                                                                                                      subScript?: readonly MathComponent[];
                                                                                                                                                                                                                      superScript?: readonly MathComponent[];
                                                                                                                                                                                                                  }
                                                                                                                                                                                                                  Index

                                                                                                                                                                                                                  Properties

                                                                                                                                                                                                                  type IMathSumOptions = {
                                                                                                                                                                                                                      children: readonly MathComponent[];
                                                                                                                                                                                                                      subScript?: readonly MathComponent[];
                                                                                                                                                                                                                      superScript?: readonly MathComponent[];
                                                                                                                                                                                                                  }
                                                                                                                                                                                                                  Index

                                                                                                                                                                                                                  Properties

                                                                                                                                                                                                                  children: readonly MathComponent[]

                                                                                                                                                                                                                  The expression being summed

                                                                                                                                                                                                                  -
                                                                                                                                                                                                                  subScript?: readonly MathComponent[]

                                                                                                                                                                                                                  Optional lower bound (subscript) of the sum

                                                                                                                                                                                                                  -
                                                                                                                                                                                                                  superScript?: readonly MathComponent[]

                                                                                                                                                                                                                  Optional upper bound (superscript) of the sum

                                                                                                                                                                                                                  -
                                                                                                                                                                                                                  +
                                                                                                                                                                                                                  subScript?: readonly MathComponent[]

                                                                                                                                                                                                                  Optional lower bound (subscript) of the sum

                                                                                                                                                                                                                  +
                                                                                                                                                                                                                  superScript?: readonly MathComponent[]

                                                                                                                                                                                                                  Optional upper bound (superscript) of the sum

                                                                                                                                                                                                                  +
                                                                                                                                                                                                                  diff --git a/api/types/IMathSuperScriptOptions.html b/api/types/IMathSuperScriptOptions.html index d1bfb36d42..e8909fc890 100644 --- a/api/types/IMathSuperScriptOptions.html +++ b/api/types/IMathSuperScriptOptions.html @@ -1,7 +1,7 @@ IMathSuperScriptOptions | docx
                                                                                                                                                                                                                  docx
                                                                                                                                                                                                                    Preparing search index...

                                                                                                                                                                                                                    Type Alias IMathSuperScriptOptions

                                                                                                                                                                                                                    Options for creating a MathSuperScript.

                                                                                                                                                                                                                    type IMathSuperScriptOptions = {
                                                                                                                                                                                                                        children: readonly MathComponent[];
                                                                                                                                                                                                                        superScript: readonly MathComponent[];
                                                                                                                                                                                                                    }
                                                                                                                                                                                                                    Index

                                                                                                                                                                                                                    Properties

                                                                                                                                                                                                                    type IMathSuperScriptOptions = {
                                                                                                                                                                                                                        children: readonly MathComponent[];
                                                                                                                                                                                                                        superScript: readonly MathComponent[];
                                                                                                                                                                                                                    }
                                                                                                                                                                                                                    Index

                                                                                                                                                                                                                    Properties

                                                                                                                                                                                                                    children: readonly MathComponent[]

                                                                                                                                                                                                                    The base expression

                                                                                                                                                                                                                    -
                                                                                                                                                                                                                    superScript: readonly MathComponent[]

                                                                                                                                                                                                                    The superscript (exponent) expression

                                                                                                                                                                                                                    -
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    superScript: readonly MathComponent[]

                                                                                                                                                                                                                    The superscript (exponent) expression

                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    diff --git a/api/types/IMediaData.html b/api/types/IMediaData.html index a14895d729..870769dd8d 100644 --- a/api/types/IMediaData.html +++ b/api/types/IMediaData.html @@ -1 +1 @@ -IMediaData | docx
                                                                                                                                                                                                                    docx
                                                                                                                                                                                                                      Preparing search index...

                                                                                                                                                                                                                      Type Alias IMediaData

                                                                                                                                                                                                                      IMediaData: (RegularMediaData | SvgMediaData) & CoreMediaData
                                                                                                                                                                                                                      +IMediaData | docx
                                                                                                                                                                                                                      docx
                                                                                                                                                                                                                        Preparing search index...

                                                                                                                                                                                                                        Type Alias IMediaData

                                                                                                                                                                                                                        IMediaData: (RegularMediaData | SvgMediaData) & CoreMediaData
                                                                                                                                                                                                                        diff --git a/api/types/IMediaDataTransformation.html b/api/types/IMediaDataTransformation.html index 0592ddbef9..48e66e3d0f 100644 --- a/api/types/IMediaDataTransformation.html +++ b/api/types/IMediaDataTransformation.html @@ -1,4 +1,4 @@ -IMediaDataTransformation | docx
                                                                                                                                                                                                                        docx
                                                                                                                                                                                                                          Preparing search index...

                                                                                                                                                                                                                          Type Alias IMediaDataTransformation

                                                                                                                                                                                                                          type IMediaDataTransformation = {
                                                                                                                                                                                                                              emus: { x: number; y: number };
                                                                                                                                                                                                                              flip?: { horizontal?: boolean; vertical?: boolean };
                                                                                                                                                                                                                              offset?: {
                                                                                                                                                                                                                                  emus?: { x: number; y: number };
                                                                                                                                                                                                                                  pixels: { x: number; y: number };
                                                                                                                                                                                                                              };
                                                                                                                                                                                                                              pixels: { x: number; y: number };
                                                                                                                                                                                                                              rotation?: number;
                                                                                                                                                                                                                          }
                                                                                                                                                                                                                          Index

                                                                                                                                                                                                                          Properties

                                                                                                                                                                                                                          emus +IMediaDataTransformation | docx
                                                                                                                                                                                                                          docx
                                                                                                                                                                                                                            Preparing search index...

                                                                                                                                                                                                                            Type Alias IMediaDataTransformation

                                                                                                                                                                                                                            type IMediaDataTransformation = {
                                                                                                                                                                                                                                emus: { x: number; y: number };
                                                                                                                                                                                                                                flip?: { horizontal?: boolean; vertical?: boolean };
                                                                                                                                                                                                                                offset?: {
                                                                                                                                                                                                                                    emus?: { x: number; y: number };
                                                                                                                                                                                                                                    pixels: { x: number; y: number };
                                                                                                                                                                                                                                };
                                                                                                                                                                                                                                pixels: { x: number; y: number };
                                                                                                                                                                                                                                rotation?: number;
                                                                                                                                                                                                                            }
                                                                                                                                                                                                                            Index

                                                                                                                                                                                                                            Properties

                                                                                                                                                                                                                            emus flip? offset? pixels @@ -6,10 +6,10 @@

                                                                                                                                                                                                                            Properties

                                                                                                                                                                                                                            emus: { x: number; y: number }

                                                                                                                                                                                                                            Display dimensions in EMUs (English Metric Units)

                                                                                                                                                                                                                            Type Declaration

                                                                                                                                                                                                                            • Readonlyx: number

                                                                                                                                                                                                                              Width in EMUs (1 inch = 914400 EMUs)

                                                                                                                                                                                                                            • Readonlyy: number

                                                                                                                                                                                                                              Height in EMUs (1 inch = 914400 EMUs)

                                                                                                                                                                                                                              -
                                                                                                                                                                                                                            flip?: { horizontal?: boolean; vertical?: boolean }

                                                                                                                                                                                                                            Optional flip transformations

                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            flip?: { horizontal?: boolean; vertical?: boolean }

                                                                                                                                                                                                                            Optional flip transformations

                                                                                                                                                                                                                            Type Declaration

                                                                                                                                                                                                                            • Optional Readonlyhorizontal?: boolean

                                                                                                                                                                                                                              Whether to flip the image horizontally

                                                                                                                                                                                                                            • Optional Readonlyvertical?: boolean

                                                                                                                                                                                                                              Whether to flip the image vertically

                                                                                                                                                                                                                              -
                                                                                                                                                                                                                            offset?: { emus?: { x: number; y: number }; pixels: { x: number; y: number } }
                                                                                                                                                                                                                            pixels: { x: number; y: number }

                                                                                                                                                                                                                            Type Declaration

                                                                                                                                                                                                                            • Readonlyx: number

                                                                                                                                                                                                                              Width in pixels

                                                                                                                                                                                                                              +
                                                                                                                                                                                                                            offset?: { emus?: { x: number; y: number }; pixels: { x: number; y: number } }
                                                                                                                                                                                                                            pixels: { x: number; y: number }

                                                                                                                                                                                                                            Type Declaration

                                                                                                                                                                                                                            • Readonlyx: number

                                                                                                                                                                                                                              Width in pixels

                                                                                                                                                                                                                            • Readonlyy: number

                                                                                                                                                                                                                              Height in pixels

                                                                                                                                                                                                                              -
                                                                                                                                                                                                                            rotation?: number

                                                                                                                                                                                                                            Optional rotation angle in degrees

                                                                                                                                                                                                                            -
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            rotation?: number

                                                                                                                                                                                                                            Optional rotation angle in degrees

                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            diff --git a/api/types/IMediaTransformation.html b/api/types/IMediaTransformation.html index 098b5b4db4..d63ed34d7a 100644 --- a/api/types/IMediaTransformation.html +++ b/api/types/IMediaTransformation.html @@ -1,6 +1,6 @@ IMediaTransformation | docx
                                                                                                                                                                                                                            docx
                                                                                                                                                                                                                              Preparing search index...

                                                                                                                                                                                                                              Type Alias IMediaTransformation

                                                                                                                                                                                                                              Transformation options for media display.

                                                                                                                                                                                                                              Specifies how an image should be transformed when displayed in the document.

                                                                                                                                                                                                                              -
                                                                                                                                                                                                                              type IMediaTransformation = {
                                                                                                                                                                                                                                  flip?: { horizontal?: boolean; vertical?: boolean };
                                                                                                                                                                                                                                  height: number;
                                                                                                                                                                                                                                  offset?: { left?: number; top?: number };
                                                                                                                                                                                                                                  rotation?: number;
                                                                                                                                                                                                                                  width: number;
                                                                                                                                                                                                                              }
                                                                                                                                                                                                                              Index

                                                                                                                                                                                                                              Properties

                                                                                                                                                                                                                              type IMediaTransformation = {
                                                                                                                                                                                                                                  flip?: { horizontal?: boolean; vertical?: boolean };
                                                                                                                                                                                                                                  height: number;
                                                                                                                                                                                                                                  offset?: { left?: number; top?: number };
                                                                                                                                                                                                                                  rotation?: number;
                                                                                                                                                                                                                                  width: number;
                                                                                                                                                                                                                              }
                                                                                                                                                                                                                              Index

                                                                                                                                                                                                                              Properties

                                                                                                                                                                                                                              flip? height offset? rotation? @@ -8,6 +8,6 @@

                                                                                                                                                                                                                              Properties

                                                                                                                                                                                                                              flip?: { horizontal?: boolean; vertical?: boolean }

                                                                                                                                                                                                                              Optional flip transformations

                                                                                                                                                                                                                              Type Declaration

                                                                                                                                                                                                                              • Optional Readonlyhorizontal?: boolean

                                                                                                                                                                                                                                Whether to flip the image horizontally

                                                                                                                                                                                                                              • Optional Readonlyvertical?: boolean

                                                                                                                                                                                                                                Whether to flip the image vertically

                                                                                                                                                                                                                                -
                                                                                                                                                                                                                              height: number

                                                                                                                                                                                                                              Display height in pixels

                                                                                                                                                                                                                              -
                                                                                                                                                                                                                              offset?: { left?: number; top?: number }
                                                                                                                                                                                                                              rotation?: number

                                                                                                                                                                                                                              Optional rotation angle in degrees

                                                                                                                                                                                                                              -
                                                                                                                                                                                                                              width: number
                                                                                                                                                                                                                              +
                                                                                                                                                                                                                              height: number

                                                                                                                                                                                                                              Display height in pixels

                                                                                                                                                                                                                              +
                                                                                                                                                                                                                              offset?: { left?: number; top?: number }
                                                                                                                                                                                                                              rotation?: number

                                                                                                                                                                                                                              Optional rotation angle in degrees

                                                                                                                                                                                                                              +
                                                                                                                                                                                                                              width: number
                                                                                                                                                                                                                              diff --git a/api/types/INumberedItemReferenceOptions.html b/api/types/INumberedItemReferenceOptions.html index 28ea114ccb..3cf5f0bea1 100644 --- a/api/types/INumberedItemReferenceOptions.html +++ b/api/types/INumberedItemReferenceOptions.html @@ -1,11 +1,11 @@ -INumberedItemReferenceOptions | docx
                                                                                                                                                                                                                              docx
                                                                                                                                                                                                                                Preparing search index...

                                                                                                                                                                                                                                Type Alias INumberedItemReferenceOptions

                                                                                                                                                                                                                                type INumberedItemReferenceOptions = {
                                                                                                                                                                                                                                    hyperlink?: boolean;
                                                                                                                                                                                                                                    referenceFormat?: NumberedItemReferenceFormat;
                                                                                                                                                                                                                                }
                                                                                                                                                                                                                                Index

                                                                                                                                                                                                                                Properties

                                                                                                                                                                                                                                hyperlink? +INumberedItemReferenceOptions | docx
                                                                                                                                                                                                                                docx
                                                                                                                                                                                                                                  Preparing search index...

                                                                                                                                                                                                                                  Type Alias INumberedItemReferenceOptions

                                                                                                                                                                                                                                  type INumberedItemReferenceOptions = {
                                                                                                                                                                                                                                      hyperlink?: boolean;
                                                                                                                                                                                                                                      referenceFormat?: NumberedItemReferenceFormat;
                                                                                                                                                                                                                                  }
                                                                                                                                                                                                                                  Index

                                                                                                                                                                                                                                  Properties

                                                                                                                                                                                                                                  hyperlink?: boolean

                                                                                                                                                                                                                                  \h option - Creates a hyperlink to the bookmarked paragraph.

                                                                                                                                                                                                                                  true
                                                                                                                                                                                                                                   
                                                                                                                                                                                                                                  -
                                                                                                                                                                                                                                  referenceFormat?: NumberedItemReferenceFormat

                                                                                                                                                                                                                                  which switch to use for the reference format

                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                  referenceFormat?: NumberedItemReferenceFormat

                                                                                                                                                                                                                                  which switch to use for the reference format

                                                                                                                                                                                                                                  NumberedItemReferenceFormat.FULL_CONTEXT
                                                                                                                                                                                                                                   
                                                                                                                                                                                                                                  -
                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                  diff --git a/api/types/INumberingOptions.html b/api/types/INumberingOptions.html index b4f01759a7..5d15c00106 100644 --- a/api/types/INumberingOptions.html +++ b/api/types/INumberingOptions.html @@ -1,5 +1,5 @@ INumberingOptions | docx
                                                                                                                                                                                                                                  docx
                                                                                                                                                                                                                                    Preparing search index...

                                                                                                                                                                                                                                    Type Alias INumberingOptions

                                                                                                                                                                                                                                    Options for configuring numbering definitions.

                                                                                                                                                                                                                                    type INumberingOptions = {
                                                                                                                                                                                                                                        config: readonly {
                                                                                                                                                                                                                                            levels: readonly ILevelsOptions[];
                                                                                                                                                                                                                                            reference: string;
                                                                                                                                                                                                                                        }[];
                                                                                                                                                                                                                                    }
                                                                                                                                                                                                                                    Index

                                                                                                                                                                                                                                    Properties

                                                                                                                                                                                                                                    type INumberingOptions = {
                                                                                                                                                                                                                                        config: readonly {
                                                                                                                                                                                                                                            levels: readonly ILevelsOptions[];
                                                                                                                                                                                                                                            reference: string;
                                                                                                                                                                                                                                        }[];
                                                                                                                                                                                                                                    }
                                                                                                                                                                                                                                    Index

                                                                                                                                                                                                                                    Properties

                                                                                                                                                                                                                                    Properties

                                                                                                                                                                                                                                    config: readonly { levels: readonly ILevelsOptions[]; reference: string }[]

                                                                                                                                                                                                                                    Array of numbering configurations

                                                                                                                                                                                                                                    -
                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                    diff --git a/api/types/IPageBorderAttributes.html b/api/types/IPageBorderAttributes.html index 8c4c692327..8a418ef11a 100644 --- a/api/types/IPageBorderAttributes.html +++ b/api/types/IPageBorderAttributes.html @@ -1,8 +1,8 @@ IPageBorderAttributes | docx
                                                                                                                                                                                                                                    docx
                                                                                                                                                                                                                                      Preparing search index...

                                                                                                                                                                                                                                      Type Alias IPageBorderAttributes

                                                                                                                                                                                                                                      Attributes for configuring page border behavior.

                                                                                                                                                                                                                                      -
                                                                                                                                                                                                                                      type IPageBorderAttributes = {
                                                                                                                                                                                                                                          display?: typeof PageBorderDisplay[keyof typeof PageBorderDisplay];
                                                                                                                                                                                                                                          offsetFrom?: typeof PageBorderOffsetFrom[keyof typeof PageBorderOffsetFrom];
                                                                                                                                                                                                                                          zOrder?: typeof PageBorderZOrder[keyof typeof PageBorderZOrder];
                                                                                                                                                                                                                                      }
                                                                                                                                                                                                                                      Index

                                                                                                                                                                                                                                      Properties

                                                                                                                                                                                                                                      type IPageBorderAttributes = {
                                                                                                                                                                                                                                          display?: typeof PageBorderDisplay[keyof typeof PageBorderDisplay];
                                                                                                                                                                                                                                          offsetFrom?: typeof PageBorderOffsetFrom[keyof typeof PageBorderOffsetFrom];
                                                                                                                                                                                                                                          zOrder?: typeof PageBorderZOrder[keyof typeof PageBorderZOrder];
                                                                                                                                                                                                                                      }
                                                                                                                                                                                                                                      Index

                                                                                                                                                                                                                                      Properties

                                                                                                                                                                                                                                      display?: typeof PageBorderDisplay[keyof typeof PageBorderDisplay]

                                                                                                                                                                                                                                      Which pages display the border

                                                                                                                                                                                                                                      -
                                                                                                                                                                                                                                      offsetFrom?: typeof PageBorderOffsetFrom[keyof typeof PageBorderOffsetFrom]

                                                                                                                                                                                                                                      Whether border is positioned relative to page or text

                                                                                                                                                                                                                                      -
                                                                                                                                                                                                                                      zOrder?: typeof PageBorderZOrder[keyof typeof PageBorderZOrder]

                                                                                                                                                                                                                                      Whether border appears in front or behind page contents

                                                                                                                                                                                                                                      -
                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                      offsetFrom?: typeof PageBorderOffsetFrom[keyof typeof PageBorderOffsetFrom]

                                                                                                                                                                                                                                      Whether border is positioned relative to page or text

                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                      zOrder?: typeof PageBorderZOrder[keyof typeof PageBorderZOrder]

                                                                                                                                                                                                                                      Whether border appears in front or behind page contents

                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                      diff --git a/api/types/IPageBordersOptions.html b/api/types/IPageBordersOptions.html index 056e87667f..85a8a1d597 100644 --- a/api/types/IPageBordersOptions.html +++ b/api/types/IPageBordersOptions.html @@ -1,12 +1,12 @@ IPageBordersOptions | docx
                                                                                                                                                                                                                                      docx
                                                                                                                                                                                                                                        Preparing search index...

                                                                                                                                                                                                                                        Type Alias IPageBordersOptions

                                                                                                                                                                                                                                        Options for configuring page borders.

                                                                                                                                                                                                                                        -
                                                                                                                                                                                                                                        Index

                                                                                                                                                                                                                                        Properties

                                                                                                                                                                                                                                        Index

                                                                                                                                                                                                                                        Properties

                                                                                                                                                                                                                                        pageBorderBottom?: IBorderOptions

                                                                                                                                                                                                                                        Bottom border styling

                                                                                                                                                                                                                                        -
                                                                                                                                                                                                                                        pageBorderLeft?: IBorderOptions

                                                                                                                                                                                                                                        Left border styling

                                                                                                                                                                                                                                        -
                                                                                                                                                                                                                                        pageBorderRight?: IBorderOptions

                                                                                                                                                                                                                                        Right border styling

                                                                                                                                                                                                                                        -
                                                                                                                                                                                                                                        pageBorders?: IPageBorderAttributes

                                                                                                                                                                                                                                        General page border attributes (display, offset, z-order)

                                                                                                                                                                                                                                        -
                                                                                                                                                                                                                                        pageBorderTop?: IBorderOptions

                                                                                                                                                                                                                                        Top border styling

                                                                                                                                                                                                                                        -
                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                        pageBorderLeft?: IBorderOptions

                                                                                                                                                                                                                                        Left border styling

                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                        pageBorderRight?: IBorderOptions

                                                                                                                                                                                                                                        Right border styling

                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                        pageBorders?: IPageBorderAttributes

                                                                                                                                                                                                                                        General page border attributes (display, offset, z-order)

                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                        pageBorderTop?: IBorderOptions

                                                                                                                                                                                                                                        Top border styling

                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                        diff --git a/api/types/IPageMarginAttributes.html b/api/types/IPageMarginAttributes.html index 9d0ace6a34..127e6465f2 100644 --- a/api/types/IPageMarginAttributes.html +++ b/api/types/IPageMarginAttributes.html @@ -1,6 +1,6 @@ IPageMarginAttributes | docx
                                                                                                                                                                                                                                        docx
                                                                                                                                                                                                                                          Preparing search index...

                                                                                                                                                                                                                                          Type Alias IPageMarginAttributes

                                                                                                                                                                                                                                          Options for configuring page margins.

                                                                                                                                                                                                                                          All measurements are in twips (1/20th of a point) or universal measure.

                                                                                                                                                                                                                                          -
                                                                                                                                                                                                                                          type IPageMarginAttributes = {
                                                                                                                                                                                                                                              bottom?: number | UniversalMeasure;
                                                                                                                                                                                                                                              footer?: number | PositiveUniversalMeasure;
                                                                                                                                                                                                                                              gutter?: number | PositiveUniversalMeasure;
                                                                                                                                                                                                                                              header?: number | PositiveUniversalMeasure;
                                                                                                                                                                                                                                              left?: number | PositiveUniversalMeasure;
                                                                                                                                                                                                                                              right?: number | PositiveUniversalMeasure;
                                                                                                                                                                                                                                              top?: number | UniversalMeasure;
                                                                                                                                                                                                                                          }
                                                                                                                                                                                                                                          Index

                                                                                                                                                                                                                                          Properties

                                                                                                                                                                                                                                          type IPageMarginAttributes = {
                                                                                                                                                                                                                                              bottom?: number | UniversalMeasure;
                                                                                                                                                                                                                                              footer?: number | PositiveUniversalMeasure;
                                                                                                                                                                                                                                              gutter?: number | PositiveUniversalMeasure;
                                                                                                                                                                                                                                              header?: number | PositiveUniversalMeasure;
                                                                                                                                                                                                                                              left?: number | PositiveUniversalMeasure;
                                                                                                                                                                                                                                              right?: number | PositiveUniversalMeasure;
                                                                                                                                                                                                                                              top?: number | UniversalMeasure;
                                                                                                                                                                                                                                          }
                                                                                                                                                                                                                                          Index

                                                                                                                                                                                                                                          Properties

                                                                                                                                                                                                                                          Properties

                                                                                                                                                                                                                                          bottom?: number | UniversalMeasure

                                                                                                                                                                                                                                          Bottom margin

                                                                                                                                                                                                                                          -
                                                                                                                                                                                                                                          footer?: number | PositiveUniversalMeasure

                                                                                                                                                                                                                                          Footer margin (distance from bottom of page to footer)

                                                                                                                                                                                                                                          -
                                                                                                                                                                                                                                          gutter?: number | PositiveUniversalMeasure

                                                                                                                                                                                                                                          Gutter margin for binding

                                                                                                                                                                                                                                          -
                                                                                                                                                                                                                                          header?: number | PositiveUniversalMeasure

                                                                                                                                                                                                                                          Header margin (distance from top of page to header)

                                                                                                                                                                                                                                          -
                                                                                                                                                                                                                                          left?: number | PositiveUniversalMeasure

                                                                                                                                                                                                                                          Left margin

                                                                                                                                                                                                                                          -
                                                                                                                                                                                                                                          right?: number | PositiveUniversalMeasure

                                                                                                                                                                                                                                          Right margin

                                                                                                                                                                                                                                          -
                                                                                                                                                                                                                                          top?: number | UniversalMeasure

                                                                                                                                                                                                                                          Top margin

                                                                                                                                                                                                                                          -
                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                          footer?: number | PositiveUniversalMeasure

                                                                                                                                                                                                                                          Footer margin (distance from bottom of page to footer)

                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                          gutter?: number | PositiveUniversalMeasure

                                                                                                                                                                                                                                          Gutter margin for binding

                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                          header?: number | PositiveUniversalMeasure

                                                                                                                                                                                                                                          Header margin (distance from top of page to header)

                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                          left?: number | PositiveUniversalMeasure

                                                                                                                                                                                                                                          Left margin

                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                          right?: number | PositiveUniversalMeasure

                                                                                                                                                                                                                                          Right margin

                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                          top?: number | UniversalMeasure

                                                                                                                                                                                                                                          Top margin

                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                          diff --git a/api/types/IPageNumberTypeAttributes.html b/api/types/IPageNumberTypeAttributes.html index a7198fe411..fe4b38901b 100644 --- a/api/types/IPageNumberTypeAttributes.html +++ b/api/types/IPageNumberTypeAttributes.html @@ -1,8 +1,8 @@ IPageNumberTypeAttributes | docx
                                                                                                                                                                                                                                          docx
                                                                                                                                                                                                                                            Preparing search index...

                                                                                                                                                                                                                                            Type Alias IPageNumberTypeAttributes

                                                                                                                                                                                                                                            Options for configuring page numbering.

                                                                                                                                                                                                                                            -
                                                                                                                                                                                                                                            type IPageNumberTypeAttributes = {
                                                                                                                                                                                                                                                formatType?: typeof NumberFormat[keyof typeof NumberFormat];
                                                                                                                                                                                                                                                separator?: typeof PageNumberSeparator[keyof typeof PageNumberSeparator];
                                                                                                                                                                                                                                                start?: number;
                                                                                                                                                                                                                                            }
                                                                                                                                                                                                                                            Index

                                                                                                                                                                                                                                            Properties

                                                                                                                                                                                                                                            type IPageNumberTypeAttributes = {
                                                                                                                                                                                                                                                formatType?: typeof NumberFormat[keyof typeof NumberFormat];
                                                                                                                                                                                                                                                separator?: typeof PageNumberSeparator[keyof typeof PageNumberSeparator];
                                                                                                                                                                                                                                                start?: number;
                                                                                                                                                                                                                                            }
                                                                                                                                                                                                                                            Index

                                                                                                                                                                                                                                            Properties

                                                                                                                                                                                                                                            formatType?: typeof NumberFormat[keyof typeof NumberFormat]

                                                                                                                                                                                                                                            Number format (decimal, roman, letter, etc.)

                                                                                                                                                                                                                                            -
                                                                                                                                                                                                                                            separator?: typeof PageNumberSeparator[keyof typeof PageNumberSeparator]

                                                                                                                                                                                                                                            Separator between chapter and page number

                                                                                                                                                                                                                                            -
                                                                                                                                                                                                                                            start?: number

                                                                                                                                                                                                                                            Starting page number for the section

                                                                                                                                                                                                                                            -
                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                            separator?: typeof PageNumberSeparator[keyof typeof PageNumberSeparator]

                                                                                                                                                                                                                                            Separator between chapter and page number

                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                            start?: number

                                                                                                                                                                                                                                            Starting page number for the section

                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                            diff --git a/api/types/IPageReferenceOptions.html b/api/types/IPageReferenceOptions.html index adab16351b..fed8f7d294 100644 --- a/api/types/IPageReferenceOptions.html +++ b/api/types/IPageReferenceOptions.html @@ -1,11 +1,11 @@ IPageReferenceOptions | docx
                                                                                                                                                                                                                                            docx
                                                                                                                                                                                                                                              Preparing search index...

                                                                                                                                                                                                                                              Type Alias IPageReferenceOptions

                                                                                                                                                                                                                                              Options for page reference fields.

                                                                                                                                                                                                                                              type IPageReferenceOptions = {
                                                                                                                                                                                                                                                  hyperlink?: boolean;
                                                                                                                                                                                                                                                  useRelativePosition?: boolean;
                                                                                                                                                                                                                                              }
                                                                                                                                                                                                                                              Index

                                                                                                                                                                                                                                              Properties

                                                                                                                                                                                                                                              type IPageReferenceOptions = {
                                                                                                                                                                                                                                                  hyperlink?: boolean;
                                                                                                                                                                                                                                                  useRelativePosition?: boolean;
                                                                                                                                                                                                                                              }
                                                                                                                                                                                                                                              Index

                                                                                                                                                                                                                                              Properties

                                                                                                                                                                                                                                              hyperlink?: boolean

                                                                                                                                                                                                                                              \h option - Creates a hyperlink to the bookmarked paragraph.

                                                                                                                                                                                                                                              -
                                                                                                                                                                                                                                              useRelativePosition?: boolean

                                                                                                                                                                                                                                              \p option - Causes the field to display its position relative to the source +

                                                                                                                                                                                                                                              useRelativePosition?: boolean

                                                                                                                                                                                                                                              \p option - Causes the field to display its position relative to the source bookmark. If the PAGEREF field is on the same page as the bookmark, it omits "on page #" and returns "above" or "below" only. If the PAGEREF field is not on the same page as the bookmark, the string "on page #" is used.

                                                                                                                                                                                                                                              -
                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                              diff --git a/api/types/IPageSizeAttributes.html b/api/types/IPageSizeAttributes.html index da92b1e177..51bc24e38b 100644 --- a/api/types/IPageSizeAttributes.html +++ b/api/types/IPageSizeAttributes.html @@ -1,4 +1,4 @@ -IPageSizeAttributes | docx
                                                                                                                                                                                                                                              docx
                                                                                                                                                                                                                                                Preparing search index...

                                                                                                                                                                                                                                                Type Alias IPageSizeAttributes

                                                                                                                                                                                                                                                type IPageSizeAttributes = {
                                                                                                                                                                                                                                                    code?: number;
                                                                                                                                                                                                                                                    height: number | PositiveUniversalMeasure;
                                                                                                                                                                                                                                                    orientation?: typeof PageOrientation[keyof typeof PageOrientation];
                                                                                                                                                                                                                                                    width: number | PositiveUniversalMeasure;
                                                                                                                                                                                                                                                }
                                                                                                                                                                                                                                                Index

                                                                                                                                                                                                                                                Properties

                                                                                                                                                                                                                                                code? +IPageSizeAttributes | docx
                                                                                                                                                                                                                                                docx
                                                                                                                                                                                                                                                  Preparing search index...

                                                                                                                                                                                                                                                  Type Alias IPageSizeAttributes

                                                                                                                                                                                                                                                  type IPageSizeAttributes = {
                                                                                                                                                                                                                                                      code?: number;
                                                                                                                                                                                                                                                      height: number | PositiveUniversalMeasure;
                                                                                                                                                                                                                                                      orientation?: typeof PageOrientation[keyof typeof PageOrientation];
                                                                                                                                                                                                                                                      width: number | PositiveUniversalMeasure;
                                                                                                                                                                                                                                                  }
                                                                                                                                                                                                                                                  Index

                                                                                                                                                                                                                                                  Properties

                                                                                                                                                                                                                                                  code? height orientation? width @@ -8,7 +8,7 @@

                                                                                                                                                                                                                                                  It will be sent to the printer and used by the printer to determine the appropriate paper type to use when printing.

                                                                                                                                                                                                                                                  This value is not interpreted or modified other than storing it as specified by the printer.

                                                                                                                                                                                                                                                  The possible values for this attribute are defined by the ST_DecimalNumber simple type (§2.18.16).

                                                                                                                                                                                                                                                  -
                                                                                                                                                                                                                                                  height: number | PositiveUniversalMeasure
                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                  height: number | PositiveUniversalMeasure

                                                                                                                                                                                                                                                  Specifies the height (in twentieths of a point) for all pages in the current section.

                                                                                                                                                                                                                                                  <w:pgSz w:w="15840" w:h="12240" />
                                                                                                                                                                                                                                                  @@ -16,7 +16,7 @@
                                                                                                                                                                                                                                                   
                                                                                                                                                                                                                                                   

                                                                                                                                                                                                                                                  All pages in this section are displayed on a page that is 12240 twentieths of a point (8.5") tall.

                                                                                                                                                                                                                                                  The possible values for this attribute are defined by the ST_TwipsMeasure simple type (§2.18.105).

                                                                                                                                                                                                                                                  -
                                                                                                                                                                                                                                                  orientation?: typeof PageOrientation[keyof typeof PageOrientation]
                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                  orientation?: typeof PageOrientation[keyof typeof PageOrientation]

                                                                                                                                                                                                                                                  Specifies the orientation of all pages in this section.

                                                                                                                                                                                                                                                  This information is used to determine the actual paper size to use on the printer.

                                                                                                                                                                                                                                                  This implies that the actual paper size width and height are reversed for pages in this section. If this attribute is omitted, then portrait shall be implied.

                                                                                                                                                                                                                                                  @@ -26,7 +26,7 @@

                                                                                                                                                                                                                                                  Although the page width is 11", and page height is 8.5", according to the w and h attributes, because the orient attribute is set to landscape, pages in this section are printed on 8.5x11" paper in landscape mode.

                                                                                                                                                                                                                                                  The possible values for this attribute are defined by the ST_PageOrientation simple type (§2.18.71).

                                                                                                                                                                                                                                                  -
                                                                                                                                                                                                                                                  width: number | PositiveUniversalMeasure
                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                  width: number | PositiveUniversalMeasure

                                                                                                                                                                                                                                                  This attribute indicates the width (in twentieths of a point) for all pages in the current section.

                                                                                                                                                                                                                                                  <w:pgSz w:w="15840" w:h="12240" />
                                                                                                                                                                                                                                                  @@ -34,4 +34,4 @@
                                                                                                                                                                                                                                                   
                                                                                                                                                                                                                                                   

                                                                                                                                                                                                                                                  All pages in this section are displayed on a page that is 15840 twentieths of a point (11") wide.

                                                                                                                                                                                                                                                  The possible values for this attribute are defined by the ST_TwipsMeasure simple type (§2.18.105).

                                                                                                                                                                                                                                                  -
                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                  diff --git a/api/types/IParagraphOptions.html b/api/types/IParagraphOptions.html index c1d47c3666..36b4f5ef07 100644 --- a/api/types/IParagraphOptions.html +++ b/api/types/IParagraphOptions.html @@ -1,4 +1,4 @@ IParagraphOptions | docx
                                                                                                                                                                                                                                                  docx
                                                                                                                                                                                                                                                    Preparing search index...

                                                                                                                                                                                                                                                    Type Alias IParagraphOptions

                                                                                                                                                                                                                                                    IParagraphOptions: { children?: readonly ParagraphChild[]; text?: string } & IParagraphPropertiesOptions

                                                                                                                                                                                                                                                    Options for creating a Paragraph element.

                                                                                                                                                                                                                                                    Type Declaration

                                                                                                                                                                                                                                                    • Optional Readonlychildren?: readonly ParagraphChild[]

                                                                                                                                                                                                                                                      Array of child elements such as TextRun, ImageRun, Hyperlink, Bookmark, etc.

                                                                                                                                                                                                                                                    • Optional Readonlytext?: string

                                                                                                                                                                                                                                                      Simple text content for the paragraph. Creates a single TextRun.

                                                                                                                                                                                                                                                      -
                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                    diff --git a/api/types/IParagraphPropertiesChangeOptions.html b/api/types/IParagraphPropertiesChangeOptions.html index fc5d044040..fcd4d6fe49 100644 --- a/api/types/IParagraphPropertiesChangeOptions.html +++ b/api/types/IParagraphPropertiesChangeOptions.html @@ -1 +1 @@ -IParagraphPropertiesChangeOptions | docx
                                                                                                                                                                                                                                                    docx
                                                                                                                                                                                                                                                      Preparing search index...

                                                                                                                                                                                                                                                      Type Alias IParagraphPropertiesChangeOptions

                                                                                                                                                                                                                                                      IParagraphPropertiesChangeOptions: IChangedAttributesProperties & IParagraphPropertiesOptionsBase
                                                                                                                                                                                                                                                      +IParagraphPropertiesChangeOptions | docx
                                                                                                                                                                                                                                                      docx
                                                                                                                                                                                                                                                        Preparing search index...

                                                                                                                                                                                                                                                        Type Alias IParagraphPropertiesChangeOptions

                                                                                                                                                                                                                                                        IParagraphPropertiesChangeOptions: IChangedAttributesProperties & IParagraphPropertiesOptionsBase
                                                                                                                                                                                                                                                        diff --git a/api/types/IParagraphPropertiesOptions.html b/api/types/IParagraphPropertiesOptions.html index 94a737e40e..35ad300561 100644 --- a/api/types/IParagraphPropertiesOptions.html +++ b/api/types/IParagraphPropertiesOptions.html @@ -2,4 +2,4 @@

                                                                                                                                                                                                                                                        These options control all aspects of paragraph formatting including alignment, spacing, indentation, borders, numbering, and more.

                                                                                                                                                                                                                                                        Reference: http://officeopenxml.com/WPparagraphProperties.php

                                                                                                                                                                                                                                                        -
                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                        diff --git a/api/types/IParagraphPropertiesOptionsBase.html b/api/types/IParagraphPropertiesOptionsBase.html index d0f9d4d8ad..985aa2174c 100644 --- a/api/types/IParagraphPropertiesOptionsBase.html +++ b/api/types/IParagraphPropertiesOptionsBase.html @@ -15,4 +15,4 @@ Reference: ECMA-376, 3rd Edition (June, 2011), Fundamentals and Markup Language
                                                                                                                                                                                                                                                      • Optional ReadonlytabStops?: readonly TabStopDefinition[]

                                                                                                                                                                                                                                                        Custom tab stop positions and alignments

                                                                                                                                                                                                                                                      • Optional ReadonlywidowControl?: boolean

                                                                                                                                                                                                                                                        Whether to prevent single lines at top/bottom of page (widow/orphan control)

                                                                                                                                                                                                                                                      • Optional ReadonlywordWrap?: boolean

                                                                                                                                                                                                                                                        Whether to allow word wrapping

                                                                                                                                                                                                                                                        -
                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                        diff --git a/api/types/IParagraphRunOptions.html b/api/types/IParagraphRunOptions.html index 21ea0ab5de..befdb87825 100644 --- a/api/types/IParagraphRunOptions.html +++ b/api/types/IParagraphRunOptions.html @@ -1 +1 @@ -IParagraphRunOptions | docx
                                                                                                                                                                                                                                                        docx
                                                                                                                                                                                                                                                          Preparing search index...

                                                                                                                                                                                                                                                          Type Alias IParagraphRunOptions

                                                                                                                                                                                                                                                          IParagraphRunOptions: IRunOptionsBase & IParagraphRunPropertiesOptions
                                                                                                                                                                                                                                                          +IParagraphRunOptions | docx
                                                                                                                                                                                                                                                          docx
                                                                                                                                                                                                                                                            Preparing search index...

                                                                                                                                                                                                                                                            Type Alias IParagraphRunOptions

                                                                                                                                                                                                                                                            IParagraphRunOptions: IRunOptionsBase & IParagraphRunPropertiesOptions
                                                                                                                                                                                                                                                            diff --git a/api/types/IParagraphRunPropertiesOptions.html b/api/types/IParagraphRunPropertiesOptions.html index e0c4f58046..78241a205f 100644 --- a/api/types/IParagraphRunPropertiesOptions.html +++ b/api/types/IParagraphRunPropertiesOptions.html @@ -1 +1 @@ -IParagraphRunPropertiesOptions | docx
                                                                                                                                                                                                                                                            docx
                                                                                                                                                                                                                                                              Preparing search index...

                                                                                                                                                                                                                                                              Type Alias IParagraphRunPropertiesOptions

                                                                                                                                                                                                                                                              IParagraphRunPropertiesOptions: {
                                                                                                                                                                                                                                                                  deletion?: IChangedAttributesProperties;
                                                                                                                                                                                                                                                                  insertion?: IChangedAttributesProperties;
                                                                                                                                                                                                                                                              } & IRunPropertiesOptions
                                                                                                                                                                                                                                                              +IParagraphRunPropertiesOptions | docx
                                                                                                                                                                                                                                                              docx
                                                                                                                                                                                                                                                                Preparing search index...

                                                                                                                                                                                                                                                                Type Alias IParagraphRunPropertiesOptions

                                                                                                                                                                                                                                                                IParagraphRunPropertiesOptions: {
                                                                                                                                                                                                                                                                    deletion?: IChangedAttributesProperties;
                                                                                                                                                                                                                                                                    insertion?: IChangedAttributesProperties;
                                                                                                                                                                                                                                                                } & IRunPropertiesOptions
                                                                                                                                                                                                                                                                diff --git a/api/types/IParagraphStyleOptions.html b/api/types/IParagraphStyleOptions.html index 32764467e1..18e664a062 100644 --- a/api/types/IParagraphStyleOptions.html +++ b/api/types/IParagraphStyleOptions.html @@ -1,3 +1,3 @@ IParagraphStyleOptions | docx
                                                                                                                                                                                                                                                                docx
                                                                                                                                                                                                                                                                  Preparing search index...

                                                                                                                                                                                                                                                                  Type Alias IParagraphStyleOptions

                                                                                                                                                                                                                                                                  IParagraphStyleOptions: { id: string } & IBaseParagraphStyleOptions

                                                                                                                                                                                                                                                                  Options for creating a paragraph style.

                                                                                                                                                                                                                                                                  Type Declaration

                                                                                                                                                                                                                                                                  • Readonlyid: string

                                                                                                                                                                                                                                                                    Unique identifier for the paragraph style

                                                                                                                                                                                                                                                                    -
                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                  diff --git a/api/types/IParagraphStylePropertiesOptions.html b/api/types/IParagraphStylePropertiesOptions.html index 5780a8afb0..a3f6d18082 100644 --- a/api/types/IParagraphStylePropertiesOptions.html +++ b/api/types/IParagraphStylePropertiesOptions.html @@ -4,4 +4,4 @@ border, shading, and numbering options in addition to level properties.

                                                                                                                                                                                                                                                                  Type Declaration

                                                                                                                                                                                                                                                                  • Optional Readonlyborder?: IBordersOptions

                                                                                                                                                                                                                                                                    Border settings for the paragraph

                                                                                                                                                                                                                                                                  • Optional Readonlynumbering?:
                                                                                                                                                                                                                                                                        | {
                                                                                                                                                                                                                                                                            custom?: boolean;
                                                                                                                                                                                                                                                                            instance?: number;
                                                                                                                                                                                                                                                                            level: number;
                                                                                                                                                                                                                                                                            reference: string;
                                                                                                                                                                                                                                                                        }
                                                                                                                                                                                                                                                                        | false

                                                                                                                                                                                                                                                                    Numbering configuration for lists, or false to remove numbering

                                                                                                                                                                                                                                                                  • Optional Readonlyshading?: IShadingAttributesProperties

                                                                                                                                                                                                                                                                    Background shading/fill color for the paragraph

                                                                                                                                                                                                                                                                    -
                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                  diff --git a/api/types/IPatch.html b/api/types/IPatch.html index 4054d75f06..9cc39765d8 100644 --- a/api/types/IPatch.html +++ b/api/types/IPatch.html @@ -1,2 +1,2 @@ IPatch | docx
                                                                                                                                                                                                                                                                  docx
                                                                                                                                                                                                                                                                    Preparing search index...

                                                                                                                                                                                                                                                                    Type Alias IPatch

                                                                                                                                                                                                                                                                    IPatch: ParagraphPatch | FilePatch

                                                                                                                                                                                                                                                                    Union type representing all patch types.

                                                                                                                                                                                                                                                                    -
                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                    diff --git a/api/types/IPropertiesOptions.html b/api/types/IPropertiesOptions.html index 8a4dd92588..a5e8ba7710 100644 --- a/api/types/IPropertiesOptions.html +++ b/api/types/IPropertiesOptions.html @@ -1,5 +1,5 @@ IPropertiesOptions | docx
                                                                                                                                                                                                                                                                    docx
                                                                                                                                                                                                                                                                      Preparing search index...

                                                                                                                                                                                                                                                                      Type Alias IPropertiesOptions

                                                                                                                                                                                                                                                                      Options for configuring document properties.

                                                                                                                                                                                                                                                                      -
                                                                                                                                                                                                                                                                      type IPropertiesOptions = {
                                                                                                                                                                                                                                                                          background?: IDocumentBackgroundOptions;
                                                                                                                                                                                                                                                                          comments?: ICommentsOptions;
                                                                                                                                                                                                                                                                          compatabilityModeVersion?: number;
                                                                                                                                                                                                                                                                          compatibility?: ICompatibilityOptions;
                                                                                                                                                                                                                                                                          creator?: string;
                                                                                                                                                                                                                                                                          customProperties?: readonly ICustomPropertyOptions[];
                                                                                                                                                                                                                                                                          defaultTabStop?: number;
                                                                                                                                                                                                                                                                          description?: string;
                                                                                                                                                                                                                                                                          endnotes?: Readonly<Record<string, { children: readonly Paragraph[] }>>;
                                                                                                                                                                                                                                                                          evenAndOddHeaderAndFooters?: boolean;
                                                                                                                                                                                                                                                                          externalStyles?: string;
                                                                                                                                                                                                                                                                          features?: { trackRevisions?: boolean; updateFields?: boolean };
                                                                                                                                                                                                                                                                          fonts?: readonly FontOptions[];
                                                                                                                                                                                                                                                                          footnotes?: Readonly<Record<string, { children: readonly Paragraph[] }>>;
                                                                                                                                                                                                                                                                          hyphenation?: IHyphenationOptions;
                                                                                                                                                                                                                                                                          keywords?: string;
                                                                                                                                                                                                                                                                          lastModifiedBy?: string;
                                                                                                                                                                                                                                                                          numbering?: INumberingOptions;
                                                                                                                                                                                                                                                                          revision?: number;
                                                                                                                                                                                                                                                                          sections: readonly ISectionOptions[];
                                                                                                                                                                                                                                                                          styles?: IStylesOptions;
                                                                                                                                                                                                                                                                          subject?: string;
                                                                                                                                                                                                                                                                          title?: string;
                                                                                                                                                                                                                                                                      }
                                                                                                                                                                                                                                                                      Index

                                                                                                                                                                                                                                                                      Properties

                                                                                                                                                                                                                                                                      type IPropertiesOptions = {
                                                                                                                                                                                                                                                                          background?: IDocumentBackgroundOptions;
                                                                                                                                                                                                                                                                          comments?: ICommentsOptions;
                                                                                                                                                                                                                                                                          compatabilityModeVersion?: number;
                                                                                                                                                                                                                                                                          compatibility?: ICompatibilityOptions;
                                                                                                                                                                                                                                                                          creator?: string;
                                                                                                                                                                                                                                                                          customProperties?: readonly ICustomPropertyOptions[];
                                                                                                                                                                                                                                                                          defaultTabStop?: number;
                                                                                                                                                                                                                                                                          description?: string;
                                                                                                                                                                                                                                                                          endnotes?: Readonly<Record<string, { children: readonly Paragraph[] }>>;
                                                                                                                                                                                                                                                                          evenAndOddHeaderAndFooters?: boolean;
                                                                                                                                                                                                                                                                          externalStyles?: string;
                                                                                                                                                                                                                                                                          features?: { trackRevisions?: boolean; updateFields?: boolean };
                                                                                                                                                                                                                                                                          fonts?: readonly FontOptions[];
                                                                                                                                                                                                                                                                          footnotes?: Readonly<Record<string, { children: readonly Paragraph[] }>>;
                                                                                                                                                                                                                                                                          hyphenation?: IHyphenationOptions;
                                                                                                                                                                                                                                                                          keywords?: string;
                                                                                                                                                                                                                                                                          lastModifiedBy?: string;
                                                                                                                                                                                                                                                                          numbering?: INumberingOptions;
                                                                                                                                                                                                                                                                          revision?: number;
                                                                                                                                                                                                                                                                          sections: readonly ISectionOptions[];
                                                                                                                                                                                                                                                                          styles?: IStylesOptions;
                                                                                                                                                                                                                                                                          subject?: string;
                                                                                                                                                                                                                                                                          title?: string;
                                                                                                                                                                                                                                                                      }
                                                                                                                                                                                                                                                                      Index

                                                                                                                                                                                                                                                                      Properties

                                                                                                                                                                                                                                                                      Document background settings

                                                                                                                                                                                                                                                                      -
                                                                                                                                                                                                                                                                      comments?: ICommentsOptions

                                                                                                                                                                                                                                                                      Document comments configuration

                                                                                                                                                                                                                                                                      -
                                                                                                                                                                                                                                                                      compatabilityModeVersion?: number

                                                                                                                                                                                                                                                                      Compatibility mode version

                                                                                                                                                                                                                                                                      -
                                                                                                                                                                                                                                                                      compatibility?: ICompatibilityOptions

                                                                                                                                                                                                                                                                      Compatibility settings

                                                                                                                                                                                                                                                                      -
                                                                                                                                                                                                                                                                      creator?: string

                                                                                                                                                                                                                                                                      Document creator/author

                                                                                                                                                                                                                                                                      -
                                                                                                                                                                                                                                                                      customProperties?: readonly ICustomPropertyOptions[]

                                                                                                                                                                                                                                                                      Custom document properties

                                                                                                                                                                                                                                                                      -
                                                                                                                                                                                                                                                                      defaultTabStop?: number

                                                                                                                                                                                                                                                                      Default tab stop width

                                                                                                                                                                                                                                                                      -
                                                                                                                                                                                                                                                                      description?: string

                                                                                                                                                                                                                                                                      Document description

                                                                                                                                                                                                                                                                      -
                                                                                                                                                                                                                                                                      endnotes?: Readonly<Record<string, { children: readonly Paragraph[] }>>
                                                                                                                                                                                                                                                                      evenAndOddHeaderAndFooters?: boolean

                                                                                                                                                                                                                                                                      Enable different headers/footers for even/odd pages

                                                                                                                                                                                                                                                                      -
                                                                                                                                                                                                                                                                      externalStyles?: string

                                                                                                                                                                                                                                                                      External stylesheet reference

                                                                                                                                                                                                                                                                      -
                                                                                                                                                                                                                                                                      features?: { trackRevisions?: boolean; updateFields?: boolean }

                                                                                                                                                                                                                                                                      Document features like track changes

                                                                                                                                                                                                                                                                      -
                                                                                                                                                                                                                                                                      fonts?: readonly FontOptions[]

                                                                                                                                                                                                                                                                      Font configurations

                                                                                                                                                                                                                                                                      -
                                                                                                                                                                                                                                                                      footnotes?: Readonly<Record<string, { children: readonly Paragraph[] }>>

                                                                                                                                                                                                                                                                      Document footnotes

                                                                                                                                                                                                                                                                      -
                                                                                                                                                                                                                                                                      hyphenation?: IHyphenationOptions

                                                                                                                                                                                                                                                                      Hyphenation settings

                                                                                                                                                                                                                                                                      -
                                                                                                                                                                                                                                                                      keywords?: string

                                                                                                                                                                                                                                                                      Document keywords for searchability

                                                                                                                                                                                                                                                                      -
                                                                                                                                                                                                                                                                      lastModifiedBy?: string

                                                                                                                                                                                                                                                                      User who last modified the document

                                                                                                                                                                                                                                                                      -
                                                                                                                                                                                                                                                                      numbering?: INumberingOptions

                                                                                                                                                                                                                                                                      Numbering configuration

                                                                                                                                                                                                                                                                      -
                                                                                                                                                                                                                                                                      revision?: number

                                                                                                                                                                                                                                                                      Revision number

                                                                                                                                                                                                                                                                      -
                                                                                                                                                                                                                                                                      sections: readonly ISectionOptions[]

                                                                                                                                                                                                                                                                      Document section configurations

                                                                                                                                                                                                                                                                      -

                                                                                                                                                                                                                                                                      Document styles configuration

                                                                                                                                                                                                                                                                      -
                                                                                                                                                                                                                                                                      subject?: string

                                                                                                                                                                                                                                                                      Document subject

                                                                                                                                                                                                                                                                      -
                                                                                                                                                                                                                                                                      title?: string

                                                                                                                                                                                                                                                                      Document title

                                                                                                                                                                                                                                                                      -
                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                      comments?: ICommentsOptions

                                                                                                                                                                                                                                                                      Document comments configuration

                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                      compatabilityModeVersion?: number

                                                                                                                                                                                                                                                                      Compatibility mode version

                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                      compatibility?: ICompatibilityOptions

                                                                                                                                                                                                                                                                      Compatibility settings

                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                      creator?: string

                                                                                                                                                                                                                                                                      Document creator/author

                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                      customProperties?: readonly ICustomPropertyOptions[]

                                                                                                                                                                                                                                                                      Custom document properties

                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                      defaultTabStop?: number

                                                                                                                                                                                                                                                                      Default tab stop width

                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                      description?: string

                                                                                                                                                                                                                                                                      Document description

                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                      endnotes?: Readonly<Record<string, { children: readonly Paragraph[] }>>
                                                                                                                                                                                                                                                                      evenAndOddHeaderAndFooters?: boolean

                                                                                                                                                                                                                                                                      Enable different headers/footers for even/odd pages

                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                      externalStyles?: string

                                                                                                                                                                                                                                                                      External stylesheet reference

                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                      features?: { trackRevisions?: boolean; updateFields?: boolean }

                                                                                                                                                                                                                                                                      Document features like track changes

                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                      fonts?: readonly FontOptions[]

                                                                                                                                                                                                                                                                      Font configurations

                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                      footnotes?: Readonly<Record<string, { children: readonly Paragraph[] }>>

                                                                                                                                                                                                                                                                      Document footnotes

                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                      hyphenation?: IHyphenationOptions

                                                                                                                                                                                                                                                                      Hyphenation settings

                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                      keywords?: string

                                                                                                                                                                                                                                                                      Document keywords for searchability

                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                      lastModifiedBy?: string

                                                                                                                                                                                                                                                                      User who last modified the document

                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                      numbering?: INumberingOptions

                                                                                                                                                                                                                                                                      Numbering configuration

                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                      revision?: number

                                                                                                                                                                                                                                                                      Revision number

                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                      sections: readonly ISectionOptions[]

                                                                                                                                                                                                                                                                      Document section configurations

                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                      Document styles configuration

                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                      subject?: string

                                                                                                                                                                                                                                                                      Document subject

                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                      title?: string

                                                                                                                                                                                                                                                                      Document title

                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                      diff --git a/api/types/IRunOptions.html b/api/types/IRunOptions.html index ee7510056b..a6c24b92b8 100644 --- a/api/types/IRunOptions.html +++ b/api/types/IRunOptions.html @@ -2,4 +2,4 @@

                                                                                                                                                                                                                                                                      The run element specifies a region of text with a common set of properties. The children property can contain various inline content elements.

                                                                                                                                                                                                                                                                      Run

                                                                                                                                                                                                                                                                      -
                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                      diff --git a/api/types/IRunPropertiesChangeOptions.html b/api/types/IRunPropertiesChangeOptions.html index 5bc4631ee8..01becef2b2 100644 --- a/api/types/IRunPropertiesChangeOptions.html +++ b/api/types/IRunPropertiesChangeOptions.html @@ -1,3 +1,3 @@ IRunPropertiesChangeOptions | docx
                                                                                                                                                                                                                                                                      docx
                                                                                                                                                                                                                                                                        Preparing search index...

                                                                                                                                                                                                                                                                        Type Alias IRunPropertiesChangeOptions

                                                                                                                                                                                                                                                                        IRunPropertiesChangeOptions: {} & IRunPropertiesOptions & IChangedAttributesProperties

                                                                                                                                                                                                                                                                        Options for run properties change tracking.

                                                                                                                                                                                                                                                                        Used for revision tracking when run properties have been modified.

                                                                                                                                                                                                                                                                        -
                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                        diff --git a/api/types/IRunPropertiesOptions.html b/api/types/IRunPropertiesOptions.html index c585001d08..2d66d2c0a2 100644 --- a/api/types/IRunPropertiesOptions.html +++ b/api/types/IRunPropertiesOptions.html @@ -1,4 +1,4 @@ IRunPropertiesOptions | docx
                                                                                                                                                                                                                                                                        docx
                                                                                                                                                                                                                                                                          Preparing search index...

                                                                                                                                                                                                                                                                          Type Alias IRunPropertiesOptions

                                                                                                                                                                                                                                                                          IRunPropertiesOptions: { style?: string } & IRunStylePropertiesOptions

                                                                                                                                                                                                                                                                          Options for configuring run properties.

                                                                                                                                                                                                                                                                          Extends IRunStylePropertiesOptions with a style reference.

                                                                                                                                                                                                                                                                          Type Declaration

                                                                                                                                                                                                                                                                          • Optional Readonlystyle?: string

                                                                                                                                                                                                                                                                            Reference to a character style by name

                                                                                                                                                                                                                                                                            -
                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                          diff --git a/api/types/IRunStylePropertiesOptions.html b/api/types/IRunStylePropertiesOptions.html index 7ebab3e06d..d833f50bdd 100644 --- a/api/types/IRunStylePropertiesOptions.html +++ b/api/types/IRunStylePropertiesOptions.html @@ -2,7 +2,7 @@

                                                                                                                                                                                                                                                                          These properties define the formatting that can be applied to a run of text, including font, size, bold, italic, underline, color, and other character formatting.

                                                                                                                                                                                                                                                                          Reference: http://officeopenxml.com/WPtextFormatting.php

                                                                                                                                                                                                                                                                          -
                                                                                                                                                                                                                                                                          type IRunStylePropertiesOptions = {
                                                                                                                                                                                                                                                                              allCaps?: boolean;
                                                                                                                                                                                                                                                                              bold?: boolean;
                                                                                                                                                                                                                                                                              boldComplexScript?: boolean;
                                                                                                                                                                                                                                                                              border?: IBorderOptions;
                                                                                                                                                                                                                                                                              characterSpacing?: number;
                                                                                                                                                                                                                                                                              color?: string;
                                                                                                                                                                                                                                                                              doubleStrike?: boolean;
                                                                                                                                                                                                                                                                              effect?: typeof TextEffect[keyof typeof TextEffect];
                                                                                                                                                                                                                                                                              emboss?: boolean;
                                                                                                                                                                                                                                                                              emphasisMark?: {
                                                                                                                                                                                                                                                                                  type?: typeof EmphasisMarkType[keyof typeof EmphasisMarkType];
                                                                                                                                                                                                                                                                              };
                                                                                                                                                                                                                                                                              font?: string
                                                                                                                                                                                                                                                                              | IFontOptions
                                                                                                                                                                                                                                                                              | IFontAttributesProperties;
                                                                                                                                                                                                                                                                              highlight?: typeof HighlightColor[keyof typeof HighlightColor];
                                                                                                                                                                                                                                                                              highlightComplexScript?: boolean | string;
                                                                                                                                                                                                                                                                              imprint?: boolean;
                                                                                                                                                                                                                                                                              italics?: boolean;
                                                                                                                                                                                                                                                                              italicsComplexScript?: boolean;
                                                                                                                                                                                                                                                                              kern?: number | PositiveUniversalMeasure;
                                                                                                                                                                                                                                                                              language?: ILanguageOptions;
                                                                                                                                                                                                                                                                              math?: boolean;
                                                                                                                                                                                                                                                                              noProof?: boolean;
                                                                                                                                                                                                                                                                              position?: UniversalMeasure;
                                                                                                                                                                                                                                                                              revision?: IRunPropertiesChangeOptions;
                                                                                                                                                                                                                                                                              rightToLeft?: boolean;
                                                                                                                                                                                                                                                                              scale?: number;
                                                                                                                                                                                                                                                                              shading?: IShadingAttributesProperties;
                                                                                                                                                                                                                                                                              size?: number | PositiveUniversalMeasure;
                                                                                                                                                                                                                                                                              sizeComplexScript?: boolean | number | PositiveUniversalMeasure;
                                                                                                                                                                                                                                                                              smallCaps?: boolean;
                                                                                                                                                                                                                                                                              snapToGrid?: boolean;
                                                                                                                                                                                                                                                                              specVanish?: boolean;
                                                                                                                                                                                                                                                                              strike?: boolean;
                                                                                                                                                                                                                                                                              subScript?: boolean;
                                                                                                                                                                                                                                                                              superScript?: boolean;
                                                                                                                                                                                                                                                                              underline?: {
                                                                                                                                                                                                                                                                                  color?: string;
                                                                                                                                                                                                                                                                                  type?: typeof UnderlineType[keyof typeof UnderlineType];
                                                                                                                                                                                                                                                                              };
                                                                                                                                                                                                                                                                              vanish?: boolean;
                                                                                                                                                                                                                                                                          }
                                                                                                                                                                                                                                                                          Index

                                                                                                                                                                                                                                                                          Properties

                                                                                                                                                                                                                                                                          type IRunStylePropertiesOptions = {
                                                                                                                                                                                                                                                                              allCaps?: boolean;
                                                                                                                                                                                                                                                                              bold?: boolean;
                                                                                                                                                                                                                                                                              boldComplexScript?: boolean;
                                                                                                                                                                                                                                                                              border?: IBorderOptions;
                                                                                                                                                                                                                                                                              characterSpacing?: number;
                                                                                                                                                                                                                                                                              color?: string;
                                                                                                                                                                                                                                                                              doubleStrike?: boolean;
                                                                                                                                                                                                                                                                              effect?: typeof TextEffect[keyof typeof TextEffect];
                                                                                                                                                                                                                                                                              emboss?: boolean;
                                                                                                                                                                                                                                                                              emphasisMark?: {
                                                                                                                                                                                                                                                                                  type?: typeof EmphasisMarkType[keyof typeof EmphasisMarkType];
                                                                                                                                                                                                                                                                              };
                                                                                                                                                                                                                                                                              font?: string
                                                                                                                                                                                                                                                                              | IFontOptions
                                                                                                                                                                                                                                                                              | IFontAttributesProperties;
                                                                                                                                                                                                                                                                              highlight?: typeof HighlightColor[keyof typeof HighlightColor];
                                                                                                                                                                                                                                                                              highlightComplexScript?: boolean | string;
                                                                                                                                                                                                                                                                              imprint?: boolean;
                                                                                                                                                                                                                                                                              italics?: boolean;
                                                                                                                                                                                                                                                                              italicsComplexScript?: boolean;
                                                                                                                                                                                                                                                                              kern?: number | PositiveUniversalMeasure;
                                                                                                                                                                                                                                                                              language?: ILanguageOptions;
                                                                                                                                                                                                                                                                              math?: boolean;
                                                                                                                                                                                                                                                                              noProof?: boolean;
                                                                                                                                                                                                                                                                              position?: UniversalMeasure;
                                                                                                                                                                                                                                                                              revision?: IRunPropertiesChangeOptions;
                                                                                                                                                                                                                                                                              rightToLeft?: boolean;
                                                                                                                                                                                                                                                                              scale?: number;
                                                                                                                                                                                                                                                                              shading?: IShadingAttributesProperties;
                                                                                                                                                                                                                                                                              size?: number | PositiveUniversalMeasure;
                                                                                                                                                                                                                                                                              sizeComplexScript?: boolean | number | PositiveUniversalMeasure;
                                                                                                                                                                                                                                                                              smallCaps?: boolean;
                                                                                                                                                                                                                                                                              snapToGrid?: boolean;
                                                                                                                                                                                                                                                                              specVanish?: boolean;
                                                                                                                                                                                                                                                                              strike?: boolean;
                                                                                                                                                                                                                                                                              subScript?: boolean;
                                                                                                                                                                                                                                                                              superScript?: boolean;
                                                                                                                                                                                                                                                                              underline?: {
                                                                                                                                                                                                                                                                                  color?: string;
                                                                                                                                                                                                                                                                                  type?: typeof UnderlineType[keyof typeof UnderlineType];
                                                                                                                                                                                                                                                                              };
                                                                                                                                                                                                                                                                              vanish?: boolean;
                                                                                                                                                                                                                                                                          }
                                                                                                                                                                                                                                                                          Index

                                                                                                                                                                                                                                                                          Properties

                                                                                                                                                                                                                                                                          allCaps? bold? boldComplexScript? border? @@ -37,4 +37,4 @@ including font, size, bold, italic, underline, color, and other character format superScript? underline? vanish? -

                                                                                                                                                                                                                                                                          Properties

                                                                                                                                                                                                                                                                          allCaps?: boolean
                                                                                                                                                                                                                                                                          bold?: boolean
                                                                                                                                                                                                                                                                          boldComplexScript?: boolean
                                                                                                                                                                                                                                                                          characterSpacing?: number
                                                                                                                                                                                                                                                                          color?: string
                                                                                                                                                                                                                                                                          doubleStrike?: boolean
                                                                                                                                                                                                                                                                          effect?: typeof TextEffect[keyof typeof TextEffect]
                                                                                                                                                                                                                                                                          emboss?: boolean
                                                                                                                                                                                                                                                                          emphasisMark?: { type?: typeof EmphasisMarkType[keyof typeof EmphasisMarkType] }
                                                                                                                                                                                                                                                                          font?: string | IFontOptions | IFontAttributesProperties
                                                                                                                                                                                                                                                                          highlight?: typeof HighlightColor[keyof typeof HighlightColor]
                                                                                                                                                                                                                                                                          highlightComplexScript?: boolean | string
                                                                                                                                                                                                                                                                          imprint?: boolean
                                                                                                                                                                                                                                                                          italics?: boolean
                                                                                                                                                                                                                                                                          italicsComplexScript?: boolean
                                                                                                                                                                                                                                                                          kern?: number | PositiveUniversalMeasure
                                                                                                                                                                                                                                                                          language?: ILanguageOptions
                                                                                                                                                                                                                                                                          math?: boolean
                                                                                                                                                                                                                                                                          noProof?: boolean
                                                                                                                                                                                                                                                                          position?: UniversalMeasure
                                                                                                                                                                                                                                                                          rightToLeft?: boolean
                                                                                                                                                                                                                                                                          scale?: number
                                                                                                                                                                                                                                                                          size?: number | PositiveUniversalMeasure
                                                                                                                                                                                                                                                                          sizeComplexScript?: boolean | number | PositiveUniversalMeasure
                                                                                                                                                                                                                                                                          smallCaps?: boolean
                                                                                                                                                                                                                                                                          snapToGrid?: boolean
                                                                                                                                                                                                                                                                          specVanish?: boolean
                                                                                                                                                                                                                                                                          strike?: boolean
                                                                                                                                                                                                                                                                          subScript?: boolean
                                                                                                                                                                                                                                                                          superScript?: boolean
                                                                                                                                                                                                                                                                          underline?: {
                                                                                                                                                                                                                                                                              color?: string;
                                                                                                                                                                                                                                                                              type?: typeof UnderlineType[keyof typeof UnderlineType];
                                                                                                                                                                                                                                                                          }
                                                                                                                                                                                                                                                                          vanish?: boolean
                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                          Properties

                                                                                                                                                                                                                                                                          allCaps?: boolean
                                                                                                                                                                                                                                                                          bold?: boolean
                                                                                                                                                                                                                                                                          boldComplexScript?: boolean
                                                                                                                                                                                                                                                                          characterSpacing?: number
                                                                                                                                                                                                                                                                          color?: string
                                                                                                                                                                                                                                                                          doubleStrike?: boolean
                                                                                                                                                                                                                                                                          effect?: typeof TextEffect[keyof typeof TextEffect]
                                                                                                                                                                                                                                                                          emboss?: boolean
                                                                                                                                                                                                                                                                          emphasisMark?: { type?: typeof EmphasisMarkType[keyof typeof EmphasisMarkType] }
                                                                                                                                                                                                                                                                          font?: string | IFontOptions | IFontAttributesProperties
                                                                                                                                                                                                                                                                          highlight?: typeof HighlightColor[keyof typeof HighlightColor]
                                                                                                                                                                                                                                                                          highlightComplexScript?: boolean | string
                                                                                                                                                                                                                                                                          imprint?: boolean
                                                                                                                                                                                                                                                                          italics?: boolean
                                                                                                                                                                                                                                                                          italicsComplexScript?: boolean
                                                                                                                                                                                                                                                                          kern?: number | PositiveUniversalMeasure
                                                                                                                                                                                                                                                                          language?: ILanguageOptions
                                                                                                                                                                                                                                                                          math?: boolean
                                                                                                                                                                                                                                                                          noProof?: boolean
                                                                                                                                                                                                                                                                          position?: UniversalMeasure
                                                                                                                                                                                                                                                                          rightToLeft?: boolean
                                                                                                                                                                                                                                                                          scale?: number
                                                                                                                                                                                                                                                                          size?: number | PositiveUniversalMeasure
                                                                                                                                                                                                                                                                          sizeComplexScript?: boolean | number | PositiveUniversalMeasure
                                                                                                                                                                                                                                                                          smallCaps?: boolean
                                                                                                                                                                                                                                                                          snapToGrid?: boolean
                                                                                                                                                                                                                                                                          specVanish?: boolean
                                                                                                                                                                                                                                                                          strike?: boolean
                                                                                                                                                                                                                                                                          subScript?: boolean
                                                                                                                                                                                                                                                                          superScript?: boolean
                                                                                                                                                                                                                                                                          underline?: {
                                                                                                                                                                                                                                                                              color?: string;
                                                                                                                                                                                                                                                                              type?: typeof UnderlineType[keyof typeof UnderlineType];
                                                                                                                                                                                                                                                                          }
                                                                                                                                                                                                                                                                          vanish?: boolean
                                                                                                                                                                                                                                                                          diff --git a/api/types/ISectionOptions.html b/api/types/ISectionOptions.html index baf3dccc11..8d38c50cea 100644 --- a/api/types/ISectionOptions.html +++ b/api/types/ISectionOptions.html @@ -1,17 +1,17 @@ ISectionOptions | docx
                                                                                                                                                                                                                                                                          docx
                                                                                                                                                                                                                                                                            Preparing search index...

                                                                                                                                                                                                                                                                            Type Alias ISectionOptions

                                                                                                                                                                                                                                                                            Options for a document section.

                                                                                                                                                                                                                                                                            Each section can have its own headers, footers, and page properties.

                                                                                                                                                                                                                                                                            -
                                                                                                                                                                                                                                                                            type ISectionOptions = {
                                                                                                                                                                                                                                                                                children: readonly FileChild[];
                                                                                                                                                                                                                                                                                footers?: { default?: Footer; even?: Footer; first?: Footer };
                                                                                                                                                                                                                                                                                headers?: { default?: Header; even?: Header; first?: Header };
                                                                                                                                                                                                                                                                                properties?: ISectionPropertiesOptions;
                                                                                                                                                                                                                                                                            }
                                                                                                                                                                                                                                                                            Index

                                                                                                                                                                                                                                                                            Properties

                                                                                                                                                                                                                                                                            type ISectionOptions = {
                                                                                                                                                                                                                                                                                children: readonly FileChild[];
                                                                                                                                                                                                                                                                                footers?: { default?: Footer; even?: Footer; first?: Footer };
                                                                                                                                                                                                                                                                                headers?: { default?: Header; even?: Header; first?: Header };
                                                                                                                                                                                                                                                                                properties?: ISectionPropertiesOptions;
                                                                                                                                                                                                                                                                            }
                                                                                                                                                                                                                                                                            Index

                                                                                                                                                                                                                                                                            Properties

                                                                                                                                                                                                                                                                            children: readonly FileChild[]

                                                                                                                                                                                                                                                                            Array of content elements (paragraphs, tables, etc.) for this section

                                                                                                                                                                                                                                                                            -
                                                                                                                                                                                                                                                                            footers?: { default?: Footer; even?: Footer; first?: Footer }

                                                                                                                                                                                                                                                                            Optional footer definitions for the section

                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                            footers?: { default?: Footer; even?: Footer; first?: Footer }

                                                                                                                                                                                                                                                                            Optional footer definitions for the section

                                                                                                                                                                                                                                                                            Type Declaration

                                                                                                                                                                                                                                                                            • Optional Readonlydefault?: Footer

                                                                                                                                                                                                                                                                              Default footer for all pages (when first/even not specified).

                                                                                                                                                                                                                                                                            • Optional Readonlyeven?: Footer

                                                                                                                                                                                                                                                                              Footer for even-numbered pages.

                                                                                                                                                                                                                                                                            • Optional Readonlyfirst?: Footer

                                                                                                                                                                                                                                                                              Footer for the first page of the section.

                                                                                                                                                                                                                                                                              -
                                                                                                                                                                                                                                                                            headers?: { default?: Header; even?: Header; first?: Header }

                                                                                                                                                                                                                                                                            Optional header definitions for the section

                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                            headers?: { default?: Header; even?: Header; first?: Header }

                                                                                                                                                                                                                                                                            Optional header definitions for the section

                                                                                                                                                                                                                                                                            Type Declaration

                                                                                                                                                                                                                                                                            • Optional Readonlydefault?: Header

                                                                                                                                                                                                                                                                              Default header for all pages (when first/even not specified).

                                                                                                                                                                                                                                                                            • Optional Readonlyeven?: Header

                                                                                                                                                                                                                                                                              Header for even-numbered pages.

                                                                                                                                                                                                                                                                            • Optional Readonlyfirst?: Header

                                                                                                                                                                                                                                                                              Header for the first page of the section.

                                                                                                                                                                                                                                                                              -

                                                                                                                                                                                                                                                                            Section properties such as page size, margins, and orientation

                                                                                                                                                                                                                                                                            -
                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                            Section properties such as page size, margins, and orientation

                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                            diff --git a/api/types/ISectionPropertiesChangeOptions.html b/api/types/ISectionPropertiesChangeOptions.html index d9c945d6c0..73bc0838c4 100644 --- a/api/types/ISectionPropertiesChangeOptions.html +++ b/api/types/ISectionPropertiesChangeOptions.html @@ -1 +1 @@ -ISectionPropertiesChangeOptions | docx
                                                                                                                                                                                                                                                                            docx
                                                                                                                                                                                                                                                                              Preparing search index...

                                                                                                                                                                                                                                                                              Type Alias ISectionPropertiesChangeOptions

                                                                                                                                                                                                                                                                              ISectionPropertiesChangeOptions: IChangedAttributesProperties & ISectionPropertiesOptionsBase
                                                                                                                                                                                                                                                                              +ISectionPropertiesChangeOptions | docx
                                                                                                                                                                                                                                                                              docx
                                                                                                                                                                                                                                                                                Preparing search index...

                                                                                                                                                                                                                                                                                Type Alias ISectionPropertiesChangeOptions

                                                                                                                                                                                                                                                                                ISectionPropertiesChangeOptions: IChangedAttributesProperties & ISectionPropertiesOptionsBase
                                                                                                                                                                                                                                                                                diff --git a/api/types/ISectionPropertiesOptions.html b/api/types/ISectionPropertiesOptions.html index e22c54c2ba..755160515d 100644 --- a/api/types/ISectionPropertiesOptions.html +++ b/api/types/ISectionPropertiesOptions.html @@ -2,4 +2,4 @@

                                                                                                                                                                                                                                                                                This type defines all possible configuration options for a document section, including page layout, margins, headers/footers, and numbering.

                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                diff --git a/api/types/ISectionPropertiesOptionsBase.html b/api/types/ISectionPropertiesOptionsBase.html index abab10c2d5..f8412aec79 100644 --- a/api/types/ISectionPropertiesOptionsBase.html +++ b/api/types/ISectionPropertiesOptionsBase.html @@ -1,4 +1,4 @@ -ISectionPropertiesOptionsBase | docx
                                                                                                                                                                                                                                                                                docx
                                                                                                                                                                                                                                                                                  Preparing search index...

                                                                                                                                                                                                                                                                                  Type Alias ISectionPropertiesOptionsBase

                                                                                                                                                                                                                                                                                  type ISectionPropertiesOptionsBase = {
                                                                                                                                                                                                                                                                                      column?: IColumnsAttributes;
                                                                                                                                                                                                                                                                                      footerWrapperGroup?: IHeaderFooterGroup<FooterWrapper>;
                                                                                                                                                                                                                                                                                      grid?: Partial<IDocGridAttributesProperties>;
                                                                                                                                                                                                                                                                                      headerWrapperGroup?: IHeaderFooterGroup<HeaderWrapper>;
                                                                                                                                                                                                                                                                                      lineNumbers?: ILineNumberAttributes;
                                                                                                                                                                                                                                                                                      page?: {
                                                                                                                                                                                                                                                                                          borders?: IPageBordersOptions;
                                                                                                                                                                                                                                                                                          margin?: IPageMarginAttributes;
                                                                                                                                                                                                                                                                                          pageNumbers?: IPageNumberTypeAttributes;
                                                                                                                                                                                                                                                                                          size?: Partial<IPageSizeAttributes>;
                                                                                                                                                                                                                                                                                          textDirection?: typeof PageTextDirectionType[keyof typeof PageTextDirectionType];
                                                                                                                                                                                                                                                                                      };
                                                                                                                                                                                                                                                                                      titlePage?: boolean;
                                                                                                                                                                                                                                                                                      type?: typeof SectionType[keyof typeof SectionType];
                                                                                                                                                                                                                                                                                      verticalAlign?: SectionVerticalAlign;
                                                                                                                                                                                                                                                                                  }
                                                                                                                                                                                                                                                                                  Index

                                                                                                                                                                                                                                                                                  Properties

                                                                                                                                                                                                                                                                                  column? +ISectionPropertiesOptionsBase | docx
                                                                                                                                                                                                                                                                                  docx
                                                                                                                                                                                                                                                                                    Preparing search index...

                                                                                                                                                                                                                                                                                    Type Alias ISectionPropertiesOptionsBase

                                                                                                                                                                                                                                                                                    type ISectionPropertiesOptionsBase = {
                                                                                                                                                                                                                                                                                        column?: IColumnsAttributes;
                                                                                                                                                                                                                                                                                        footerWrapperGroup?: IHeaderFooterGroup<FooterWrapper>;
                                                                                                                                                                                                                                                                                        grid?: Partial<IDocGridAttributesProperties>;
                                                                                                                                                                                                                                                                                        headerWrapperGroup?: IHeaderFooterGroup<HeaderWrapper>;
                                                                                                                                                                                                                                                                                        lineNumbers?: ILineNumberAttributes;
                                                                                                                                                                                                                                                                                        page?: {
                                                                                                                                                                                                                                                                                            borders?: IPageBordersOptions;
                                                                                                                                                                                                                                                                                            margin?: IPageMarginAttributes;
                                                                                                                                                                                                                                                                                            pageNumbers?: IPageNumberTypeAttributes;
                                                                                                                                                                                                                                                                                            size?: Partial<IPageSizeAttributes>;
                                                                                                                                                                                                                                                                                            textDirection?: typeof PageTextDirectionType[keyof typeof PageTextDirectionType];
                                                                                                                                                                                                                                                                                        };
                                                                                                                                                                                                                                                                                        titlePage?: boolean;
                                                                                                                                                                                                                                                                                        type?: typeof SectionType[keyof typeof SectionType];
                                                                                                                                                                                                                                                                                        verticalAlign?: SectionVerticalAlign;
                                                                                                                                                                                                                                                                                    }
                                                                                                                                                                                                                                                                                    Index

                                                                                                                                                                                                                                                                                    Properties

                                                                                                                                                                                                                                                                                    Column layout settings (count, spacing, equal width)

                                                                                                                                                                                                                                                                                    -
                                                                                                                                                                                                                                                                                    footerWrapperGroup?: IHeaderFooterGroup<FooterWrapper>

                                                                                                                                                                                                                                                                                    Footer definitions for default, first, and even pages

                                                                                                                                                                                                                                                                                    -

                                                                                                                                                                                                                                                                                    Document grid settings for precise East Asian character layout

                                                                                                                                                                                                                                                                                    -
                                                                                                                                                                                                                                                                                    headerWrapperGroup?: IHeaderFooterGroup<HeaderWrapper>

                                                                                                                                                                                                                                                                                    Header definitions for default, first, and even pages

                                                                                                                                                                                                                                                                                    -
                                                                                                                                                                                                                                                                                    lineNumbers?: ILineNumberAttributes

                                                                                                                                                                                                                                                                                    Line numbering settings for the section

                                                                                                                                                                                                                                                                                    -
                                                                                                                                                                                                                                                                                    page?: {
                                                                                                                                                                                                                                                                                        borders?: IPageBordersOptions;
                                                                                                                                                                                                                                                                                        margin?: IPageMarginAttributes;
                                                                                                                                                                                                                                                                                        pageNumbers?: IPageNumberTypeAttributes;
                                                                                                                                                                                                                                                                                        size?: Partial<IPageSizeAttributes>;
                                                                                                                                                                                                                                                                                        textDirection?: typeof PageTextDirectionType[keyof typeof PageTextDirectionType];
                                                                                                                                                                                                                                                                                    }

                                                                                                                                                                                                                                                                                    Page-level settings including size, margins, borders, and text direction

                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                    footerWrapperGroup?: IHeaderFooterGroup<FooterWrapper>

                                                                                                                                                                                                                                                                                    Footer definitions for default, first, and even pages

                                                                                                                                                                                                                                                                                    +

                                                                                                                                                                                                                                                                                    Document grid settings for precise East Asian character layout

                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                    headerWrapperGroup?: IHeaderFooterGroup<HeaderWrapper>

                                                                                                                                                                                                                                                                                    Header definitions for default, first, and even pages

                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                    lineNumbers?: ILineNumberAttributes

                                                                                                                                                                                                                                                                                    Line numbering settings for the section

                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                    page?: {
                                                                                                                                                                                                                                                                                        borders?: IPageBordersOptions;
                                                                                                                                                                                                                                                                                        margin?: IPageMarginAttributes;
                                                                                                                                                                                                                                                                                        pageNumbers?: IPageNumberTypeAttributes;
                                                                                                                                                                                                                                                                                        size?: Partial<IPageSizeAttributes>;
                                                                                                                                                                                                                                                                                        textDirection?: typeof PageTextDirectionType[keyof typeof PageTextDirectionType];
                                                                                                                                                                                                                                                                                    }

                                                                                                                                                                                                                                                                                    Page-level settings including size, margins, borders, and text direction

                                                                                                                                                                                                                                                                                    Type Declaration

                                                                                                                                                                                                                                                                                    titlePage?: boolean

                                                                                                                                                                                                                                                                                    Whether first page has different header/footer

                                                                                                                                                                                                                                                                                    -
                                                                                                                                                                                                                                                                                    type?: typeof SectionType[keyof typeof SectionType]

                                                                                                                                                                                                                                                                                    Section break type (next page, continuous, even page, odd page)

                                                                                                                                                                                                                                                                                    -
                                                                                                                                                                                                                                                                                    verticalAlign?: SectionVerticalAlign

                                                                                                                                                                                                                                                                                    Vertical alignment of text on page (top, center, bottom, justified)

                                                                                                                                                                                                                                                                                    -
                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                    titlePage?: boolean

                                                                                                                                                                                                                                                                                    Whether first page has different header/footer

                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                    type?: typeof SectionType[keyof typeof SectionType]

                                                                                                                                                                                                                                                                                    Section break type (next page, continuous, even page, odd page)

                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                    verticalAlign?: SectionVerticalAlign

                                                                                                                                                                                                                                                                                    Vertical alignment of text on page (top, center, bottom, justified)

                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                    diff --git a/api/types/IShadingAttributesProperties.html b/api/types/IShadingAttributesProperties.html index 40441628b1..a600da2bc5 100644 --- a/api/types/IShadingAttributesProperties.html +++ b/api/types/IShadingAttributesProperties.html @@ -1,8 +1,8 @@ IShadingAttributesProperties | docx
                                                                                                                                                                                                                                                                                    docx
                                                                                                                                                                                                                                                                                      Preparing search index...

                                                                                                                                                                                                                                                                                      Type Alias IShadingAttributesProperties

                                                                                                                                                                                                                                                                                      Properties for configuring shading.

                                                                                                                                                                                                                                                                                      -
                                                                                                                                                                                                                                                                                      type IShadingAttributesProperties = {
                                                                                                                                                                                                                                                                                          color?: string;
                                                                                                                                                                                                                                                                                          fill?: string;
                                                                                                                                                                                                                                                                                          type?: typeof ShadingType[keyof typeof ShadingType];
                                                                                                                                                                                                                                                                                      }
                                                                                                                                                                                                                                                                                      Index

                                                                                                                                                                                                                                                                                      Properties

                                                                                                                                                                                                                                                                                      type IShadingAttributesProperties = {
                                                                                                                                                                                                                                                                                          color?: string;
                                                                                                                                                                                                                                                                                          fill?: string;
                                                                                                                                                                                                                                                                                          type?: typeof ShadingType[keyof typeof ShadingType];
                                                                                                                                                                                                                                                                                      }
                                                                                                                                                                                                                                                                                      Index

                                                                                                                                                                                                                                                                                      Properties

                                                                                                                                                                                                                                                                                      Properties

                                                                                                                                                                                                                                                                                      color?: string

                                                                                                                                                                                                                                                                                      Pattern color in hex format

                                                                                                                                                                                                                                                                                      -
                                                                                                                                                                                                                                                                                      fill?: string

                                                                                                                                                                                                                                                                                      Background fill color in hex format (e.g., "FF0000" for red)

                                                                                                                                                                                                                                                                                      -
                                                                                                                                                                                                                                                                                      type?: typeof ShadingType[keyof typeof ShadingType]

                                                                                                                                                                                                                                                                                      Shading pattern type

                                                                                                                                                                                                                                                                                      -
                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                      fill?: string

                                                                                                                                                                                                                                                                                      Background fill color in hex format (e.g., "FF0000" for red)

                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                      type?: typeof ShadingType[keyof typeof ShadingType]

                                                                                                                                                                                                                                                                                      Shading pattern type

                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                      diff --git a/api/types/ISpacingProperties.html b/api/types/ISpacingProperties.html index f6afd7cbd1..6cb6195296 100644 --- a/api/types/ISpacingProperties.html +++ b/api/types/ISpacingProperties.html @@ -1,15 +1,15 @@ ISpacingProperties | docx
                                                                                                                                                                                                                                                                                      docx
                                                                                                                                                                                                                                                                                        Preparing search index...

                                                                                                                                                                                                                                                                                        Type Alias ISpacingProperties

                                                                                                                                                                                                                                                                                        Properties for configuring paragraph spacing.

                                                                                                                                                                                                                                                                                        All values are in twips (twentieths of a point) unless otherwise specified.

                                                                                                                                                                                                                                                                                        -
                                                                                                                                                                                                                                                                                        type ISpacingProperties = {
                                                                                                                                                                                                                                                                                            after?: number;
                                                                                                                                                                                                                                                                                            afterAutoSpacing?: boolean;
                                                                                                                                                                                                                                                                                            before?: number;
                                                                                                                                                                                                                                                                                            beforeAutoSpacing?: boolean;
                                                                                                                                                                                                                                                                                            line?: number;
                                                                                                                                                                                                                                                                                            lineRule?: typeof LineRuleType[keyof typeof LineRuleType];
                                                                                                                                                                                                                                                                                        }
                                                                                                                                                                                                                                                                                        Index

                                                                                                                                                                                                                                                                                        Properties

                                                                                                                                                                                                                                                                                        type ISpacingProperties = {
                                                                                                                                                                                                                                                                                            after?: number;
                                                                                                                                                                                                                                                                                            afterAutoSpacing?: boolean;
                                                                                                                                                                                                                                                                                            before?: number;
                                                                                                                                                                                                                                                                                            beforeAutoSpacing?: boolean;
                                                                                                                                                                                                                                                                                            line?: number;
                                                                                                                                                                                                                                                                                            lineRule?: typeof LineRuleType[keyof typeof LineRuleType];
                                                                                                                                                                                                                                                                                        }
                                                                                                                                                                                                                                                                                        Index

                                                                                                                                                                                                                                                                                        Properties

                                                                                                                                                                                                                                                                                        after?: number

                                                                                                                                                                                                                                                                                        Spacing after the paragraph in twips

                                                                                                                                                                                                                                                                                        -
                                                                                                                                                                                                                                                                                        afterAutoSpacing?: boolean

                                                                                                                                                                                                                                                                                        Use automatic spacing after the paragraph

                                                                                                                                                                                                                                                                                        -
                                                                                                                                                                                                                                                                                        before?: number

                                                                                                                                                                                                                                                                                        Spacing before the paragraph in twips

                                                                                                                                                                                                                                                                                        -
                                                                                                                                                                                                                                                                                        beforeAutoSpacing?: boolean

                                                                                                                                                                                                                                                                                        Use automatic spacing before the paragraph

                                                                                                                                                                                                                                                                                        -
                                                                                                                                                                                                                                                                                        line?: number

                                                                                                                                                                                                                                                                                        Line spacing value in twips (interpretation depends on lineRule)

                                                                                                                                                                                                                                                                                        -
                                                                                                                                                                                                                                                                                        lineRule?: typeof LineRuleType[keyof typeof LineRuleType]

                                                                                                                                                                                                                                                                                        How to interpret the line spacing value

                                                                                                                                                                                                                                                                                        -
                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                        afterAutoSpacing?: boolean

                                                                                                                                                                                                                                                                                        Use automatic spacing after the paragraph

                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                        before?: number

                                                                                                                                                                                                                                                                                        Spacing before the paragraph in twips

                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                        beforeAutoSpacing?: boolean

                                                                                                                                                                                                                                                                                        Use automatic spacing before the paragraph

                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                        line?: number

                                                                                                                                                                                                                                                                                        Line spacing value in twips (interpretation depends on lineRule)

                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                        lineRule?: typeof LineRuleType[keyof typeof LineRuleType]

                                                                                                                                                                                                                                                                                        How to interpret the line spacing value

                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                        diff --git a/api/types/IStylesOptions.html b/api/types/IStylesOptions.html index 566ca877df..03b3a6afc7 100644 --- a/api/types/IStylesOptions.html +++ b/api/types/IStylesOptions.html @@ -1,13 +1,13 @@ IStylesOptions | docx
                                                                                                                                                                                                                                                                                        docx
                                                                                                                                                                                                                                                                                          Preparing search index...

                                                                                                                                                                                                                                                                                          Type Alias IStylesOptions

                                                                                                                                                                                                                                                                                          Options for configuring document styles.

                                                                                                                                                                                                                                                                                          Styles

                                                                                                                                                                                                                                                                                          -
                                                                                                                                                                                                                                                                                          type IStylesOptions = {
                                                                                                                                                                                                                                                                                              characterStyles?: readonly ICharacterStyleOptions[];
                                                                                                                                                                                                                                                                                              default?: IDefaultStylesOptions;
                                                                                                                                                                                                                                                                                              importedStyles?: readonly (
                                                                                                                                                                                                                                                                                                  | XmlComponent
                                                                                                                                                                                                                                                                                                  | StyleForParagraph
                                                                                                                                                                                                                                                                                                  | StyleForCharacter
                                                                                                                                                                                                                                                                                                  | ImportedXmlComponent
                                                                                                                                                                                                                                                                                              )[];
                                                                                                                                                                                                                                                                                              initialStyles?: BaseXmlComponent;
                                                                                                                                                                                                                                                                                              paragraphStyles?: readonly IParagraphStyleOptions[];
                                                                                                                                                                                                                                                                                          }
                                                                                                                                                                                                                                                                                          Index

                                                                                                                                                                                                                                                                                          Properties

                                                                                                                                                                                                                                                                                          type IStylesOptions = {
                                                                                                                                                                                                                                                                                              characterStyles?: readonly ICharacterStyleOptions[];
                                                                                                                                                                                                                                                                                              default?: IDefaultStylesOptions;
                                                                                                                                                                                                                                                                                              importedStyles?: readonly (
                                                                                                                                                                                                                                                                                                  | XmlComponent
                                                                                                                                                                                                                                                                                                  | StyleForParagraph
                                                                                                                                                                                                                                                                                                  | StyleForCharacter
                                                                                                                                                                                                                                                                                                  | ImportedXmlComponent
                                                                                                                                                                                                                                                                                              )[];
                                                                                                                                                                                                                                                                                              initialStyles?: BaseXmlComponent;
                                                                                                                                                                                                                                                                                              paragraphStyles?: readonly IParagraphStyleOptions[];
                                                                                                                                                                                                                                                                                          }
                                                                                                                                                                                                                                                                                          Index

                                                                                                                                                                                                                                                                                          Properties

                                                                                                                                                                                                                                                                                          characterStyles?: readonly ICharacterStyleOptions[]

                                                                                                                                                                                                                                                                                          Array of custom character style definitions

                                                                                                                                                                                                                                                                                          -
                                                                                                                                                                                                                                                                                          default?: IDefaultStylesOptions

                                                                                                                                                                                                                                                                                          Default styles for document, headings, and common elements

                                                                                                                                                                                                                                                                                          -
                                                                                                                                                                                                                                                                                          importedStyles?: readonly (
                                                                                                                                                                                                                                                                                              | XmlComponent
                                                                                                                                                                                                                                                                                              | StyleForParagraph
                                                                                                                                                                                                                                                                                              | StyleForCharacter
                                                                                                                                                                                                                                                                                              | ImportedXmlComponent
                                                                                                                                                                                                                                                                                          )[]

                                                                                                                                                                                                                                                                                          Array of styles imported from external sources

                                                                                                                                                                                                                                                                                          -
                                                                                                                                                                                                                                                                                          initialStyles?: BaseXmlComponent

                                                                                                                                                                                                                                                                                          Initial base XML component for styles root element

                                                                                                                                                                                                                                                                                          -
                                                                                                                                                                                                                                                                                          paragraphStyles?: readonly IParagraphStyleOptions[]

                                                                                                                                                                                                                                                                                          Array of custom paragraph style definitions

                                                                                                                                                                                                                                                                                          -
                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                          default?: IDefaultStylesOptions

                                                                                                                                                                                                                                                                                          Default styles for document, headings, and common elements

                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                          importedStyles?: readonly (
                                                                                                                                                                                                                                                                                              | XmlComponent
                                                                                                                                                                                                                                                                                              | StyleForParagraph
                                                                                                                                                                                                                                                                                              | StyleForCharacter
                                                                                                                                                                                                                                                                                              | ImportedXmlComponent
                                                                                                                                                                                                                                                                                          )[]

                                                                                                                                                                                                                                                                                          Array of styles imported from external sources

                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                          initialStyles?: BaseXmlComponent

                                                                                                                                                                                                                                                                                          Initial base XML component for styles root element

                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                          paragraphStyles?: readonly IParagraphStyleOptions[]

                                                                                                                                                                                                                                                                                          Array of custom paragraph style definitions

                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                          diff --git a/api/types/ISymbolRunOptions.html b/api/types/ISymbolRunOptions.html index ef46ea07b5..be01c45a60 100644 --- a/api/types/ISymbolRunOptions.html +++ b/api/types/ISymbolRunOptions.html @@ -2,4 +2,4 @@

                                                                                                                                                                                                                                                                                          Type Declaration

                                                                                                                                                                                                                                                                                          • Readonlychar: string

                                                                                                                                                                                                                                                                                            The Unicode character code for the symbol

                                                                                                                                                                                                                                                                                          • Optional Readonlysymbolfont?: string

                                                                                                                                                                                                                                                                                            The font to use for the symbol (e.g., "Wingdings", "Symbol")

                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                          diff --git a/api/types/ITableBordersOptions.html b/api/types/ITableBordersOptions.html index 0bc22d9f0a..8e7fdd90a5 100644 --- a/api/types/ITableBordersOptions.html +++ b/api/types/ITableBordersOptions.html @@ -1,10 +1,10 @@ ITableBordersOptions | docx
                                                                                                                                                                                                                                                                                          docx
                                                                                                                                                                                                                                                                                            Preparing search index...

                                                                                                                                                                                                                                                                                            Type Alias ITableBordersOptions

                                                                                                                                                                                                                                                                                            Options for configuring table borders.

                                                                                                                                                                                                                                                                                            Borders can be applied to the outside edges (top, bottom, left, right) and inside lines (insideHorizontal, insideVertical) of the table.

                                                                                                                                                                                                                                                                                            -
                                                                                                                                                                                                                                                                                            type ITableBordersOptions = {
                                                                                                                                                                                                                                                                                                bottom?: IBorderOptions;
                                                                                                                                                                                                                                                                                                insideHorizontal?: IBorderOptions;
                                                                                                                                                                                                                                                                                                insideVertical?: IBorderOptions;
                                                                                                                                                                                                                                                                                                left?: IBorderOptions;
                                                                                                                                                                                                                                                                                                right?: IBorderOptions;
                                                                                                                                                                                                                                                                                                top?: IBorderOptions;
                                                                                                                                                                                                                                                                                            }
                                                                                                                                                                                                                                                                                            Index

                                                                                                                                                                                                                                                                                            Properties

                                                                                                                                                                                                                                                                                            type ITableBordersOptions = {
                                                                                                                                                                                                                                                                                                bottom?: IBorderOptions;
                                                                                                                                                                                                                                                                                                insideHorizontal?: IBorderOptions;
                                                                                                                                                                                                                                                                                                insideVertical?: IBorderOptions;
                                                                                                                                                                                                                                                                                                left?: IBorderOptions;
                                                                                                                                                                                                                                                                                                right?: IBorderOptions;
                                                                                                                                                                                                                                                                                                top?: IBorderOptions;
                                                                                                                                                                                                                                                                                            }
                                                                                                                                                                                                                                                                                            Index

                                                                                                                                                                                                                                                                                            Properties

                                                                                                                                                                                                                                                                                            insideHorizontal?: IBorderOptions
                                                                                                                                                                                                                                                                                            insideVertical?: IBorderOptions
                                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                                            Properties

                                                                                                                                                                                                                                                                                            insideHorizontal?: IBorderOptions
                                                                                                                                                                                                                                                                                            insideVertical?: IBorderOptions
                                                                                                                                                                                                                                                                                            diff --git a/api/types/ITableCellBorders.html b/api/types/ITableCellBorders.html index a3fb12c1f9..f611fd0397 100644 --- a/api/types/ITableCellBorders.html +++ b/api/types/ITableCellBorders.html @@ -2,16 +2,16 @@

                                                                                                                                                                                                                                                                                            Defines border settings for individual edges of a table cell. Border settings can be specified for top, bottom, left, right, start, and end edges.

                                                                                                                                                                                                                                                                                            type ITableCellBorders = {
                                                                                                                                                                                                                                                                                                bottom?: IBorderOptions;
                                                                                                                                                                                                                                                                                                end?: IBorderOptions;
                                                                                                                                                                                                                                                                                                left?: IBorderOptions;
                                                                                                                                                                                                                                                                                                right?: IBorderOptions;
                                                                                                                                                                                                                                                                                                start?: IBorderOptions;
                                                                                                                                                                                                                                                                                                top?: IBorderOptions;
                                                                                                                                                                                                                                                                                            }
                                                                                                                                                                                                                                                                                            Index

                                                                                                                                                                                                                                                                                            Properties

                                                                                                                                                                                                                                                                                            type ITableCellBorders = {
                                                                                                                                                                                                                                                                                                bottom?: IBorderOptions;
                                                                                                                                                                                                                                                                                                end?: IBorderOptions;
                                                                                                                                                                                                                                                                                                left?: IBorderOptions;
                                                                                                                                                                                                                                                                                                right?: IBorderOptions;
                                                                                                                                                                                                                                                                                                start?: IBorderOptions;
                                                                                                                                                                                                                                                                                                top?: IBorderOptions;
                                                                                                                                                                                                                                                                                            }
                                                                                                                                                                                                                                                                                            Index

                                                                                                                                                                                                                                                                                            Properties

                                                                                                                                                                                                                                                                                            Border for the bottom edge of the cell

                                                                                                                                                                                                                                                                                            -

                                                                                                                                                                                                                                                                                            Border for the end edge (right in LTR, left in RTL)

                                                                                                                                                                                                                                                                                            -

                                                                                                                                                                                                                                                                                            Border for the left edge of the cell

                                                                                                                                                                                                                                                                                            -

                                                                                                                                                                                                                                                                                            Border for the right edge of the cell

                                                                                                                                                                                                                                                                                            -

                                                                                                                                                                                                                                                                                            Border for the start edge (left in LTR, right in RTL)

                                                                                                                                                                                                                                                                                            -

                                                                                                                                                                                                                                                                                            Border for the top edge of the cell

                                                                                                                                                                                                                                                                                            -
                                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                                            Border for the end edge (right in LTR, left in RTL)

                                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                                            Border for the left edge of the cell

                                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                                            Border for the right edge of the cell

                                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                                            Border for the start edge (left in LTR, right in RTL)

                                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                                            Border for the top edge of the cell

                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                            diff --git a/api/types/ITableCellOptions.html b/api/types/ITableCellOptions.html index e3722abff4..0ea34bfcf1 100644 --- a/api/types/ITableCellOptions.html +++ b/api/types/ITableCellOptions.html @@ -1,4 +1,4 @@ ITableCellOptions | docx
                                                                                                                                                                                                                                                                                            docx
                                                                                                                                                                                                                                                                                              Preparing search index...

                                                                                                                                                                                                                                                                                              Type Alias ITableCellOptions

                                                                                                                                                                                                                                                                                              ITableCellOptions: { children: readonly (Paragraph | Table)[] } & ITableCellPropertiesOptions

                                                                                                                                                                                                                                                                                              Options for creating a TableCell element.

                                                                                                                                                                                                                                                                                              Type Declaration

                                                                                                                                                                                                                                                                                              • Readonlychildren: readonly (Paragraph | Table)[]

                                                                                                                                                                                                                                                                                                Array of Paragraph or nested Table elements that make up the cell content

                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                              diff --git a/api/types/ITableFloatOptions.html b/api/types/ITableFloatOptions.html index aa07cf7da6..50552d2a31 100644 --- a/api/types/ITableFloatOptions.html +++ b/api/types/ITableFloatOptions.html @@ -1,4 +1,4 @@ -ITableFloatOptions | docx
                                                                                                                                                                                                                                                                                              docx
                                                                                                                                                                                                                                                                                                Preparing search index...

                                                                                                                                                                                                                                                                                                Type Alias ITableFloatOptions

                                                                                                                                                                                                                                                                                                Index

                                                                                                                                                                                                                                                                                                Properties

                                                                                                                                                                                                                                                                                                absoluteHorizontalPosition? +ITableFloatOptions | docx
                                                                                                                                                                                                                                                                                                docx
                                                                                                                                                                                                                                                                                                  Preparing search index...

                                                                                                                                                                                                                                                                                                  Type Alias ITableFloatOptions

                                                                                                                                                                                                                                                                                                  Index

                                                                                                                                                                                                                                                                                                  Properties

                                                                                                                                                                                                                                                                                                  absoluteHorizontalPosition? absoluteVerticalPosition? bottomFromText? horizontalAnchor? @@ -14,22 +14,22 @@ The value is in twentieths of a point. Note that the value can be negative, in w table is positioned before the anchor object in the direction of horizontal text flow. If relativeHorizontalPosition is also specified, then the absoluteHorizontalPosition attribute is ignored. If the attribute is omitted, the value is assumed to be zero.

                                                                                                                                                                                                                                                                                                  -
                                                                                                                                                                                                                                                                                                  absoluteVerticalPosition?: number | UniversalMeasure

                                                                                                                                                                                                                                                                                                  Specifies an absolute vertical position for the table, relative to the verticalAnchor anchor. +

                                                                                                                                                                                                                                                                                                  absoluteVerticalPosition?: number | UniversalMeasure

                                                                                                                                                                                                                                                                                                  Specifies an absolute vertical position for the table, relative to the verticalAnchor anchor. The value is in twentieths of a point. Note that the value can be negative, in which case the table is positioned before the anchor object in the direction of vertical text flow. If relativeVerticalPosition is also specified, then the absoluteVerticalPosition attribute is ignored. If the attribute is omitted, the value is assumed to be zero.

                                                                                                                                                                                                                                                                                                  -
                                                                                                                                                                                                                                                                                                  bottomFromText?: number | PositiveUniversalMeasure

                                                                                                                                                                                                                                                                                                  Specifies the minimum distance to be maintained between the table and the top of text in the paragraph +

                                                                                                                                                                                                                                                                                                  bottomFromText?: number | PositiveUniversalMeasure

                                                                                                                                                                                                                                                                                                  Specifies the minimum distance to be maintained between the table and the top of text in the paragraph below the table. The value is in twentieths of a point. If omitted, the value is assumed to be zero.

                                                                                                                                                                                                                                                                                                  -
                                                                                                                                                                                                                                                                                                  horizontalAnchor?: typeof TableAnchorType[keyof typeof TableAnchorType]

                                                                                                                                                                                                                                                                                                  Specifies the horizontal anchor or the base object from which the horizontal positioning in the +

                                                                                                                                                                                                                                                                                                  horizontalAnchor?: typeof TableAnchorType[keyof typeof TableAnchorType]

                                                                                                                                                                                                                                                                                                  Specifies the horizontal anchor or the base object from which the horizontal positioning in the tblpX or tblpXSpec attribute should be determined. margin - relative to the vertical edge of the text margin before any text runs (left edge for left-to-right paragraphs) page - relative to the vertical edge of the page before any text runs (left edge for left-to-right paragraphs) text - relative to the vertical edge of the text margin for the column in which the anchor paragraph is located If omitted, the value is assumed to be page.

                                                                                                                                                                                                                                                                                                  -
                                                                                                                                                                                                                                                                                                  leftFromText?: number | PositiveUniversalMeasure

                                                                                                                                                                                                                                                                                                  Specifies the minimum distance to be maintained between the table and the edge of text in the paragraph +

                                                                                                                                                                                                                                                                                                  leftFromText?: number | PositiveUniversalMeasure

                                                                                                                                                                                                                                                                                                  Specifies the minimum distance to be maintained between the table and the edge of text in the paragraph to the left of the table. The value is in twentieths of a point. If omitted, the value is assumed to be zero.

                                                                                                                                                                                                                                                                                                  -
                                                                                                                                                                                                                                                                                                  overlap?: typeof OverlapType[keyof typeof OverlapType]
                                                                                                                                                                                                                                                                                                  relativeHorizontalPosition?: typeof RelativeHorizontalPosition[keyof typeof RelativeHorizontalPosition]

                                                                                                                                                                                                                                                                                                  Specifies a relative horizontal position for the table, relative to the horizontalAnchor attribute. +

                                                                                                                                                                                                                                                                                                  overlap?: typeof OverlapType[keyof typeof OverlapType]
                                                                                                                                                                                                                                                                                                  relativeHorizontalPosition?: typeof RelativeHorizontalPosition[keyof typeof RelativeHorizontalPosition]

                                                                                                                                                                                                                                                                                                  Specifies a relative horizontal position for the table, relative to the horizontalAnchor attribute. This will supersede the absoluteHorizontalPosition attribute. Possible values are: center - the table should be horizontally centered with respect to the anchor @@ -37,7 +37,7 @@ inside - the table should be inside of the anchor left - the table should be left aligned with respect to the anchor outside - the table should be outside of the anchor right - the table should be right aligned with respect to the anchor

                                                                                                                                                                                                                                                                                                  -
                                                                                                                                                                                                                                                                                                  relativeVerticalPosition?: typeof RelativeVerticalPosition[keyof typeof RelativeVerticalPosition]

                                                                                                                                                                                                                                                                                                  Specifies a relative vertical position for the table, relative to the verticalAnchor attribute. +

                                                                                                                                                                                                                                                                                                  relativeVerticalPosition?: typeof RelativeVerticalPosition[keyof typeof RelativeVerticalPosition]

                                                                                                                                                                                                                                                                                                  Specifies a relative vertical position for the table, relative to the verticalAnchor attribute. This will supersede the absoluteVerticalPosition attribute. Possible values are: center - the table should be vertically centered with respect to the anchor inside - the table should be vertically aligned to the edge of the anchor and inside the anchor @@ -45,14 +45,14 @@ bottom - the table should be vertically aligned to the bottom edge of the anchor outside - the table should be vertically aligned to the edge of the anchor and outside the anchor inline - the table should be vertically aligned in line with the surrounding text (so as to not allow any text wrapping around it) top - the table should be vertically aligned to the top edge of the anchor

                                                                                                                                                                                                                                                                                                  -
                                                                                                                                                                                                                                                                                                  rightFromText?: number | PositiveUniversalMeasure

                                                                                                                                                                                                                                                                                                  Specifies the minimum distance to be maintained between the table and the edge of text in the paragraph +

                                                                                                                                                                                                                                                                                                  rightFromText?: number | PositiveUniversalMeasure

                                                                                                                                                                                                                                                                                                  Specifies the minimum distance to be maintained between the table and the edge of text in the paragraph to the right of the table. The value is in twentieths of a point. If omitted, the value is assumed to be zero.

                                                                                                                                                                                                                                                                                                  -
                                                                                                                                                                                                                                                                                                  topFromText?: number | PositiveUniversalMeasure

                                                                                                                                                                                                                                                                                                  Specifies the minimum distance to be maintained between the table and the bottom edge of text in the paragraph +

                                                                                                                                                                                                                                                                                                  topFromText?: number | PositiveUniversalMeasure

                                                                                                                                                                                                                                                                                                  Specifies the minimum distance to be maintained between the table and the bottom edge of text in the paragraph above the table. The value is in twentieths of a point. If omitted, the value is assumed to be zero.

                                                                                                                                                                                                                                                                                                  -
                                                                                                                                                                                                                                                                                                  verticalAnchor?: typeof TableAnchorType[keyof typeof TableAnchorType]

                                                                                                                                                                                                                                                                                                  Specifies the vertical anchor or the base object from which the vertical positioning +

                                                                                                                                                                                                                                                                                                  verticalAnchor?: typeof TableAnchorType[keyof typeof TableAnchorType]

                                                                                                                                                                                                                                                                                                  Specifies the vertical anchor or the base object from which the vertical positioning in the absoluteVerticalPosition attribute should be determined. Possible values are: margin - relative to the horizontal edge of the text margin before any text runs (top edge for top-to-bottom paragraphs) page - relative to the horizontal edge of the page before any text runs (top edge for top-to-bottom paragraphs) text - relative to the horizontal edge of the text margin for the column in which the anchor paragraph is located If omitted, the value is assumed to be page.

                                                                                                                                                                                                                                                                                                  -
                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                  diff --git a/api/types/ITableLookOptions.html b/api/types/ITableLookOptions.html index 0c9049b7e5..b93456666e 100644 --- a/api/types/ITableLookOptions.html +++ b/api/types/ITableLookOptions.html @@ -6,7 +6,7 @@ determine whether that special formatting is visible.

                                                                                                                                                                                                                                                                                                  // Apply header row and first column formatting with horizontal banding
                                                                                                                                                                                                                                                                                                  const tableLook: ITableLookOptions = {
                                                                                                                                                                                                                                                                                                  firstRow: true, // Apply header row formatting
                                                                                                                                                                                                                                                                                                  firstColumn: true, // Apply first column formatting
                                                                                                                                                                                                                                                                                                  noHBand: false, // Enable horizontal row banding
                                                                                                                                                                                                                                                                                                  noVBand: true, // Disable vertical column banding
                                                                                                                                                                                                                                                                                                  };
                                                                                                                                                                                                                                                                                                  -
                                                                                                                                                                                                                                                                                                  type ITableLookOptions = {
                                                                                                                                                                                                                                                                                                      firstColumn?: boolean;
                                                                                                                                                                                                                                                                                                      firstRow?: boolean;
                                                                                                                                                                                                                                                                                                      lastColumn?: boolean;
                                                                                                                                                                                                                                                                                                      lastRow?: boolean;
                                                                                                                                                                                                                                                                                                      noHBand?: boolean;
                                                                                                                                                                                                                                                                                                      noVBand?: boolean;
                                                                                                                                                                                                                                                                                                  }
                                                                                                                                                                                                                                                                                                  Index

                                                                                                                                                                                                                                                                                                  Properties

                                                                                                                                                                                                                                                                                                  type ITableLookOptions = {
                                                                                                                                                                                                                                                                                                      firstColumn?: boolean;
                                                                                                                                                                                                                                                                                                      firstRow?: boolean;
                                                                                                                                                                                                                                                                                                      lastColumn?: boolean;
                                                                                                                                                                                                                                                                                                      lastRow?: boolean;
                                                                                                                                                                                                                                                                                                      noHBand?: boolean;
                                                                                                                                                                                                                                                                                                      noVBand?: boolean;
                                                                                                                                                                                                                                                                                                  }
                                                                                                                                                                                                                                                                                                  Index

                                                                                                                                                                                                                                                                                                  Properties

                                                                                                                                                                                                                                                                                                  firstColumn? firstRow? lastColumn? lastRow? @@ -15,19 +15,19 @@ determine whether that special formatting is visible.

                                                                                                                                                                                                                                                                                                  Properties

                                                                                                                                                                                                                                                                                                  firstColumn?: boolean

                                                                                                                                                                                                                                                                                                  Apply first column conditional formatting. When true, the first column of the table uses the special formatting defined for first columns in the table style.

                                                                                                                                                                                                                                                                                                  -
                                                                                                                                                                                                                                                                                                  firstRow?: boolean

                                                                                                                                                                                                                                                                                                  Apply first row conditional formatting. +

                                                                                                                                                                                                                                                                                                  firstRow?: boolean

                                                                                                                                                                                                                                                                                                  Apply first row conditional formatting. When true, the first row of the table uses the special formatting defined for header rows in the table style.

                                                                                                                                                                                                                                                                                                  -
                                                                                                                                                                                                                                                                                                  lastColumn?: boolean

                                                                                                                                                                                                                                                                                                  Apply last column conditional formatting. +

                                                                                                                                                                                                                                                                                                  lastColumn?: boolean

                                                                                                                                                                                                                                                                                                  Apply last column conditional formatting. When true, the last column of the table uses the special formatting defined for last columns in the table style.

                                                                                                                                                                                                                                                                                                  -
                                                                                                                                                                                                                                                                                                  lastRow?: boolean

                                                                                                                                                                                                                                                                                                  Apply last row conditional formatting. +

                                                                                                                                                                                                                                                                                                  lastRow?: boolean

                                                                                                                                                                                                                                                                                                  Apply last row conditional formatting. When true, the last row of the table uses the special formatting defined for total/footer rows in the table style.

                                                                                                                                                                                                                                                                                                  -
                                                                                                                                                                                                                                                                                                  noHBand?: boolean

                                                                                                                                                                                                                                                                                                  Disable horizontal row banding. +

                                                                                                                                                                                                                                                                                                  noHBand?: boolean

                                                                                                                                                                                                                                                                                                  Disable horizontal row banding. When true, horizontal banding (alternating row colors) is disabled. When false or undefined, horizontal banding is enabled if defined in the table style.

                                                                                                                                                                                                                                                                                                  -
                                                                                                                                                                                                                                                                                                  noVBand?: boolean

                                                                                                                                                                                                                                                                                                  Disable vertical column banding. +

                                                                                                                                                                                                                                                                                                  noVBand?: boolean

                                                                                                                                                                                                                                                                                                  Disable vertical column banding. When true, vertical banding (alternating column colors) is disabled. When false or undefined, vertical banding is enabled if defined in the table style.

                                                                                                                                                                                                                                                                                                  -
                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                  diff --git a/api/types/ITableOfContentsOptions.html b/api/types/ITableOfContentsOptions.html index 3186b50d3f..f079e36a67 100644 --- a/api/types/ITableOfContentsOptions.html +++ b/api/types/ITableOfContentsOptions.html @@ -6,7 +6,7 @@ Options correspond to field switches in the TOC field code.

                                                                                                                                                                                                                                                                                                • https://www.ecma-international.org/publications/standards/Ecma-376.htm (Part 1, Page 1251)
                                                                                                                                                                                                                                                                                                • http://officeopenxml.com/WPtableOfContents.php
                                                                                                                                                                                                                                                                                                • -
                                                                                                                                                                                                                                                                                                  type ITableOfContentsOptions = {
                                                                                                                                                                                                                                                                                                      captionLabel?: string;
                                                                                                                                                                                                                                                                                                      captionLabelIncludingNumbers?: string;
                                                                                                                                                                                                                                                                                                      entriesFromBookmark?: string;
                                                                                                                                                                                                                                                                                                      entryAndPageNumberSeparator?: string;
                                                                                                                                                                                                                                                                                                      headingStyleRange?: string;
                                                                                                                                                                                                                                                                                                      hideTabAndPageNumbersInWebView?: boolean;
                                                                                                                                                                                                                                                                                                      hyperlink?: boolean;
                                                                                                                                                                                                                                                                                                      pageNumbersEntryLevelsRange?: string;
                                                                                                                                                                                                                                                                                                      preserveNewLineInEntries?: boolean;
                                                                                                                                                                                                                                                                                                      preserveTabInEntries?: boolean;
                                                                                                                                                                                                                                                                                                      seqFieldIdentifierForPrefix?: string;
                                                                                                                                                                                                                                                                                                      sequenceAndPageNumbersSeparator?: string;
                                                                                                                                                                                                                                                                                                      stylesWithLevels?: readonly StyleLevel[];
                                                                                                                                                                                                                                                                                                      tcFieldIdentifier?: string;
                                                                                                                                                                                                                                                                                                      tcFieldLevelRange?: string;
                                                                                                                                                                                                                                                                                                      useAppliedParagraphOutlineLevel?: boolean;
                                                                                                                                                                                                                                                                                                  }
                                                                                                                                                                                                                                                                                                  Index

                                                                                                                                                                                                                                                                                                  Properties

                                                                                                                                                                                                                                                                                                  type ITableOfContentsOptions = {
                                                                                                                                                                                                                                                                                                      captionLabel?: string;
                                                                                                                                                                                                                                                                                                      captionLabelIncludingNumbers?: string;
                                                                                                                                                                                                                                                                                                      entriesFromBookmark?: string;
                                                                                                                                                                                                                                                                                                      entryAndPageNumberSeparator?: string;
                                                                                                                                                                                                                                                                                                      headingStyleRange?: string;
                                                                                                                                                                                                                                                                                                      hideTabAndPageNumbersInWebView?: boolean;
                                                                                                                                                                                                                                                                                                      hyperlink?: boolean;
                                                                                                                                                                                                                                                                                                      pageNumbersEntryLevelsRange?: string;
                                                                                                                                                                                                                                                                                                      preserveNewLineInEntries?: boolean;
                                                                                                                                                                                                                                                                                                      preserveTabInEntries?: boolean;
                                                                                                                                                                                                                                                                                                      seqFieldIdentifierForPrefix?: string;
                                                                                                                                                                                                                                                                                                      sequenceAndPageNumbersSeparator?: string;
                                                                                                                                                                                                                                                                                                      stylesWithLevels?: readonly StyleLevel[];
                                                                                                                                                                                                                                                                                                      tcFieldIdentifier?: string;
                                                                                                                                                                                                                                                                                                      tcFieldLevelRange?: string;
                                                                                                                                                                                                                                                                                                      useAppliedParagraphOutlineLevel?: boolean;
                                                                                                                                                                                                                                                                                                  }
                                                                                                                                                                                                                                                                                                  Index

                                                                                                                                                                                                                                                                                                  Properties

                                                                                                                                                                                                                                                                                                  captionLabel? captionLabelIncludingNumbers? entriesFromBookmark? entryAndPageNumberSeparator? @@ -25,40 +25,40 @@ Options correspond to field switches in the TOC field code.

                                                                                                                                                                                                                                                                                                  Properties

                                                                                                                                                                                                                                                                                                  captionLabel?: string

                                                                                                                                                                                                                                                                                                  \a option - Includes captioned items, but omits caption labels and numbers. The identifier designated by text in this switch's field-argument corresponds to the caption label. Use captionLabelIncludingNumbers (\c) to build a table of captions with labels and numbers.

                                                                                                                                                                                                                                                                                                  -
                                                                                                                                                                                                                                                                                                  captionLabelIncludingNumbers?: string

                                                                                                                                                                                                                                                                                                  \c option - Includes figures, tables, charts, and other items that are numbered +

                                                                                                                                                                                                                                                                                                  captionLabelIncludingNumbers?: string

                                                                                                                                                                                                                                                                                                  \c option - Includes figures, tables, charts, and other items that are numbered by a SEQ field (§17.16.5.56). The sequence identifier designated by text in this switch's field-argument, which corresponds to the caption label, shall match the identifier in the corresponding SEQ field.

                                                                                                                                                                                                                                                                                                  -
                                                                                                                                                                                                                                                                                                  entriesFromBookmark?: string

                                                                                                                                                                                                                                                                                                  \b option - Includes entries only from the portion of the document marked by +

                                                                                                                                                                                                                                                                                                  entriesFromBookmark?: string

                                                                                                                                                                                                                                                                                                  \b option - Includes entries only from the portion of the document marked by the bookmark named by text in this switch's field-argument.

                                                                                                                                                                                                                                                                                                  -
                                                                                                                                                                                                                                                                                                  entryAndPageNumberSeparator?: string

                                                                                                                                                                                                                                                                                                  \p option - Text in this switch's field-argument specifies a sequence of characters +

                                                                                                                                                                                                                                                                                                  entryAndPageNumberSeparator?: string

                                                                                                                                                                                                                                                                                                  \p option - Text in this switch's field-argument specifies a sequence of characters that separate an entry and its page number. The default is a tab with leader dots.

                                                                                                                                                                                                                                                                                                  -
                                                                                                                                                                                                                                                                                                  headingStyleRange?: string

                                                                                                                                                                                                                                                                                                  \o option - Uses paragraphs formatted with all or the specified range of builtin +

                                                                                                                                                                                                                                                                                                  headingStyleRange?: string

                                                                                                                                                                                                                                                                                                  \o option - Uses paragraphs formatted with all or the specified range of builtin heading styles. Headings in a style range are specified by text in this switch's field-argument using the notation specified as for \l, where each integer corresponds to the style with a style ID of HeadingX (e.g. 1 corresponds to Heading1). If no heading range is specified, all heading levels used in the document are listed.

                                                                                                                                                                                                                                                                                                  -
                                                                                                                                                                                                                                                                                                  hideTabAndPageNumbersInWebView?: boolean

                                                                                                                                                                                                                                                                                                  \z Hides tab leader and page numbers in web page view (§17.18.102).

                                                                                                                                                                                                                                                                                                  -
                                                                                                                                                                                                                                                                                                  hyperlink?: boolean

                                                                                                                                                                                                                                                                                                  \h option - Makes the table of contents entries hyperlinks.

                                                                                                                                                                                                                                                                                                  -
                                                                                                                                                                                                                                                                                                  pageNumbersEntryLevelsRange?: string

                                                                                                                                                                                                                                                                                                  \n option - Without field-argument, omits page numbers from the table of contents. +

                                                                                                                                                                                                                                                                                                  hideTabAndPageNumbersInWebView?: boolean

                                                                                                                                                                                                                                                                                                  \z Hides tab leader and page numbers in web page view (§17.18.102).

                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                  hyperlink?: boolean

                                                                                                                                                                                                                                                                                                  \h option - Makes the table of contents entries hyperlinks.

                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                  pageNumbersEntryLevelsRange?: string

                                                                                                                                                                                                                                                                                                  \n option - Without field-argument, omits page numbers from the table of contents. Page numbers are omitted from all levels unless a range of entry levels is specified by text in this switch's field-argument. A range is specified as for \l.

                                                                                                                                                                                                                                                                                                  -
                                                                                                                                                                                                                                                                                                  preserveNewLineInEntries?: boolean

                                                                                                                                                                                                                                                                                                  \x Preserves newline characters within table entries.

                                                                                                                                                                                                                                                                                                  -
                                                                                                                                                                                                                                                                                                  preserveTabInEntries?: boolean

                                                                                                                                                                                                                                                                                                  \w Preserves tab entries within table entries.

                                                                                                                                                                                                                                                                                                  -
                                                                                                                                                                                                                                                                                                  seqFieldIdentifierForPrefix?: string

                                                                                                                                                                                                                                                                                                  \s option - For entries numbered with a SEQ field (§17.16.5.56), adds a prefix to the page number. +

                                                                                                                                                                                                                                                                                                  preserveNewLineInEntries?: boolean

                                                                                                                                                                                                                                                                                                  \x Preserves newline characters within table entries.

                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                  preserveTabInEntries?: boolean

                                                                                                                                                                                                                                                                                                  \w Preserves tab entries within table entries.

                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                  seqFieldIdentifierForPrefix?: string

                                                                                                                                                                                                                                                                                                  \s option - For entries numbered with a SEQ field (§17.16.5.56), adds a prefix to the page number. The prefix depends on the type of entry. text in this switch's field-argument shall match the identifier in the SEQ field.

                                                                                                                                                                                                                                                                                                  -
                                                                                                                                                                                                                                                                                                  sequenceAndPageNumbersSeparator?: string

                                                                                                                                                                                                                                                                                                  \d option - When used with \s, the text in this switch's field-argument defines +

                                                                                                                                                                                                                                                                                                  sequenceAndPageNumbersSeparator?: string

                                                                                                                                                                                                                                                                                                  \d option - When used with \s, the text in this switch's field-argument defines the separator between sequence and page numbers. The default separator is a hyphen (-).

                                                                                                                                                                                                                                                                                                  -
                                                                                                                                                                                                                                                                                                  stylesWithLevels?: readonly StyleLevel[]

                                                                                                                                                                                                                                                                                                  \t field-argument Uses paragraphs formatted with styles other than the built-in heading styles. +

                                                                                                                                                                                                                                                                                                  stylesWithLevels?: readonly StyleLevel[]

                                                                                                                                                                                                                                                                                                  \t field-argument Uses paragraphs formatted with styles other than the built-in heading styles. Text in this switch's field-argument specifies those styles as a set of comma-separated doublets, with each doublet being a comma-separated set of style name and table of content level. \t can be combined with \o.

                                                                                                                                                                                                                                                                                                  -
                                                                                                                                                                                                                                                                                                  tcFieldIdentifier?: string

                                                                                                                                                                                                                                                                                                  \f option - Includes only those TC fields whose identifier exactly matches the +

                                                                                                                                                                                                                                                                                                  tcFieldIdentifier?: string

                                                                                                                                                                                                                                                                                                  \f option - Includes only those TC fields whose identifier exactly matches the text in this switch's field-argument (which is typically a letter).

                                                                                                                                                                                                                                                                                                  -
                                                                                                                                                                                                                                                                                                  tcFieldLevelRange?: string

                                                                                                                                                                                                                                                                                                  \l option - Includes TC fields that assign entries to one of the levels specified +

                                                                                                                                                                                                                                                                                                  tcFieldLevelRange?: string

                                                                                                                                                                                                                                                                                                  \l option - Includes TC fields that assign entries to one of the levels specified by text in this switch's field-argument as a range having the form startLevel-endLevel, where startLevel and endLevel are integers, and startLevel has a value equal-to or less-than endLevel. TC fields that assign entries to lower levels are skipped.

                                                                                                                                                                                                                                                                                                  -
                                                                                                                                                                                                                                                                                                  useAppliedParagraphOutlineLevel?: boolean

                                                                                                                                                                                                                                                                                                  \u Uses the applied paragraph outline level.

                                                                                                                                                                                                                                                                                                  -
                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                  useAppliedParagraphOutlineLevel?: boolean

                                                                                                                                                                                                                                                                                                  \u Uses the applied paragraph outline level.

                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                  diff --git a/api/types/ITableOptions.html b/api/types/ITableOptions.html index d4364dce22..47d4598275 100644 --- a/api/types/ITableOptions.html +++ b/api/types/ITableOptions.html @@ -8,7 +8,7 @@ means even in 'auto' layout, setting a width on the table will make it look reasonable, as the layout algorithm will expand columns to fit its content.

                                                                                                                                                                                                                                                                                                  Table

                                                                                                                                                                                                                                                                                                  -
                                                                                                                                                                                                                                                                                                  type ITableOptions = {
                                                                                                                                                                                                                                                                                                      alignment?: typeof AlignmentType[keyof typeof AlignmentType];
                                                                                                                                                                                                                                                                                                      borders?: ITableBordersOptions;
                                                                                                                                                                                                                                                                                                      cellSpacing?: ITableCellSpacingProperties;
                                                                                                                                                                                                                                                                                                      columnWidths?: readonly number[];
                                                                                                                                                                                                                                                                                                      columnWidthsRevision?: ITableGridChangeOptions;
                                                                                                                                                                                                                                                                                                      float?: ITableFloatOptions;
                                                                                                                                                                                                                                                                                                      indent?: ITableWidthProperties;
                                                                                                                                                                                                                                                                                                      layout?: typeof TableLayoutType[keyof typeof TableLayoutType];
                                                                                                                                                                                                                                                                                                      margins?: ITableCellMarginOptions;
                                                                                                                                                                                                                                                                                                      revision?: ITablePropertiesChangeOptions;
                                                                                                                                                                                                                                                                                                      rows: readonly TableRow[];
                                                                                                                                                                                                                                                                                                      style?: string;
                                                                                                                                                                                                                                                                                                      tableLook?: ITableLookOptions;
                                                                                                                                                                                                                                                                                                      visuallyRightToLeft?: boolean;
                                                                                                                                                                                                                                                                                                      width?: ITableWidthProperties;
                                                                                                                                                                                                                                                                                                  }
                                                                                                                                                                                                                                                                                                  Index

                                                                                                                                                                                                                                                                                                  Properties

                                                                                                                                                                                                                                                                                                  type ITableOptions = {
                                                                                                                                                                                                                                                                                                      alignment?: typeof AlignmentType[keyof typeof AlignmentType];
                                                                                                                                                                                                                                                                                                      borders?: ITableBordersOptions;
                                                                                                                                                                                                                                                                                                      cellSpacing?: ITableCellSpacingProperties;
                                                                                                                                                                                                                                                                                                      columnWidths?: readonly number[];
                                                                                                                                                                                                                                                                                                      columnWidthsRevision?: ITableGridChangeOptions;
                                                                                                                                                                                                                                                                                                      float?: ITableFloatOptions;
                                                                                                                                                                                                                                                                                                      indent?: ITableWidthProperties;
                                                                                                                                                                                                                                                                                                      layout?: typeof TableLayoutType[keyof typeof TableLayoutType];
                                                                                                                                                                                                                                                                                                      margins?: ITableCellMarginOptions;
                                                                                                                                                                                                                                                                                                      revision?: ITablePropertiesChangeOptions;
                                                                                                                                                                                                                                                                                                      rows: readonly TableRow[];
                                                                                                                                                                                                                                                                                                      style?: string;
                                                                                                                                                                                                                                                                                                      tableLook?: ITableLookOptions;
                                                                                                                                                                                                                                                                                                      visuallyRightToLeft?: boolean;
                                                                                                                                                                                                                                                                                                      width?: ITableWidthProperties;
                                                                                                                                                                                                                                                                                                  }
                                                                                                                                                                                                                                                                                                  Index

                                                                                                                                                                                                                                                                                                  Properties

                                                                                                                                                                                                                                                                                                  alignment? borders? cellSpacing? columnWidths? @@ -23,4 +23,4 @@ algorithm will expand columns to fit its content.

                                                                                                                                                                                                                                                                                                  tableLook? visuallyRightToLeft? width? -

                                                                                                                                                                                                                                                                                                  Properties

                                                                                                                                                                                                                                                                                                  alignment?: typeof AlignmentType[keyof typeof AlignmentType]
                                                                                                                                                                                                                                                                                                  cellSpacing?: ITableCellSpacingProperties
                                                                                                                                                                                                                                                                                                  columnWidths?: readonly number[]
                                                                                                                                                                                                                                                                                                  columnWidthsRevision?: ITableGridChangeOptions
                                                                                                                                                                                                                                                                                                  layout?: typeof TableLayoutType[keyof typeof TableLayoutType]
                                                                                                                                                                                                                                                                                                  margins?: ITableCellMarginOptions
                                                                                                                                                                                                                                                                                                  rows: readonly TableRow[]
                                                                                                                                                                                                                                                                                                  style?: string
                                                                                                                                                                                                                                                                                                  tableLook?: ITableLookOptions
                                                                                                                                                                                                                                                                                                  visuallyRightToLeft?: boolean
                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                  Properties

                                                                                                                                                                                                                                                                                                  alignment?: typeof AlignmentType[keyof typeof AlignmentType]
                                                                                                                                                                                                                                                                                                  cellSpacing?: ITableCellSpacingProperties
                                                                                                                                                                                                                                                                                                  columnWidths?: readonly number[]
                                                                                                                                                                                                                                                                                                  columnWidthsRevision?: ITableGridChangeOptions
                                                                                                                                                                                                                                                                                                  layout?: typeof TableLayoutType[keyof typeof TableLayoutType]
                                                                                                                                                                                                                                                                                                  margins?: ITableCellMarginOptions
                                                                                                                                                                                                                                                                                                  rows: readonly TableRow[]
                                                                                                                                                                                                                                                                                                  style?: string
                                                                                                                                                                                                                                                                                                  tableLook?: ITableLookOptions
                                                                                                                                                                                                                                                                                                  visuallyRightToLeft?: boolean
                                                                                                                                                                                                                                                                                                  diff --git a/api/types/ITablePropertiesChangeOptions.html b/api/types/ITablePropertiesChangeOptions.html index 09ab8d6172..8d3aee6245 100644 --- a/api/types/ITablePropertiesChangeOptions.html +++ b/api/types/ITablePropertiesChangeOptions.html @@ -1 +1 @@ -ITablePropertiesChangeOptions | docx
                                                                                                                                                                                                                                                                                                  docx
                                                                                                                                                                                                                                                                                                    Preparing search index...

                                                                                                                                                                                                                                                                                                    Type Alias ITablePropertiesChangeOptions

                                                                                                                                                                                                                                                                                                    ITablePropertiesChangeOptions: ITablePropertiesOptions & IChangedAttributesProperties
                                                                                                                                                                                                                                                                                                    +ITablePropertiesChangeOptions | docx
                                                                                                                                                                                                                                                                                                    docx
                                                                                                                                                                                                                                                                                                      Preparing search index...

                                                                                                                                                                                                                                                                                                      Type Alias ITablePropertiesChangeOptions

                                                                                                                                                                                                                                                                                                      ITablePropertiesChangeOptions: ITablePropertiesOptions & IChangedAttributesProperties
                                                                                                                                                                                                                                                                                                      diff --git a/api/types/ITablePropertiesOptions.html b/api/types/ITablePropertiesOptions.html index 8eb71266c6..c617014b0a 100644 --- a/api/types/ITablePropertiesOptions.html +++ b/api/types/ITablePropertiesOptions.html @@ -1,3 +1,3 @@ ITablePropertiesOptions | docx
                                                                                                                                                                                                                                                                                                      docx
                                                                                                                                                                                                                                                                                                        Preparing search index...

                                                                                                                                                                                                                                                                                                        Type Alias ITablePropertiesOptions

                                                                                                                                                                                                                                                                                                        ITablePropertiesOptions: {
                                                                                                                                                                                                                                                                                                            includeIfEmpty?: boolean;
                                                                                                                                                                                                                                                                                                            revision?: ITablePropertiesChangeOptions;
                                                                                                                                                                                                                                                                                                        } & ITablePropertiesOptionsBase

                                                                                                                                                                                                                                                                                                        Options for configuring table properties.

                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                        diff --git a/api/types/ITablePropertiesOptionsBase.html b/api/types/ITablePropertiesOptionsBase.html index 71314be737..3a10c03039 100644 --- a/api/types/ITablePropertiesOptionsBase.html +++ b/api/types/ITablePropertiesOptionsBase.html @@ -1,4 +1,4 @@ -ITablePropertiesOptionsBase | docx
                                                                                                                                                                                                                                                                                                        docx
                                                                                                                                                                                                                                                                                                          Preparing search index...

                                                                                                                                                                                                                                                                                                          Type Alias ITablePropertiesOptionsBase

                                                                                                                                                                                                                                                                                                          type ITablePropertiesOptionsBase = {
                                                                                                                                                                                                                                                                                                              alignment?: typeof AlignmentType[keyof typeof AlignmentType];
                                                                                                                                                                                                                                                                                                              borders?: ITableBordersOptions;
                                                                                                                                                                                                                                                                                                              cellMargin?: ITableCellMarginOptions;
                                                                                                                                                                                                                                                                                                              cellSpacing?: ITableCellSpacingProperties;
                                                                                                                                                                                                                                                                                                              float?: ITableFloatOptions;
                                                                                                                                                                                                                                                                                                              indent?: ITableWidthProperties;
                                                                                                                                                                                                                                                                                                              layout?: typeof TableLayoutType[keyof typeof TableLayoutType];
                                                                                                                                                                                                                                                                                                              shading?: IShadingAttributesProperties;
                                                                                                                                                                                                                                                                                                              style?: string;
                                                                                                                                                                                                                                                                                                              tableLook?: ITableLookOptions;
                                                                                                                                                                                                                                                                                                              visuallyRightToLeft?: boolean;
                                                                                                                                                                                                                                                                                                              width?: ITableWidthProperties;
                                                                                                                                                                                                                                                                                                          }
                                                                                                                                                                                                                                                                                                          Index

                                                                                                                                                                                                                                                                                                          Properties

                                                                                                                                                                                                                                                                                                          alignment? +ITablePropertiesOptionsBase | docx
                                                                                                                                                                                                                                                                                                          docx
                                                                                                                                                                                                                                                                                                            Preparing search index...

                                                                                                                                                                                                                                                                                                            Type Alias ITablePropertiesOptionsBase

                                                                                                                                                                                                                                                                                                            type ITablePropertiesOptionsBase = {
                                                                                                                                                                                                                                                                                                                alignment?: typeof AlignmentType[keyof typeof AlignmentType];
                                                                                                                                                                                                                                                                                                                borders?: ITableBordersOptions;
                                                                                                                                                                                                                                                                                                                cellMargin?: ITableCellMarginOptions;
                                                                                                                                                                                                                                                                                                                cellSpacing?: ITableCellSpacingProperties;
                                                                                                                                                                                                                                                                                                                float?: ITableFloatOptions;
                                                                                                                                                                                                                                                                                                                indent?: ITableWidthProperties;
                                                                                                                                                                                                                                                                                                                layout?: typeof TableLayoutType[keyof typeof TableLayoutType];
                                                                                                                                                                                                                                                                                                                shading?: IShadingAttributesProperties;
                                                                                                                                                                                                                                                                                                                style?: string;
                                                                                                                                                                                                                                                                                                                tableLook?: ITableLookOptions;
                                                                                                                                                                                                                                                                                                                visuallyRightToLeft?: boolean;
                                                                                                                                                                                                                                                                                                                width?: ITableWidthProperties;
                                                                                                                                                                                                                                                                                                            }
                                                                                                                                                                                                                                                                                                            Index

                                                                                                                                                                                                                                                                                                            Properties

                                                                                                                                                                                                                                                                                                            alignment?: typeof AlignmentType[keyof typeof AlignmentType]
                                                                                                                                                                                                                                                                                                            cellMargin?: ITableCellMarginOptions
                                                                                                                                                                                                                                                                                                            cellSpacing?: ITableCellSpacingProperties
                                                                                                                                                                                                                                                                                                            layout?: typeof TableLayoutType[keyof typeof TableLayoutType]
                                                                                                                                                                                                                                                                                                            style?: string
                                                                                                                                                                                                                                                                                                            tableLook?: ITableLookOptions
                                                                                                                                                                                                                                                                                                            visuallyRightToLeft?: boolean
                                                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                                                            Properties

                                                                                                                                                                                                                                                                                                            alignment?: typeof AlignmentType[keyof typeof AlignmentType]
                                                                                                                                                                                                                                                                                                            cellMargin?: ITableCellMarginOptions
                                                                                                                                                                                                                                                                                                            cellSpacing?: ITableCellSpacingProperties
                                                                                                                                                                                                                                                                                                            layout?: typeof TableLayoutType[keyof typeof TableLayoutType]
                                                                                                                                                                                                                                                                                                            style?: string
                                                                                                                                                                                                                                                                                                            tableLook?: ITableLookOptions
                                                                                                                                                                                                                                                                                                            visuallyRightToLeft?: boolean
                                                                                                                                                                                                                                                                                                            diff --git a/api/types/ITableRowOptions.html b/api/types/ITableRowOptions.html index 2ec519c1ca..ca275bf41c 100644 --- a/api/types/ITableRowOptions.html +++ b/api/types/ITableRowOptions.html @@ -1,4 +1,4 @@ ITableRowOptions | docx
                                                                                                                                                                                                                                                                                                            docx
                                                                                                                                                                                                                                                                                                              Preparing search index...

                                                                                                                                                                                                                                                                                                              Type Alias ITableRowOptions

                                                                                                                                                                                                                                                                                                              ITableRowOptions: { children: readonly TableCell[] } & ITableRowPropertiesOptions

                                                                                                                                                                                                                                                                                                              Options for creating a TableRow element.

                                                                                                                                                                                                                                                                                                              Type Declaration

                                                                                                                                                                                                                                                                                                              • Readonlychildren: readonly TableCell[]

                                                                                                                                                                                                                                                                                                                Array of TableCell elements that make up the row

                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                              diff --git a/api/types/ITableRowPropertiesChangeOptions.html b/api/types/ITableRowPropertiesChangeOptions.html index 8594bdf923..aab808456e 100644 --- a/api/types/ITableRowPropertiesChangeOptions.html +++ b/api/types/ITableRowPropertiesChangeOptions.html @@ -1 +1 @@ -ITableRowPropertiesChangeOptions | docx
                                                                                                                                                                                                                                                                                                              docx
                                                                                                                                                                                                                                                                                                                Preparing search index...

                                                                                                                                                                                                                                                                                                                Type Alias ITableRowPropertiesChangeOptions

                                                                                                                                                                                                                                                                                                                ITableRowPropertiesChangeOptions: ITableRowPropertiesOptionsBase & IChangedAttributesProperties
                                                                                                                                                                                                                                                                                                                +ITableRowPropertiesChangeOptions | docx
                                                                                                                                                                                                                                                                                                                docx
                                                                                                                                                                                                                                                                                                                  Preparing search index...

                                                                                                                                                                                                                                                                                                                  Type Alias ITableRowPropertiesChangeOptions

                                                                                                                                                                                                                                                                                                                  ITableRowPropertiesChangeOptions: ITableRowPropertiesOptionsBase & IChangedAttributesProperties
                                                                                                                                                                                                                                                                                                                  diff --git a/api/types/ITableRowPropertiesOptions.html b/api/types/ITableRowPropertiesOptions.html index b70a0923a1..572288e9bc 100644 --- a/api/types/ITableRowPropertiesOptions.html +++ b/api/types/ITableRowPropertiesOptions.html @@ -1,3 +1,3 @@ ITableRowPropertiesOptions | docx
                                                                                                                                                                                                                                                                                                                  docx
                                                                                                                                                                                                                                                                                                                    Preparing search index...

                                                                                                                                                                                                                                                                                                                    Type Alias ITableRowPropertiesOptions

                                                                                                                                                                                                                                                                                                                    ITableRowPropertiesOptions: ITableRowPropertiesOptionsBase & {
                                                                                                                                                                                                                                                                                                                        deletion?: IChangedAttributesProperties;
                                                                                                                                                                                                                                                                                                                        includeIfEmpty?: boolean;
                                                                                                                                                                                                                                                                                                                        insertion?: IChangedAttributesProperties;
                                                                                                                                                                                                                                                                                                                        revision?: ITableRowPropertiesChangeOptions;
                                                                                                                                                                                                                                                                                                                    }

                                                                                                                                                                                                                                                                                                                    Options for configuring table row properties.

                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                    diff --git a/api/types/ITableRowPropertiesOptionsBase.html b/api/types/ITableRowPropertiesOptionsBase.html index bce91d36cc..5f555371b5 100644 --- a/api/types/ITableRowPropertiesOptionsBase.html +++ b/api/types/ITableRowPropertiesOptionsBase.html @@ -1,11 +1,11 @@ -ITableRowPropertiesOptionsBase | docx
                                                                                                                                                                                                                                                                                                                    docx
                                                                                                                                                                                                                                                                                                                      Preparing search index...

                                                                                                                                                                                                                                                                                                                      Type Alias ITableRowPropertiesOptionsBase

                                                                                                                                                                                                                                                                                                                      type ITableRowPropertiesOptionsBase = {
                                                                                                                                                                                                                                                                                                                          cantSplit?: boolean;
                                                                                                                                                                                                                                                                                                                          cellSpacing?: ITableCellSpacingProperties;
                                                                                                                                                                                                                                                                                                                          height?: {
                                                                                                                                                                                                                                                                                                                              rule: typeof HeightRule[keyof typeof HeightRule];
                                                                                                                                                                                                                                                                                                                              value: number | PositiveUniversalMeasure;
                                                                                                                                                                                                                                                                                                                          };
                                                                                                                                                                                                                                                                                                                          tableHeader?: boolean;
                                                                                                                                                                                                                                                                                                                      }
                                                                                                                                                                                                                                                                                                                      Index

                                                                                                                                                                                                                                                                                                                      Properties

                                                                                                                                                                                                                                                                                                                      cantSplit? +ITableRowPropertiesOptionsBase | docx
                                                                                                                                                                                                                                                                                                                      docx
                                                                                                                                                                                                                                                                                                                        Preparing search index...

                                                                                                                                                                                                                                                                                                                        Type Alias ITableRowPropertiesOptionsBase

                                                                                                                                                                                                                                                                                                                        type ITableRowPropertiesOptionsBase = {
                                                                                                                                                                                                                                                                                                                            cantSplit?: boolean;
                                                                                                                                                                                                                                                                                                                            cellSpacing?: ITableCellSpacingProperties;
                                                                                                                                                                                                                                                                                                                            height?: {
                                                                                                                                                                                                                                                                                                                                rule: typeof HeightRule[keyof typeof HeightRule];
                                                                                                                                                                                                                                                                                                                                value: number | PositiveUniversalMeasure;
                                                                                                                                                                                                                                                                                                                            };
                                                                                                                                                                                                                                                                                                                            tableHeader?: boolean;
                                                                                                                                                                                                                                                                                                                        }
                                                                                                                                                                                                                                                                                                                        Index

                                                                                                                                                                                                                                                                                                                        Properties

                                                                                                                                                                                                                                                                                                                        cantSplit?: boolean

                                                                                                                                                                                                                                                                                                                        Whether the row can be split across pages (cantSplit)

                                                                                                                                                                                                                                                                                                                        -
                                                                                                                                                                                                                                                                                                                        cellSpacing?: ITableCellSpacingProperties

                                                                                                                                                                                                                                                                                                                        Spacing between cells in the row (tblCellSpacing)

                                                                                                                                                                                                                                                                                                                        -
                                                                                                                                                                                                                                                                                                                        height?: {
                                                                                                                                                                                                                                                                                                                            rule: typeof HeightRule[keyof typeof HeightRule];
                                                                                                                                                                                                                                                                                                                            value: number | PositiveUniversalMeasure;
                                                                                                                                                                                                                                                                                                                        }

                                                                                                                                                                                                                                                                                                                        Row height configuration (trHeight)

                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                        cellSpacing?: ITableCellSpacingProperties

                                                                                                                                                                                                                                                                                                                        Spacing between cells in the row (tblCellSpacing)

                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                        height?: {
                                                                                                                                                                                                                                                                                                                            rule: typeof HeightRule[keyof typeof HeightRule];
                                                                                                                                                                                                                                                                                                                            value: number | PositiveUniversalMeasure;
                                                                                                                                                                                                                                                                                                                        }

                                                                                                                                                                                                                                                                                                                        Row height configuration (trHeight)

                                                                                                                                                                                                                                                                                                                        Type Declaration

                                                                                                                                                                                                                                                                                                                        tableHeader?: boolean

                                                                                                                                                                                                                                                                                                                        Whether the row should be repeated as a header row on each page (tblHeader)

                                                                                                                                                                                                                                                                                                                        -
                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                        tableHeader?: boolean

                                                                                                                                                                                                                                                                                                                        Whether the row should be repeated as a header row on each page (tblHeader)

                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                        diff --git a/api/types/ITableWidthProperties.html b/api/types/ITableWidthProperties.html index a131c4dc4b..b74d85347b 100644 --- a/api/types/ITableWidthProperties.html +++ b/api/types/ITableWidthProperties.html @@ -3,6 +3,6 @@
                                                                                                                                                                                                                                                                                                                        <xsd:complexType name="CT_TblWidth">
                                                                                                                                                                                                                                                                                                                        <xsd:attribute name="w" type="ST_MeasurementOrPercent"/>
                                                                                                                                                                                                                                                                                                                        <xsd:attribute name="type" type="ST_TblWidth"/>
                                                                                                                                                                                                                                                                                                                        </xsd:complexType>
                                                                                                                                                                                                                                                                                                                        -
                                                                                                                                                                                                                                                                                                                        type ITableWidthProperties = {
                                                                                                                                                                                                                                                                                                                            size: number | Percentage | UniversalMeasure;
                                                                                                                                                                                                                                                                                                                            type?: typeof WidthType[keyof typeof WidthType];
                                                                                                                                                                                                                                                                                                                        }
                                                                                                                                                                                                                                                                                                                        Index

                                                                                                                                                                                                                                                                                                                        Properties

                                                                                                                                                                                                                                                                                                                        type ITableWidthProperties = {
                                                                                                                                                                                                                                                                                                                            size: number | Percentage | UniversalMeasure;
                                                                                                                                                                                                                                                                                                                            type?: typeof WidthType[keyof typeof WidthType];
                                                                                                                                                                                                                                                                                                                        }
                                                                                                                                                                                                                                                                                                                        Index

                                                                                                                                                                                                                                                                                                                        Properties

                                                                                                                                                                                                                                                                                                                        Properties

                                                                                                                                                                                                                                                                                                                        size: number | Percentage | UniversalMeasure
                                                                                                                                                                                                                                                                                                                        type?: typeof WidthType[keyof typeof WidthType]
                                                                                                                                                                                                                                                                                                                        +

                                                                                                                                                                                                                                                                                                                        Properties

                                                                                                                                                                                                                                                                                                                        size: number | Percentage | UniversalMeasure
                                                                                                                                                                                                                                                                                                                        type?: typeof WidthType[keyof typeof WidthType]
                                                                                                                                                                                                                                                                                                                        diff --git a/api/types/ITextWrapping.html b/api/types/ITextWrapping.html index d36ee9639c..c7df879d98 100644 --- a/api/types/ITextWrapping.html +++ b/api/types/ITextWrapping.html @@ -1,5 +1,5 @@ ITextWrapping | docx
                                                                                                                                                                                                                                                                                                                        docx
                                                                                                                                                                                                                                                                                                                          Preparing search index...

                                                                                                                                                                                                                                                                                                                          Type Alias ITextWrapping

                                                                                                                                                                                                                                                                                                                          Options for configuring text wrapping around a drawing.

                                                                                                                                                                                                                                                                                                                          -
                                                                                                                                                                                                                                                                                                                          type ITextWrapping = {
                                                                                                                                                                                                                                                                                                                              margins?: IDistance;
                                                                                                                                                                                                                                                                                                                              side?: typeof TextWrappingSide[keyof typeof TextWrappingSide];
                                                                                                                                                                                                                                                                                                                              type: typeof TextWrappingType[keyof typeof TextWrappingType];
                                                                                                                                                                                                                                                                                                                          }
                                                                                                                                                                                                                                                                                                                          Index

                                                                                                                                                                                                                                                                                                                          Properties

                                                                                                                                                                                                                                                                                                                          type ITextWrapping = {
                                                                                                                                                                                                                                                                                                                              margins?: IDistance;
                                                                                                                                                                                                                                                                                                                              side?: typeof TextWrappingSide[keyof typeof TextWrappingSide];
                                                                                                                                                                                                                                                                                                                              type: typeof TextWrappingType[keyof typeof TextWrappingType];
                                                                                                                                                                                                                                                                                                                          }
                                                                                                                                                                                                                                                                                                                          Index

                                                                                                                                                                                                                                                                                                                          Properties

                                                                                                                                                                                                                                                                                                                          Properties

                                                                                                                                                                                                                                                                                                                          margins?: IDistance
                                                                                                                                                                                                                                                                                                                          side?: typeof TextWrappingSide[keyof typeof TextWrappingSide]
                                                                                                                                                                                                                                                                                                                          type: typeof TextWrappingType[keyof typeof TextWrappingType]
                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                          Properties

                                                                                                                                                                                                                                                                                                                          margins?: IDistance
                                                                                                                                                                                                                                                                                                                          side?: typeof TextWrappingSide[keyof typeof TextWrappingSide]
                                                                                                                                                                                                                                                                                                                          type: typeof TextWrappingType[keyof typeof TextWrappingType]
                                                                                                                                                                                                                                                                                                                          diff --git a/api/types/IVerticalPositionOptions.html b/api/types/IVerticalPositionOptions.html index 1775fc9b0a..a317faa098 100644 --- a/api/types/IVerticalPositionOptions.html +++ b/api/types/IVerticalPositionOptions.html @@ -1,8 +1,8 @@ IVerticalPositionOptions | docx
                                                                                                                                                                                                                                                                                                                          docx
                                                                                                                                                                                                                                                                                                                            Preparing search index...

                                                                                                                                                                                                                                                                                                                            Type Alias IVerticalPositionOptions

                                                                                                                                                                                                                                                                                                                            Options for vertical positioning of a floating drawing.

                                                                                                                                                                                                                                                                                                                            -
                                                                                                                                                                                                                                                                                                                            type IVerticalPositionOptions = {
                                                                                                                                                                                                                                                                                                                                align?: typeof VerticalPositionAlign[keyof typeof VerticalPositionAlign];
                                                                                                                                                                                                                                                                                                                                offset?: number;
                                                                                                                                                                                                                                                                                                                                relative?: typeof VerticalPositionRelativeFrom[keyof typeof VerticalPositionRelativeFrom];
                                                                                                                                                                                                                                                                                                                            }
                                                                                                                                                                                                                                                                                                                            Index

                                                                                                                                                                                                                                                                                                                            Properties

                                                                                                                                                                                                                                                                                                                            type IVerticalPositionOptions = {
                                                                                                                                                                                                                                                                                                                                align?: typeof VerticalPositionAlign[keyof typeof VerticalPositionAlign];
                                                                                                                                                                                                                                                                                                                                offset?: number;
                                                                                                                                                                                                                                                                                                                                relative?: typeof VerticalPositionRelativeFrom[keyof typeof VerticalPositionRelativeFrom];
                                                                                                                                                                                                                                                                                                                            }
                                                                                                                                                                                                                                                                                                                            Index

                                                                                                                                                                                                                                                                                                                            Properties

                                                                                                                                                                                                                                                                                                                            align?: typeof VerticalPositionAlign[keyof typeof VerticalPositionAlign]

                                                                                                                                                                                                                                                                                                                            Alignment relative to the vertical base

                                                                                                                                                                                                                                                                                                                            -
                                                                                                                                                                                                                                                                                                                            offset?: number

                                                                                                                                                                                                                                                                                                                            Offset in EMUs from the vertical base

                                                                                                                                                                                                                                                                                                                            -

                                                                                                                                                                                                                                                                                                                            The base from which vertical position is calculated

                                                                                                                                                                                                                                                                                                                            -
                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                            offset?: number

                                                                                                                                                                                                                                                                                                                            Offset in EMUs from the vertical base

                                                                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                                                                            The base from which vertical position is calculated

                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                            diff --git a/api/types/IWpgGroupOptions.html b/api/types/IWpgGroupOptions.html index cb9d577e74..73415ae24b 100644 --- a/api/types/IWpgGroupOptions.html +++ b/api/types/IWpgGroupOptions.html @@ -1 +1 @@ -IWpgGroupOptions | docx
                                                                                                                                                                                                                                                                                                                            docx
                                                                                                                                                                                                                                                                                                                              Preparing search index...

                                                                                                                                                                                                                                                                                                                              Type Alias IWpgGroupOptions

                                                                                                                                                                                                                                                                                                                              IWpgGroupOptions: { type: "wpg" } & CoreGroupOptions
                                                                                                                                                                                                                                                                                                                              +IWpgGroupOptions | docx
                                                                                                                                                                                                                                                                                                                              docx
                                                                                                                                                                                                                                                                                                                                Preparing search index...

                                                                                                                                                                                                                                                                                                                                Type Alias IWpgGroupOptions

                                                                                                                                                                                                                                                                                                                                IWpgGroupOptions: { type: "wpg" } & CoreGroupOptions
                                                                                                                                                                                                                                                                                                                                diff --git a/api/types/IWpsShapeOptions.html b/api/types/IWpsShapeOptions.html index 72248c963e..50642ebbb7 100644 --- a/api/types/IWpsShapeOptions.html +++ b/api/types/IWpsShapeOptions.html @@ -1 +1 @@ -IWpsShapeOptions | docx
                                                                                                                                                                                                                                                                                                                                docx
                                                                                                                                                                                                                                                                                                                                  Preparing search index...

                                                                                                                                                                                                                                                                                                                                  Type Alias IWpsShapeOptions

                                                                                                                                                                                                                                                                                                                                  IWpsShapeOptions: WpsShapeCoreOptions & { type: "wps" } & CoreShapeOptions
                                                                                                                                                                                                                                                                                                                                  +IWpsShapeOptions | docx
                                                                                                                                                                                                                                                                                                                                  docx
                                                                                                                                                                                                                                                                                                                                    Preparing search index...

                                                                                                                                                                                                                                                                                                                                    Type Alias IWpsShapeOptions

                                                                                                                                                                                                                                                                                                                                    IWpsShapeOptions: WpsShapeCoreOptions & { type: "wps" } & CoreShapeOptions
                                                                                                                                                                                                                                                                                                                                    diff --git a/api/types/IXYFrameOptions.html b/api/types/IXYFrameOptions.html index 35b5519c80..1b7180bd36 100644 --- a/api/types/IXYFrameOptions.html +++ b/api/types/IXYFrameOptions.html @@ -5,4 +5,4 @@ specific coordinate values.

                                                                                                                                                                                                                                                                                                                                    • Readonlyx: number

                                                                                                                                                                                                                                                                                                                                      Horizontal position in twips from the anchor point

                                                                                                                                                                                                                                                                                                                                    • Readonlyy: number

                                                                                                                                                                                                                                                                                                                                      Vertical position in twips from the anchor point

                                                                                                                                                                                                                                                                                                                                  • Readonlytype: "absolute"

                                                                                                                                                                                                                                                                                                                                    Must be "absolute" for coordinate-based positioning

                                                                                                                                                                                                                                                                                                                                    -
                                                                                                                                                                                                                                                                                                                                  • +
                                                                                                                                                                                                                                                                                                                                    diff --git a/api/types/IXmlAttribute.html b/api/types/IXmlAttribute.html index 34e9f47c24..156e8a7e1a 100644 --- a/api/types/IXmlAttribute.html +++ b/api/types/IXmlAttribute.html @@ -1,4 +1,4 @@ IXmlAttribute | docx
                                                                                                                                                                                                                                                                                                                                    docx
                                                                                                                                                                                                                                                                                                                                      Preparing search index...

                                                                                                                                                                                                                                                                                                                                      Type Alias IXmlAttribute

                                                                                                                                                                                                                                                                                                                                      IXmlAttribute: Readonly<Record<string, string | number | boolean>>

                                                                                                                                                                                                                                                                                                                                      Attributes for an XML element.

                                                                                                                                                                                                                                                                                                                                      Maps attribute names to their values. Attribute values can be strings, numbers, or booleans, which will be converted to strings in the final XML.

                                                                                                                                                                                                                                                                                                                                      -
                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                      diff --git a/api/types/InputDataType.html b/api/types/InputDataType.html index 0be46c06e8..e7591eb728 100644 --- a/api/types/InputDataType.html +++ b/api/types/InputDataType.html @@ -1,4 +1,4 @@ InputDataType | docx
                                                                                                                                                                                                                                                                                                                                      docx
                                                                                                                                                                                                                                                                                                                                        Preparing search index...

                                                                                                                                                                                                                                                                                                                                        Type Alias InputDataType

                                                                                                                                                                                                                                                                                                                                        InputDataType:
                                                                                                                                                                                                                                                                                                                                            | Buffer
                                                                                                                                                                                                                                                                                                                                            | string
                                                                                                                                                                                                                                                                                                                                            | number[]
                                                                                                                                                                                                                                                                                                                                            | Uint8Array
                                                                                                                                                                                                                                                                                                                                            | ArrayBuffer
                                                                                                                                                                                                                                                                                                                                            | Blob
                                                                                                                                                                                                                                                                                                                                            | NodeJS.ReadableStream
                                                                                                                                                                                                                                                                                                                                            | JSZip

                                                                                                                                                                                                                                                                                                                                        Supported input data types for document patching.

                                                                                                                                                                                                                                                                                                                                        The patcher can accept documents in various formats including buffers, arrays, and streams.

                                                                                                                                                                                                                                                                                                                                        -
                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                        diff --git a/api/types/MathComponent.html b/api/types/MathComponent.html index 48a80cf56e..f29b2d764e 100644 --- a/api/types/MathComponent.html +++ b/api/types/MathComponent.html @@ -1,4 +1,4 @@ MathComponent | docx
                                                                                                                                                                                                                                                                                                                                        docx
                                                                                                                                                                                                                                                                                                                                          Preparing search index...

                                                                                                                                                                                                                                                                                                                                          Type Alias MathComponent

                                                                                                                                                                                                                                                                                                                                          MathComponent:
                                                                                                                                                                                                                                                                                                                                              | MathRun
                                                                                                                                                                                                                                                                                                                                              | MathFraction
                                                                                                                                                                                                                                                                                                                                              | MathSum
                                                                                                                                                                                                                                                                                                                                              | MathIntegral
                                                                                                                                                                                                                                                                                                                                              | MathSuperScript
                                                                                                                                                                                                                                                                                                                                              | MathSubScript
                                                                                                                                                                                                                                                                                                                                              | MathSubSuperScript
                                                                                                                                                                                                                                                                                                                                              | MathRadical
                                                                                                                                                                                                                                                                                                                                              | MathFunction
                                                                                                                                                                                                                                                                                                                                              | MathRoundBrackets
                                                                                                                                                                                                                                                                                                                                              | MathCurlyBrackets
                                                                                                                                                                                                                                                                                                                                              | MathAngledBrackets
                                                                                                                                                                                                                                                                                                                                              | MathSquareBrackets

                                                                                                                                                                                                                                                                                                                                          Union type of all valid math components.

                                                                                                                                                                                                                                                                                                                                          MathComponent represents any element that can appear within a Math equation, including runs, fractions, radicals, integrals, sums, scripts, and brackets.

                                                                                                                                                                                                                                                                                                                                          -
                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                          diff --git a/api/types/OutputByType.html b/api/types/OutputByType.html index f6e5fee526..8a0303e0ae 100644 --- a/api/types/OutputByType.html +++ b/api/types/OutputByType.html @@ -4,7 +4,7 @@ format determines the return type. Based on JSZip's output types.

                                                                                                                                                                                                                                                                                                                                          // Generate as base64 string
                                                                                                                                                                                                                                                                                                                                          const doc: OutputByType["base64"] = await packer.toBase64(document);

                                                                                                                                                                                                                                                                                                                                          // Generate as Buffer (Node.js)
                                                                                                                                                                                                                                                                                                                                          const doc: OutputByType["nodebuffer"] = await packer.toBuffer(document);

                                                                                                                                                                                                                                                                                                                                          // Generate as Blob (browser)
                                                                                                                                                                                                                                                                                                                                          const doc: OutputByType["blob"] = await packer.toBlob(document);
                                                                                                                                                                                                                                                                                                                                          -
                                                                                                                                                                                                                                                                                                                                          type OutputByType = {
                                                                                                                                                                                                                                                                                                                                              array: readonly number[];
                                                                                                                                                                                                                                                                                                                                              arraybuffer: ArrayBuffer;
                                                                                                                                                                                                                                                                                                                                              base64: string;
                                                                                                                                                                                                                                                                                                                                              binarystring: string;
                                                                                                                                                                                                                                                                                                                                              blob: Blob;
                                                                                                                                                                                                                                                                                                                                              nodebuffer: Buffer;
                                                                                                                                                                                                                                                                                                                                              string: string;
                                                                                                                                                                                                                                                                                                                                              text: string;
                                                                                                                                                                                                                                                                                                                                              uint8array: Uint8Array;
                                                                                                                                                                                                                                                                                                                                          }
                                                                                                                                                                                                                                                                                                                                          Index

                                                                                                                                                                                                                                                                                                                                          Properties

                                                                                                                                                                                                                                                                                                                                          type OutputByType = {
                                                                                                                                                                                                                                                                                                                                              array: readonly number[];
                                                                                                                                                                                                                                                                                                                                              arraybuffer: ArrayBuffer;
                                                                                                                                                                                                                                                                                                                                              base64: string;
                                                                                                                                                                                                                                                                                                                                              binarystring: string;
                                                                                                                                                                                                                                                                                                                                              blob: Blob;
                                                                                                                                                                                                                                                                                                                                              nodebuffer: Buffer;
                                                                                                                                                                                                                                                                                                                                              string: string;
                                                                                                                                                                                                                                                                                                                                              text: string;
                                                                                                                                                                                                                                                                                                                                              uint8array: Uint8Array;
                                                                                                                                                                                                                                                                                                                                          }
                                                                                                                                                                                                                                                                                                                                          Index

                                                                                                                                                                                                                                                                                                                                          Properties

                                                                                                                                                                                                                                                                                                                                          array arraybuffer base64 binarystring @@ -14,12 +14,12 @@ format determines the return type. Based on JSZip's output types.

                                                                                                                                                                                                                                                                                                                                          text uint8array

                                                                                                                                                                                                                                                                                                                                          Properties

                                                                                                                                                                                                                                                                                                                                          array: readonly number[]

                                                                                                                                                                                                                                                                                                                                          Array of numbers (0-255) representing bytes

                                                                                                                                                                                                                                                                                                                                          -
                                                                                                                                                                                                                                                                                                                                          arraybuffer: ArrayBuffer

                                                                                                                                                                                                                                                                                                                                          ArrayBuffer representation

                                                                                                                                                                                                                                                                                                                                          -
                                                                                                                                                                                                                                                                                                                                          base64: string

                                                                                                                                                                                                                                                                                                                                          Base64-encoded string representation

                                                                                                                                                                                                                                                                                                                                          -
                                                                                                                                                                                                                                                                                                                                          binarystring: string

                                                                                                                                                                                                                                                                                                                                          Binary string representation

                                                                                                                                                                                                                                                                                                                                          -
                                                                                                                                                                                                                                                                                                                                          blob: Blob

                                                                                                                                                                                                                                                                                                                                          Blob representation (browser environments)

                                                                                                                                                                                                                                                                                                                                          -
                                                                                                                                                                                                                                                                                                                                          nodebuffer: Buffer

                                                                                                                                                                                                                                                                                                                                          Node.js Buffer representation

                                                                                                                                                                                                                                                                                                                                          -
                                                                                                                                                                                                                                                                                                                                          string: string

                                                                                                                                                                                                                                                                                                                                          UTF-8 string representation

                                                                                                                                                                                                                                                                                                                                          -
                                                                                                                                                                                                                                                                                                                                          text: string

                                                                                                                                                                                                                                                                                                                                          Text string representation

                                                                                                                                                                                                                                                                                                                                          -
                                                                                                                                                                                                                                                                                                                                          uint8array: Uint8Array

                                                                                                                                                                                                                                                                                                                                          Uint8Array (typed array) representation

                                                                                                                                                                                                                                                                                                                                          -
                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                          arraybuffer: ArrayBuffer

                                                                                                                                                                                                                                                                                                                                          ArrayBuffer representation

                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                          base64: string

                                                                                                                                                                                                                                                                                                                                          Base64-encoded string representation

                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                          binarystring: string

                                                                                                                                                                                                                                                                                                                                          Binary string representation

                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                          blob: Blob

                                                                                                                                                                                                                                                                                                                                          Blob representation (browser environments)

                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                          nodebuffer: Buffer

                                                                                                                                                                                                                                                                                                                                          Node.js Buffer representation

                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                          string: string

                                                                                                                                                                                                                                                                                                                                          UTF-8 string representation

                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                          text: string

                                                                                                                                                                                                                                                                                                                                          Text string representation

                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                          uint8array: Uint8Array

                                                                                                                                                                                                                                                                                                                                          Uint8Array (typed array) representation

                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                          diff --git a/api/types/OutputType.html b/api/types/OutputType.html index 8d4f7c7b29..0855f9de95 100644 --- a/api/types/OutputType.html +++ b/api/types/OutputType.html @@ -4,4 +4,4 @@ generating documents.

                                                                                                                                                                                                                                                                                                                                          const outputType: OutputType = "base64";
                                                                                                                                                                                                                                                                                                                                          const doc = await packer.generate(document, { type: outputType });
                                                                                                                                                                                                                                                                                                                                          -
                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                          diff --git a/api/types/ParagraphChild.html b/api/types/ParagraphChild.html index 501889ccc2..4c2c0fb573 100644 --- a/api/types/ParagraphChild.html +++ b/api/types/ParagraphChild.html @@ -1,4 +1,4 @@ ParagraphChild | docx
                                                                                                                                                                                                                                                                                                                                          docx
                                                                                                                                                                                                                                                                                                                                            Preparing search index...

                                                                                                                                                                                                                                                                                                                                            Type Alias ParagraphChild

                                                                                                                                                                                                                                                                                                                                            ParagraphChild:
                                                                                                                                                                                                                                                                                                                                                | TextRun
                                                                                                                                                                                                                                                                                                                                                | ImageRun
                                                                                                                                                                                                                                                                                                                                                | SymbolRun
                                                                                                                                                                                                                                                                                                                                                | Bookmark
                                                                                                                                                                                                                                                                                                                                                | PageBreak
                                                                                                                                                                                                                                                                                                                                                | ColumnBreak
                                                                                                                                                                                                                                                                                                                                                | SequentialIdentifier
                                                                                                                                                                                                                                                                                                                                                | FootnoteReferenceRun
                                                                                                                                                                                                                                                                                                                                                | InternalHyperlink
                                                                                                                                                                                                                                                                                                                                                | ExternalHyperlink
                                                                                                                                                                                                                                                                                                                                                | InsertedTextRun
                                                                                                                                                                                                                                                                                                                                                | DeletedTextRun
                                                                                                                                                                                                                                                                                                                                                | Math
                                                                                                                                                                                                                                                                                                                                                | SimpleField
                                                                                                                                                                                                                                                                                                                                                | SimpleMailMergeField
                                                                                                                                                                                                                                                                                                                                                | Comments
                                                                                                                                                                                                                                                                                                                                                | Comment
                                                                                                                                                                                                                                                                                                                                                | CommentRangeStart
                                                                                                                                                                                                                                                                                                                                                | CommentRangeEnd
                                                                                                                                                                                                                                                                                                                                                | CommentReference
                                                                                                                                                                                                                                                                                                                                                | CheckBox

                                                                                                                                                                                                                                                                                                                                            The types of children that can be contained within a Paragraph element. This union type represents all valid inline content elements that can appear within a paragraph in WordprocessingML.

                                                                                                                                                                                                                                                                                                                                            -
                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                            diff --git a/api/types/PatchDocumentOptions.html b/api/types/PatchDocumentOptions.html index ef7cebf27e..06ae13a1e1 100644 --- a/api/types/PatchDocumentOptions.html +++ b/api/types/PatchDocumentOptions.html @@ -1,14 +1,14 @@ PatchDocumentOptions | docx
                                                                                                                                                                                                                                                                                                                                            docx
                                                                                                                                                                                                                                                                                                                                              Preparing search index...

                                                                                                                                                                                                                                                                                                                                              Type Alias PatchDocumentOptions<T>

                                                                                                                                                                                                                                                                                                                                              Options for patching a document.

                                                                                                                                                                                                                                                                                                                                              -
                                                                                                                                                                                                                                                                                                                                              type PatchDocumentOptions<
                                                                                                                                                                                                                                                                                                                                                  T extends PatchDocumentOutputType = PatchDocumentOutputType,
                                                                                                                                                                                                                                                                                                                                              > = {
                                                                                                                                                                                                                                                                                                                                                  data: InputDataType;
                                                                                                                                                                                                                                                                                                                                                  keepOriginalStyles?: boolean;
                                                                                                                                                                                                                                                                                                                                                  outputType: T;
                                                                                                                                                                                                                                                                                                                                                  patches: Readonly<Record<string, IPatch>>;
                                                                                                                                                                                                                                                                                                                                                  placeholderDelimiters?: Readonly<{ end: string; start: string }>;
                                                                                                                                                                                                                                                                                                                                                  recursive?: boolean;
                                                                                                                                                                                                                                                                                                                                              }

                                                                                                                                                                                                                                                                                                                                              Type Parameters

                                                                                                                                                                                                                                                                                                                                              Index

                                                                                                                                                                                                                                                                                                                                              Properties

                                                                                                                                                                                                                                                                                                                                              type PatchDocumentOptions<
                                                                                                                                                                                                                                                                                                                                                  T extends PatchDocumentOutputType = PatchDocumentOutputType,
                                                                                                                                                                                                                                                                                                                                              > = {
                                                                                                                                                                                                                                                                                                                                                  data: InputDataType;
                                                                                                                                                                                                                                                                                                                                                  keepOriginalStyles?: boolean;
                                                                                                                                                                                                                                                                                                                                                  outputType: T;
                                                                                                                                                                                                                                                                                                                                                  patches: Readonly<Record<string, IPatch>>;
                                                                                                                                                                                                                                                                                                                                                  placeholderDelimiters?: Readonly<{ end: string; start: string }>;
                                                                                                                                                                                                                                                                                                                                                  recursive?: boolean;
                                                                                                                                                                                                                                                                                                                                              }

                                                                                                                                                                                                                                                                                                                                              Type Parameters

                                                                                                                                                                                                                                                                                                                                              Index

                                                                                                                                                                                                                                                                                                                                              Properties

                                                                                                                                                                                                                                                                                                                                              The input document to patch

                                                                                                                                                                                                                                                                                                                                              -
                                                                                                                                                                                                                                                                                                                                              keepOriginalStyles?: boolean

                                                                                                                                                                                                                                                                                                                                              Whether to preserve original text formatting

                                                                                                                                                                                                                                                                                                                                              -
                                                                                                                                                                                                                                                                                                                                              outputType: T

                                                                                                                                                                                                                                                                                                                                              Desired output format (buffer, blob, string, etc.)

                                                                                                                                                                                                                                                                                                                                              -
                                                                                                                                                                                                                                                                                                                                              patches: Readonly<Record<string, IPatch>>

                                                                                                                                                                                                                                                                                                                                              Map of placeholder keys to patch definitions

                                                                                                                                                                                                                                                                                                                                              -
                                                                                                                                                                                                                                                                                                                                              placeholderDelimiters?: Readonly<{ end: string; start: string }>

                                                                                                                                                                                                                                                                                                                                              Custom delimiter characters for placeholders

                                                                                                                                                                                                                                                                                                                                              -
                                                                                                                                                                                                                                                                                                                                              recursive?: boolean

                                                                                                                                                                                                                                                                                                                                              Whether to search for multiple occurrences of placeholders

                                                                                                                                                                                                                                                                                                                                              -
                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                              keepOriginalStyles?: boolean

                                                                                                                                                                                                                                                                                                                                              Whether to preserve original text formatting

                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                              outputType: T

                                                                                                                                                                                                                                                                                                                                              Desired output format (buffer, blob, string, etc.)

                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                              patches: Readonly<Record<string, IPatch>>

                                                                                                                                                                                                                                                                                                                                              Map of placeholder keys to patch definitions

                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                              placeholderDelimiters?: Readonly<{ end: string; start: string }>

                                                                                                                                                                                                                                                                                                                                              Custom delimiter characters for placeholders

                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                              recursive?: boolean

                                                                                                                                                                                                                                                                                                                                              Whether to search for multiple occurrences of placeholders

                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                              diff --git a/api/types/PatchDocumentOutputType.html b/api/types/PatchDocumentOutputType.html index 107b7db3ef..4a4c62447e 100644 --- a/api/types/PatchDocumentOutputType.html +++ b/api/types/PatchDocumentOutputType.html @@ -1,2 +1,2 @@ PatchDocumentOutputType | docx
                                                                                                                                                                                                                                                                                                                                              docx
                                                                                                                                                                                                                                                                                                                                                Preparing search index...

                                                                                                                                                                                                                                                                                                                                                Type Alias PatchDocumentOutputType

                                                                                                                                                                                                                                                                                                                                                PatchDocumentOutputType: OutputType

                                                                                                                                                                                                                                                                                                                                                Output format types for patched documents.

                                                                                                                                                                                                                                                                                                                                                -
                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                diff --git a/api/types/Percentage.html b/api/types/Percentage.html index 2e494c55f1..81f05ae585 100644 --- a/api/types/Percentage.html +++ b/api/types/Percentage.html @@ -4,4 +4,4 @@
                                                                                                                                                                                                                                                                                                                                                const percent: Percentage = "50%";
                                                                                                                                                                                                                                                                                                                                                const negative: Percentage = "-10.5%";
                                                                                                                                                                                                                                                                                                                                                -
                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                diff --git a/api/types/PositionalTabOptions.html b/api/types/PositionalTabOptions.html index d19997306a..6df621a90a 100644 --- a/api/types/PositionalTabOptions.html +++ b/api/types/PositionalTabOptions.html @@ -1,8 +1,8 @@ PositionalTabOptions | docx
                                                                                                                                                                                                                                                                                                                                                docx
                                                                                                                                                                                                                                                                                                                                                  Preparing search index...

                                                                                                                                                                                                                                                                                                                                                  Type Alias PositionalTabOptions

                                                                                                                                                                                                                                                                                                                                                  Options for creating a PositionalTab.

                                                                                                                                                                                                                                                                                                                                                  -
                                                                                                                                                                                                                                                                                                                                                  type PositionalTabOptions = {
                                                                                                                                                                                                                                                                                                                                                      alignment: typeof PositionalTabAlignment[keyof typeof PositionalTabAlignment];
                                                                                                                                                                                                                                                                                                                                                      leader: typeof PositionalTabLeader[keyof typeof PositionalTabLeader];
                                                                                                                                                                                                                                                                                                                                                      relativeTo: typeof PositionalTabRelativeTo[keyof typeof PositionalTabRelativeTo];
                                                                                                                                                                                                                                                                                                                                                  }
                                                                                                                                                                                                                                                                                                                                                  Index

                                                                                                                                                                                                                                                                                                                                                  Properties

                                                                                                                                                                                                                                                                                                                                                  type PositionalTabOptions = {
                                                                                                                                                                                                                                                                                                                                                      alignment: typeof PositionalTabAlignment[keyof typeof PositionalTabAlignment];
                                                                                                                                                                                                                                                                                                                                                      leader: typeof PositionalTabLeader[keyof typeof PositionalTabLeader];
                                                                                                                                                                                                                                                                                                                                                      relativeTo: typeof PositionalTabRelativeTo[keyof typeof PositionalTabRelativeTo];
                                                                                                                                                                                                                                                                                                                                                  }
                                                                                                                                                                                                                                                                                                                                                  Index

                                                                                                                                                                                                                                                                                                                                                  Properties

                                                                                                                                                                                                                                                                                                                                                  alignment: typeof PositionalTabAlignment[keyof typeof PositionalTabAlignment]

                                                                                                                                                                                                                                                                                                                                                  How text is aligned at the tab stop

                                                                                                                                                                                                                                                                                                                                                  -
                                                                                                                                                                                                                                                                                                                                                  leader: typeof PositionalTabLeader[keyof typeof PositionalTabLeader]

                                                                                                                                                                                                                                                                                                                                                  Character used to fill space before the tab

                                                                                                                                                                                                                                                                                                                                                  -
                                                                                                                                                                                                                                                                                                                                                  relativeTo: typeof PositionalTabRelativeTo[keyof typeof PositionalTabRelativeTo]

                                                                                                                                                                                                                                                                                                                                                  What the tab position is relative to

                                                                                                                                                                                                                                                                                                                                                  -
                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                  leader: typeof PositionalTabLeader[keyof typeof PositionalTabLeader]

                                                                                                                                                                                                                                                                                                                                                  Character used to fill space before the tab

                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                  relativeTo: typeof PositionalTabRelativeTo[keyof typeof PositionalTabRelativeTo]

                                                                                                                                                                                                                                                                                                                                                  What the tab position is relative to

                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                  diff --git a/api/types/PositivePercentage.html b/api/types/PositivePercentage.html index 40869eea7f..f777c706fa 100644 --- a/api/types/PositivePercentage.html +++ b/api/types/PositivePercentage.html @@ -4,4 +4,4 @@
                                                                                                                                                                                                                                                                                                                                                  const percent: PositivePercentage = "50%";
                                                                                                                                                                                                                                                                                                                                                   
                                                                                                                                                                                                                                                                                                                                                  -
                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                  diff --git a/api/types/PositiveUniversalMeasure.html b/api/types/PositiveUniversalMeasure.html index 7a2a820e9d..a370ad51ec 100644 --- a/api/types/PositiveUniversalMeasure.html +++ b/api/types/PositiveUniversalMeasure.html @@ -4,4 +4,4 @@
                                                                                                                                                                                                                                                                                                                                                  const measure: PositiveUniversalMeasure = "10.5mm";
                                                                                                                                                                                                                                                                                                                                                   
                                                                                                                                                                                                                                                                                                                                                  -
                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                  diff --git a/api/types/RelativeMeasure.html b/api/types/RelativeMeasure.html index 59ad1c366d..9f3163aacc 100644 --- a/api/types/RelativeMeasure.html +++ b/api/types/RelativeMeasure.html @@ -3,4 +3,4 @@
                                                                                                                                                                                                                                                                                                                                                  const measure: RelativeMeasure = "2em";
                                                                                                                                                                                                                                                                                                                                                  const negative: RelativeMeasure = "-0.5ex";
                                                                                                                                                                                                                                                                                                                                                  -
                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                  diff --git a/api/types/SectionVerticalAlign.html b/api/types/SectionVerticalAlign.html index d94b5fee25..b238f0d565 100644 --- a/api/types/SectionVerticalAlign.html +++ b/api/types/SectionVerticalAlign.html @@ -1 +1 @@ -SectionVerticalAlign | docx
                                                                                                                                                                                                                                                                                                                                                  docx
                                                                                                                                                                                                                                                                                                                                                    Preparing search index...

                                                                                                                                                                                                                                                                                                                                                    Type Alias SectionVerticalAlign

                                                                                                                                                                                                                                                                                                                                                    SectionVerticalAlign: typeof VerticalAlignSection[keyof typeof VerticalAlignSection]
                                                                                                                                                                                                                                                                                                                                                    +SectionVerticalAlign | docx
                                                                                                                                                                                                                                                                                                                                                    docx
                                                                                                                                                                                                                                                                                                                                                      Preparing search index...

                                                                                                                                                                                                                                                                                                                                                      Type Alias SectionVerticalAlign

                                                                                                                                                                                                                                                                                                                                                      SectionVerticalAlign: typeof VerticalAlignSection[keyof typeof VerticalAlignSection]
                                                                                                                                                                                                                                                                                                                                                      diff --git a/api/types/TabStopDefinition.html b/api/types/TabStopDefinition.html index 8b241d2407..da0e7f3f5d 100644 --- a/api/types/TabStopDefinition.html +++ b/api/types/TabStopDefinition.html @@ -1,9 +1,9 @@ TabStopDefinition | docx
                                                                                                                                                                                                                                                                                                                                                      docx
                                                                                                                                                                                                                                                                                                                                                        Preparing search index...

                                                                                                                                                                                                                                                                                                                                                        Type Alias TabStopDefinition

                                                                                                                                                                                                                                                                                                                                                        Definition for a single tab stop.

                                                                                                                                                                                                                                                                                                                                                        TabStop

                                                                                                                                                                                                                                                                                                                                                        -
                                                                                                                                                                                                                                                                                                                                                        type TabStopDefinition = {
                                                                                                                                                                                                                                                                                                                                                            leader?: typeof LeaderType[keyof typeof LeaderType];
                                                                                                                                                                                                                                                                                                                                                            position: number | typeof TabStopPosition[keyof typeof TabStopPosition];
                                                                                                                                                                                                                                                                                                                                                            type: typeof TabStopType[keyof typeof TabStopType];
                                                                                                                                                                                                                                                                                                                                                        }
                                                                                                                                                                                                                                                                                                                                                        Index

                                                                                                                                                                                                                                                                                                                                                        Properties

                                                                                                                                                                                                                                                                                                                                                        type TabStopDefinition = {
                                                                                                                                                                                                                                                                                                                                                            leader?: typeof LeaderType[keyof typeof LeaderType];
                                                                                                                                                                                                                                                                                                                                                            position: number | typeof TabStopPosition[keyof typeof TabStopPosition];
                                                                                                                                                                                                                                                                                                                                                            type: typeof TabStopType[keyof typeof TabStopType];
                                                                                                                                                                                                                                                                                                                                                        }
                                                                                                                                                                                                                                                                                                                                                        Index

                                                                                                                                                                                                                                                                                                                                                        Properties

                                                                                                                                                                                                                                                                                                                                                        Properties

                                                                                                                                                                                                                                                                                                                                                        leader?: typeof LeaderType[keyof typeof LeaderType]

                                                                                                                                                                                                                                                                                                                                                        Optional leader character to fill space before the tab

                                                                                                                                                                                                                                                                                                                                                        -
                                                                                                                                                                                                                                                                                                                                                        position: number | typeof TabStopPosition[keyof typeof TabStopPosition]

                                                                                                                                                                                                                                                                                                                                                        The position of the tab stop in twips

                                                                                                                                                                                                                                                                                                                                                        -
                                                                                                                                                                                                                                                                                                                                                        type: typeof TabStopType[keyof typeof TabStopType]

                                                                                                                                                                                                                                                                                                                                                        The type of tab stop alignment

                                                                                                                                                                                                                                                                                                                                                        -
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        position: number | typeof TabStopPosition[keyof typeof TabStopPosition]

                                                                                                                                                                                                                                                                                                                                                        The position of the tab stop in twips

                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        type: typeof TabStopType[keyof typeof TabStopType]

                                                                                                                                                                                                                                                                                                                                                        The type of tab stop alignment

                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        diff --git a/api/types/TableVerticalAlign.html b/api/types/TableVerticalAlign.html index a7469c9779..30642eb1d2 100644 --- a/api/types/TableVerticalAlign.html +++ b/api/types/TableVerticalAlign.html @@ -1 +1 @@ -TableVerticalAlign | docx
                                                                                                                                                                                                                                                                                                                                                        docx
                                                                                                                                                                                                                                                                                                                                                          Preparing search index...

                                                                                                                                                                                                                                                                                                                                                          Type Alias TableVerticalAlign

                                                                                                                                                                                                                                                                                                                                                          TableVerticalAlign: typeof VerticalAlignTable[keyof typeof VerticalAlignTable]
                                                                                                                                                                                                                                                                                                                                                          +TableVerticalAlign | docx
                                                                                                                                                                                                                                                                                                                                                          docx
                                                                                                                                                                                                                                                                                                                                                            Preparing search index...

                                                                                                                                                                                                                                                                                                                                                            Type Alias TableVerticalAlign

                                                                                                                                                                                                                                                                                                                                                            TableVerticalAlign: typeof VerticalAlignTable[keyof typeof VerticalAlignTable]
                                                                                                                                                                                                                                                                                                                                                            diff --git a/api/types/UniqueNumericIdCreator.html b/api/types/UniqueNumericIdCreator.html index 5306d2e77c..d52e5026b0 100644 --- a/api/types/UniqueNumericIdCreator.html +++ b/api/types/UniqueNumericIdCreator.html @@ -1,2 +1,2 @@ UniqueNumericIdCreator | docx
                                                                                                                                                                                                                                                                                                                                                            docx
                                                                                                                                                                                                                                                                                                                                                              Preparing search index...

                                                                                                                                                                                                                                                                                                                                                              Type Alias UniqueNumericIdCreator

                                                                                                                                                                                                                                                                                                                                                              UniqueNumericIdCreator: () => number

                                                                                                                                                                                                                                                                                                                                                              A function that generates unique sequential numeric IDs.

                                                                                                                                                                                                                                                                                                                                                              -

                                                                                                                                                                                                                                                                                                                                                              Type Declaration

                                                                                                                                                                                                                                                                                                                                                                • (): number
                                                                                                                                                                                                                                                                                                                                                                • Returns number

                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                              Type Declaration

                                                                                                                                                                                                                                                                                                                                                                • (): number
                                                                                                                                                                                                                                                                                                                                                                • Returns number

                                                                                                                                                                                                                                                                                                                                                              diff --git a/api/types/UniversalMeasure.html b/api/types/UniversalMeasure.html index dcb743128a..67f1acd3a3 100644 --- a/api/types/UniversalMeasure.html +++ b/api/types/UniversalMeasure.html @@ -5,4 +5,4 @@ pt (points), pc (picas), pi (picas).

                                                                                                                                                                                                                                                                                                                                                              const measure: UniversalMeasure = "10.5mm";
                                                                                                                                                                                                                                                                                                                                                              const negative: UniversalMeasure = "-5pt";
                                                                                                                                                                                                                                                                                                                                                              -
                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                              diff --git a/api/types/WpgCommonMediaData.html b/api/types/WpgCommonMediaData.html index fdd4c506d6..282e6d3ea2 100644 --- a/api/types/WpgCommonMediaData.html +++ b/api/types/WpgCommonMediaData.html @@ -1,3 +1,3 @@ -WpgCommonMediaData | docx
                                                                                                                                                                                                                                                                                                                                                              docx
                                                                                                                                                                                                                                                                                                                                                                Preparing search index...

                                                                                                                                                                                                                                                                                                                                                                Type Alias WpgCommonMediaData

                                                                                                                                                                                                                                                                                                                                                                type WpgCommonMediaData = {
                                                                                                                                                                                                                                                                                                                                                                    outline?: OutlineOptions;
                                                                                                                                                                                                                                                                                                                                                                    solidFill?: SolidFillOptions;
                                                                                                                                                                                                                                                                                                                                                                }
                                                                                                                                                                                                                                                                                                                                                                Index

                                                                                                                                                                                                                                                                                                                                                                Properties

                                                                                                                                                                                                                                                                                                                                                                outline? +WpgCommonMediaData | docx
                                                                                                                                                                                                                                                                                                                                                                docx
                                                                                                                                                                                                                                                                                                                                                                  Preparing search index...

                                                                                                                                                                                                                                                                                                                                                                  Type Alias WpgCommonMediaData

                                                                                                                                                                                                                                                                                                                                                                  type WpgCommonMediaData = {
                                                                                                                                                                                                                                                                                                                                                                      outline?: OutlineOptions;
                                                                                                                                                                                                                                                                                                                                                                      solidFill?: SolidFillOptions;
                                                                                                                                                                                                                                                                                                                                                                  }
                                                                                                                                                                                                                                                                                                                                                                  Index

                                                                                                                                                                                                                                                                                                                                                                  Properties

                                                                                                                                                                                                                                                                                                                                                                  Properties

                                                                                                                                                                                                                                                                                                                                                                  outline?: OutlineOptions
                                                                                                                                                                                                                                                                                                                                                                  solidFill?: SolidFillOptions
                                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                                  Properties

                                                                                                                                                                                                                                                                                                                                                                  outline?: OutlineOptions
                                                                                                                                                                                                                                                                                                                                                                  solidFill?: SolidFillOptions
                                                                                                                                                                                                                                                                                                                                                                  diff --git a/api/types/WpgMediaData.html b/api/types/WpgMediaData.html index d2cbb8cb37..7ef89e0156 100644 --- a/api/types/WpgMediaData.html +++ b/api/types/WpgMediaData.html @@ -1,4 +1,4 @@ -WpgMediaData | docx
                                                                                                                                                                                                                                                                                                                                                                  docx
                                                                                                                                                                                                                                                                                                                                                                    Preparing search index...

                                                                                                                                                                                                                                                                                                                                                                    Type Alias WpgMediaData

                                                                                                                                                                                                                                                                                                                                                                    type WpgMediaData = {
                                                                                                                                                                                                                                                                                                                                                                        children: readonly IGroupChildMediaData[];
                                                                                                                                                                                                                                                                                                                                                                        transformation: IMediaDataTransformation;
                                                                                                                                                                                                                                                                                                                                                                        type: "wpg";
                                                                                                                                                                                                                                                                                                                                                                    }
                                                                                                                                                                                                                                                                                                                                                                    Index

                                                                                                                                                                                                                                                                                                                                                                    Properties

                                                                                                                                                                                                                                                                                                                                                                    children +WpgMediaData | docx
                                                                                                                                                                                                                                                                                                                                                                    docx
                                                                                                                                                                                                                                                                                                                                                                      Preparing search index...

                                                                                                                                                                                                                                                                                                                                                                      Type Alias WpgMediaData

                                                                                                                                                                                                                                                                                                                                                                      type WpgMediaData = {
                                                                                                                                                                                                                                                                                                                                                                          children: readonly IGroupChildMediaData[];
                                                                                                                                                                                                                                                                                                                                                                          transformation: IMediaDataTransformation;
                                                                                                                                                                                                                                                                                                                                                                          type: "wpg";
                                                                                                                                                                                                                                                                                                                                                                      }
                                                                                                                                                                                                                                                                                                                                                                      Index

                                                                                                                                                                                                                                                                                                                                                                      Properties

                                                                                                                                                                                                                                                                                                                                                                      children: readonly IGroupChildMediaData[]
                                                                                                                                                                                                                                                                                                                                                                      transformation: IMediaDataTransformation
                                                                                                                                                                                                                                                                                                                                                                      type: "wpg"
                                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                                      Properties

                                                                                                                                                                                                                                                                                                                                                                      children: readonly IGroupChildMediaData[]
                                                                                                                                                                                                                                                                                                                                                                      transformation: IMediaDataTransformation
                                                                                                                                                                                                                                                                                                                                                                      type: "wpg"
                                                                                                                                                                                                                                                                                                                                                                      diff --git a/api/types/WpsMediaData.html b/api/types/WpsMediaData.html index 841c99fb93..c86c1ca5cf 100644 --- a/api/types/WpsMediaData.html +++ b/api/types/WpsMediaData.html @@ -1,4 +1,4 @@ -WpsMediaData | docx
                                                                                                                                                                                                                                                                                                                                                                      docx
                                                                                                                                                                                                                                                                                                                                                                        Preparing search index...

                                                                                                                                                                                                                                                                                                                                                                        Type Alias WpsMediaData

                                                                                                                                                                                                                                                                                                                                                                        type WpsMediaData = {
                                                                                                                                                                                                                                                                                                                                                                            data: WpsShapeCoreOptions;
                                                                                                                                                                                                                                                                                                                                                                            transformation: IMediaDataTransformation;
                                                                                                                                                                                                                                                                                                                                                                            type: "wps";
                                                                                                                                                                                                                                                                                                                                                                        }
                                                                                                                                                                                                                                                                                                                                                                        Index

                                                                                                                                                                                                                                                                                                                                                                        Properties

                                                                                                                                                                                                                                                                                                                                                                        data +WpsMediaData | docx
                                                                                                                                                                                                                                                                                                                                                                        docx
                                                                                                                                                                                                                                                                                                                                                                          Preparing search index...

                                                                                                                                                                                                                                                                                                                                                                          Type Alias WpsMediaData

                                                                                                                                                                                                                                                                                                                                                                          type WpsMediaData = {
                                                                                                                                                                                                                                                                                                                                                                              data: WpsShapeCoreOptions;
                                                                                                                                                                                                                                                                                                                                                                              transformation: IMediaDataTransformation;
                                                                                                                                                                                                                                                                                                                                                                              type: "wps";
                                                                                                                                                                                                                                                                                                                                                                          }
                                                                                                                                                                                                                                                                                                                                                                          Index

                                                                                                                                                                                                                                                                                                                                                                          Properties

                                                                                                                                                                                                                                                                                                                                                                          data: WpsShapeCoreOptions
                                                                                                                                                                                                                                                                                                                                                                          transformation: IMediaDataTransformation
                                                                                                                                                                                                                                                                                                                                                                          type: "wps"
                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                          Properties

                                                                                                                                                                                                                                                                                                                                                                          data: WpsShapeCoreOptions
                                                                                                                                                                                                                                                                                                                                                                          transformation: IMediaDataTransformation
                                                                                                                                                                                                                                                                                                                                                                          type: "wps"
                                                                                                                                                                                                                                                                                                                                                                          diff --git a/api/variables/AlignmentType.html b/api/variables/AlignmentType.html index 65a16aeec8..18c0795866 100644 --- a/api/variables/AlignmentType.html +++ b/api/variables/AlignmentType.html @@ -18,4 +18,4 @@
                                                                                                                                                                                                                                                                                                                                                                        • Align Right

                                                                                                                                                                                                                                                                                                                                                                        • ReadonlySTART: "start"

                                                                                                                                                                                                                                                                                                                                                                          Align Start

                                                                                                                                                                                                                                                                                                                                                                        • ReadonlyTHAI_DISTRIBUTE: "thaiDistribute"

                                                                                                                                                                                                                                                                                                                                                                          Thai Language Justification

                                                                                                                                                                                                                                                                                                                                                                          -
                                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                                          diff --git a/api/variables/BorderStyle.html b/api/variables/BorderStyle.html index 708fd44e84..896c6c108f 100644 --- a/api/variables/BorderStyle.html +++ b/api/variables/BorderStyle.html @@ -32,4 +32,4 @@
                                                                                                                                                                                                                                                                                                                                                                        • ReadonlyTHREE_D_ENGRAVE: "threeDEngrave"

                                                                                                                                                                                                                                                                                                                                                                          a three-staged gradient like, getting darker away from the paragraph

                                                                                                                                                                                                                                                                                                                                                                        • ReadonlyTRIPLE: "triple"

                                                                                                                                                                                                                                                                                                                                                                          a triple line

                                                                                                                                                                                                                                                                                                                                                                        • ReadonlyWAVE: "wave"

                                                                                                                                                                                                                                                                                                                                                                          a wavy line

                                                                                                                                                                                                                                                                                                                                                                          -
                                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                                          diff --git a/api/variables/CharacterSet.html b/api/variables/CharacterSet.html index 713b8a132a..3907c330c8 100644 --- a/api/variables/CharacterSet.html +++ b/api/variables/CharacterSet.html @@ -1,3 +1,3 @@ CharacterSet | docx
                                                                                                                                                                                                                                                                                                                                                                          docx
                                                                                                                                                                                                                                                                                                                                                                            Preparing search index...

                                                                                                                                                                                                                                                                                                                                                                            Variable CharacterSetConst

                                                                                                                                                                                                                                                                                                                                                                            CharacterSet: {
                                                                                                                                                                                                                                                                                                                                                                                ANSI: "00";
                                                                                                                                                                                                                                                                                                                                                                                ARABIC: "B2";
                                                                                                                                                                                                                                                                                                                                                                                BALTIC: "BA";
                                                                                                                                                                                                                                                                                                                                                                                CHINESEBIG5: "88";
                                                                                                                                                                                                                                                                                                                                                                                DEFAULT: "01";
                                                                                                                                                                                                                                                                                                                                                                                EASTEUROPE: "EE";
                                                                                                                                                                                                                                                                                                                                                                                GB_2312: "86";
                                                                                                                                                                                                                                                                                                                                                                                GREEK: "A1";
                                                                                                                                                                                                                                                                                                                                                                                HANGUL: "81";
                                                                                                                                                                                                                                                                                                                                                                                HEBREW: "B1";
                                                                                                                                                                                                                                                                                                                                                                                JIS: "80";
                                                                                                                                                                                                                                                                                                                                                                                JOHAB: "82";
                                                                                                                                                                                                                                                                                                                                                                                MAC: "4D";
                                                                                                                                                                                                                                                                                                                                                                                OEM: "FF";
                                                                                                                                                                                                                                                                                                                                                                                RUSSIAN: "CC";
                                                                                                                                                                                                                                                                                                                                                                                SYMBOL: "02";
                                                                                                                                                                                                                                                                                                                                                                                THAI: "DE";
                                                                                                                                                                                                                                                                                                                                                                                TURKISH: "A2";
                                                                                                                                                                                                                                                                                                                                                                                VIETNAMESE: "A3";
                                                                                                                                                                                                                                                                                                                                                                            } = ...

                                                                                                                                                                                                                                                                                                                                                                            Character set constants for font definitions. Maps character set names to their hexadecimal identifiers.

                                                                                                                                                                                                                                                                                                                                                                            -

                                                                                                                                                                                                                                                                                                                                                                            Type Declaration

                                                                                                                                                                                                                                                                                                                                                                            • ReadonlyANSI: "00"
                                                                                                                                                                                                                                                                                                                                                                            • ReadonlyARABIC: "B2"
                                                                                                                                                                                                                                                                                                                                                                            • ReadonlyBALTIC: "BA"
                                                                                                                                                                                                                                                                                                                                                                            • ReadonlyCHINESEBIG5: "88"
                                                                                                                                                                                                                                                                                                                                                                            • ReadonlyDEFAULT: "01"
                                                                                                                                                                                                                                                                                                                                                                            • ReadonlyEASTEUROPE: "EE"
                                                                                                                                                                                                                                                                                                                                                                            • ReadonlyGB_2312: "86"
                                                                                                                                                                                                                                                                                                                                                                            • ReadonlyGREEK: "A1"
                                                                                                                                                                                                                                                                                                                                                                            • ReadonlyHANGUL: "81"
                                                                                                                                                                                                                                                                                                                                                                            • ReadonlyHEBREW: "B1"
                                                                                                                                                                                                                                                                                                                                                                            • ReadonlyJIS: "80"
                                                                                                                                                                                                                                                                                                                                                                            • ReadonlyJOHAB: "82"
                                                                                                                                                                                                                                                                                                                                                                            • ReadonlyMAC: "4D"
                                                                                                                                                                                                                                                                                                                                                                            • ReadonlyOEM: "FF"
                                                                                                                                                                                                                                                                                                                                                                            • ReadonlyRUSSIAN: "CC"
                                                                                                                                                                                                                                                                                                                                                                            • ReadonlySYMBOL: "02"
                                                                                                                                                                                                                                                                                                                                                                            • ReadonlyTHAI: "DE"
                                                                                                                                                                                                                                                                                                                                                                            • ReadonlyTURKISH: "A2"
                                                                                                                                                                                                                                                                                                                                                                            • ReadonlyVIETNAMESE: "A3"
                                                                                                                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                                                                                                                            Type Declaration

                                                                                                                                                                                                                                                                                                                                                                            • ReadonlyANSI: "00"
                                                                                                                                                                                                                                                                                                                                                                            • ReadonlyARABIC: "B2"
                                                                                                                                                                                                                                                                                                                                                                            • ReadonlyBALTIC: "BA"
                                                                                                                                                                                                                                                                                                                                                                            • ReadonlyCHINESEBIG5: "88"
                                                                                                                                                                                                                                                                                                                                                                            • ReadonlyDEFAULT: "01"
                                                                                                                                                                                                                                                                                                                                                                            • ReadonlyEASTEUROPE: "EE"
                                                                                                                                                                                                                                                                                                                                                                            • ReadonlyGB_2312: "86"
                                                                                                                                                                                                                                                                                                                                                                            • ReadonlyGREEK: "A1"
                                                                                                                                                                                                                                                                                                                                                                            • ReadonlyHANGUL: "81"
                                                                                                                                                                                                                                                                                                                                                                            • ReadonlyHEBREW: "B1"
                                                                                                                                                                                                                                                                                                                                                                            • ReadonlyJIS: "80"
                                                                                                                                                                                                                                                                                                                                                                            • ReadonlyJOHAB: "82"
                                                                                                                                                                                                                                                                                                                                                                            • ReadonlyMAC: "4D"
                                                                                                                                                                                                                                                                                                                                                                            • ReadonlyOEM: "FF"
                                                                                                                                                                                                                                                                                                                                                                            • ReadonlyRUSSIAN: "CC"
                                                                                                                                                                                                                                                                                                                                                                            • ReadonlySYMBOL: "02"
                                                                                                                                                                                                                                                                                                                                                                            • ReadonlyTHAI: "DE"
                                                                                                                                                                                                                                                                                                                                                                            • ReadonlyTURKISH: "A2"
                                                                                                                                                                                                                                                                                                                                                                            • ReadonlyVIETNAMESE: "A3"
                                                                                                                                                                                                                                                                                                                                                                            diff --git a/api/variables/DocumentAttributeNamespaces.html b/api/variables/DocumentAttributeNamespaces.html index 8ca4443fb4..a031d66ad6 100644 --- a/api/variables/DocumentAttributeNamespaces.html +++ b/api/variables/DocumentAttributeNamespaces.html @@ -1,4 +1,4 @@ DocumentAttributeNamespaces | docx
                                                                                                                                                                                                                                                                                                                                                                            docx
                                                                                                                                                                                                                                                                                                                                                                              Preparing search index...

                                                                                                                                                                                                                                                                                                                                                                              Variable DocumentAttributeNamespacesConst

                                                                                                                                                                                                                                                                                                                                                                              DocumentAttributeNamespaces: {
                                                                                                                                                                                                                                                                                                                                                                                  aink: string;
                                                                                                                                                                                                                                                                                                                                                                                  am3d: string;
                                                                                                                                                                                                                                                                                                                                                                                  cp: string;
                                                                                                                                                                                                                                                                                                                                                                                  cx: string;
                                                                                                                                                                                                                                                                                                                                                                                  cx1: string;
                                                                                                                                                                                                                                                                                                                                                                                  cx2: string;
                                                                                                                                                                                                                                                                                                                                                                                  cx3: string;
                                                                                                                                                                                                                                                                                                                                                                                  cx4: string;
                                                                                                                                                                                                                                                                                                                                                                                  cx5: string;
                                                                                                                                                                                                                                                                                                                                                                                  cx6: string;
                                                                                                                                                                                                                                                                                                                                                                                  cx7: string;
                                                                                                                                                                                                                                                                                                                                                                                  cx8: string;
                                                                                                                                                                                                                                                                                                                                                                                  dc: string;
                                                                                                                                                                                                                                                                                                                                                                                  dcmitype: string;
                                                                                                                                                                                                                                                                                                                                                                                  dcterms: string;
                                                                                                                                                                                                                                                                                                                                                                                  m: string;
                                                                                                                                                                                                                                                                                                                                                                                  mc: string;
                                                                                                                                                                                                                                                                                                                                                                                  o: string;
                                                                                                                                                                                                                                                                                                                                                                                  r: string;
                                                                                                                                                                                                                                                                                                                                                                                  v: string;
                                                                                                                                                                                                                                                                                                                                                                                  w: string;
                                                                                                                                                                                                                                                                                                                                                                                  w10: string;
                                                                                                                                                                                                                                                                                                                                                                                  w14: string;
                                                                                                                                                                                                                                                                                                                                                                                  w15: string;
                                                                                                                                                                                                                                                                                                                                                                                  w16: string;
                                                                                                                                                                                                                                                                                                                                                                                  w16cex: string;
                                                                                                                                                                                                                                                                                                                                                                                  w16cid: string;
                                                                                                                                                                                                                                                                                                                                                                                  w16sdtdh: string;
                                                                                                                                                                                                                                                                                                                                                                                  w16se: string;
                                                                                                                                                                                                                                                                                                                                                                                  wne: string;
                                                                                                                                                                                                                                                                                                                                                                                  wp: string;
                                                                                                                                                                                                                                                                                                                                                                                  wp14: string;
                                                                                                                                                                                                                                                                                                                                                                                  wpc: string;
                                                                                                                                                                                                                                                                                                                                                                                  wpg: string;
                                                                                                                                                                                                                                                                                                                                                                                  wpi: string;
                                                                                                                                                                                                                                                                                                                                                                                  wps: string;
                                                                                                                                                                                                                                                                                                                                                                                  xsi: string;
                                                                                                                                                                                                                                                                                                                                                                              } = ...

                                                                                                                                                                                                                                                                                                                                                                              XML namespace URIs used in WordprocessingML documents.

                                                                                                                                                                                                                                                                                                                                                                              These namespaces define the various XML schemas that can be referenced in a document, including WordprocessingML, DrawingML, VML, and others.

                                                                                                                                                                                                                                                                                                                                                                              -

                                                                                                                                                                                                                                                                                                                                                                              Type Declaration

                                                                                                                                                                                                                                                                                                                                                                              • aink: string
                                                                                                                                                                                                                                                                                                                                                                              • am3d: string
                                                                                                                                                                                                                                                                                                                                                                              • cp: string
                                                                                                                                                                                                                                                                                                                                                                              • cx: string
                                                                                                                                                                                                                                                                                                                                                                              • cx1: string
                                                                                                                                                                                                                                                                                                                                                                              • cx2: string
                                                                                                                                                                                                                                                                                                                                                                              • cx3: string
                                                                                                                                                                                                                                                                                                                                                                              • cx4: string
                                                                                                                                                                                                                                                                                                                                                                              • cx5: string
                                                                                                                                                                                                                                                                                                                                                                              • cx6: string
                                                                                                                                                                                                                                                                                                                                                                              • cx7: string
                                                                                                                                                                                                                                                                                                                                                                              • cx8: string
                                                                                                                                                                                                                                                                                                                                                                              • dc: string
                                                                                                                                                                                                                                                                                                                                                                              • dcmitype: string
                                                                                                                                                                                                                                                                                                                                                                              • dcterms: string
                                                                                                                                                                                                                                                                                                                                                                              • m: string
                                                                                                                                                                                                                                                                                                                                                                              • mc: string
                                                                                                                                                                                                                                                                                                                                                                              • o: string
                                                                                                                                                                                                                                                                                                                                                                              • r: string
                                                                                                                                                                                                                                                                                                                                                                              • v: string
                                                                                                                                                                                                                                                                                                                                                                              • w: string
                                                                                                                                                                                                                                                                                                                                                                              • w10: string
                                                                                                                                                                                                                                                                                                                                                                              • w14: string
                                                                                                                                                                                                                                                                                                                                                                              • w15: string
                                                                                                                                                                                                                                                                                                                                                                              • w16: string
                                                                                                                                                                                                                                                                                                                                                                              • w16cex: string
                                                                                                                                                                                                                                                                                                                                                                              • w16cid: string
                                                                                                                                                                                                                                                                                                                                                                              • w16sdtdh: string
                                                                                                                                                                                                                                                                                                                                                                              • w16se: string
                                                                                                                                                                                                                                                                                                                                                                              • wne: string
                                                                                                                                                                                                                                                                                                                                                                              • wp: string
                                                                                                                                                                                                                                                                                                                                                                              • wp14: string
                                                                                                                                                                                                                                                                                                                                                                              • wpc: string
                                                                                                                                                                                                                                                                                                                                                                              • wpg: string
                                                                                                                                                                                                                                                                                                                                                                              • wpi: string
                                                                                                                                                                                                                                                                                                                                                                              • wps: string
                                                                                                                                                                                                                                                                                                                                                                              • xsi: string
                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                              Type Declaration

                                                                                                                                                                                                                                                                                                                                                                              • aink: string
                                                                                                                                                                                                                                                                                                                                                                              • am3d: string
                                                                                                                                                                                                                                                                                                                                                                              • cp: string
                                                                                                                                                                                                                                                                                                                                                                              • cx: string
                                                                                                                                                                                                                                                                                                                                                                              • cx1: string
                                                                                                                                                                                                                                                                                                                                                                              • cx2: string
                                                                                                                                                                                                                                                                                                                                                                              • cx3: string
                                                                                                                                                                                                                                                                                                                                                                              • cx4: string
                                                                                                                                                                                                                                                                                                                                                                              • cx5: string
                                                                                                                                                                                                                                                                                                                                                                              • cx6: string
                                                                                                                                                                                                                                                                                                                                                                              • cx7: string
                                                                                                                                                                                                                                                                                                                                                                              • cx8: string
                                                                                                                                                                                                                                                                                                                                                                              • dc: string
                                                                                                                                                                                                                                                                                                                                                                              • dcmitype: string
                                                                                                                                                                                                                                                                                                                                                                              • dcterms: string
                                                                                                                                                                                                                                                                                                                                                                              • m: string
                                                                                                                                                                                                                                                                                                                                                                              • mc: string
                                                                                                                                                                                                                                                                                                                                                                              • o: string
                                                                                                                                                                                                                                                                                                                                                                              • r: string
                                                                                                                                                                                                                                                                                                                                                                              • v: string
                                                                                                                                                                                                                                                                                                                                                                              • w: string
                                                                                                                                                                                                                                                                                                                                                                              • w10: string
                                                                                                                                                                                                                                                                                                                                                                              • w14: string
                                                                                                                                                                                                                                                                                                                                                                              • w15: string
                                                                                                                                                                                                                                                                                                                                                                              • w16: string
                                                                                                                                                                                                                                                                                                                                                                              • w16cex: string
                                                                                                                                                                                                                                                                                                                                                                              • w16cid: string
                                                                                                                                                                                                                                                                                                                                                                              • w16sdtdh: string
                                                                                                                                                                                                                                                                                                                                                                              • w16se: string
                                                                                                                                                                                                                                                                                                                                                                              • wne: string
                                                                                                                                                                                                                                                                                                                                                                              • wp: string
                                                                                                                                                                                                                                                                                                                                                                              • wp14: string
                                                                                                                                                                                                                                                                                                                                                                              • wpc: string
                                                                                                                                                                                                                                                                                                                                                                              • wpg: string
                                                                                                                                                                                                                                                                                                                                                                              • wpi: string
                                                                                                                                                                                                                                                                                                                                                                              • wps: string
                                                                                                                                                                                                                                                                                                                                                                              • xsi: string
                                                                                                                                                                                                                                                                                                                                                                              diff --git a/api/variables/DocumentGridType.html b/api/variables/DocumentGridType.html index de360d967f..6b9266620e 100644 --- a/api/variables/DocumentGridType.html +++ b/api/variables/DocumentGridType.html @@ -11,4 +11,4 @@

                                                                                                                                                                                                                                                                                                                                                                              When this value is set, the input specified via the user interface may be allowed in exact number of line/character pitch units.

                                                                                                                                                                                                                                                                                                                                                                            • ReadonlySNAP_TO_CHARS: "snapToChars"

                                                                                                                                                                                                                                                                                                                                                                              Specifies that the parent section shall have both the additional line pitch and character pitch added to each line and character within it (as specified on the element (§2.6.5)) in order to maintain a specific number of lines per page and characters per line.

                                                                                                                                                                                                                                                                                                                                                                              When this value is set, the input specified via the user interface may be restricted to the number of lines per page and characters per line, with the consumer or producer translating this information based on the current font data to get the resulting line and character pitch values

                                                                                                                                                                                                                                                                                                                                                                              -
                                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                                              diff --git a/api/variables/DropCapType.html b/api/variables/DropCapType.html index 821a075790..7b3f412174 100644 --- a/api/variables/DropCapType.html +++ b/api/variables/DropCapType.html @@ -4,4 +4,4 @@ beginning of a paragraph. This enum defines how the drop cap should be positione

                                                                                                                                                                                                                                                                                                                                                                              Type Declaration

                                                                                                                                                                                                                                                                                                                                                                              • ReadonlyDROP: "drop"

                                                                                                                                                                                                                                                                                                                                                                                Drop cap that drops down into the paragraph text

                                                                                                                                                                                                                                                                                                                                                                              • ReadonlyMARGIN: "margin"

                                                                                                                                                                                                                                                                                                                                                                                Drop cap that extends into the margin

                                                                                                                                                                                                                                                                                                                                                                              • ReadonlyNONE: "none"

                                                                                                                                                                                                                                                                                                                                                                                No drop cap effect

                                                                                                                                                                                                                                                                                                                                                                                -
                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                              diff --git a/api/variables/EMPTY_OBJECT.html b/api/variables/EMPTY_OBJECT.html index 6a405e510e..72be4f7a70 100644 --- a/api/variables/EMPTY_OBJECT.html +++ b/api/variables/EMPTY_OBJECT.html @@ -1,4 +1,4 @@ EMPTY_OBJECT | docx
                                                                                                                                                                                                                                                                                                                                                                              docx
                                                                                                                                                                                                                                                                                                                                                                                Preparing search index...

                                                                                                                                                                                                                                                                                                                                                                                Variable EMPTY_OBJECTConst Internal

                                                                                                                                                                                                                                                                                                                                                                                EMPTY_OBJECT: {} = ...

                                                                                                                                                                                                                                                                                                                                                                                Empty object singleton used for empty XML elements.

                                                                                                                                                                                                                                                                                                                                                                                This sealed object is used to generate self-closing XML tags when an element has no children or attributes.

                                                                                                                                                                                                                                                                                                                                                                                -

                                                                                                                                                                                                                                                                                                                                                                                Type Declaration

                                                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                                                  Type Declaration

                                                                                                                                                                                                                                                                                                                                                                                    diff --git a/api/variables/EmphasisMarkType.html b/api/variables/EmphasisMarkType.html index 9f59a00bb3..95b95dec98 100644 --- a/api/variables/EmphasisMarkType.html +++ b/api/variables/EmphasisMarkType.html @@ -6,4 +6,4 @@ Emphasis marks are commonly used in East Asian typography.

                                                                                                                                                                                                                                                                                                                                                                                    Type Declaration

                                                                                                                                                                                                                                                                                                                                                                                    • ReadonlyDOT: "dot"

                                                                                                                                                                                                                                                                                                                                                                                      Dot emphasis mark

                                                                                                                                                                                                                                                                                                                                                                                      -
                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                    diff --git a/api/variables/FrameAnchorType.html b/api/variables/FrameAnchorType.html index a984ffd5a8..193318bf1e 100644 --- a/api/variables/FrameAnchorType.html +++ b/api/variables/FrameAnchorType.html @@ -3,4 +3,4 @@

                                                                                                                                                                                                                                                                                                                                                                                    Type Declaration

                                                                                                                                                                                                                                                                                                                                                                                    • ReadonlyMARGIN: "margin"

                                                                                                                                                                                                                                                                                                                                                                                      Anchor relative to the page margin

                                                                                                                                                                                                                                                                                                                                                                                    • ReadonlyPAGE: "page"

                                                                                                                                                                                                                                                                                                                                                                                      Anchor relative to the page edge

                                                                                                                                                                                                                                                                                                                                                                                    • ReadonlyTEXT: "text"

                                                                                                                                                                                                                                                                                                                                                                                      Anchor relative to the text column

                                                                                                                                                                                                                                                                                                                                                                                      -
                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                    diff --git a/api/variables/FrameWrap.html b/api/variables/FrameWrap.html index 741ef14862..dac308230e 100644 --- a/api/variables/FrameWrap.html +++ b/api/variables/FrameWrap.html @@ -6,4 +6,4 @@
                                                                                                                                                                                                                                                                                                                                                                                  • ReadonlyNOT_BESIDE: "notBeside"

                                                                                                                                                                                                                                                                                                                                                                                    Do not allow text beside the frame

                                                                                                                                                                                                                                                                                                                                                                                  • ReadonlyTHROUGH: "through"

                                                                                                                                                                                                                                                                                                                                                                                    Allow text to flow through the frame

                                                                                                                                                                                                                                                                                                                                                                                  • ReadonlyTIGHT: "tight"

                                                                                                                                                                                                                                                                                                                                                                                    Wrap text tightly around the frame

                                                                                                                                                                                                                                                                                                                                                                                    -
                                                                                                                                                                                                                                                                                                                                                                                  • +
                                                                                                                                                                                                                                                                                                                                                                                    diff --git a/api/variables/HeaderFooterReferenceType.html b/api/variables/HeaderFooterReferenceType.html index 73983ca5e3..110b0e40ed 100644 --- a/api/variables/HeaderFooterReferenceType.html +++ b/api/variables/HeaderFooterReferenceType.html @@ -7,4 +7,4 @@

                                                                                                                                                                                                                                                                                                                                                                                    Type Declaration

                                                                                                                                                                                                                                                                                                                                                                                    • ReadonlyDEFAULT: "default"

                                                                                                                                                                                                                                                                                                                                                                                      Specifies that this header or footer shall appear on every page in this section which is not overridden with a specific even or first page header/footer. In a section with all three types specified, this type shall be used on all odd numbered pages (counting from the first page in the section, not the section numbering).

                                                                                                                                                                                                                                                                                                                                                                                    • ReadonlyEVEN: "even"

                                                                                                                                                                                                                                                                                                                                                                                      Specifies that this header or footer shall appear on all even numbered pages in this section (counting from the first page in the section, not the section numbering). The appearance of this header or footer is contingent on the setting of the evenAndOddHeaders element (§2.10.1).

                                                                                                                                                                                                                                                                                                                                                                                    • ReadonlyFIRST: "first"

                                                                                                                                                                                                                                                                                                                                                                                      Specifies that this header or footer shall appear on the first page in this section. The appearance of this header or footer is contingent on the setting of the titlePg element (§2.10.6).

                                                                                                                                                                                                                                                                                                                                                                                      -
                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                    diff --git a/api/variables/HeaderFooterType.html b/api/variables/HeaderFooterType.html index 4bad2a7c83..e0c0e3be97 100644 --- a/api/variables/HeaderFooterType.html +++ b/api/variables/HeaderFooterType.html @@ -1 +1 @@ -HeaderFooterType | docx
                                                                                                                                                                                                                                                                                                                                                                                    docx
                                                                                                                                                                                                                                                                                                                                                                                      Preparing search index...

                                                                                                                                                                                                                                                                                                                                                                                      Variable HeaderFooterTypeConst

                                                                                                                                                                                                                                                                                                                                                                                      HeaderFooterType: { FOOTER: "w:footerReference"; HEADER: "w:headerReference" } = ...

                                                                                                                                                                                                                                                                                                                                                                                      Type Declaration

                                                                                                                                                                                                                                                                                                                                                                                      +HeaderFooterType | docx
                                                                                                                                                                                                                                                                                                                                                                                      docx
                                                                                                                                                                                                                                                                                                                                                                                        Preparing search index...

                                                                                                                                                                                                                                                                                                                                                                                        Variable HeaderFooterTypeConst

                                                                                                                                                                                                                                                                                                                                                                                        HeaderFooterType: { FOOTER: "w:footerReference"; HEADER: "w:headerReference" } = ...

                                                                                                                                                                                                                                                                                                                                                                                        Type Declaration

                                                                                                                                                                                                                                                                                                                                                                                        diff --git a/api/variables/HeadingLevel.html b/api/variables/HeadingLevel.html index a3200eb99e..376049b7d4 100644 --- a/api/variables/HeadingLevel.html +++ b/api/variables/HeadingLevel.html @@ -7,4 +7,4 @@
                                                                                                                                                                                                                                                                                                                                                                                      • ReadonlyHEADING_5: "Heading5"

                                                                                                                                                                                                                                                                                                                                                                                        Heading 5 style

                                                                                                                                                                                                                                                                                                                                                                                      • ReadonlyHEADING_6: "Heading6"

                                                                                                                                                                                                                                                                                                                                                                                        Heading 6 style

                                                                                                                                                                                                                                                                                                                                                                                      • ReadonlyTITLE: "Title"

                                                                                                                                                                                                                                                                                                                                                                                        Title style

                                                                                                                                                                                                                                                                                                                                                                                        -
                                                                                                                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                                                                                                                        diff --git a/api/variables/HeightRule.html b/api/variables/HeightRule.html index 063539d108..d57e51e1b4 100644 --- a/api/variables/HeightRule.html +++ b/api/variables/HeightRule.html @@ -7,4 +7,4 @@

                                                                                                                                                                                                                                                                                                                                                                                        Type Declaration

                                                                                                                                                                                                                                                                                                                                                                                        • ReadonlyATLEAST: "atLeast"

                                                                                                                                                                                                                                                                                                                                                                                          At least the value specified

                                                                                                                                                                                                                                                                                                                                                                                        • ReadonlyAUTO: "auto"

                                                                                                                                                                                                                                                                                                                                                                                          Height is determined based on the content, so value is ignored.

                                                                                                                                                                                                                                                                                                                                                                                        • ReadonlyEXACT: "exact"

                                                                                                                                                                                                                                                                                                                                                                                          Exactly the value specified

                                                                                                                                                                                                                                                                                                                                                                                          -
                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                        diff --git a/api/variables/HighlightColor.html b/api/variables/HighlightColor.html index 3c544b9722..36c8017165 100644 --- a/api/variables/HighlightColor.html +++ b/api/variables/HighlightColor.html @@ -22,4 +22,4 @@
                                                                                                                                                                                                                                                                                                                                                                                      • ReadonlyRED: "red"

                                                                                                                                                                                                                                                                                                                                                                                        Red highlight

                                                                                                                                                                                                                                                                                                                                                                                      • ReadonlyWHITE: "white"

                                                                                                                                                                                                                                                                                                                                                                                        White highlight

                                                                                                                                                                                                                                                                                                                                                                                      • ReadonlyYELLOW: "yellow"

                                                                                                                                                                                                                                                                                                                                                                                        Yellow highlight

                                                                                                                                                                                                                                                                                                                                                                                        -
                                                                                                                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                                                                                                                        diff --git a/api/variables/HorizontalPositionAlign.html b/api/variables/HorizontalPositionAlign.html index 0373dad64c..bb8d8575d0 100644 --- a/api/variables/HorizontalPositionAlign.html +++ b/api/variables/HorizontalPositionAlign.html @@ -5,4 +5,4 @@
                                                                                                                                                                                                                                                                                                                                                                                      • ReadonlyLEFT: "left"

                                                                                                                                                                                                                                                                                                                                                                                        Align to left

                                                                                                                                                                                                                                                                                                                                                                                      • ReadonlyOUTSIDE: "outside"

                                                                                                                                                                                                                                                                                                                                                                                        Align to outside margin (right on odd, left on even pages)

                                                                                                                                                                                                                                                                                                                                                                                      • Align to right

                                                                                                                                                                                                                                                                                                                                                                                        -
                                                                                                                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                                                                                                                        diff --git a/api/variables/HorizontalPositionRelativeFrom.html b/api/variables/HorizontalPositionRelativeFrom.html index f1ac98806e..d0caac7fd3 100644 --- a/api/variables/HorizontalPositionRelativeFrom.html +++ b/api/variables/HorizontalPositionRelativeFrom.html @@ -21,4 +21,4 @@

                                                                                                                                                                                                                                                                                                                                                                                        Specifies that the horizontal positioning shall be relative to the edge of the page.

                                                                                                                                                                                                                                                                                                                                                                                      • ReadonlyRIGHT_MARGIN: "rightMargin"

                                                                                                                                                                                                                                                                                                                                                                                        Specifies that the horizontal positioning shall be relative to the right margin of the page.

                                                                                                                                                                                                                                                                                                                                                                                        -
                                                                                                                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                                                                                                                        diff --git a/api/variables/HyperlinkType.html b/api/variables/HyperlinkType.html index 580c207735..b6e3bf99a9 100644 --- a/api/variables/HyperlinkType.html +++ b/api/variables/HyperlinkType.html @@ -2,4 +2,4 @@

                                                                                                                                                                                                                                                                                                                                                                                        Defines the types of hyperlinks supported in WordprocessingML documents.

                                                                                                                                                                                                                                                                                                                                                                                        Type Declaration

                                                                                                                                                                                                                                                                                                                                                                                        • ReadonlyEXTERNAL: "EXTERNAL"

                                                                                                                                                                                                                                                                                                                                                                                          External hyperlink to a URL outside the document

                                                                                                                                                                                                                                                                                                                                                                                        • ReadonlyINTERNAL: "INTERNAL"

                                                                                                                                                                                                                                                                                                                                                                                          Internal hyperlink to a bookmark within the document

                                                                                                                                                                                                                                                                                                                                                                                          -
                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                        diff --git a/api/variables/LeaderType.html b/api/variables/LeaderType.html index 746c3b5038..2b2c29b532 100644 --- a/api/variables/LeaderType.html +++ b/api/variables/LeaderType.html @@ -5,4 +5,4 @@
                                                                                                                                                                                                                                                                                                                                                                                      • ReadonlyMIDDLE_DOT: "middleDot"

                                                                                                                                                                                                                                                                                                                                                                                        Middle dot leader (····)

                                                                                                                                                                                                                                                                                                                                                                                      • ReadonlyNONE: "none"

                                                                                                                                                                                                                                                                                                                                                                                        No leader

                                                                                                                                                                                                                                                                                                                                                                                      • ReadonlyUNDERSCORE: "underscore"

                                                                                                                                                                                                                                                                                                                                                                                        Underscore leader (____)

                                                                                                                                                                                                                                                                                                                                                                                        -
                                                                                                                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                                                                                                                        diff --git a/api/variables/LevelFormat.html b/api/variables/LevelFormat.html index 832a0ec5e6..35f857992e 100644 --- a/api/variables/LevelFormat.html +++ b/api/variables/LevelFormat.html @@ -68,4 +68,4 @@ decimal, roman numerals, letters, and various international formats.

                                                                                                                                                                                                                                                                                                                                                                                        // Use decimal numbering (1, 2, 3...)
                                                                                                                                                                                                                                                                                                                                                                                        format: LevelFormat.DECIMAL

                                                                                                                                                                                                                                                                                                                                                                                        // Use lowercase roman numerals (i, ii, iii...)
                                                                                                                                                                                                                                                                                                                                                                                        format: LevelFormat.LOWER_ROMAN

                                                                                                                                                                                                                                                                                                                                                                                        // Use bullet points
                                                                                                                                                                                                                                                                                                                                                                                        format: LevelFormat.BULLET
                                                                                                                                                                                                                                                                                                                                                                                        -
                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                        diff --git a/api/variables/LevelSuffix.html b/api/variables/LevelSuffix.html index 7376da2173..3b60a78815 100644 --- a/api/variables/LevelSuffix.html +++ b/api/variables/LevelSuffix.html @@ -6,4 +6,4 @@
                                                                                                                                                                                                                                                                                                                                                                                        // Add a tab after the numbering
                                                                                                                                                                                                                                                                                                                                                                                        suffix: LevelSuffix.TAB

                                                                                                                                                                                                                                                                                                                                                                                        // Add a space after the numbering
                                                                                                                                                                                                                                                                                                                                                                                        suffix: LevelSuffix.SPACE

                                                                                                                                                                                                                                                                                                                                                                                        // No separator after the numbering
                                                                                                                                                                                                                                                                                                                                                                                        suffix: LevelSuffix.NOTHING
                                                                                                                                                                                                                                                                                                                                                                                        -
                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                        diff --git a/api/variables/LineNumberRestartFormat.html b/api/variables/LineNumberRestartFormat.html index 48a8aa1244..217120a05f 100644 --- a/api/variables/LineNumberRestartFormat.html +++ b/api/variables/LineNumberRestartFormat.html @@ -10,4 +10,4 @@

                                                                                                                                                                                                                                                                                                                                                                                        Specifies that line numbering for the parent section shall restart to the starting value whenever a new page is displayed.

                                                                                                                                                                                                                                                                                                                                                                                      • ReadonlyNEW_SECTION: "newSection"

                                                                                                                                                                                                                                                                                                                                                                                        Specifies that line numbering for the parent section shall restart to the starting value whenever the parent begins.

                                                                                                                                                                                                                                                                                                                                                                                        -
                                                                                                                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                                                                                                                        diff --git a/api/variables/LineRuleType.html b/api/variables/LineRuleType.html index 9e30a3fbad..6eef1f4a49 100644 --- a/api/variables/LineRuleType.html +++ b/api/variables/LineRuleType.html @@ -4,4 +4,4 @@
                                                                                                                                                                                                                                                                                                                                                                                      • ReadonlyAUTO: "auto"

                                                                                                                                                                                                                                                                                                                                                                                        Line spacing is automatically determined based on content

                                                                                                                                                                                                                                                                                                                                                                                      • ReadonlyEXACT: "exact"

                                                                                                                                                                                                                                                                                                                                                                                        Line spacing is exactly the specified value (alias for EXACTLY)

                                                                                                                                                                                                                                                                                                                                                                                      • ReadonlyEXACTLY: "exactly"

                                                                                                                                                                                                                                                                                                                                                                                        Line spacing is exactly the specified value

                                                                                                                                                                                                                                                                                                                                                                                        -
                                                                                                                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                                                                                                                        diff --git a/api/variables/NumberFormat.html b/api/variables/NumberFormat.html index 56f84181bc..35ded60094 100644 --- a/api/variables/NumberFormat.html +++ b/api/variables/NumberFormat.html @@ -8,4 +8,4 @@ alphabetic, and various Asian numbering systems.

                                                                                                                                                                                                                                                                                                                                                                                        Type Declaration

                                                                                                                                                                                                                                                                                                                                                                                        • ReadonlyAIUEO: "aiueo"
                                                                                                                                                                                                                                                                                                                                                                                        • ReadonlyAIUEO_FULL_WIDTH: "aiueoFullWidth"
                                                                                                                                                                                                                                                                                                                                                                                        • ReadonlyARABIC_ABJAD: "arabicAbjad"
                                                                                                                                                                                                                                                                                                                                                                                        • ReadonlyARABIC_ALPHA: "arabicAlpha"
                                                                                                                                                                                                                                                                                                                                                                                        • ReadonlyBAHT_TEXT: "bahtText"
                                                                                                                                                                                                                                                                                                                                                                                        • ReadonlyBULLET: "bullet"
                                                                                                                                                                                                                                                                                                                                                                                        • ReadonlyCARDINAL_TEXT: "cardinalText"
                                                                                                                                                                                                                                                                                                                                                                                        • ReadonlyCHICAGO: "chicago"
                                                                                                                                                                                                                                                                                                                                                                                        • ReadonlyCHINESE_COUNTING: "chineseCounting"
                                                                                                                                                                                                                                                                                                                                                                                        • ReadonlyCHINESE_COUNTING_TEN_THOUSAND: "chineseCountingThousand"
                                                                                                                                                                                                                                                                                                                                                                                        • ReadonlyCHOSUNG: "chosung"
                                                                                                                                                                                                                                                                                                                                                                                        • ReadonlyDECIMAL: "decimal"
                                                                                                                                                                                                                                                                                                                                                                                        • ReadonlyDECIMAL_ENCLOSED_CIRCLE: "decimalEnclosedCircle"
                                                                                                                                                                                                                                                                                                                                                                                        • ReadonlyDECIMAL_ENCLOSED_CIRCLE_CHINESE: "decimalEnclosedCircleChinese"
                                                                                                                                                                                                                                                                                                                                                                                        • ReadonlyDECIMAL_ENCLOSED_FULL_STOP: "decimalEnclosedFullstop"
                                                                                                                                                                                                                                                                                                                                                                                        • ReadonlyDECIMAL_ENCLOSED_PAREN: "decimalEnclosedParen"
                                                                                                                                                                                                                                                                                                                                                                                        • ReadonlyDECIMAL_FULL_WIDTH: "decimalFullWidth"
                                                                                                                                                                                                                                                                                                                                                                                        • ReadonlyDECIMAL_FULL_WIDTH_2: "decimalFullWidth2"
                                                                                                                                                                                                                                                                                                                                                                                        • ReadonlyDECIMAL_HALF_WIDTH: "decimalHalfWidth"
                                                                                                                                                                                                                                                                                                                                                                                        • ReadonlyDECIMAL_ZERO: "decimalZero"
                                                                                                                                                                                                                                                                                                                                                                                        • ReadonlyDOLLAR_TEXT: "dollarText"
                                                                                                                                                                                                                                                                                                                                                                                        • ReadonlyGANADA: "ganada"
                                                                                                                                                                                                                                                                                                                                                                                        • ReadonlyHEBREW_1: "hebrew1"
                                                                                                                                                                                                                                                                                                                                                                                        • ReadonlyHEBREW_2: "hebrew2"
                                                                                                                                                                                                                                                                                                                                                                                        • ReadonlyHEX: "hex"
                                                                                                                                                                                                                                                                                                                                                                                        • ReadonlyHINDI_CONSONANTS: "hindiConsonants"
                                                                                                                                                                                                                                                                                                                                                                                        • ReadonlyHINDI_COUNTING: "hindiCounting"
                                                                                                                                                                                                                                                                                                                                                                                        • ReadonlyHINDI_NUMBERS: "hindiNumbers"
                                                                                                                                                                                                                                                                                                                                                                                        • ReadonlyHINDI_VOWELS: "hindiVowels"
                                                                                                                                                                                                                                                                                                                                                                                        • ReadonlyIDEOGRAPH_DIGITAL: "ideographDigital"
                                                                                                                                                                                                                                                                                                                                                                                        • ReadonlyIDEOGRAPH_ENCLOSED_CIRCLE: "ideographEnclosedCircle"
                                                                                                                                                                                                                                                                                                                                                                                        • ReadonlyIDEOGRAPH_TRADITIONAL: "ideographTraditional"
                                                                                                                                                                                                                                                                                                                                                                                        • ReadonlyIDEOGRAPH_ZODIAC: "ideographZodiac"
                                                                                                                                                                                                                                                                                                                                                                                        • ReadonlyIDEOGRAPH_ZODIAC_TRADITIONAL: "ideographZodiacTraditional"
                                                                                                                                                                                                                                                                                                                                                                                        • ReadonlyIROHA: "iroha"
                                                                                                                                                                                                                                                                                                                                                                                        • ReadonlyIROHA_FULL_WIDTH: "irohaFullWidth"
                                                                                                                                                                                                                                                                                                                                                                                        • ReadonlyJAPANESE_COUNTING: "japaneseCounting"
                                                                                                                                                                                                                                                                                                                                                                                        • ReadonlyJAPANESE_DIGITAL_TEN_THOUSAND: "japaneseDigitalTenThousand"
                                                                                                                                                                                                                                                                                                                                                                                        • ReadonlyKOREAN_COUNTING: "koreanCounting"
                                                                                                                                                                                                                                                                                                                                                                                        • ReadonlyKOREAN_DIGITAL: "koreanDigital"
                                                                                                                                                                                                                                                                                                                                                                                        • ReadonlyKOREAN_DIGITAL_2: "koreanDigital2"
                                                                                                                                                                                                                                                                                                                                                                                        • ReadonlyLOWER_LETTER: "lowerLetter"
                                                                                                                                                                                                                                                                                                                                                                                        • ReadonlyLOWER_ROMAN: "lowerRoman"
                                                                                                                                                                                                                                                                                                                                                                                        • ReadonlyNONE: "none"
                                                                                                                                                                                                                                                                                                                                                                                        • ReadonlyNUMBER_IN_DASH: "numberInDash"
                                                                                                                                                                                                                                                                                                                                                                                        • ReadonlyORDINAL: "ordinal"
                                                                                                                                                                                                                                                                                                                                                                                        • ReadonlyORDINAL_TEXT: "ordinalText"
                                                                                                                                                                                                                                                                                                                                                                                        • ReadonlyRUSSIAN_LOWER: "russianLower"
                                                                                                                                                                                                                                                                                                                                                                                        • ReadonlyRUSSIAN_UPPER: "russianUpper"
                                                                                                                                                                                                                                                                                                                                                                                        • ReadonlyTAIWANESE_COUNTING: "taiwaneseCounting"
                                                                                                                                                                                                                                                                                                                                                                                        • ReadonlyTAIWANESE_COUNTING_THOUSAND: "taiwaneseCountingThousand"
                                                                                                                                                                                                                                                                                                                                                                                        • ReadonlyTAIWANESE_DIGITAL: "taiwaneseDigital"
                                                                                                                                                                                                                                                                                                                                                                                        • ReadonlyTHAI_COUNTING: "thaiCounting"
                                                                                                                                                                                                                                                                                                                                                                                        • ReadonlyTHAI_LETTERS: "thaiLetters"
                                                                                                                                                                                                                                                                                                                                                                                        • ReadonlyTHAI_NUMBERS: "thaiNumbers"
                                                                                                                                                                                                                                                                                                                                                                                        • ReadonlyUPPER_LETTER: "upperLetter"
                                                                                                                                                                                                                                                                                                                                                                                        • ReadonlyUPPER_ROMAN: "upperRoman"
                                                                                                                                                                                                                                                                                                                                                                                        • ReadonlyVIETNAMESE_COUNTING: "vietnameseCounting"
                                                                                                                                                                                                                                                                                                                                                                                        // Arabic numerals (1, 2, 3)
                                                                                                                                                                                                                                                                                                                                                                                        NumberFormat.DECIMAL;

                                                                                                                                                                                                                                                                                                                                                                                        // Roman numerals (I, II, III)
                                                                                                                                                                                                                                                                                                                                                                                        NumberFormat.UPPER_ROMAN;

                                                                                                                                                                                                                                                                                                                                                                                        // Letters (a, b, c)
                                                                                                                                                                                                                                                                                                                                                                                        NumberFormat.LOWER_LETTER;
                                                                                                                                                                                                                                                                                                                                                                                        -
                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                        diff --git a/api/variables/OverlapType.html b/api/variables/OverlapType.html index 1a2f3ac02f..98c8c71ee8 100644 --- a/api/variables/OverlapType.html +++ b/api/variables/OverlapType.html @@ -3,4 +3,4 @@
                                                                                                                                                                                                                                                                                                                                                                                        <xsd:simpleType name="ST_TblOverlap">
                                                                                                                                                                                                                                                                                                                                                                                        <xsd:restriction base="xsd:string">
                                                                                                                                                                                                                                                                                                                                                                                        <xsd:enumeration value="never"/>
                                                                                                                                                                                                                                                                                                                                                                                        <xsd:enumeration value="overlap"/>
                                                                                                                                                                                                                                                                                                                                                                                        </xsd:restriction>
                                                                                                                                                                                                                                                                                                                                                                                        </xsd:simpleType>
                                                                                                                                                                                                                                                                                                                                                                                        -

                                                                                                                                                                                                                                                                                                                                                                                        Type Declaration

                                                                                                                                                                                                                                                                                                                                                                                        • ReadonlyNEVER: "never"
                                                                                                                                                                                                                                                                                                                                                                                        • ReadonlyOVERLAP: "overlap"
                                                                                                                                                                                                                                                                                                                                                                                        +

                                                                                                                                                                                                                                                                                                                                                                                        Type Declaration

                                                                                                                                                                                                                                                                                                                                                                                        • ReadonlyNEVER: "never"
                                                                                                                                                                                                                                                                                                                                                                                        • ReadonlyOVERLAP: "overlap"
                                                                                                                                                                                                                                                                                                                                                                                        diff --git a/api/variables/PageBorderDisplay.html b/api/variables/PageBorderDisplay.html index cc32548237..194b015f63 100644 --- a/api/variables/PageBorderDisplay.html +++ b/api/variables/PageBorderDisplay.html @@ -6,4 +6,4 @@

                                                                                                                                                                                                                                                                                                                                                                                        Type Declaration

                                                                                                                                                                                                                                                                                                                                                                                        • ReadonlyALL_PAGES: "allPages"

                                                                                                                                                                                                                                                                                                                                                                                          Display border on all pages

                                                                                                                                                                                                                                                                                                                                                                                        • ReadonlyFIRST_PAGE: "firstPage"

                                                                                                                                                                                                                                                                                                                                                                                          Display border only on first page

                                                                                                                                                                                                                                                                                                                                                                                        • ReadonlyNOT_FIRST_PAGE: "notFirstPage"

                                                                                                                                                                                                                                                                                                                                                                                          Display border on all pages except first page

                                                                                                                                                                                                                                                                                                                                                                                          -
                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                        diff --git a/api/variables/PageBorderOffsetFrom.html b/api/variables/PageBorderOffsetFrom.html index 60a0a88c79..7a8ee44983 100644 --- a/api/variables/PageBorderOffsetFrom.html +++ b/api/variables/PageBorderOffsetFrom.html @@ -5,4 +5,4 @@

                                                                                                                                                                                                                                                                                                                                                                                        Type Declaration

                                                                                                                                                                                                                                                                                                                                                                                        • ReadonlyPAGE: "page"

                                                                                                                                                                                                                                                                                                                                                                                          Position border relative to page edge

                                                                                                                                                                                                                                                                                                                                                                                        • ReadonlyTEXT: "text"

                                                                                                                                                                                                                                                                                                                                                                                          Position border relative to text (default)

                                                                                                                                                                                                                                                                                                                                                                                          -
                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                        diff --git a/api/variables/PageBorderZOrder.html b/api/variables/PageBorderZOrder.html index 262f1da852..9b860b46a7 100644 --- a/api/variables/PageBorderZOrder.html +++ b/api/variables/PageBorderZOrder.html @@ -5,4 +5,4 @@

                                                                                                                                                                                                                                                                                                                                                                                        Type Declaration

                                                                                                                                                                                                                                                                                                                                                                                        • ReadonlyBACK: "back"

                                                                                                                                                                                                                                                                                                                                                                                          Display border behind page contents

                                                                                                                                                                                                                                                                                                                                                                                        • ReadonlyFRONT: "front"

                                                                                                                                                                                                                                                                                                                                                                                          Display border in front of page contents (default)

                                                                                                                                                                                                                                                                                                                                                                                          -
                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                        diff --git a/api/variables/PageNumber.html b/api/variables/PageNumber.html index 7acaf15ac2..c351a38569 100644 --- a/api/variables/PageNumber.html +++ b/api/variables/PageNumber.html @@ -5,4 +5,4 @@
                                                                                                                                                                                                                                                                                                                                                                                      • ReadonlyCURRENT_SECTION: "SECTION"

                                                                                                                                                                                                                                                                                                                                                                                        Inserts the current section number

                                                                                                                                                                                                                                                                                                                                                                                      • ReadonlyTOTAL_PAGES: "TOTAL_PAGES"

                                                                                                                                                                                                                                                                                                                                                                                        Inserts the total number of pages in the document

                                                                                                                                                                                                                                                                                                                                                                                      • ReadonlyTOTAL_PAGES_IN_SECTION: "TOTAL_PAGES_IN_SECTION"

                                                                                                                                                                                                                                                                                                                                                                                        Inserts the total number of pages in the current section

                                                                                                                                                                                                                                                                                                                                                                                        -
                                                                                                                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                                                                                                                        diff --git a/api/variables/PageNumberSeparator.html b/api/variables/PageNumberSeparator.html index 14bd16dd17..744b674b64 100644 --- a/api/variables/PageNumberSeparator.html +++ b/api/variables/PageNumberSeparator.html @@ -8,4 +8,4 @@
                                                                                                                                                                                                                                                                                                                                                                                      • ReadonlyEN_DASH: "endash"

                                                                                                                                                                                                                                                                                                                                                                                        En dash separator (–)

                                                                                                                                                                                                                                                                                                                                                                                      • ReadonlyHYPHEN: "hyphen"

                                                                                                                                                                                                                                                                                                                                                                                        Hyphen separator (-)

                                                                                                                                                                                                                                                                                                                                                                                      • ReadonlyPERIOD: "period"

                                                                                                                                                                                                                                                                                                                                                                                        Period separator (.)

                                                                                                                                                                                                                                                                                                                                                                                        -
                                                                                                                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                                                                                                                        diff --git a/api/variables/PageOrientation.html b/api/variables/PageOrientation.html index 9276adfda1..41c46f217b 100644 --- a/api/variables/PageOrientation.html +++ b/api/variables/PageOrientation.html @@ -8,4 +8,4 @@

                                                                                                                                                                                                                                                                                                                                                                                        Specifies that pages in this section shall be printed in landscape mode, which prints the page contents with a 90 degree rotation with respect to the normal page orientation.

                                                                                                                                                                                                                                                                                                                                                                                      • ReadonlyPORTRAIT: "portrait"

                                                                                                                                                                                                                                                                                                                                                                                        Specifies that pages in this section shall be printed in portrait mode.

                                                                                                                                                                                                                                                                                                                                                                                        -
                                                                                                                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                                                                                                                        diff --git a/api/variables/PageTextDirectionType.html b/api/variables/PageTextDirectionType.html index 7920e723ed..e6cf680111 100644 --- a/api/variables/PageTextDirectionType.html +++ b/api/variables/PageTextDirectionType.html @@ -3,4 +3,4 @@ vertically (top-to-bottom), commonly used for East Asian languages.

                                                                                                                                                                                                                                                                                                                                                                                        Type Declaration

                                                                                                                                                                                                                                                                                                                                                                                        • ReadonlyLEFT_TO_RIGHT_TOP_TO_BOTTOM: "lrTb"

                                                                                                                                                                                                                                                                                                                                                                                          Left-to-right, top-to-bottom (standard Western text flow)

                                                                                                                                                                                                                                                                                                                                                                                        • ReadonlyTOP_TO_BOTTOM_RIGHT_TO_LEFT: "tbRl"

                                                                                                                                                                                                                                                                                                                                                                                          Top-to-bottom, right-to-left (vertical East Asian text flow)

                                                                                                                                                                                                                                                                                                                                                                                          -
                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                        diff --git a/api/variables/PatchType.html b/api/variables/PatchType.html index 6562844263..49cf34a9b0 100644 --- a/api/variables/PatchType.html +++ b/api/variables/PatchType.html @@ -2,4 +2,4 @@

                                                                                                                                                                                                                                                                                                                                                                                        Determines how the replacement content should be inserted into the document.

                                                                                                                                                                                                                                                                                                                                                                                        Type Declaration

                                                                                                                                                                                                                                                                                                                                                                                        • ReadonlyDOCUMENT: "file"

                                                                                                                                                                                                                                                                                                                                                                                          Replace entire file-level elements (e.g., whole paragraphs)

                                                                                                                                                                                                                                                                                                                                                                                        • ReadonlyPARAGRAPH: "paragraph"

                                                                                                                                                                                                                                                                                                                                                                                          Replace content within paragraphs (inline replacement)

                                                                                                                                                                                                                                                                                                                                                                                          -
                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                        diff --git a/api/variables/PositionalTabAlignment.html b/api/variables/PositionalTabAlignment.html index 1bf6c9ea08..c0e9eb6b26 100644 --- a/api/variables/PositionalTabAlignment.html +++ b/api/variables/PositionalTabAlignment.html @@ -7,4 +7,4 @@

                                                                                                                                                                                                                                                                                                                                                                                        Type Declaration

                                                                                                                                                                                                                                                                                                                                                                                        • ReadonlyCENTER: "center"

                                                                                                                                                                                                                                                                                                                                                                                          Center-aligned tab

                                                                                                                                                                                                                                                                                                                                                                                        • ReadonlyLEFT: "left"

                                                                                                                                                                                                                                                                                                                                                                                          Left-aligned tab

                                                                                                                                                                                                                                                                                                                                                                                        • Right-aligned tab

                                                                                                                                                                                                                                                                                                                                                                                          -
                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                        diff --git a/api/variables/PositionalTabLeader.html b/api/variables/PositionalTabLeader.html index ace3f9ea30..67c65ca73e 100644 --- a/api/variables/PositionalTabLeader.html +++ b/api/variables/PositionalTabLeader.html @@ -9,4 +9,4 @@
                                                                                                                                                                                                                                                                                                                                                                                      • ReadonlyMIDDLE_DOT: "middleDot"

                                                                                                                                                                                                                                                                                                                                                                                        Middle dot leader (···)

                                                                                                                                                                                                                                                                                                                                                                                      • ReadonlyNONE: "none"

                                                                                                                                                                                                                                                                                                                                                                                        No leader character

                                                                                                                                                                                                                                                                                                                                                                                      • ReadonlyUNDERSCORE: "underscore"

                                                                                                                                                                                                                                                                                                                                                                                        Underscore leader (___)

                                                                                                                                                                                                                                                                                                                                                                                        -
                                                                                                                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                                                                                                                        diff --git a/api/variables/PositionalTabRelativeTo.html b/api/variables/PositionalTabRelativeTo.html index 6eada49779..d7166782ff 100644 --- a/api/variables/PositionalTabRelativeTo.html +++ b/api/variables/PositionalTabRelativeTo.html @@ -6,4 +6,4 @@

                                                                                                                                                                                                                                                                                                                                                                                        Type Declaration

                                                                                                                                                                                                                                                                                                                                                                                        • ReadonlyINDENT: "indent"

                                                                                                                                                                                                                                                                                                                                                                                          Position relative to indent

                                                                                                                                                                                                                                                                                                                                                                                        • ReadonlyMARGIN: "margin"

                                                                                                                                                                                                                                                                                                                                                                                          Position relative to margin

                                                                                                                                                                                                                                                                                                                                                                                          -
                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                        diff --git a/api/variables/PrettifyType.html b/api/variables/PrettifyType.html index 2d4efb7c58..3d4dd42604 100644 --- a/api/variables/PrettifyType.html +++ b/api/variables/PrettifyType.html @@ -5,4 +5,4 @@ Prettified output is more human-readable but results in larger file sizes.

                                                                                                                                                                                                                                                                                                                                                                                      • ReadonlyWITH_2_BLANKS: " "

                                                                                                                                                                                                                                                                                                                                                                                        Indent with 2 spaces

                                                                                                                                                                                                                                                                                                                                                                                      • ReadonlyWITH_4_BLANKS: " "

                                                                                                                                                                                                                                                                                                                                                                                        Indent with 4 spaces

                                                                                                                                                                                                                                                                                                                                                                                      • ReadonlyWITH_TAB: "\t"

                                                                                                                                                                                                                                                                                                                                                                                        Indent with tab character

                                                                                                                                                                                                                                                                                                                                                                                        -
                                                                                                                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                                                                                                                        diff --git a/api/variables/RelativeHorizontalPosition.html b/api/variables/RelativeHorizontalPosition.html index 5522ef0081..d7bdf3c6be 100644 --- a/api/variables/RelativeHorizontalPosition.html +++ b/api/variables/RelativeHorizontalPosition.html @@ -1,2 +1,2 @@ RelativeHorizontalPosition | docx
                                                                                                                                                                                                                                                                                                                                                                                        docx
                                                                                                                                                                                                                                                                                                                                                                                          Preparing search index...

                                                                                                                                                                                                                                                                                                                                                                                          Variable RelativeHorizontalPositionConst

                                                                                                                                                                                                                                                                                                                                                                                          RelativeHorizontalPosition: {
                                                                                                                                                                                                                                                                                                                                                                                              CENTER: "center";
                                                                                                                                                                                                                                                                                                                                                                                              INSIDE: "inside";
                                                                                                                                                                                                                                                                                                                                                                                              LEFT: "left";
                                                                                                                                                                                                                                                                                                                                                                                              OUTSIDE: "outside";
                                                                                                                                                                                                                                                                                                                                                                                              RIGHT: "right";
                                                                                                                                                                                                                                                                                                                                                                                          } = ...

                                                                                                                                                                                                                                                                                                                                                                                          Relative horizontal position values for floating tables.

                                                                                                                                                                                                                                                                                                                                                                                          -

                                                                                                                                                                                                                                                                                                                                                                                          Type Declaration

                                                                                                                                                                                                                                                                                                                                                                                          • ReadonlyCENTER: "center"
                                                                                                                                                                                                                                                                                                                                                                                          • ReadonlyINSIDE: "inside"
                                                                                                                                                                                                                                                                                                                                                                                          • ReadonlyLEFT: "left"
                                                                                                                                                                                                                                                                                                                                                                                          • ReadonlyOUTSIDE: "outside"
                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                          Type Declaration

                                                                                                                                                                                                                                                                                                                                                                                          • ReadonlyCENTER: "center"
                                                                                                                                                                                                                                                                                                                                                                                          • ReadonlyINSIDE: "inside"
                                                                                                                                                                                                                                                                                                                                                                                          • ReadonlyLEFT: "left"
                                                                                                                                                                                                                                                                                                                                                                                          • ReadonlyOUTSIDE: "outside"
                                                                                                                                                                                                                                                                                                                                                                                          diff --git a/api/variables/RelativeVerticalPosition.html b/api/variables/RelativeVerticalPosition.html index a55a492b2f..b931233bc4 100644 --- a/api/variables/RelativeVerticalPosition.html +++ b/api/variables/RelativeVerticalPosition.html @@ -1,2 +1,2 @@ RelativeVerticalPosition | docx
                                                                                                                                                                                                                                                                                                                                                                                          docx
                                                                                                                                                                                                                                                                                                                                                                                            Preparing search index...

                                                                                                                                                                                                                                                                                                                                                                                            Variable RelativeVerticalPositionConst

                                                                                                                                                                                                                                                                                                                                                                                            RelativeVerticalPosition: {
                                                                                                                                                                                                                                                                                                                                                                                                BOTTOM: "bottom";
                                                                                                                                                                                                                                                                                                                                                                                                CENTER: "center";
                                                                                                                                                                                                                                                                                                                                                                                                INLINE: "inline";
                                                                                                                                                                                                                                                                                                                                                                                                INSIDE: "inside";
                                                                                                                                                                                                                                                                                                                                                                                                OUTSIDE: "outside";
                                                                                                                                                                                                                                                                                                                                                                                                TOP: "top";
                                                                                                                                                                                                                                                                                                                                                                                            } = ...

                                                                                                                                                                                                                                                                                                                                                                                            Relative vertical position values for floating tables.

                                                                                                                                                                                                                                                                                                                                                                                            -

                                                                                                                                                                                                                                                                                                                                                                                            Type Declaration

                                                                                                                                                                                                                                                                                                                                                                                            • ReadonlyBOTTOM: "bottom"
                                                                                                                                                                                                                                                                                                                                                                                            • ReadonlyCENTER: "center"
                                                                                                                                                                                                                                                                                                                                                                                            • ReadonlyINLINE: "inline"
                                                                                                                                                                                                                                                                                                                                                                                            • ReadonlyINSIDE: "inside"
                                                                                                                                                                                                                                                                                                                                                                                            • ReadonlyOUTSIDE: "outside"
                                                                                                                                                                                                                                                                                                                                                                                            • ReadonlyTOP: "top"
                                                                                                                                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                                                                                                                                            Type Declaration

                                                                                                                                                                                                                                                                                                                                                                                            • ReadonlyBOTTOM: "bottom"
                                                                                                                                                                                                                                                                                                                                                                                            • ReadonlyCENTER: "center"
                                                                                                                                                                                                                                                                                                                                                                                            • ReadonlyINLINE: "inline"
                                                                                                                                                                                                                                                                                                                                                                                            • ReadonlyINSIDE: "inside"
                                                                                                                                                                                                                                                                                                                                                                                            • ReadonlyOUTSIDE: "outside"
                                                                                                                                                                                                                                                                                                                                                                                            • ReadonlyTOP: "top"
                                                                                                                                                                                                                                                                                                                                                                                            diff --git a/api/variables/SectionType.html b/api/variables/SectionType.html index da788aeda2..523e88034a 100644 --- a/api/variables/SectionType.html +++ b/api/variables/SectionType.html @@ -9,4 +9,4 @@
                                                                                                                                                                                                                                                                                                                                                                                          • ReadonlyNEXT_COLUMN: "nextColumn"

                                                                                                                                                                                                                                                                                                                                                                                            Section begins on the next column

                                                                                                                                                                                                                                                                                                                                                                                          • ReadonlyNEXT_PAGE: "nextPage"

                                                                                                                                                                                                                                                                                                                                                                                            Section begins on the next page

                                                                                                                                                                                                                                                                                                                                                                                          • ReadonlyODD_PAGE: "oddPage"

                                                                                                                                                                                                                                                                                                                                                                                            Section begins on the next odd-numbered page

                                                                                                                                                                                                                                                                                                                                                                                            -
                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                            diff --git a/api/variables/ShadingType.html b/api/variables/ShadingType.html index a41c1d194f..d9f7321551 100644 --- a/api/variables/ShadingType.html +++ b/api/variables/ShadingType.html @@ -6,4 +6,4 @@ color and the pattern color.

                                                                                                                                                                                                                                                                                                                                                                                            Type Declaration

                                                                                                                                                                                                                                                                                                                                                                                            • ReadonlyCLEAR: "clear"

                                                                                                                                                                                                                                                                                                                                                                                              Clear shading - no pattern, fill color only

                                                                                                                                                                                                                                                                                                                                                                                              -
                                                                                                                                                                                                                                                                                                                                                                                            • ReadonlyDIAGONAL_CROSS: "diagCross"
                                                                                                                                                                                                                                                                                                                                                                                            • ReadonlyDIAGONAL_STRIPE: "diagStripe"
                                                                                                                                                                                                                                                                                                                                                                                            • ReadonlyHORIZONTAL_CROSS: "horzCross"
                                                                                                                                                                                                                                                                                                                                                                                            • ReadonlyHORIZONTAL_STRIPE: "horzStripe"
                                                                                                                                                                                                                                                                                                                                                                                            • ReadonlyNIL: "nil"
                                                                                                                                                                                                                                                                                                                                                                                            • ReadonlyPERCENT_10: "pct10"
                                                                                                                                                                                                                                                                                                                                                                                            • ReadonlyPERCENT_12: "pct12"
                                                                                                                                                                                                                                                                                                                                                                                            • ReadonlyPERCENT_15: "pct15"
                                                                                                                                                                                                                                                                                                                                                                                            • ReadonlyPERCENT_20: "pct20"
                                                                                                                                                                                                                                                                                                                                                                                            • ReadonlyPERCENT_25: "pct25"
                                                                                                                                                                                                                                                                                                                                                                                            • ReadonlyPERCENT_30: "pct30"
                                                                                                                                                                                                                                                                                                                                                                                            • ReadonlyPERCENT_35: "pct35"
                                                                                                                                                                                                                                                                                                                                                                                            • ReadonlyPERCENT_37: "pct37"
                                                                                                                                                                                                                                                                                                                                                                                            • ReadonlyPERCENT_40: "pct40"
                                                                                                                                                                                                                                                                                                                                                                                            • ReadonlyPERCENT_45: "pct45"
                                                                                                                                                                                                                                                                                                                                                                                            • ReadonlyPERCENT_5: "pct5"
                                                                                                                                                                                                                                                                                                                                                                                            • ReadonlyPERCENT_50: "pct50"
                                                                                                                                                                                                                                                                                                                                                                                            • ReadonlyPERCENT_55: "pct55"
                                                                                                                                                                                                                                                                                                                                                                                            • ReadonlyPERCENT_60: "pct60"
                                                                                                                                                                                                                                                                                                                                                                                            • ReadonlyPERCENT_62: "pct62"
                                                                                                                                                                                                                                                                                                                                                                                            • ReadonlyPERCENT_65: "pct65"
                                                                                                                                                                                                                                                                                                                                                                                            • ReadonlyPERCENT_70: "pct70"
                                                                                                                                                                                                                                                                                                                                                                                            • ReadonlyPERCENT_75: "pct75"
                                                                                                                                                                                                                                                                                                                                                                                            • ReadonlyPERCENT_80: "pct80"
                                                                                                                                                                                                                                                                                                                                                                                            • ReadonlyPERCENT_85: "pct85"
                                                                                                                                                                                                                                                                                                                                                                                            • ReadonlyPERCENT_87: "pct87"
                                                                                                                                                                                                                                                                                                                                                                                            • ReadonlyPERCENT_90: "pct90"
                                                                                                                                                                                                                                                                                                                                                                                            • ReadonlyPERCENT_95: "pct95"
                                                                                                                                                                                                                                                                                                                                                                                            • ReadonlyREVERSE_DIAGONAL_STRIPE: "reverseDiagStripe"
                                                                                                                                                                                                                                                                                                                                                                                            • ReadonlySOLID: "solid"
                                                                                                                                                                                                                                                                                                                                                                                            • ReadonlyTHIN_DIAGONAL_CROSS: "thinDiagCross"
                                                                                                                                                                                                                                                                                                                                                                                            • ReadonlyTHIN_DIAGONAL_STRIPE: "thinDiagStripe"
                                                                                                                                                                                                                                                                                                                                                                                            • ReadonlyTHIN_HORIZONTAL_CROSS: "thinHorzCross"
                                                                                                                                                                                                                                                                                                                                                                                            • ReadonlyTHIN_REVERSE_DIAGONAL_STRIPE: "thinReverseDiagStripe"
                                                                                                                                                                                                                                                                                                                                                                                            • ReadonlyTHIN_VERTICAL_STRIPE: "thinVertStripe"
                                                                                                                                                                                                                                                                                                                                                                                            • ReadonlyVERTICAL_STRIPE: "vertStripe"
                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                          • ReadonlyDIAGONAL_CROSS: "diagCross"
                                                                                                                                                                                                                                                                                                                                                                                          • ReadonlyDIAGONAL_STRIPE: "diagStripe"
                                                                                                                                                                                                                                                                                                                                                                                          • ReadonlyHORIZONTAL_CROSS: "horzCross"
                                                                                                                                                                                                                                                                                                                                                                                          • ReadonlyHORIZONTAL_STRIPE: "horzStripe"
                                                                                                                                                                                                                                                                                                                                                                                          • ReadonlyNIL: "nil"
                                                                                                                                                                                                                                                                                                                                                                                          • ReadonlyPERCENT_10: "pct10"
                                                                                                                                                                                                                                                                                                                                                                                          • ReadonlyPERCENT_12: "pct12"
                                                                                                                                                                                                                                                                                                                                                                                          • ReadonlyPERCENT_15: "pct15"
                                                                                                                                                                                                                                                                                                                                                                                          • ReadonlyPERCENT_20: "pct20"
                                                                                                                                                                                                                                                                                                                                                                                          • ReadonlyPERCENT_25: "pct25"
                                                                                                                                                                                                                                                                                                                                                                                          • ReadonlyPERCENT_30: "pct30"
                                                                                                                                                                                                                                                                                                                                                                                          • ReadonlyPERCENT_35: "pct35"
                                                                                                                                                                                                                                                                                                                                                                                          • ReadonlyPERCENT_37: "pct37"
                                                                                                                                                                                                                                                                                                                                                                                          • ReadonlyPERCENT_40: "pct40"
                                                                                                                                                                                                                                                                                                                                                                                          • ReadonlyPERCENT_45: "pct45"
                                                                                                                                                                                                                                                                                                                                                                                          • ReadonlyPERCENT_5: "pct5"
                                                                                                                                                                                                                                                                                                                                                                                          • ReadonlyPERCENT_50: "pct50"
                                                                                                                                                                                                                                                                                                                                                                                          • ReadonlyPERCENT_55: "pct55"
                                                                                                                                                                                                                                                                                                                                                                                          • ReadonlyPERCENT_60: "pct60"
                                                                                                                                                                                                                                                                                                                                                                                          • ReadonlyPERCENT_62: "pct62"
                                                                                                                                                                                                                                                                                                                                                                                          • ReadonlyPERCENT_65: "pct65"
                                                                                                                                                                                                                                                                                                                                                                                          • ReadonlyPERCENT_70: "pct70"
                                                                                                                                                                                                                                                                                                                                                                                          • ReadonlyPERCENT_75: "pct75"
                                                                                                                                                                                                                                                                                                                                                                                          • ReadonlyPERCENT_80: "pct80"
                                                                                                                                                                                                                                                                                                                                                                                          • ReadonlyPERCENT_85: "pct85"
                                                                                                                                                                                                                                                                                                                                                                                          • ReadonlyPERCENT_87: "pct87"
                                                                                                                                                                                                                                                                                                                                                                                          • ReadonlyPERCENT_90: "pct90"
                                                                                                                                                                                                                                                                                                                                                                                          • ReadonlyPERCENT_95: "pct95"
                                                                                                                                                                                                                                                                                                                                                                                          • ReadonlyREVERSE_DIAGONAL_STRIPE: "reverseDiagStripe"
                                                                                                                                                                                                                                                                                                                                                                                          • ReadonlySOLID: "solid"
                                                                                                                                                                                                                                                                                                                                                                                          • ReadonlyTHIN_DIAGONAL_CROSS: "thinDiagCross"
                                                                                                                                                                                                                                                                                                                                                                                          • ReadonlyTHIN_DIAGONAL_STRIPE: "thinDiagStripe"
                                                                                                                                                                                                                                                                                                                                                                                          • ReadonlyTHIN_HORIZONTAL_CROSS: "thinHorzCross"
                                                                                                                                                                                                                                                                                                                                                                                          • ReadonlyTHIN_REVERSE_DIAGONAL_STRIPE: "thinReverseDiagStripe"
                                                                                                                                                                                                                                                                                                                                                                                          • ReadonlyTHIN_VERTICAL_STRIPE: "thinVertStripe"
                                                                                                                                                                                                                                                                                                                                                                                          • ReadonlyVERTICAL_STRIPE: "vertStripe"
                                                                                                                                                                                                                                                                                                                                                                                          • diff --git a/api/variables/SpaceType.html b/api/variables/SpaceType.html index beb0be25c4..3c2d7f2f40 100644 --- a/api/variables/SpaceType.html +++ b/api/variables/SpaceType.html @@ -3,4 +3,4 @@

                                                                                                                                                                                                                                                                                                                                                                                            Type Declaration

                                                                                                                                                                                                                                                                                                                                                                                            • ReadonlyDEFAULT: "default"
                                                                                                                                                                                                                                                                                                                                                                                            • ReadonlyPRESERVE: "preserve"
                                                                                                                                                                                                                                                                                                                                                                                            // Preserve whitespace (spaces, newlines)
                                                                                                                                                                                                                                                                                                                                                                                            SpaceType.PRESERVE;

                                                                                                                                                                                                                                                                                                                                                                                            // Default whitespace handling
                                                                                                                                                                                                                                                                                                                                                                                            SpaceType.DEFAULT;
                                                                                                                                                                                                                                                                                                                                                                                            -
                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                            diff --git a/api/variables/TabStopPosition.html b/api/variables/TabStopPosition.html index bfa6f1f33f..7c88137de5 100644 --- a/api/variables/TabStopPosition.html +++ b/api/variables/TabStopPosition.html @@ -1,3 +1,3 @@ TabStopPosition | docx
                                                                                                                                                                                                                                                                                                                                                                                            docx
                                                                                                                                                                                                                                                                                                                                                                                              Preparing search index...

                                                                                                                                                                                                                                                                                                                                                                                              Variable TabStopPositionConst

                                                                                                                                                                                                                                                                                                                                                                                              TabStopPosition: { MAX: 9026 } = ...

                                                                                                                                                                                                                                                                                                                                                                                              Predefined tab stop positions.

                                                                                                                                                                                                                                                                                                                                                                                              Type Declaration

                                                                                                                                                                                                                                                                                                                                                                                              • ReadonlyMAX: 9026

                                                                                                                                                                                                                                                                                                                                                                                                Maximum tab stop position (right margin)

                                                                                                                                                                                                                                                                                                                                                                                                -
                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                              diff --git a/api/variables/TabStopType.html b/api/variables/TabStopType.html index d699d5b789..4cbfe2b8ee 100644 --- a/api/variables/TabStopType.html +++ b/api/variables/TabStopType.html @@ -9,4 +9,4 @@
                                                                                                                                                                                                                                                                                                                                                                                            • ReadonlyNUM: "num"

                                                                                                                                                                                                                                                                                                                                                                                              List tab stop for numbered lists

                                                                                                                                                                                                                                                                                                                                                                                            • Right-aligned tab stop

                                                                                                                                                                                                                                                                                                                                                                                            • ReadonlySTART: "start"

                                                                                                                                                                                                                                                                                                                                                                                              Start-aligned tab stop (left-to-right equivalent)

                                                                                                                                                                                                                                                                                                                                                                                              -
                                                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                                                              diff --git a/api/variables/TableAnchorType.html b/api/variables/TableAnchorType.html index 2a6c3aaeb4..431456967f 100644 --- a/api/variables/TableAnchorType.html +++ b/api/variables/TableAnchorType.html @@ -1,3 +1,3 @@ TableAnchorType | docx
                                                                                                                                                                                                                                                                                                                                                                                              docx
                                                                                                                                                                                                                                                                                                                                                                                                Preparing search index...

                                                                                                                                                                                                                                                                                                                                                                                                Variable TableAnchorTypeConst

                                                                                                                                                                                                                                                                                                                                                                                                TableAnchorType: { MARGIN: "margin"; PAGE: "page"; TEXT: "text" } = ...

                                                                                                                                                                                                                                                                                                                                                                                                Anchor types for floating table positioning.

                                                                                                                                                                                                                                                                                                                                                                                                Specifies the base object from which positioning is determined.

                                                                                                                                                                                                                                                                                                                                                                                                -

                                                                                                                                                                                                                                                                                                                                                                                                Type Declaration

                                                                                                                                                                                                                                                                                                                                                                                                • ReadonlyMARGIN: "margin"
                                                                                                                                                                                                                                                                                                                                                                                                • ReadonlyPAGE: "page"
                                                                                                                                                                                                                                                                                                                                                                                                • ReadonlyTEXT: "text"
                                                                                                                                                                                                                                                                                                                                                                                                +

                                                                                                                                                                                                                                                                                                                                                                                                Type Declaration

                                                                                                                                                                                                                                                                                                                                                                                                • ReadonlyMARGIN: "margin"
                                                                                                                                                                                                                                                                                                                                                                                                • ReadonlyPAGE: "page"
                                                                                                                                                                                                                                                                                                                                                                                                • ReadonlyTEXT: "text"
                                                                                                                                                                                                                                                                                                                                                                                                diff --git a/api/variables/TableLayoutType.html b/api/variables/TableLayoutType.html index db3420a1aa..a6b5cb01e2 100644 --- a/api/variables/TableLayoutType.html +++ b/api/variables/TableLayoutType.html @@ -6,4 +6,4 @@

                                                                                                                                                                                                                                                                                                                                                                                                Type Declaration

                                                                                                                                                                                                                                                                                                                                                                                                • ReadonlyAUTOFIT: "autofit"

                                                                                                                                                                                                                                                                                                                                                                                                  Auto-fit layout - column widths are adjusted based on content

                                                                                                                                                                                                                                                                                                                                                                                                • ReadonlyFIXED: "fixed"

                                                                                                                                                                                                                                                                                                                                                                                                  Fixed layout - column widths are fixed as specified

                                                                                                                                                                                                                                                                                                                                                                                                  -
                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                diff --git a/api/variables/TextDirection.html b/api/variables/TextDirection.html index 55a2c2b191..47fcbe740f 100644 --- a/api/variables/TextDirection.html +++ b/api/variables/TextDirection.html @@ -3,4 +3,4 @@

                                                                                                                                                                                                                                                                                                                                                                                                Type Declaration

                                                                                                                                                                                                                                                                                                                                                                                                • ReadonlyBOTTOM_TO_TOP_LEFT_TO_RIGHT: "btLr"

                                                                                                                                                                                                                                                                                                                                                                                                  Text flows from bottom to top, left to right

                                                                                                                                                                                                                                                                                                                                                                                                • ReadonlyLEFT_TO_RIGHT_TOP_TO_BOTTOM: "lrTb"

                                                                                                                                                                                                                                                                                                                                                                                                  Text flows from left to right, top to bottom (default)

                                                                                                                                                                                                                                                                                                                                                                                                • ReadonlyTOP_TO_BOTTOM_RIGHT_TO_LEFT: "tbRl"

                                                                                                                                                                                                                                                                                                                                                                                                  Text flows from top to bottom, right to left

                                                                                                                                                                                                                                                                                                                                                                                                  -
                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                diff --git a/api/variables/TextEffect.html b/api/variables/TextEffect.html index 5d0e321533..08928790d3 100644 --- a/api/variables/TextEffect.html +++ b/api/variables/TextEffect.html @@ -13,4 +13,4 @@ these effects are deprecated and may not be supported by all applications.

                                                                                                                                                                                                                                                                                                                                                                                              • ReadonlyNONE: "none"

                                                                                                                                                                                                                                                                                                                                                                                                No text effect

                                                                                                                                                                                                                                                                                                                                                                                              • ReadonlySHIMMER: "shimmer"

                                                                                                                                                                                                                                                                                                                                                                                                Shimmer animation effect

                                                                                                                                                                                                                                                                                                                                                                                              • ReadonlySPARKLE: "sparkle"

                                                                                                                                                                                                                                                                                                                                                                                                Sparkle animation effect

                                                                                                                                                                                                                                                                                                                                                                                                -
                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                diff --git a/api/variables/TextWrappingSide.html b/api/variables/TextWrappingSide.html index cb7af386d4..bdb8659d24 100644 --- a/api/variables/TextWrappingSide.html +++ b/api/variables/TextWrappingSide.html @@ -5,4 +5,4 @@
                                                                                                                                                                                                                                                                                                                                                                                              • ReadonlyLARGEST: "largest"

                                                                                                                                                                                                                                                                                                                                                                                                Text wraps on the side with more space

                                                                                                                                                                                                                                                                                                                                                                                              • ReadonlyLEFT: "left"

                                                                                                                                                                                                                                                                                                                                                                                                Text wraps only on the left side

                                                                                                                                                                                                                                                                                                                                                                                              • Text wraps only on the right side

                                                                                                                                                                                                                                                                                                                                                                                                -
                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                diff --git a/api/variables/TextWrappingType.html b/api/variables/TextWrappingType.html index 027f8489bb..618223bf52 100644 --- a/api/variables/TextWrappingType.html +++ b/api/variables/TextWrappingType.html @@ -1,3 +1,3 @@ TextWrappingType | docx
                                                                                                                                                                                                                                                                                                                                                                                                docx
                                                                                                                                                                                                                                                                                                                                                                                                  Preparing search index...

                                                                                                                                                                                                                                                                                                                                                                                                  Variable TextWrappingTypeConst

                                                                                                                                                                                                                                                                                                                                                                                                  TextWrappingType: { NONE: 0; SQUARE: 1; TIGHT: 2; TOP_AND_BOTTOM: 3 } = ...

                                                                                                                                                                                                                                                                                                                                                                                                  Enumeration of text wrapping types for floating drawings.

                                                                                                                                                                                                                                                                                                                                                                                                  Reference: http://officeopenxml.com/drwPicFloating-textWrap.php

                                                                                                                                                                                                                                                                                                                                                                                                  -

                                                                                                                                                                                                                                                                                                                                                                                                  Type Declaration

                                                                                                                                                                                                                                                                                                                                                                                                  • ReadonlyNONE: 0
                                                                                                                                                                                                                                                                                                                                                                                                  • ReadonlySQUARE: 1
                                                                                                                                                                                                                                                                                                                                                                                                  • ReadonlyTIGHT: 2
                                                                                                                                                                                                                                                                                                                                                                                                  • ReadonlyTOP_AND_BOTTOM: 3
                                                                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                                                                  Type Declaration

                                                                                                                                                                                                                                                                                                                                                                                                  • ReadonlyNONE: 0
                                                                                                                                                                                                                                                                                                                                                                                                  • ReadonlySQUARE: 1
                                                                                                                                                                                                                                                                                                                                                                                                  • ReadonlyTIGHT: 2
                                                                                                                                                                                                                                                                                                                                                                                                  • ReadonlyTOP_AND_BOTTOM: 3
                                                                                                                                                                                                                                                                                                                                                                                                  diff --git a/api/variables/UnderlineType.html b/api/variables/UnderlineType.html index dfb6a5a2cd..d3502cf596 100644 --- a/api/variables/UnderlineType.html +++ b/api/variables/UnderlineType.html @@ -23,4 +23,4 @@
                                                                                                                                                                                                                                                                                                                                                                                                • ReadonlyWAVYDOUBLE: "wavyDouble"

                                                                                                                                                                                                                                                                                                                                                                                                  Double wave underline

                                                                                                                                                                                                                                                                                                                                                                                                • ReadonlyWAVYHEAVY: "wavyHeavy"

                                                                                                                                                                                                                                                                                                                                                                                                  Heavy wave underline

                                                                                                                                                                                                                                                                                                                                                                                                • ReadonlyWORDS: "words"

                                                                                                                                                                                                                                                                                                                                                                                                  Underline words only (not spaces)

                                                                                                                                                                                                                                                                                                                                                                                                  -
                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                  diff --git a/api/variables/VerticalAlign.html b/api/variables/VerticalAlign.html index fa5bb21770..71bb904bb6 100644 --- a/api/variables/VerticalAlign.html +++ b/api/variables/VerticalAlign.html @@ -1,4 +1,4 @@ VerticalAlign | docx
                                                                                                                                                                                                                                                                                                                                                                                                  docx
                                                                                                                                                                                                                                                                                                                                                                                                    Preparing search index...

                                                                                                                                                                                                                                                                                                                                                                                                    Variable VerticalAlignConst

                                                                                                                                                                                                                                                                                                                                                                                                    VerticalAlign: { BOTH: "both"; BOTTOM: "bottom"; CENTER: "center"; TOP: "top" } = VerticalAlignSection

                                                                                                                                                                                                                                                                                                                                                                                                    Type Declaration

                                                                                                                                                                                                                                                                                                                                                                                                    • ReadonlyBOTH: "both"
                                                                                                                                                                                                                                                                                                                                                                                                    • ReadonlyBOTTOM: "bottom"
                                                                                                                                                                                                                                                                                                                                                                                                    • ReadonlyCENTER: "center"
                                                                                                                                                                                                                                                                                                                                                                                                    • ReadonlyTOP: "top"

                                                                                                                                                                                                                                                                                                                                                                                                    Use VerticalAlignTable for table cells or VerticalAlignSection for section properties. This alias remains for backward-compatibility and will be removed in the next major release.

                                                                                                                                                                                                                                                                                                                                                                                                    -
                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                    diff --git a/api/variables/VerticalAlignSection.html b/api/variables/VerticalAlignSection.html index 1495621f35..4d2a616799 100644 --- a/api/variables/VerticalAlignSection.html +++ b/api/variables/VerticalAlignSection.html @@ -1,3 +1,3 @@ VerticalAlignSection | docx
                                                                                                                                                                                                                                                                                                                                                                                                    docx
                                                                                                                                                                                                                                                                                                                                                                                                      Preparing search index...

                                                                                                                                                                                                                                                                                                                                                                                                      Variable VerticalAlignSectionConst

                                                                                                                                                                                                                                                                                                                                                                                                      VerticalAlignSection: {
                                                                                                                                                                                                                                                                                                                                                                                                          BOTH: "both";
                                                                                                                                                                                                                                                                                                                                                                                                          BOTTOM: "bottom";
                                                                                                                                                                                                                                                                                                                                                                                                          CENTER: "center";
                                                                                                                                                                                                                                                                                                                                                                                                          TOP: "top";
                                                                                                                                                                                                                                                                                                                                                                                                      } = ...

                                                                                                                                                                                                                                                                                                                                                                                                      Enumeration for section (<w:sectPr>) vertical alignment. Adds both on top of the table-cell set (§17.18.87 ST_VerticalJc within <w:sectPr>).

                                                                                                                                                                                                                                                                                                                                                                                                      -

                                                                                                                                                                                                                                                                                                                                                                                                      Type Declaration

                                                                                                                                                                                                                                                                                                                                                                                                      • ReadonlyBOTH: "both"
                                                                                                                                                                                                                                                                                                                                                                                                      • ReadonlyBOTTOM: "bottom"
                                                                                                                                                                                                                                                                                                                                                                                                      • ReadonlyCENTER: "center"
                                                                                                                                                                                                                                                                                                                                                                                                      • ReadonlyTOP: "top"
                                                                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                                                                      Type Declaration

                                                                                                                                                                                                                                                                                                                                                                                                      • ReadonlyBOTH: "both"
                                                                                                                                                                                                                                                                                                                                                                                                      • ReadonlyBOTTOM: "bottom"
                                                                                                                                                                                                                                                                                                                                                                                                      • ReadonlyCENTER: "center"
                                                                                                                                                                                                                                                                                                                                                                                                      • ReadonlyTOP: "top"
                                                                                                                                                                                                                                                                                                                                                                                                      diff --git a/api/variables/VerticalAlignTable.html b/api/variables/VerticalAlignTable.html index 39e0366392..35fd96db6c 100644 --- a/api/variables/VerticalAlignTable.html +++ b/api/variables/VerticalAlignTable.html @@ -1,3 +1,3 @@ VerticalAlignTable | docx
                                                                                                                                                                                                                                                                                                                                                                                                      docx
                                                                                                                                                                                                                                                                                                                                                                                                        Preparing search index...

                                                                                                                                                                                                                                                                                                                                                                                                        Variable VerticalAlignTableConst

                                                                                                                                                                                                                                                                                                                                                                                                        VerticalAlignTable: { BOTTOM: "bottom"; CENTER: "center"; TOP: "top" } = ...

                                                                                                                                                                                                                                                                                                                                                                                                        Enumeration for table-cell vertical alignment. Only top, center, bottom are valid according to ECMA-376 (§17.18.87 ST_VerticalJc within <w:tcPr>).

                                                                                                                                                                                                                                                                                                                                                                                                        -

                                                                                                                                                                                                                                                                                                                                                                                                        Type Declaration

                                                                                                                                                                                                                                                                                                                                                                                                        • ReadonlyBOTTOM: "bottom"
                                                                                                                                                                                                                                                                                                                                                                                                        • ReadonlyCENTER: "center"
                                                                                                                                                                                                                                                                                                                                                                                                        • ReadonlyTOP: "top"
                                                                                                                                                                                                                                                                                                                                                                                                        +

                                                                                                                                                                                                                                                                                                                                                                                                        Type Declaration

                                                                                                                                                                                                                                                                                                                                                                                                        • ReadonlyBOTTOM: "bottom"
                                                                                                                                                                                                                                                                                                                                                                                                        • ReadonlyCENTER: "center"
                                                                                                                                                                                                                                                                                                                                                                                                        • ReadonlyTOP: "top"
                                                                                                                                                                                                                                                                                                                                                                                                        diff --git a/api/variables/VerticalMergeRevisionType.html b/api/variables/VerticalMergeRevisionType.html index 99176af1c8..e036b020fb 100644 --- a/api/variables/VerticalMergeRevisionType.html +++ b/api/variables/VerticalMergeRevisionType.html @@ -1,4 +1,4 @@ VerticalMergeRevisionType | docx
                                                                                                                                                                                                                                                                                                                                                                                                        docx
                                                                                                                                                                                                                                                                                                                                                                                                          Preparing search index...

                                                                                                                                                                                                                                                                                                                                                                                                          Variable VerticalMergeRevisionTypeConst

                                                                                                                                                                                                                                                                                                                                                                                                          VerticalMergeRevisionType: { CONTINUE: "cont"; RESTART: "rest" } = ...

                                                                                                                                                                                                                                                                                                                                                                                                          Vertical merge revision types.

                                                                                                                                                                                                                                                                                                                                                                                                          Type Declaration

                                                                                                                                                                                                                                                                                                                                                                                                          • ReadonlyCONTINUE: "cont"

                                                                                                                                                                                                                                                                                                                                                                                                            Cell that is merged with upper one.

                                                                                                                                                                                                                                                                                                                                                                                                          • ReadonlyRESTART: "rest"

                                                                                                                                                                                                                                                                                                                                                                                                            Cell that is starting the vertical merge.

                                                                                                                                                                                                                                                                                                                                                                                                            -
                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                          diff --git a/api/variables/VerticalMergeType.html b/api/variables/VerticalMergeType.html index b8febafb78..26d28d27ec 100644 --- a/api/variables/VerticalMergeType.html +++ b/api/variables/VerticalMergeType.html @@ -4,4 +4,4 @@ This cell continues a vertical merge started by a cell above it.

                                                                                                                                                                                                                                                                                                                                                                                                        • ReadonlyRESTART: "restart"

                                                                                                                                                                                                                                                                                                                                                                                                          Cell that is starting the vertical merge. This cell begins a new vertical merge region.

                                                                                                                                                                                                                                                                                                                                                                                                          -
                                                                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                                                                          diff --git a/api/variables/VerticalPositionAlign.html b/api/variables/VerticalPositionAlign.html index bb7f38d5e7..ce21210410 100644 --- a/api/variables/VerticalPositionAlign.html +++ b/api/variables/VerticalPositionAlign.html @@ -5,4 +5,4 @@
                                                                                                                                                                                                                                                                                                                                                                                                        • ReadonlyINSIDE: "inside"

                                                                                                                                                                                                                                                                                                                                                                                                          Align to inside margin

                                                                                                                                                                                                                                                                                                                                                                                                        • ReadonlyOUTSIDE: "outside"

                                                                                                                                                                                                                                                                                                                                                                                                          Align to outside margin

                                                                                                                                                                                                                                                                                                                                                                                                        • ReadonlyTOP: "top"

                                                                                                                                                                                                                                                                                                                                                                                                          Align to top

                                                                                                                                                                                                                                                                                                                                                                                                          -
                                                                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                                                                          diff --git a/api/variables/VerticalPositionRelativeFrom.html b/api/variables/VerticalPositionRelativeFrom.html index c428934ae2..e0db4f38e5 100644 --- a/api/variables/VerticalPositionRelativeFrom.html +++ b/api/variables/VerticalPositionRelativeFrom.html @@ -21,4 +21,4 @@

                                                                                                                                                                                                                                                                                                                                                                                                          Specifies that the vertical positioning shall be relative to the paragraph which contains the drawing anchor.

                                                                                                                                                                                                                                                                                                                                                                                                        • ReadonlyTOP_MARGIN: "topMargin"

                                                                                                                                                                                                                                                                                                                                                                                                          Specifies that the vertical positioning shall be relative to the top margin of the current page.

                                                                                                                                                                                                                                                                                                                                                                                                          -
                                                                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                                                                          diff --git a/api/variables/WidthType.html b/api/variables/WidthType.html index 8e1fac7c64..9efc28338b 100644 --- a/api/variables/WidthType.html +++ b/api/variables/WidthType.html @@ -7,4 +7,4 @@
                                                                                                                                                                                                                                                                                                                                                                                                        • ReadonlyDXA: "dxa"

                                                                                                                                                                                                                                                                                                                                                                                                          Value is in twentieths of a point

                                                                                                                                                                                                                                                                                                                                                                                                        • ReadonlyNIL: "nil"

                                                                                                                                                                                                                                                                                                                                                                                                          No (empty) value.

                                                                                                                                                                                                                                                                                                                                                                                                        • ReadonlyPERCENTAGE: "pct"

                                                                                                                                                                                                                                                                                                                                                                                                          Value is in percentage.

                                                                                                                                                                                                                                                                                                                                                                                                          -
                                                                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                                                                          diff --git a/api/variables/eighthPointMeasureValue.html b/api/variables/eighthPointMeasureValue.html index 49647c3bad..d605eef957 100644 --- a/api/variables/eighthPointMeasureValue.html +++ b/api/variables/eighthPointMeasureValue.html @@ -14,4 +14,4 @@
                                                                                                                                                                                                                                                                                                                                                                                                          const measure = eighthPointMeasureValue(16); // 2 points
                                                                                                                                                                                                                                                                                                                                                                                                           
                                                                                                                                                                                                                                                                                                                                                                                                          -
                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                          diff --git a/api/variables/pointMeasureValue.html b/api/variables/pointMeasureValue.html index b9ca84d17c..4f8806d5b0 100644 --- a/api/variables/pointMeasureValue.html +++ b/api/variables/pointMeasureValue.html @@ -13,4 +13,4 @@
                                                                                                                                                                                                                                                                                                                                                                                                          const fontSize = pointMeasureValue(12); // 12pt
                                                                                                                                                                                                                                                                                                                                                                                                           
                                                                                                                                                                                                                                                                                                                                                                                                          -
                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                          diff --git a/api/variables/sectionMarginDefaults.html b/api/variables/sectionMarginDefaults.html index 111e844bf8..1014e0497a 100644 --- a/api/variables/sectionMarginDefaults.html +++ b/api/variables/sectionMarginDefaults.html @@ -8,4 +8,4 @@ Header/footer margins are 0.5 inches (708 twips) from page edge.

                                                                                                                                                                                                                                                                                                                                                                                                        • LEFT: number

                                                                                                                                                                                                                                                                                                                                                                                                          Left margin: 1440 twips (1 inch)

                                                                                                                                                                                                                                                                                                                                                                                                        • Right margin: 1440 twips (1 inch)

                                                                                                                                                                                                                                                                                                                                                                                                        • TOP: number

                                                                                                                                                                                                                                                                                                                                                                                                          Top margin: 1440 twips (1 inch)

                                                                                                                                                                                                                                                                                                                                                                                                          -
                                                                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                                                                          diff --git a/api/variables/sectionPageSizeDefaults.html b/api/variables/sectionPageSizeDefaults.html index 8a2dd3c93b..0f4564a148 100644 --- a/api/variables/sectionPageSizeDefaults.html +++ b/api/variables/sectionPageSizeDefaults.html @@ -3,4 +3,4 @@

                                                                                                                                                                                                                                                                                                                                                                                                          Type Declaration

                                                                                                                                                                                                                                                                                                                                                                                                          • HEIGHT: number

                                                                                                                                                                                                                                                                                                                                                                                                            Page height: 16838 twips (11.69 inches, 297mm)

                                                                                                                                                                                                                                                                                                                                                                                                          • ORIENTATION: "portrait"

                                                                                                                                                                                                                                                                                                                                                                                                            Page orientation: portrait

                                                                                                                                                                                                                                                                                                                                                                                                          • WIDTH: number

                                                                                                                                                                                                                                                                                                                                                                                                            Page width: 11906 twips (8.27 inches, 210mm)

                                                                                                                                                                                                                                                                                                                                                                                                            -
                                                                                                                                                                                                                                                                                                                                                                                                          +