When specifying a directory or file location in OpenOffice, a path variable can be used in place of an absolute location. For example, the value
$(insturl)/share/template/$(vlang)
can be used to refer to OpenOffice's installed template directory, which in a normal US English installation is
C:\Program Files\OpenOffice.org 2.x\share\template\en-US
Below is a list of path variables and their nominal values. The actual values will depend on the installation:
$(inst) = C:\Program Files\OpenOffice.org 2.0
$(insturl) = C:\Program Files\OpenOffice.org 2.0
$(instpath) = C:\Program Files\OpenOffice.org 2.0
$(baseinsturl) = C:\Program Files\OpenOffice.org 2.0
$(prog) = C:\Program Files\OpenOffice.org 2.0\program
$(progurl) = C:\Program Files\OpenOffice.org 2.0\program
$(progpath) = C:\Program Files\OpenOffice.org 2.0\program
$(user) = C:\Documents and Settings\<user>\Application Data\OpenOffice.org2\user
$(userurl) = C:\Documents and Settings\<user>\Application Data\OpenOffice.org2\user
$(userpath) = C:\Documents and Settings\<user>\Application Data\OpenOffice.org2\user
$(userdataurl) = C:\Documents and Settings\<user>\Application Data\OpenOffice.org2\user
$(work) = C:\Documents and Settings\<user>\My Documents
$(workdirurl) = C:\Documents and Settings\<user>\My Documents
$(home) = C:\Documents and Settings\<user>\Application Data
$(temp) = C:\Documents and Settings\<user>\Local Settings\Temp
$(path) = the Windows environment variable "path"
$(lang) = 01
$(langid) = 1033
$(vlang) = en-US
For further information, see http://api.openoffice.org/docs/DevelopersGuide/OfficeDev/OfficeDev.xhtml#1_2_7_2_Path_Variables