File: media9.cwl

package info (click to toggle)
texstudio 4.3.1%2Bds-2
  • links: PTS
  • area: main
  • in suites: bookworm
  • size: 74,980 kB
  • sloc: cpp: 102,721; xml: 17,126; ansic: 8,143; sh: 194; javascript: 177; makefile: 28
file content (80 lines) | stat: -rw-r--r-- 2,025 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
# media9 package
# Matthew Bertucci 2022/08/12 for v1.25

#include:ocgbase
#include:pdfbase

#keyvals:\usepackage/media9#c
dvipdfmx
xetex
bigfiles
#endkeyvals

# Global/local options
#keyvals:\usepackage/media9#c,\includemedia#c
draft
final
playbutton=#fancy,plain,none
noplaybutton
activate=#onclick,pageopen,pagevisible
deactivate=#onclick,pageclose,pageinvisible
windowed=
transparent
passcontext
attachfiles
3Dplaytype=#linear,oscillating
3Dplaycount=%<integer%>
3Dplayspeed=%<number%>
3Dtoolbar
3Dnavpane
3Dpartsattrs=#restore,keep
3Dmenu
3Dbg=%<<r> <g> <b>%>
3Dlights=#None,White,Day,Night,Hard,Primary,Blue,Red,Cube,CAD,Headlamp
3Drender=#Solid,SolidWireframe,Transparent,TransparentWireframe,BoundingBox,TransparentBoundingBox,TransparentBoundingBoxOutline,Wireframe,ShadedWireframe,HiddenWireframe,Vertices,ShadedVertices,SolidOutline,Illustration,ShadedIllustration
#endkeyvals

\includemedia{poster text%text}{file or URL}#i
\includemedia[options%keyvals]{poster text%text}{file or URL}#i

\addmediapath{directory}

# Local-only options
#keyvals:\includemedia#c
label=%<label text%>
width=##L
height=##L
totalheight=##L
keepaspectratio
scale=%<factor%>
addresource=%<file%>
flashvars={%<var1=val1&var2=val2&...%>}
3Dcoo=%<<x> <y> <z>%>
3Dc2c=%<<x> <y> <z>%>
3Droll=%<roll%>
3Dc2w=%<camera-to-world matrix%>
3Dpsob=#Min,Max,W,H
3Droo=%<number%>
3Daac=%<angle%>
3Dortho=%<factor%>
3Dviews=%<views file%>
add3Djscript=%<3D JavaScript file%>
#endkeyvals

\mediabutton{button text%text}
\mediabutton[options%keyvals]{button text%text}

#keyvals:\mediabutton#c
overface=%<text or graphic%>
downface=%<text or graphic%>
tooltip=%<tip text%>
3Dgotoview=%<label text%>
3Dgotoview=%<label text%>:%<view spec%>
mediacommand=%<label text%>
mediacommand=%<label text%>:%<command%>
mediacommand=%<label text%>:%<command%>[(%<arg1%>)%<(arg2)...%>]
jsaction={%<JavaScript code%>}
jsaction=%<label text%>:{%<JavaScript code%>}
draft
final
#endkeyvals