File tree Expand file tree Collapse file tree 1 file changed +14
-14
lines changed
Expand file tree Collapse file tree 1 file changed +14
-14
lines changed Original file line number Diff line number Diff line change @@ -118,7 +118,7 @@ app.uiAction({ action = "ACTION_RULER" })
118118to activate the ruler (for drawing line segments) or
119119
120120``` lua
121- app .uiAction ({ action = " ACTION_TOOL_FILL" , enabled = false })
121+ app .uiAction ({ action = " ACTION_TOOL_FILL" , enabled = false })
122122```
123123
124124to turn off filling of shapes.
@@ -129,29 +129,29 @@ The `app.getDocumentStructure` function yields a Lua table of the following shap
129129
130130``` lua
131131{
132- " pages" = {
132+ pages = {
133133 {
134- " pageWidth" = number ,
135- " pageHeight" = number ,
136- " isAnnoated" = bool ,
137- " pageTypeFormat" = string ,
138- " pdfBackgroundPageNo" = integer (0 , if there is no pdf background page ),
139- " layers" = {
134+ pageWidth = number ,
135+ pageHeight = number ,
136+ isAnnoated = bool ,
137+ pageTypeFormat = string ,
138+ pdfBackgroundPageNo = integer (0 , if there is no pdf background page ),
139+ layers = {
140140 [0 ] = {
141- " isVisible" = bool
141+ isVisible = bool
142142 },
143143 [1 ] = {
144- " isVisible" = bool ,
145- " isAnnotated" = bool
144+ isVisible = bool ,
145+ isAnnotated = bool
146146 },
147147 ...
148148 },
149- " currentLayer" = integer
149+ currentLayer = integer
150150 },
151151 ...
152152 }
153- " currentPage" = integer ,
154- " pdfBackgroundFilename" = string (empty if there is none )
153+ currentPage = integer ,
154+ pdfBackgroundFilename = string (empty if there is none )
155155}
156156```
157157
You can’t perform that action at this time.
0 commit comments