Language

The Free and Open Productivity Suite
Released: Apache OpenOffice 4.1.15

Definition of a Profile



The keyword for a profile definition is Profile. A global ID of a profile should begin with gid_Profile . Profiles have be assigned to modules. The assigned module has to be listed inside the definition block of the Profile. Profiles represent ini- or .rc-files, which are created from the setup, for example sversion.ini respectively .sversionrc. A typical definition of a profile in the scp projects looks like:

Profile gid_Profile_Bootstrap_Ini
ModuleID = gid_Module_Abc
#ifdef UNX
Name = "bootstraprc";
#else
Name = "bootstrap.ini";
#endif
Dir = gid_Dir_Program;
Styles = (NETWORK);
End

As you can see, the definition of a profile is very simple. The profile needs a ModuleID a name, a directory in which the file shall be created and optionally some styles. In this case the gid_Profile_Bootstrap_Ini is defined, which is named for unix bootstraprc and for all other platforms bootstrap.ini. It is installed into gid_Dir_Program.



Apache Software Foundation

Copyright & License | Privacy | Contact Us | Donate | Thanks

Apache, OpenOffice, OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. The Apache feather logo is a trademark of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.