office-gobmx/rsc
Julien Nabet b3c2cf2ae1 widht -> width
Change-Id: I661eeb167a95540a223ce72aac51789daf3767dc
2013-11-23 23:22:25 +01:00
..
documentation convert ancient .sdw documentation to .odt 2013-08-18 12:41:17 +01:00
inc fdo#62475 - remove visual noise 2013-08-31 22:41:10 +02:00
source widht -> width 2013-11-23 23:22:25 +01:00
Executable_rsc.mk Revert "More ICU dependencies that are now dragged in" 2013-09-25 09:04:47 +02:00
Makefile switch to include-based build rather than sourced-based build 2012-02-05 19:34:05 -06:00
Module_rsc.mk Move to MPLv2 license headers, with ESC decision and author's permission. 2013-04-30 13:34:06 +01:00
README

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<integer,resource>.

There is some German documentation about it in a subdirectory called
[git:rsc/doku].  Seems to be very old (January 1992).