Resource Compiler. This compiler converts .src files and .hrc equivalents into binary .res files. The basic idea is that this provides a map between integer identifiers and the resources: string, pixmap (only the file-name), and VCL control properties. In more detail: Typically we would have a .hrc file with entries like this: #define SID_STR_FOO 1234 And then a .src file with some entries like this: String SID_STR_FOO { Text [ en-US ] = "Foo !" ; }; This is compiled into a binary resource file, we have many of these which live in program/resource/ and then tends to get used in the code thus: String aStr( ResId( SID_STR_FOO ) ); It is important to note that any appearance of hierarchical structure in the .src files is in fact a mirage. The file is compiled at root into a plain map. There is some German documentation about it in a subdirectory called [git:rsc/doku]. Seems to be very old (January 1992). value='distro/allotropia/zeta-7-3'>distro/allotropia/zeta-7-3 LibreOffice 核心代码仓库文档基金会
summaryrefslogtreecommitdiff
path: root/svl
diff options
context:
space:
mode:
x on OS X
authorNoel Grandin <noel.grandin@collabora.co.uk>2016-11-08 15:53:21 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2016-11-09 07:48:18 +0000
commit389999abdb2d35f8641a6ff2e8984887166d39e2 (patch)
tree746ae9503700b07bb84938c8899a24aeb8b8fcd8 /svl