| Server IP : 217.160.0.212 / Your IP : 216.73.217.5 Web Server : Apache System : Linux www 6.18.52-i1-ampere #1203 SMP Mon Sep 14 18:29:59 CEST 2026 aarch64 User : sws1073854427 ( 1073854427) PHP Version : 8.4.23 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /usr/share/emacs/28.2/lisp/org/ |
Upload File : |
;ELC
;;; Compiled
;;; in Emacs version 28.2
;;; with all optimizations.
(require 'ob)
#@59 Default arguments for evaluating a plantuml source block.
(defvar org-babel-default-header-args:plantuml '((:results . "file") (:exports . "results")) (#$ . 98))
(byte-code "\300\301\302\303\304DD\305\306\307\310\311\312\313& \210\300\314\302\303\315DD\316\306\307\317\320\312\321\322\323&\210\300\324\302\303\325DD\326\306\307\317\327\312\313& \210\300\330\302\303\331DD\332\306\307\317\333\312\334& \210\300\335\302\303\336DD\337\306\307\317\340\312\341& \207" [custom-declare-variable org-plantuml-jar-path funcall function #[0 "\300\207" [#1=""] 1 #1#] "Path to the plantuml.jar file." :group org-babel :version "24.1" :type string org-plantuml-exec-mode #[0 "\300\207" [jar] 1 #1#] "Method to use for PlantUML diagram generation.\n`jar' means to use java together with the JAR.\nThe JAR can be configured via `org-plantuml-jar-path'.\n\n`plantuml' means to use the PlantUML executable.\nThe executable can be configured via `org-plantuml-executable-path'.\nYou can also configure extra arguments via `org-plantuml-executable-args'." :package-version (Org . "9.4") symbol :options (jar plantuml) org-plantuml-executable-path #[0 "\300\207" ["plantuml"] 1 #1#] "File name of the PlantUML executable." (Org . "9.4") org-plantuml-executable-args #[0 "\300C\207" ["-headless"] 1 #1#] "The arguments passed to plantuml executable when executing PlantUML." (Org . "9.4") (repeat string) org-babel-plantuml-svg-text-to-path #[0 "\300\207" [nil] 1 #1#] "When non-nil, export text in SVG images to paths using Inkscape." (Org . "9.5") boolean] 12)
#@256 Return a list of PlantUML statements assigning the block's variables.
PARAMS is a property list of source block parameters, which may
contain multiple entries for the key `:var'. `:var' entries in PARAMS
are expected to be scalar variables.
(fn PARAMS)
(defalias 'org-babel-variable-assignments:plantuml #[257 "\300\301\302!\"\207" [mapcar #[257 "\300\301@\302\303\304A##\207" [format "!define %s %s" replace-regexp-in-string "\"" ""] 8 "\n\n(fn PAIR)"] org-babel--get-vars] 5 (#$ . 1649)])
#@458 Return PlantUML input string.
BODY is the content of the source block and PARAMS is a property list
of source block parameters. This function relies on the
`org-babel-expand-body:generic' function to extract `:var' entries
from PARAMS and on the `org-babel-variable-assignments:plantuml'
function to convert variables to PlantUML assignments.
If BODY does not contain @startXXX ... @endXXX clauses, @startuml
... @enduml will be added.
(fn BODY PARAMS)
(defalias 'org-babel-plantuml-make-body #[514 "\300\301!#\302\303\304#\203 \207\305\306\"\207" [org-babel-expand-body:generic org-babel-variable-assignments:plantuml string-prefix-p "@start" t format "@startuml\n%s\n@enduml"] 7 (#$ . 2153)])
#@126 Execute a block of plantuml code with org-babel.
This function is called by `org-babel-execute-src-block'.
(fn BODY PARAMS)
(defalias 'org-babel-execute:plantuml #[514 "\305\236A\206\n \306\307!\310\236A\311\312!\313\236A\206 \314\315=\203# \202$ \316\315=\203. \n\202O \314\230\203: \306\317!\202O \320!\204G \306\321\"\202O \322\323\324!!E\325\"\326\327\330C\331\f!\211\332\267\202\221 \333\202\222 \334\202\222 \335\202\222 \336\202\222 \337\202\222 \340\202\222 \341\202\222 \342\202\222 \343\202\222 \344\202\222 \345\202\222 \346\262\347\f\350\351!\352\351!\257$\353#\354\355\356\"\357\360\"\216r\211q\210c\210)r\211q\210\361\346\211 \346\362%\210*\210\363\364\"\210\365\314\"\210\331!\366\230\203\347 \f\203\347 \365\367\370\n\211#\314\"\210\346\207" [org-plantuml-exec-mode org-plantuml-executable-path org-plantuml-executable-args org-plantuml-jar-path org-babel-plantuml-svg-text-to-path :file error "PlantUML requires a \":file\" header argument" :cmdline org-babel-temp-file "plantuml-" :java "" plantuml "java" "`org-plantuml-jar-path' is not set" file-exists-p "Could not find plantuml.jar at %s" "-jar" shell-quote-argument expand-file-name org-babel-plantuml-make-body mapconcat identity append file-name-extension #s(hash-table size 11 test equal rehash-size 1.5 rehash-threshold 0.8125 purecopy t data ("png" 101 "svg" 105 "eps" 109 "pdf" 113 "tex" 117 "vdx" 121 "xmi" 125 "scxml" 129 "html" 133 "txt" 137 "utxt" 141)) ("-tpng") ("-tsvg") ("-teps") ("-tpdf") ("-tlatex") ("-tvdx") ("-txmi") ("-tscxml") ("-thtml") ("-ttxt") ("-utxt") nil "-p" "<" org-babel-process-file-name ">" " " generate-new-buffer " *temp file*" t make-closure #[0 "\301\300!\205 \302\300!\207" [V0 buffer-name kill-buffer] 2] write-region 0 message "%s" org-babel-eval "svg" format "inkscape %s -T -l %s"] 22 (#$ . 2865)])
#@82 Return an error because plantuml does not support sessions.
(fn SESSION PARAMS)
(defalias 'org-babel-prep-session:plantuml #[514 "\300\301!\207" [error "Plantuml does not support sessions"] 4 (#$ . 4721)])
(provide 'ob-plantuml)