Language:

The Free and Open Productivity Suite
Apache OpenOffice 4.1.4 released

Developer's Guide

API

SDK

Tips 'n' Tricks

Miscellaneous


:: rtl ::

class Bootstrap


Base Classes
None.
Known Derived Classes
None.

virtual abstract interface template
NO NO NO NO
File
bootstrap.hxx

Public Members

Methods


Bootstrap( );
default ctor.

Bootstrap( const OUString & iniName );
Opens a bootstrap argment container

~Bootstrap( );
Closes a bootstrap argument container
sal_Bool
getFrom( const ::rtl::OUString & sName, ::rtl::OUString & outValue ) const;
Retrieves a bootstrap argument.
void
getFrom( const ::rtl::OUString & sName, ::rtl::OUString & outValue, const ::rtl::OUString & aDefault ) const;
Retrieves a bootstrap argument.
void
getIniName( ::rtl::OUString & iniName ) const;
Retrieves the name of the underlying ini-file.
void
expandMacrosFrom( ::rtl::OUString & macro ) const throw( );
Expands a macro using bootstrap variables.
rtlBootstrapHandle
getHandle( ) const throw( );
Provides the bootstrap internal handle.

Static Methods

static void
setIniFilename( const ::rtl::OUString & sFile );
static sal_Bool
get( const ::rtl::OUString & sName, ::rtl::OUString & outValue );
Retrieves a bootstrap parameter
static void
get( const ::rtl::OUString & sName, ::rtl::OUString & outValue, const ::rtl::OUString & aDefault );
Retrieves a bootstrap parameter
static void
set( const ::rtl::OUString & name, const ::rtl::OUString & value ) throw( );
Sets a bootstrap parameter.
static void
expandMacros( ::rtl::OUString & macro ) throw( );
Expands a macro using default bootstrap variables.
static ::rtl::OUString
encode( const ::rtl::OUString & value ) throw( );
Escapes special characters ("$" and "\").

Private Members

Data

void * _handle;

Top of Page

Apache Software Foundation

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

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