]> git.lyx.org Git - lyx.git/blob - lib/layouts/graphicboxes.module
e7568100e7fd590d79cdd057d6532d2d9125e9e9
[lyx.git] / lib / layouts / graphicboxes.module
1 #\DeclareLyXModule{GraphicBoxes}
2 #DescriptionBegin
3 #Boxes to scale and rotate its contents
4 #DescriptionEnd
5 #
6 #Author: Jürgen Spitzmüller <spitz@lyx.org>
7 #        Uwe Stöhr <uwestoehr@lyx.org>
8
9 Format 68
10
11 InsetLayout Flex:Reflectbox
12         LyXType         custom
13         Decoration      classic
14         LabelString     Reflectbox
15         LatexType       command
16         LatexName       reflectbox
17         LabelFont
18           Family        Roman
19           Color         red
20         EndFont
21         ResetsFont      0
22         Requires        graphicx
23         MultiPar        0
24 End
25
26 InsetLayout Flex:Scalebox
27         CopyStyle       Flex:Reflectbox
28         LabelString     Scalebox
29         LatexName       scalebox
30         Argument 1
31           LabelString   "H-Factor"
32           Tooltip       "Insert horizontal scale factor (1 = 100%)"
33           Mandatory     1
34           DefaultArg    "1"
35           AutoInsert    1
36         EndArgument
37         Argument 2
38           LabelString   "V-Factor"
39           Tooltip       "Insert vertical scale factor (1 = 100%)"
40         EndArgument
41 End
42
43 InsetLayout Flex:Resizebox
44         CopyStyle       Flex:Reflectbox
45         LabelString     Resizebox
46         LatexName       resizebox
47         Argument 1
48           LabelString   "Width"
49           Tooltip       "Width of the box"
50           Mandatory     1
51           DefaultArg    "1cm"
52           AutoInsert    1
53         EndArgument
54         Argument 2
55           LabelString   "Height"
56           Tooltip       "Height of the box, can also be '!' to keep aspect ratio"
57           Mandatory     1
58           DefaultArg    "!"
59           AutoInsert    1
60         EndArgument
61 End
62
63 InsetLayout Flex:Rotatebox
64         CopyStyle       Flex:Reflectbox
65         LabelString     Rotatebox
66         LatexName       rotatebox
67         Argument 1
68           LabelString   "Origin"
69           Tooltip       "Rotation origin; syntax: 'origin=lt' (for top left corner)"
70         EndArgument
71         Argument 2
72           LabelString   "Angle"
73           Tooltip       "Rotation angle in degrees (counterclockwise)"
74           DefaultArg    "0"
75           AutoInsert    1
76           Mandatory     1
77         EndArgument
78 End