Login
Log in using an SSO provider:
Fedora Account System
Red Hat Associate
Red Hat Customer
Login using a Red Hat Bugzilla account
Forgot Password
Create an Account
Red Hat Bugzilla – Attachment 4835 Details for
Bug 20105
cc1plus ICE in finish_function on bad input
Home
New
Search
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh90 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
[?]
This site requires JavaScript to be enabled to function correctly, please enable it.
ii file for crash
docfile.ii (text/plain), 1.30 MB, created by
Matt Wilson
on 2000-10-31 15:58:35 UTC
(
hide
)
Description:
ii file for crash
Filename:
MIME Type:
Creator:
Matt Wilson
Created:
2000-10-31 15:58:35 UTC
Size:
1.30 MB
patch
obsolete
># 1 "/usr/src/oo/oo_605_src/sfx2/source/doc/docfile.cxx" ># 63 "/usr/src/oo/oo_605_src/sfx2/source/doc/docfile.cxx" ># 28 "/usr/include/stdio.h" 1 ># 284 "/usr/include/features.h" 1 ># 312 "/usr/include/features.h" ># 28 "/usr/include/stdio.h" 2 > >extern "C" { > > > > ># 199 "/usr/lib/gcc-lib/i386-redhat-linux/2.96/include/stddef.h" 1 >typedef unsigned int size_t; ># 34 "/usr/include/stdio.h" 2 > > > > > ># 43 "/usr/lib/gcc-lib/i386-redhat-linux/2.96/include/stdarg.h" 1 >typedef __builtin_va_list __gnuc_va_list; ># 39 "/usr/include/stdio.h" 2 > > ># 30 "/usr/include/bits/types.h" 1 > > >typedef unsigned char __u_char; >typedef unsigned short __u_short; >typedef unsigned int __u_int; >typedef unsigned long __u_long; > >__extension__ typedef unsigned long long int __u_quad_t; >__extension__ typedef long long int __quad_t; ># 49 "/usr/include/bits/types.h" >typedef signed char __int8_t; >typedef unsigned char __uint8_t; >typedef signed short int __int16_t; >typedef unsigned short int __uint16_t; >typedef signed int __int32_t; >typedef unsigned int __uint32_t; > >__extension__ typedef signed long long int __int64_t; >__extension__ typedef unsigned long long int __uint64_t; > >typedef __quad_t *__qaddr_t; > >typedef __u_quad_t __dev_t; >typedef __u_int __uid_t; >typedef __u_int __gid_t; >typedef __u_long __ino_t; >typedef __u_int __mode_t; >typedef __u_int __nlink_t; >typedef long int __off_t; >typedef __quad_t __loff_t; >typedef int __pid_t; >typedef int __ssize_t; >typedef __u_long __rlim_t; >typedef __u_quad_t __rlim64_t; >typedef __u_int __id_t; > >typedef struct > { > int __val[2]; > } __fsid_t; > > >typedef int __daddr_t; >typedef char *__caddr_t; >typedef long int __time_t; >typedef unsigned int __useconds_t; >typedef long int __suseconds_t; >typedef long int __swblk_t; > >typedef long int __clock_t; > > >typedef int __clockid_t; > > >typedef int __timer_t; > > > >typedef unsigned long int __fd_mask; > > ># 109 "/usr/include/bits/types.h" >typedef struct > { > > > > > > > __fd_mask __fds_bits[1024 / (8 * sizeof (__fd_mask))]; > > > } __fd_set; > > >typedef int __key_t; > > >typedef unsigned short int __ipc_pid_t; > > > >typedef long int __blksize_t; > > > > >typedef long int __blkcnt_t; >typedef __quad_t __blkcnt64_t; > > >typedef __u_long __fsblkcnt_t; >typedef __u_quad_t __fsblkcnt64_t; > > >typedef __u_long __fsfilcnt_t; >typedef __u_quad_t __fsfilcnt64_t; > > >typedef __u_quad_t __ino64_t; > > >typedef __loff_t __off64_t; > > >typedef long int __t_scalar_t; >typedef unsigned long int __t_uscalar_t; > > >typedef int __intptr_t; > > >typedef unsigned int __socklen_t; > > > > > ># 24 "/usr/include/bits/pthreadtypes.h" 1 ># 68 "/usr/include/bits/sched.h" 1 >struct __sched_param > { > int sched_priority; > }; ># 24 "/usr/include/bits/pthreadtypes.h" 2 > > >struct _pthread_fastlock >{ > long int __status; > int __spinlock; > >}; > > > >typedef struct _pthread_descr_struct *_pthread_descr; > > > > > >typedef struct >{ > int __detachstate; > int __schedpolicy; > struct __sched_param __schedparam; > int __inheritsched; > int __scope; > size_t __guardsize; > int __stackaddr_set; > void *__stackaddr; > size_t __stacksize; >} pthread_attr_t; > > > >typedef struct >{ > struct _pthread_fastlock __c_lock; > _pthread_descr __c_waiting; >} pthread_cond_t; > > > >typedef struct >{ > int __dummy; >} pthread_condattr_t; > > >typedef unsigned int pthread_key_t; > > > > > >typedef struct >{ > int __m_reserved; > int __m_count; > _pthread_descr __m_owner; > int __m_kind; > struct _pthread_fastlock __m_lock; >} pthread_mutex_t; > > > >typedef struct >{ > int __mutexkind; >} pthread_mutexattr_t; > > > >typedef int pthread_once_t; > > ># 140 "/usr/include/bits/pthreadtypes.h" >typedef unsigned long int pthread_t; > ># 166 "/usr/include/bits/types.h" 2 ># 41 "/usr/include/stdio.h" 2 ># 49 "/usr/include/stdio.h" >typedef struct _IO_FILE FILE; > ># 59 "/usr/include/stdio.h" >typedef struct _IO_FILE __FILE; > ># 70 "/usr/include/stdio.h" ># 31 "/usr/include/libio.h" 1 ># 15 "/usr/include/_G_config.h" 1 ># 312 "/usr/lib/gcc-lib/i386-redhat-linux/2.96/include/stddef.h" 1 >typedef unsigned int wint_t; ># 15 "/usr/include/_G_config.h" 2 ># 25 "/usr/include/_G_config.h" ># 46 "/usr/include/wchar.h" 1 > > ># 64 "/usr/include/wchar.h" >typedef struct >{ > int __count; > union > { > wint_t __wch; > char __wchb[4]; > } __value; >} __mbstate_t; ># 25 "/usr/include/_G_config.h" 2 > >typedef struct >{ > __off_t __pos; > __mbstate_t __state; >} _G_fpos_t; >typedef struct >{ > __off64_t __pos; > __mbstate_t __state; >} _G_fpos64_t; ># 45 "/usr/include/_G_config.h" ># 29 "/usr/include/gconv.h" 1 ># 46 "/usr/include/wchar.h" 1 ># 29 "/usr/include/gconv.h" 2 > > > > > > > >enum >{ > __GCONV_OK = 0, > __GCONV_NOCONV, > __GCONV_NODB, > __GCONV_NOMEM, > > __GCONV_EMPTY_INPUT, > __GCONV_FULL_OUTPUT, > __GCONV_ILLEGAL_INPUT, > __GCONV_INCOMPLETE_INPUT, > > __GCONV_ILLEGAL_DESCRIPTOR, > __GCONV_INTERNAL_ERROR >}; > > > >enum >{ > __GCONV_IS_LAST = 0x0001, > __GCONV_IGNORE_ERRORS = 0x0002 >}; > > > >struct __gconv_step; >struct __gconv_step_data; >struct __gconv_loaded_object; >struct __gconv_trans_data; > > > >typedef int (*__gconv_fct) (struct __gconv_step *, struct __gconv_step_data *, > __const unsigned char **, __const unsigned char *, > unsigned char **, size_t *, int, int); > > >typedef int (*__gconv_init_fct) (struct __gconv_step *); >typedef void (*__gconv_end_fct) (struct __gconv_step *); > > > >typedef int (*__gconv_trans_fct) (struct __gconv_step *, > struct __gconv_step_data *, void *, > __const unsigned char *, > __const unsigned char **, > __const unsigned char *, unsigned char **, > size_t *); > > >typedef int (*__gconv_trans_context_fct) (void *, __const unsigned char *, > __const unsigned char *, > unsigned char *, unsigned char *); > > >typedef int (*__gconv_trans_query_fct) (__const char *, __const char ***, > size_t *); > > >typedef int (*__gconv_trans_init_fct) (void **, const char *); >typedef void (*__gconv_trans_end_fct) (void *); > >struct __gconv_trans_data >{ > > __gconv_trans_fct __trans_fct; > __gconv_trans_context_fct __trans_context_fct; > __gconv_trans_end_fct __trans_end_fct; > void *__data; > struct __gconv_trans_data *__next; >}; > > > >struct __gconv_step >{ > struct __gconv_loaded_object *__shlib_handle; > __const char *__modname; > > int __counter; > > __const char *__from_name; > __const char *__to_name; > > __gconv_fct __fct; > __gconv_init_fct __init_fct; > __gconv_end_fct __end_fct; > > > > int __min_needed_from; > int __max_needed_from; > int __min_needed_to; > int __max_needed_to; > > > int __stateful; > > void *__data; >}; > > > >struct __gconv_step_data >{ > unsigned char *__outbuf; > unsigned char *__outbufend; > > > > int __flags; > > > > int __invocation_counter; > > > > int __internal_use; > > __mbstate_t *__statep; > __mbstate_t __state; > > > > struct __gconv_trans_data *__trans; >}; > > > >typedef struct __gconv_info >{ > size_t __nsteps; > struct __gconv_step *__steps; > __extension__ struct __gconv_step_data __data[0]; >} *__gconv_t; > ># 45 "/usr/include/_G_config.h" 2 >typedef union >{ > struct __gconv_info __cd; > struct > { > struct __gconv_info __cd; > struct __gconv_step_data __data; > } __combined; >} _G_iconv_t; > >typedef int _G_int16_t __attribute__ ((__mode__ (__HI__))); >typedef int _G_int32_t __attribute__ ((__mode__ (__SI__))); >typedef unsigned int _G_uint16_t __attribute__ ((__mode__ (__HI__))); >typedef unsigned int _G_uint32_t __attribute__ ((__mode__ (__SI__))); > ># 31 "/usr/include/libio.h" 2 ># 52 "/usr/include/libio.h" ># 158 "/usr/include/libio.h" >struct _IO_jump_t; struct _IO_FILE; > > > > > > > > > >typedef void _IO_lock_t; > > > > > >struct _IO_marker { > struct _IO_marker *_next; > struct _IO_FILE *_sbuf; > > > > int _pos; ># 191 "/usr/include/libio.h" >}; > > >enum __codecvt_result >{ > __codecvt_ok, > __codecvt_partial, > __codecvt_error, > __codecvt_noconv >}; > ># 263 "/usr/include/libio.h" >struct _IO_FILE { > int _flags; > > > > > char* _IO_read_ptr; > char* _IO_read_end; > char* _IO_read_base; > char* _IO_write_base; > char* _IO_write_ptr; > char* _IO_write_end; > char* _IO_buf_base; > char* _IO_buf_end; > > char *_IO_save_base; > char *_IO_backup_base; > char *_IO_save_end; > > struct _IO_marker *_markers; > > struct _IO_FILE *_chain; > > int _fileno; > int _blksize; > __off_t _old_offset; > > > > unsigned short _cur_column; > signed char _vtable_offset; > char _shortbuf[1]; > > > > _IO_lock_t *_lock; ># 307 "/usr/include/libio.h" > __off64_t _offset; > > > > > > void *__pad1; > void *__pad2; > > int _mode; > > char _unused2[15 * sizeof (int) - 2 * sizeof (void *)]; > >}; > > > > > >struct _IO_FILE_plus; > >extern struct _IO_FILE_plus _IO_2_1_stdin_; >extern struct _IO_FILE_plus _IO_2_1_stdout_; >extern struct _IO_FILE_plus _IO_2_1_stderr_; ># 346 "/usr/include/libio.h" >typedef __ssize_t __io_read_fn (void *__cookie, char *__buf, size_t __nbytes); > > > > > > > >typedef __ssize_t __io_write_fn (void *__cookie, __const char *__buf, > size_t __n); > > > > > > > >typedef int __io_seek_fn (void *__cookie, __off64_t *__pos, int __w); > > >typedef int __io_close_fn (void *__cookie); > > ># 395 "/usr/include/libio.h" >extern "C" { > > >extern int __underflow (_IO_FILE *) throw (); >extern int __uflow (_IO_FILE *) throw (); >extern int __overflow (_IO_FILE *, int) throw (); >extern wint_t __wunderflow (_IO_FILE *) throw (); >extern wint_t __wuflow (_IO_FILE *) throw (); >extern wint_t __woverflow (_IO_FILE *, wint_t) throw (); > ># 428 "/usr/include/libio.h" >extern int _IO_getc (_IO_FILE *__fp) throw (); >extern int _IO_putc (int __c, _IO_FILE *__fp) throw (); >extern int _IO_feof (_IO_FILE *__fp) throw (); >extern int _IO_ferror (_IO_FILE *__fp) throw (); > >extern int _IO_peekc_locked (_IO_FILE *__fp) throw (); > > > > > >extern void _IO_flockfile (_IO_FILE *) throw (); >extern void _IO_funlockfile (_IO_FILE *) throw (); >extern int _IO_ftrylockfile (_IO_FILE *) throw (); > ># 458 "/usr/include/libio.h" >extern int _IO_vfscanf (_IO_FILE * __restrict, const char * __restrict, > __gnuc_va_list, int *__restrict) throw (); >extern int _IO_vfprintf (_IO_FILE *__restrict, const char *__restrict, > __gnuc_va_list) throw (); >extern __ssize_t _IO_padn (_IO_FILE *, int, __ssize_t) throw (); >extern size_t _IO_sgetn (_IO_FILE *, void *, size_t) throw (); > >extern __off64_t _IO_seekoff (_IO_FILE *, __off64_t, int, int) throw (); >extern __off64_t _IO_seekpos (_IO_FILE *, __off64_t, int) throw (); > >extern void _IO_free_backup_area (_IO_FILE *) throw (); > ># 514 "/usr/include/libio.h" >} ># 70 "/usr/include/stdio.h" 2 > > > >typedef _G_fpos_t fpos_t; ># 123 "/usr/include/stdio.h" > > > >extern FILE *stdin; >extern FILE *stdout; >extern FILE *stderr; > > > > > > >extern int remove (__const char *__filename) throw (); > >extern int rename (__const char *__old, __const char *__new) throw (); > > > > >extern FILE *tmpfile (void) throw (); ># 154 "/usr/include/stdio.h" >extern char *tmpnam (char *__s) throw (); > > > > >extern char *tmpnam_r (char *__s) throw (); ># 171 "/usr/include/stdio.h" >extern char *tempnam (__const char *__dir, __const char *__pfx) > throw () __attribute__ ((__malloc__)); > > > > >extern int fclose (FILE *__stream) throw (); > >extern int fflush (FILE *__stream) throw (); > > > >extern int fflush_unlocked (FILE *__stream) throw (); ># 194 "/usr/include/stdio.h" >extern FILE *fopen (__const char *__restrict __filename, > __const char *__restrict __modes) throw (); > >extern FILE *freopen (__const char *__restrict __filename, > __const char *__restrict __modes, > FILE *__restrict __stream) throw (); ># 224 "/usr/include/stdio.h" >extern FILE *fdopen (int __fd, __const char *__modes) throw (); ># 247 "/usr/include/stdio.h" >extern void setbuf (FILE *__restrict __stream, char *__restrict __buf) throw (); > > > >extern int setvbuf (FILE *__restrict __stream, char *__restrict __buf, > int __modes, size_t __n) throw (); > > > > >extern void setbuffer (FILE *__restrict __stream, char *__restrict __buf, > size_t __size) throw (); > > >extern void setlinebuf (FILE *__stream) throw (); > > > > >extern int fprintf (FILE *__restrict __stream, > __const char *__restrict __format, ...) throw (); > >extern int printf (__const char *__restrict __format, ...) throw (); > >extern int sprintf (char *__restrict __s, > __const char *__restrict __format, ...) throw (); > > >extern int vfprintf (FILE *__restrict __s, __const char *__restrict __format, > __gnuc_va_list __arg) throw (); > >extern int vprintf (__const char *__restrict __format, __gnuc_va_list __arg) > throw (); > >extern int vsprintf (char *__restrict __s, __const char *__restrict __format, > __gnuc_va_list __arg) throw (); > > > >extern int snprintf (char *__restrict __s, size_t __maxlen, > __const char *__restrict __format, ...) > throw () __attribute__ ((__format__ (__printf__, 3, 4))); > >extern int __vsnprintf (char *__restrict __s, size_t __maxlen, > __const char *__restrict __format, __gnuc_va_list __arg) > throw () __attribute__ ((__format__ (__printf__, 3, 0))); >extern int vsnprintf (char *__restrict __s, size_t __maxlen, > __const char *__restrict __format, __gnuc_va_list __arg) > throw () __attribute__ ((__format__ (__printf__, 3, 0))); ># 321 "/usr/include/stdio.h" >extern int fscanf (FILE *__restrict __stream, > __const char *__restrict __format, ...) throw (); > >extern int scanf (__const char *__restrict __format, ...) throw (); > >extern int sscanf (__const char *__restrict __s, > __const char *__restrict __format, ...) throw (); > ># 347 "/usr/include/stdio.h" >extern int fgetc (FILE *__stream) throw (); >extern int getc (FILE *__stream) throw (); > > >extern int getchar (void) throw (); > > > > > > > >extern int getc_unlocked (FILE *__stream) throw (); >extern int getchar_unlocked (void) throw (); > > > > >extern int fgetc_unlocked (FILE *__stream) throw (); > > > > >extern int fputc (int __c, FILE *__stream) throw (); >extern int putc (int __c, FILE *__stream) throw (); > > >extern int putchar (int __c) throw (); > > > > > > > >extern int fputc_unlocked (int __c, FILE *__stream) throw (); > > > > >extern int putc_unlocked (int __c, FILE *__stream) throw (); >extern int putchar_unlocked (int __c) throw (); > > > > > >extern int getw (FILE *__stream) throw (); > > >extern int putw (int __w, FILE *__stream) throw (); > > > > >extern char *fgets (char *__restrict __s, int __n, FILE *__restrict __stream) > throw (); > ># 413 "/usr/include/stdio.h" >extern char *gets (char *__s) throw (); > > ># 437 "/usr/include/stdio.h" >extern int fputs (__const char *__restrict __s, FILE *__restrict __stream) > throw (); > > > > > > > > >extern int puts (__const char *__s) throw (); > > > >extern int ungetc (int __c, FILE *__stream) throw (); > > > >extern size_t fread (void *__restrict __ptr, size_t __size, > size_t __n, FILE *__restrict __stream) throw (); > >extern size_t fwrite (__const void *__restrict __ptr, size_t __size, > size_t __n, FILE *__restrict __s) throw (); > > > >extern size_t fread_unlocked (void *__restrict __ptr, size_t __size, > size_t __n, FILE *__restrict __stream) throw (); >extern size_t fwrite_unlocked (__const void *__restrict __ptr, size_t __size, > size_t __n, FILE *__restrict __stream) throw (); > > > > >extern int fseek (FILE *__stream, long int __off, int __whence) throw (); > >extern long int ftell (FILE *__stream) throw (); > >extern void rewind (FILE *__stream) throw (); > > > > > > > > > >typedef __off_t off_t; ># 507 "/usr/include/stdio.h" >extern int fgetpos (FILE *__restrict __stream, fpos_t *__restrict __pos) > throw (); > >extern int fsetpos (FILE *__stream, __const fpos_t *__pos) throw (); ># 543 "/usr/include/stdio.h" >extern void clearerr (FILE *__stream) throw (); > >extern int feof (FILE *__stream) throw (); > >extern int ferror (FILE *__stream) throw (); > > > >extern void clearerr_unlocked (FILE *__stream) throw (); >extern int feof_unlocked (FILE *__stream) throw (); >extern int ferror_unlocked (FILE *__stream) throw (); > > > > >extern void perror (__const char *__s) throw (); > > > > >extern int sys_nerr; >extern __const char *__const sys_errlist[]; ># 574 "/usr/include/stdio.h" >extern int fileno (FILE *__stream) throw (); > > > > >extern int fileno_unlocked (FILE *__stream) throw (); > > > > > > >extern FILE *popen (__const char *__command, __const char *__modes) throw (); > > >extern int pclose (FILE *__stream) throw (); > > > > > >extern char *ctermid (char *__s) throw (); ># 621 "/usr/include/stdio.h" >extern void flockfile (FILE *__stream) throw (); > > > >extern int ftrylockfile (FILE *__stream) throw (); > > >extern void funlockfile (FILE *__stream) throw (); ># 643 "/usr/include/stdio.h" ># 32 "/usr/include/bits/stdio.h" 1 >inline int >vprintf (__const char *__restrict __fmt, __gnuc_va_list __arg) throw () >{ > return vfprintf (stdout, __fmt, __arg); >} > > >inline int >getchar (void) throw () >{ > return _IO_getc (stdin); >} > > > > >inline int >getc_unlocked (FILE *__fp) throw () >{ > return ((__fp)->_IO_read_ptr >= (__fp)->_IO_read_end ? __uflow (__fp) : *(unsigned char *) (__fp)->_IO_read_ptr++); >} > > >inline int >getchar_unlocked (void) throw () >{ > return ((stdin)->_IO_read_ptr >= (stdin)->_IO_read_end ? __uflow (stdin) : *(unsigned char *) (stdin)->_IO_read_ptr++); >} > > > > >inline int >putchar (int __c) throw () >{ > return _IO_putc (__c, stdout); >} > > > > >inline int >fputc_unlocked (int __c, FILE *__stream) throw () >{ > return (((__stream)->_IO_write_ptr >= (__stream)->_IO_write_end) ? __overflow (__stream, (unsigned char) (__c)) : (unsigned char) (*(__stream)->_IO_write_ptr++ = (__c))); >} > > > > > >inline int >putc_unlocked (int __c, FILE *__stream) throw () >{ > return (((__stream)->_IO_write_ptr >= (__stream)->_IO_write_end) ? __overflow (__stream, (unsigned char) (__c)) : (unsigned char) (*(__stream)->_IO_write_ptr++ = (__c))); >} > > >inline int >putchar_unlocked (int __c) throw () >{ > return (((stdout)->_IO_write_ptr >= (stdout)->_IO_write_end) ? __overflow (stdout, (unsigned char) (__c)) : (unsigned char) (*(stdout)->_IO_write_ptr++ = (__c))); >} ># 110 "/usr/include/bits/stdio.h" >inline int >feof_unlocked (FILE *__stream) throw () >{ > return (((__stream)->_flags & 0x10) != 0); >} > > >inline int >ferror_unlocked (FILE *__stream) throw () >{ > return (((__stream)->_flags & 0x20) != 0); >} ># 643 "/usr/include/stdio.h" 2 > > >} > ># 63 "/usr/src/oo/oo_605_src/sfx2/source/doc/docfile.cxx" 2 > > ># 66 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/uno/mapping.hxx" 1 ># 67 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/cppu/macros.hxx" 1 ># 66 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/sal/types.h" 1 ># 66 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/sal/config.h" 1 ># 34 "/usr/include/stdlib.h" 1 > >extern "C" { > ># 94 "/usr/include/stdlib.h" >typedef struct > { > int quot; > int rem; > } div_t; > > > >typedef struct > { > long int quot; > long int rem; > } ldiv_t; ># 133 "/usr/include/stdlib.h" >extern size_t __ctype_get_mb_cur_max (void) throw (); > > > >extern double atof (__const char *__nptr) throw () __attribute__ ((__pure__)); > >extern int atoi (__const char *__nptr) throw () __attribute__ ((__pure__)); > >extern long int atol (__const char *__nptr) throw () __attribute__ ((__pure__)); > > > >__extension__ extern long long int atoll (__const char *__nptr) > throw () __attribute__ ((__pure__)); > > > >extern double strtod (__const char *__restrict __nptr, > char **__restrict __endptr) throw (); > ># 163 "/usr/include/stdlib.h" >extern long int strtol (__const char *__restrict __nptr, > char **__restrict __endptr, int __base) throw (); > >extern unsigned long int strtoul (__const char *__restrict __nptr, > char **__restrict __endptr, int __base) > throw (); > > > >__extension__ >extern long long int strtoq (__const char *__restrict __nptr, > char **__restrict __endptr, int __base) throw (); > >__extension__ >extern unsigned long long int strtouq (__const char *__restrict __nptr, > char **__restrict __endptr, int __base) > throw (); > > > > > > >__extension__ >extern long long int strtoll (__const char *__restrict __nptr, > char **__restrict __endptr, int __base) throw (); > >__extension__ >extern unsigned long long int strtoull (__const char *__restrict __nptr, > char **__restrict __endptr, int __base) > throw (); ># 250 "/usr/include/stdlib.h" >extern double __strtod_internal (__const char *__restrict __nptr, > char **__restrict __endptr, int __group) > throw (); >extern float __strtof_internal (__const char *__restrict __nptr, > char **__restrict __endptr, int __group) > throw (); >extern long double __strtold_internal (__const char *__restrict __nptr, > char **__restrict __endptr, > int __group) throw (); > >extern long int __strtol_internal (__const char *__restrict __nptr, > char **__restrict __endptr, > int __base, int __group) throw (); > > > >extern unsigned long int __strtoul_internal (__const char *__restrict __nptr, > char **__restrict __endptr, > int __base, int __group) throw (); > > > > >__extension__ >extern long long int __strtoll_internal (__const char *__restrict __nptr, > char **__restrict __endptr, > int __base, int __group) throw (); > > > >__extension__ >extern unsigned long long int __strtoull_internal (__const char * > __restrict __nptr, > char **__restrict __endptr, > int __base, int __group) > throw (); ># 294 "/usr/include/stdlib.h" >extern __inline double >strtod (__const char *__restrict __nptr, char **__restrict __endptr) throw () >{ > return __strtod_internal (__nptr, __endptr, 0); >} >extern __inline long int >strtol (__const char *__restrict __nptr, char **__restrict __endptr, > int __base) throw () >{ > return __strtol_internal (__nptr, __endptr, __base, 0); >} >extern __inline unsigned long int >strtoul (__const char *__restrict __nptr, char **__restrict __endptr, > int __base) throw () >{ > return __strtoul_internal (__nptr, __endptr, __base, 0); >} > ># 326 "/usr/include/stdlib.h" >__extension__ extern __inline long long int >strtoq (__const char *__restrict __nptr, char **__restrict __endptr, > int __base) throw () >{ > return __strtoll_internal (__nptr, __endptr, __base, 0); >} >__extension__ extern __inline unsigned long long int >strtouq (__const char *__restrict __nptr, char **__restrict __endptr, > int __base) throw () >{ > return __strtoull_internal (__nptr, __endptr, __base, 0); >} > > > >__extension__ extern __inline long long int >strtoll (__const char *__restrict __nptr, char **__restrict __endptr, > int __base) throw () >{ > return __strtoll_internal (__nptr, __endptr, __base, 0); >} >__extension__ extern __inline unsigned long long int >strtoull (__const char * __restrict __nptr, char **__restrict __endptr, > int __base) throw () >{ > return __strtoull_internal (__nptr, __endptr, __base, 0); >} > > >extern __inline double >atof (__const char *__nptr) throw () >{ > return strtod (__nptr, (char **) __null); >} >extern __inline int >atoi (__const char *__nptr) throw () >{ > return (int) strtol (__nptr, (char **) __null, 10); >} >extern __inline long int >atol (__const char *__nptr) throw () >{ > return strtol (__nptr, (char **) __null, 10); >} > > >__extension__ extern __inline long long int >atoll (__const char *__nptr) throw () >{ > return strtoll (__nptr, (char **) __null, 10); >} ># 385 "/usr/include/stdlib.h" >extern char *l64a (long int __n) throw (); > > >extern long int a64l (__const char *__s) throw () __attribute__ ((__pure__)); > > > ># 28 "/usr/include/sys/types.h" 1 >extern "C" { > > > > >typedef __u_char u_char; >typedef __u_short u_short; >typedef __u_int u_int; >typedef __u_long u_long; >typedef __quad_t quad_t; >typedef __u_quad_t u_quad_t; >typedef __fsid_t fsid_t; > > >typedef __loff_t loff_t; > > > >typedef __ino_t ino_t; ># 58 "/usr/include/sys/types.h" >typedef __dev_t dev_t; > > > > >typedef __gid_t gid_t; > > > > >typedef __mode_t mode_t; > > > > >typedef __nlink_t nlink_t; > > > > >typedef __uid_t uid_t; ># 96 "/usr/include/sys/types.h" >typedef __pid_t pid_t; > > > > >typedef __id_t id_t; > > > > >typedef __ssize_t ssize_t; > > > > >typedef __daddr_t daddr_t; >typedef __caddr_t caddr_t; > > > >typedef __key_t key_t; ># 127 "/usr/include/sys/types.h" ># 70 "/usr/include/time.h" 1 >typedef __time_t time_t; > ># 82 "/usr/include/time.h" >typedef __clockid_t clockid_t; > ># 94 "/usr/include/time.h" >typedef __timer_t timer_t; > ># 127 "/usr/include/sys/types.h" 2 ># 141 "/usr/include/sys/types.h" > > > >typedef unsigned long int ulong; >typedef unsigned short int ushort; >typedef unsigned int uint; ># 184 "/usr/include/sys/types.h" >typedef int int8_t __attribute__ ((__mode__ (__QI__))); >typedef int int16_t __attribute__ ((__mode__ (__HI__))); >typedef int int32_t __attribute__ ((__mode__ (__SI__))); >typedef int int64_t __attribute__ ((__mode__ (__DI__))); > > >typedef unsigned int u_int8_t __attribute__ ((__mode__ (__QI__))); >typedef unsigned int u_int16_t __attribute__ ((__mode__ (__HI__))); >typedef unsigned int u_int32_t __attribute__ ((__mode__ (__SI__))); >typedef unsigned int u_int64_t __attribute__ ((__mode__ (__DI__))); > >typedef int register_t __attribute__ ((__mode__ (__word__))); > > > > > > > > > > > ># 38 "/usr/include/endian.h" 1 ># 207 "/usr/include/sys/types.h" 2 > > > ># 32 "/usr/include/sys/select.h" 1 > > > ># 23 "/usr/include/bits/sigset.h" 1 >typedef int __sig_atomic_t; > > > > >typedef struct > { > unsigned long int __val[(1024 / (8 * sizeof (unsigned long int)))]; > } __sigset_t; > ># 35 "/usr/include/sys/select.h" 2 > > > > ># 106 "/usr/include/time.h" 1 >struct timespec > { > long int tv_sec; > long int tv_nsec; > }; > ># 39 "/usr/include/sys/select.h" 2 > >extern "C" { > > > > > >struct timeval; > >typedef __fd_mask fd_mask; > > >typedef __fd_set fd_set; > > ># 74 "/usr/include/sys/select.h" >extern int select (int __nfds, __fd_set *__restrict __readfds, > __fd_set *__restrict __writefds, > __fd_set *__restrict __exceptfds, > struct timeval *__restrict __timeout) throw (); > ># 92 "/usr/include/sys/select.h" >} > ># 210 "/usr/include/sys/types.h" 2 > > > ># 224 "/usr/include/sys/types.h" >typedef __blkcnt_t blkcnt_t; > > > >typedef __fsblkcnt_t fsblkcnt_t; > > > >typedef __fsfilcnt_t fsfilcnt_t; ># 256 "/usr/include/sys/types.h" >} > ># 392 "/usr/include/stdlib.h" 2 > > > > > > >extern int32_t random (void) throw (); > > >extern void srandom (unsigned int __seed) throw (); > > > > > >extern char *initstate (unsigned int __seed, char *__statebuf, > size_t __statelen) throw (); > > > >extern char *setstate (char *__statebuf) throw (); > > > > > > > >struct random_data > { > int32_t *fptr; > int32_t *rptr; > int32_t *state; > int rand_type; > int rand_deg; > int rand_sep; > int32_t *end_ptr; > }; > >extern int random_r (struct random_data *__restrict __buf, > int32_t *__restrict __result) throw (); > >extern int srandom_r (unsigned int __seed, struct random_data *__buf) throw (); > >extern int initstate_r (unsigned int __seed, char *__restrict __statebuf, > size_t __statelen, > struct random_data *__restrict __buf) throw (); > >extern int setstate_r (char *__restrict __statebuf, > struct random_data *__restrict __buf) throw (); > > > > > >extern int rand (void) throw (); > >extern void srand (unsigned int __seed) throw (); > > > >extern int rand_r (unsigned int *__seed) throw (); > > > > > > > >extern double drand48 (void) throw (); >extern double erand48 (unsigned short int __xsubi[3]) throw (); > > >extern long int lrand48 (void) throw (); >extern long int nrand48 (unsigned short int __xsubi[3]) throw (); > > >extern long int mrand48 (void) throw (); >extern long int jrand48 (unsigned short int __xsubi[3]) throw (); > > >extern void srand48 (long int __seedval) throw (); >extern unsigned short int *seed48 (unsigned short int __seed16v[3]) throw (); >extern void lcong48 (unsigned short int __param[7]) throw (); > > >struct drand48_data > { > unsigned short int x[3]; > unsigned short int a[3]; > unsigned short int c; > unsigned short int old_x[3]; > int init; > }; > > > >extern int drand48_r (struct drand48_data *__restrict __buffer, > double *__restrict __result) throw (); >extern int erand48_r (unsigned short int __xsubi[3], > struct drand48_data *__restrict __buffer, > double *__restrict __result) throw (); > > >extern int lrand48_r (struct drand48_data *__restrict __buffer, > long int *__restrict __result) throw (); >extern int nrand48_r (unsigned short int __xsubi[3], > struct drand48_data *__restrict __buffer, > long int *__restrict __result) throw (); > > >extern int mrand48_r (struct drand48_data *__restrict __buffer, > long int *__restrict __result) throw (); >extern int jrand48_r (unsigned short int __xsubi[3], > struct drand48_data *__restrict __buffer, > long int *__restrict __result) throw (); > > >extern int srand48_r (long int __seedval, struct drand48_data *__buffer) > throw (); > >extern int seed48_r (unsigned short int __seed16v[3], > struct drand48_data *__buffer) throw (); > >extern int lcong48_r (unsigned short int __param[7], > struct drand48_data *__buffer) throw (); ># 526 "/usr/include/stdlib.h" >extern void *malloc (size_t __size) throw () __attribute__ ((__malloc__)); > >extern void *calloc (size_t __nmemb, size_t __size) > throw () __attribute__ ((__malloc__)); > > > > > >extern void *realloc (void *__ptr, size_t __size) throw () __attribute__ ((__malloc__)); > >extern void free (void *__ptr) throw (); > > > >extern void cfree (void *__ptr) throw (); > > > > ># 26 "/usr/include/alloca.h" 1 > >extern "C" { > > > > > >extern void *alloca (size_t __size) throw (); > > > > > >} > ># 546 "/usr/include/stdlib.h" 2 > > > > >extern void *valloc (size_t __size) throw () __attribute__ ((__malloc__)); ># 560 "/usr/include/stdlib.h" >extern void abort (void) throw () __attribute__ ((__noreturn__)); > > > >extern int atexit (void (*__func) (void)) throw (); > > > > >extern int __on_exit (void (*__func) (int __status, void *__arg), void *__arg) > throw (); >extern int on_exit (void (*__func) (int __status, void *__arg), void *__arg) > throw (); > > > > > >extern void exit (int __status) throw () __attribute__ ((__noreturn__)); > ># 588 "/usr/include/stdlib.h" >extern char *getenv (__const char *__name) throw (); > > > >extern char *__secure_getenv (__const char *__name) throw (); > > > > > >extern int putenv (char *__string) throw (); > > > > > >extern int setenv (__const char *__name, __const char *__value, int __replace) > throw (); > > >extern void unsetenv (__const char *__name) throw (); > > > > > > >extern int clearenv (void) throw (); ># 624 "/usr/include/stdlib.h" >extern char *mktemp (char *__template) throw (); > > > > > > > >extern int mkstemp (char *__template) throw (); ># 651 "/usr/include/stdlib.h" >extern char *mkdtemp (char *__template) throw (); > > > > >extern int system (__const char *__command) throw (); > > ># 673 "/usr/include/stdlib.h" >extern char *realpath (__const char *__restrict __name, > char *__restrict __resolved) throw (); > > > > > > >typedef int (*__compar_fn_t) (__const void *, __const void *); > > > > > > > > >extern void *bsearch (__const void *__key, __const void *__base, > size_t __nmemb, size_t __size, __compar_fn_t __compar); > > > >extern void qsort (void *__base, size_t __nmemb, size_t __size, > __compar_fn_t __compar); > > > >extern int abs (int __x) throw () __attribute__ ((__const__)); >extern long int labs (long int __x) throw () __attribute__ ((__const__)); ># 711 "/usr/include/stdlib.h" >extern div_t div (int __numer, int __denom) > throw () __attribute__ ((__const__)); >extern ldiv_t ldiv (long int __numer, long int __denom) > throw () __attribute__ ((__const__)); ># 729 "/usr/include/stdlib.h" >extern char *ecvt (double __value, int __ndigit, int *__restrict __decpt, > int *__restrict __sign) throw (); > > > > >extern char *fcvt (double __value, int __ndigit, int *__restrict __decpt, > int *__restrict __sign) throw (); > > > > >extern char *gcvt (double __value, int __ndigit, char *__buf) throw (); > > >extern char *qecvt (long double __value, int __ndigit, > int *__restrict __decpt, int *__restrict __sign) throw (); >extern char *qfcvt (long double __value, int __ndigit, > int *__restrict __decpt, int *__restrict __sign) throw (); >extern char *qgcvt (long double __value, int __ndigit, char *__buf) throw (); > > > > > >extern int ecvt_r (double __value, int __ndigit, int *__restrict __decpt, > int *__restrict __sign, char *__restrict __buf, > size_t __len) throw (); >extern int fcvt_r (double __value, int __ndigit, int *__restrict __decpt, > int *__restrict __sign, char *__restrict __buf, > size_t __len) throw (); > >extern int qecvt_r (long double __value, int __ndigit, > int *__restrict __decpt, int *__restrict __sign, > char *__restrict __buf, size_t __len) throw (); >extern int qfcvt_r (long double __value, int __ndigit, > int *__restrict __decpt, int *__restrict __sign, > char *__restrict __buf, size_t __len) throw (); > > > > > > >extern int mblen (__const char *__s, size_t __n) throw (); > > >extern int mbtowc (wchar_t *__restrict __pwc, > __const char *__restrict __s, size_t __n) throw (); > > >extern int wctomb (char *__s, wchar_t __wchar) throw (); > > > >extern size_t mbstowcs (wchar_t *__restrict __pwcs, > __const char *__restrict __s, size_t __n) throw (); > >extern size_t wcstombs (char *__restrict __s, > __const wchar_t *__restrict __pwcs, size_t __n) > throw (); > > > > > > > >extern int rpmatch (__const char *__response) throw (); ># 851 "/usr/include/stdlib.h" >extern int getloadavg (double __loadavg[], int __nelem) throw (); > > > > > >} > ># 66 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/sal/config.h" 2 > > >extern "C" { > > > >} ># 66 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/sal/types.h" 2 > > >extern "C" { ># 77 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/sal/types.h" >typedef unsigned char sal_Bool; > > > > > > > >typedef signed char sal_Int8; >typedef unsigned char sal_uInt8; >typedef signed short sal_Int16; >typedef unsigned short sal_uInt16; >typedef signed long sal_Int32; >typedef unsigned long sal_uInt32; > > > > > >typedef long long sal_Int64; >typedef unsigned long long sal_uInt64; ># 113 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/sal/types.h" >typedef char sal_Char; >typedef signed char sal_sChar; >typedef unsigned char sal_uChar; > > > > >typedef sal_uInt16 sal_Unicode; > > >typedef void* sal_Handle; >typedef unsigned long sal_Size; > ># 156 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/sal/types.h" >void sal_setInt64(sal_Int64* newInt, sal_uInt32 lowInt, sal_Int32 highInt); >void sal_getInt64(sal_Int64 newInt, sal_uInt32* lowInt, sal_Int32* highInt); > >void sal_setUInt64(sal_uInt64* newInt, sal_uInt32 lowInt, sal_uInt32 highInt); >void sal_getUInt64(sal_uInt64 newInt, sal_uInt32* lowInt, sal_uInt32* highInt); > ># 181 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/sal/types.h" >typedef struct _sal_Sequence >{ > > > sal_Int32 nRefCount; > > > sal_Int32 nElements; > > > char elements[1]; >} sal_Sequence; > ># 220 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/sal/types.h" >} ># 67 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/cppu/macros.hxx" 2 > > > ># 66 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/uno/mapping.hxx" 2 > > > ># 67 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/rtl/ustring.hxx" 1 ># 30 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/rtl/ustring" 1 ># 72 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/rtl/ustring.h" 1 ># 70 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/rtl/string.h" 1 ># 70 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/rtl/textcvt.h" 1 ># 69 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/rtl/textenc.h" 1 >typedef sal_uInt16 rtl_TextEncoding; ># 70 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/rtl/textcvt.h" 2 > > > >extern "C" { > > > > > > >typedef void* rtl_TextToUnicodeConverter; >typedef void* rtl_TextToUnicodeContext; > >rtl_TextToUnicodeConverter rtl_createTextToUnicodeConverter( rtl_TextEncoding eTextEncoding ); >void rtl_destroyTextToUnicodeConverter( rtl_TextToUnicodeConverter hConverter ); >rtl_TextToUnicodeContext rtl_createTextToUnicodeContext( rtl_TextToUnicodeConverter hConverter ); >void rtl_destroyTextToUnicodeContext( rtl_TextToUnicodeConverter hConverter, rtl_TextToUnicodeContext hContext ); >void rtl_resetTextToUnicodeContext( rtl_TextToUnicodeConverter hConverter, rtl_TextToUnicodeContext hContext ); > ># 112 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/rtl/textcvt.h" >sal_Size rtl_convertTextToUnicode( rtl_TextToUnicodeConverter hConverter, > rtl_TextToUnicodeContext hContext, > const sal_Char* pSrcBuf, sal_Size nSrcBytes, > sal_Unicode* pDestBuf, sal_Size nDestChars, > sal_uInt32 nFlags, sal_uInt32* pInfo, > sal_Size* pSrcCvtBytes ); > > > > > >typedef void* rtl_UnicodeToTextConverter; >typedef void* rtl_UnicodeToTextContext; > >rtl_UnicodeToTextConverter rtl_createUnicodeToTextConverter( rtl_TextEncoding eTextEncoding ); >void rtl_destroyUnicodeToTextConverter( rtl_UnicodeToTextConverter hConverter ); >rtl_UnicodeToTextContext rtl_createUnicodeToTextContext( rtl_UnicodeToTextConverter hConverter ); >void rtl_destroyUnicodeToTextContext( rtl_UnicodeToTextConverter hConverter, rtl_UnicodeToTextContext hContext ); >void rtl_resetUnicodeToTextContext( rtl_UnicodeToTextConverter hConverter, rtl_UnicodeToTextContext hContext ); > ># 162 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/rtl/textcvt.h" >sal_Size rtl_convertUnicodeToText( rtl_UnicodeToTextConverter hConverter, > rtl_UnicodeToTextContext hContext, > const sal_Unicode* pSrcBuf, sal_Size nSrcChars, > sal_Char* pDestBuf, sal_Size nDestBytes, > sal_uInt32 nFlags, sal_uInt32* pInfo, > sal_Size* pSrcCvtChars ); > > >} ># 70 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/rtl/string.h" 2 > > > >extern "C" { ># 85 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/rtl/string.h" >sal_Int32 rtl_str_getLength( const sal_Char * str ); ># 114 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/rtl/string.h" >sal_Bool rtl_str_equalsIgnoreCase_WithLength( const sal_Char * first, sal_Int32 firstLen, const sal_Char * second, sal_Int32 secondLen ); >sal_Bool rtl_str_equalsIgnoreCase( const sal_Char * first, const sal_Char * second ); ># 132 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/rtl/string.h" >sal_Int32 rtl_str_compare_WithLength( const sal_Char * first, sal_Int32 firstLen, const sal_Char * Second, sal_Int32 SecondLen ); >sal_Int32 rtl_str_compare( const sal_Char * first, const sal_Char * Second ); ># 155 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/rtl/string.h" >sal_Int32 >rtl_str_compareIgnoreCase_WithLength( > const sal_Char *first, const sal_Char *second, sal_Int32 len ); >sal_Int32 >rtl_str_compareIgnoreCase( const sal_Char *first, const sal_Char *second ); > > > > > > > >sal_Int32 rtl_str_hashCode_WithLength( const sal_Char * str, sal_Int32 len ); >sal_Int32 rtl_str_hashCode( const sal_Char * str ); ># 180 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/rtl/string.h" >sal_Int32 rtl_str_indexOfChar_WithLength( const sal_Char * str, sal_Int32 len, sal_Char ch ); >sal_Int32 rtl_str_indexOfChar( const sal_Char * str, sal_Char ch ); ># 193 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/rtl/string.h" >sal_Int32 rtl_str_lastIndexOfChar_WithLength( const sal_Char * str, sal_Int32 len, sal_Char ch ); >sal_Int32 rtl_str_lastIndexOfChar( const sal_Char * str, sal_Char ch ); ># 207 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/rtl/string.h" >sal_Int32 rtl_str_indexOfStr_WithLength( const sal_Char * str, sal_Int32 len, const sal_Char * subStr, sal_Int32 subLen ); >sal_Int32 rtl_str_indexOfStr( const sal_Char * str, const sal_Char * subStr ); ># 223 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/rtl/string.h" >sal_Int32 rtl_str_lastIndexOfStr_WithLength( const sal_Char * str, sal_Int32 len, const sal_Char * subStr, sal_Int32 subLen ); >sal_Int32 rtl_str_lastIndexOfStr( const sal_Char * ggstr, const sal_Char * subStr ); ># 238 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/rtl/string.h" >void rtl_str_replaceChar_WithLength( sal_Char * str, sal_Int32 len, sal_Char oldChar, sal_Char newChar); >void rtl_str_replaceChar( sal_Char * str, sal_Char oldChar, sal_Char newChar); > > > > > >void rtl_str_toAsciiLowerCase_WithLength( sal_Char * str, sal_Int32 len ); >void rtl_str_toAsciiLowerCase( sal_Char * str ); > > > > > > >void rtl_str_toAsciiUpperCase_WithLength(sal_Char * str, sal_Int32 len); >void rtl_str_toAsciiUpperCase(sal_Char * str); ># 266 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/rtl/string.h" >sal_Int32 rtl_str_trim_WithLength( sal_Char * str, sal_Int32 len ); >sal_Int32 rtl_str_trim( sal_Char * str ); ># 278 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/rtl/string.h" > >sal_Int32 rtl_str_valueOfBoolean( sal_Char * str, sal_Bool b ); ># 289 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/rtl/string.h" > >sal_Int32 rtl_str_valueOfChar( sal_Char * str, sal_Char ch ); ># 304 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/rtl/string.h" > > > >sal_Int32 rtl_str_valueOfInt32(sal_Char * str, sal_Int32 i, sal_Int16 radix ); ># 321 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/rtl/string.h" > >sal_Int32 rtl_str_valueOfInt64(sal_Char * str, sal_Int64 l, sal_Int16 radix ); ># 335 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/rtl/string.h" > >sal_Int32 rtl_str_valueOfFloat(sal_Char * str, float f); ># 349 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/rtl/string.h" > >sal_Int32 rtl_str_valueOfDouble(sal_Char * str, double d); ># 360 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/rtl/string.h" ># 371 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/rtl/string.h" >typedef struct _rtl_String >{ > sal_Int32 refCount; > sal_Int32 length; > sal_Char buffer[1]; >} rtl_String; > ># 387 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/rtl/string.h" >void rtl_string_acquire( rtl_String * value ); > > > > > >void rtl_string_release( rtl_String * value ); > > > > > > >void rtl_string_new( rtl_String ** newStr); > > > > > > >void rtl_string_new_WithLength( rtl_String ** newStr, sal_Int32 nLen ); ># 416 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/rtl/string.h" >void rtl_string_newFromString( rtl_String ** newStr, rtl_String * value); ># 426 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/rtl/string.h" >void rtl_string_newFromStr( rtl_String ** newStr, const sal_Char * value ); ># 436 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/rtl/string.h" >void rtl_string_newFromStr_WithLength(rtl_String ** newStr, > const sal_Char * value, > sal_Int32 Len); > > > > >void rtl_string_assign( rtl_String ** str, rtl_String * rightValue ); ># 453 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/rtl/string.h" >sal_Int32 rtl_string_getLength( rtl_String * str ); > > > > > > >sal_Char * rtl_string_getStr( rtl_String * str ); ># 469 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/rtl/string.h" >void rtl_string_newConcat( rtl_String ** newStr, rtl_String * left, rtl_String * right ); ># 483 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/rtl/string.h" >void rtl_string_newReplace( rtl_String ** newStr, > rtl_String * str, > sal_Char oldChar, > sal_Char newChar); ># 498 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/rtl/string.h" >void rtl_string_newReplaceStrAt( rtl_String ** newStr, > rtl_String * str, > sal_Int32 index, > sal_Int32 count, > rtl_String * newSub); ># 511 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/rtl/string.h" >void rtl_string_newToLowerCase( rtl_String ** newStr, rtl_String * str); ># 520 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/rtl/string.h" >void rtl_string_newToUpperCase( rtl_String ** newStr, rtl_String * str); ># 532 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/rtl/string.h" >void rtl_string_newTrim( rtl_String ** newStr, rtl_String * str ); ># 541 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/rtl/string.h" >sal_Int32 rtl_string_getTokenCount( rtl_String * str , sal_Char cTok); ># 552 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/rtl/string.h" >void rtl_string_getToken( rtl_String ** newStr , rtl_String * str, sal_Int32 nToken, sal_Char cTok); > > ># 583 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/rtl/string.h" >} ># 72 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/rtl/ustring.h" 2 > > > > > > >extern "C" { ># 90 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/rtl/ustring.h" >sal_Int32 rtl_ustr_getLength( const sal_Unicode * str ); ># 119 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/rtl/ustring.h" >sal_Bool rtl_ustr_equalsIgnoreCase_WithLength( const sal_Unicode * first, sal_Int32 firstLen, const sal_Unicode * second, sal_Int32 secondLen ); >sal_Bool rtl_ustr_equalsIgnoreCase( const sal_Unicode * first, const sal_Unicode * second ); ># 137 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/rtl/ustring.h" >sal_Int32 rtl_ustr_compare_WithLength( const sal_Unicode * first, sal_Int32 firstLen, const sal_Unicode * second, sal_Int32 secondLen ); >sal_Int32 rtl_ustr_compare( const sal_Unicode * first, const sal_Unicode * second ); ># 158 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/rtl/ustring.h" >sal_Int32 rtl_ustr_shortenedCompare_WithLength( const sal_Unicode * first, sal_Int32 firstLen, > const sal_Unicode * second, sal_Int32 secondLen, sal_Int32 shortenedLength ); ># 178 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/rtl/ustring.h" >sal_Int32 rtl_ustr_ascii_compare_WithLength( const sal_Unicode * first, sal_Int32 firstLen, > const sal_Char * second ); >sal_Int32 rtl_ustr_ascii_compare( const sal_Unicode * first, const sal_Char * second ); ># 208 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/rtl/ustring.h" >sal_Int32 rtl_ustr_asciil_reverseCompare_WithLength( const sal_Unicode * first, sal_Int32 firstLen, > const sal_Char * second, sal_Int32 secondLength ); ># 230 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/rtl/ustring.h" >sal_Int32 rtl_ustr_ascii_shortenedCompare_WithLength( const sal_Unicode * first, sal_Int32 firstLen, > const sal_Char * second, sal_Int32 shortenedLength ); > > > > > > > >sal_Int32 rtl_ustr_hashCode_WithLength( const sal_Unicode * str, sal_Int32 len ); >sal_Int32 rtl_ustr_hashCode( const sal_Unicode * str ); ># 252 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/rtl/ustring.h" >sal_Int32 rtl_ustr_indexOfChar_WithLength( const sal_Unicode * str, sal_Int32 len, sal_Unicode ch ); >sal_Int32 rtl_ustr_indexOfChar( const sal_Unicode * str, sal_Unicode ch ); ># 265 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/rtl/ustring.h" >sal_Int32 rtl_ustr_lastIndexOfChar_WithLength( const sal_Unicode * str, sal_Int32 len, sal_Unicode ch ); >sal_Int32 rtl_ustr_lastIndexOfChar( const sal_Unicode * str, sal_Unicode ch ); ># 279 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/rtl/ustring.h" >sal_Int32 rtl_ustr_indexOfStr_WithLength( const sal_Unicode * str, sal_Int32 len, const sal_Unicode * subStr, sal_Int32 subLen ); >sal_Int32 rtl_ustr_indexOfStr( const sal_Unicode * str, const sal_Unicode * subStr ); ># 295 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/rtl/ustring.h" >sal_Int32 rtl_ustr_lastIndexOfStr_WithLength( const sal_Unicode * str, sal_Int32 len, const sal_Unicode * subStr, sal_Int32 subLen ); >sal_Int32 rtl_ustr_lastIndexOfStr( const sal_Unicode * ggstr, const sal_Unicode * subStr ); ># 310 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/rtl/ustring.h" >void rtl_ustr_replaceChar_WithLength( sal_Unicode * str, sal_Int32 len, sal_Unicode oldChar, sal_Unicode newChar); >void rtl_ustr_replaceChar( sal_Unicode * str, sal_Unicode oldChar, sal_Unicode newChar); > > > > > >void rtl_ustr_toAsciiLowerCase_WithLength( sal_Unicode * str, sal_Int32 len ); >void rtl_ustr_toAsciiLowerCase( sal_Unicode * str ); > > > > > > >void rtl_ustr_toAsciiUpperCase_WithLength(sal_Unicode * str, sal_Int32 len); >void rtl_ustr_toAsciiUpperCase(sal_Unicode * str); ># 338 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/rtl/ustring.h" >sal_Int32 rtl_ustr_trim_WithLength( sal_Unicode * str, sal_Int32 len ); >sal_Int32 rtl_ustr_trim( sal_Unicode * str ); ># 350 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/rtl/ustring.h" > >sal_Int32 rtl_ustr_valueOfBoolean( sal_Unicode * str, sal_Bool b ); ># 361 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/rtl/ustring.h" > >sal_Int32 rtl_ustr_valueOfChar( sal_Unicode * str, sal_Unicode ch ); ># 376 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/rtl/ustring.h" > > > >sal_Int32 rtl_ustr_valueOfInt32(sal_Unicode * str, sal_Int32 i, sal_Int16 radix ); ># 393 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/rtl/ustring.h" > >sal_Int32 rtl_ustr_valueOfInt64(sal_Unicode * str, sal_Int64 l, sal_Int16 radix ); ># 407 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/rtl/ustring.h" > >sal_Int32 rtl_ustr_valueOfFloat(sal_Unicode * str, float f); ># 421 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/rtl/ustring.h" > >sal_Int32 rtl_ustr_valueOfDouble(sal_Unicode * str, double d); ># 432 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/rtl/ustring.h" >sal_Int32 rtl_ustr_toInt32( sal_Unicode * str, sal_Int16 radix ); ># 442 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/rtl/ustring.h" >sal_Int64 rtl_ustr_toInt64( sal_Unicode * str, sal_Int16 radix ); ># 452 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/rtl/ustring.h" >float rtl_ustr_toFloat( sal_Unicode * str ); ># 462 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/rtl/ustring.h" >double rtl_ustr_toDouble( sal_Unicode * str ); > > > > > ># 476 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/rtl/ustring.h" >struct _rtl_Locale; > > > > >typedef struct _rtl_uString >{ > sal_Int32 refCount; > sal_Int32 length; > sal_Unicode buffer[1]; >} rtl_uString; > ># 497 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/rtl/ustring.h" >void rtl_uString_acquire( rtl_uString * value ); > > > > > >void rtl_uString_release( rtl_uString * value ); > > > > > > >void rtl_uString_new( rtl_uString ** newStr); > > > > > > >void rtl_uString_new_WithLength( rtl_uString ** newStr, sal_Int32 nLen ); ># 526 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/rtl/ustring.h" >void rtl_uString_newFromString( rtl_uString ** newStr, rtl_uString * value); ># 536 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/rtl/ustring.h" >void rtl_uString_newFromStr( rtl_uString ** newStr, const sal_Unicode * value ); ># 546 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/rtl/ustring.h" >void rtl_uString_newFromStr_WithLength( rtl_uString ** newStr, const sal_Unicode * value, sal_Int32 Len); ># 556 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/rtl/ustring.h" >void rtl_uString_newFromWStr( rtl_uString ** newStr, const wchar_t * value ); ># 566 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/rtl/ustring.h" >void rtl_uString_newFromWStr_WithLength( rtl_uString ** newStr, const wchar_t * value, sal_Int32 Len); ># 579 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/rtl/ustring.h" >void rtl_uString_newFromAscii( rtl_uString ** newStr, const sal_Char * value ); > > > > >void rtl_uString_assign( rtl_uString ** str, rtl_uString * rightValue ); ># 594 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/rtl/ustring.h" >sal_Int32 rtl_uString_getLength( rtl_uString * str ); > > > > > > >sal_Unicode * rtl_uString_getStr( rtl_uString * str ); ># 610 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/rtl/ustring.h" >void rtl_uString_newConcat( rtl_uString ** newStr, rtl_uString * left, rtl_uString * right ); ># 624 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/rtl/ustring.h" >void rtl_uString_newReplace( rtl_uString ** newStr, > rtl_uString * str, > sal_Unicode oldChar, > sal_Unicode newChar); ># 639 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/rtl/ustring.h" >void rtl_uString_newReplaceStrAt( rtl_uString ** newStr, > rtl_uString * str, > sal_Int32 index, > sal_Int32 count, > rtl_uString * newSub); ># 652 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/rtl/ustring.h" >void rtl_uString_newToLowerCase( rtl_uString ** newStr, rtl_uString * str, struct _rtl_Locale * locale ); ># 661 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/rtl/ustring.h" >void rtl_uString_newToUpperCase( rtl_uString ** newStr, rtl_uString * str, struct _rtl_Locale * locale ); ># 673 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/rtl/ustring.h" >void rtl_uString_newTrim( rtl_uString ** newStr, rtl_uString * str ); ># 682 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/rtl/ustring.h" >sal_Int32 rtl_uString_getTokenCount( rtl_uString * str , sal_Unicode cTok); ># 693 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/rtl/ustring.h" >void rtl_uString_getToken( rtl_uString ** newStr , rtl_uString * str, sal_Int32 nToken, sal_Unicode cTok); > > >void rtl_string2UString( rtl_uString** newStr, const sal_Char* pStr, sal_Int32 nLen, > rtl_TextEncoding encoding, sal_uInt32 nCvtFlags ); > >void rtl_uString2String( rtl_String** newStr, const sal_Unicode* pWStr, sal_Int32 nWLen, > rtl_TextEncoding encoding, sal_uInt32 nCvtFlags ); > > ># 712 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/rtl/ustring.h" >} ># 30 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/rtl/ustring" 2 > > > ># 73 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/rtl/string.hxx" 1 ># 71 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/rtl/memory.h" 1 >extern "C" { > > >void rtl_zeroMemory(void *Ptr, sal_uInt32 Bytes); >void rtl_fillMemory(void *Ptr, sal_uInt32 Bytes, sal_uInt8 Fill); >void rtl_copyMemory(void *Dst, const void *Src, sal_uInt32 Bytes); >void rtl_moveMemory(void *Dst, const void *Src, sal_uInt32 Bytes); >sal_Int32 rtl_compareMemory(const void *MemA, const void *MemB, sal_uInt32 Bytes); >void* rtl_findInMemory(const void *MemA, sal_uInt8 ch, sal_uInt32 Bytes); > > >} ># 73 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/rtl/string.hxx" 2 > > > > > > > > > > >class ByteString; > > >namespace rtl >{ ># 121 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/rtl/string.hxx" >class OString >{ > class DO_NOT_ACQUIRE; > OString( rtl_String * value, DO_NOT_ACQUIRE * ) > : pData( value ) > { > } >public: > > > > rtl_String * pData; > > > > > OString() > : pData(__null) > { > rtl_string_new(&pData); > } > > > > > > > OString( const OString & value ) > : pData( value.pData ) > { > rtl_string_acquire( pData ); > } > > > > > > > OString( rtl_String * value ) > : pData(value) > { > rtl_string_acquire( pData ); > } ># 172 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/rtl/string.hxx" > OString( const sal_Char * value) > : pData(__null) > { > rtl_string_newFromStr( &pData, value ); > } ># 192 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/rtl/string.hxx" > OString( const sal_Char * value, sal_Int32 length ) > : pData(__null) > { > rtl_string_newFromStr_WithLength( &pData, value, length ); > } ># 210 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/rtl/string.hxx" > OString( const sal_Unicode * value, sal_Int32 length, rtl_TextEncoding encoding ) > : pData(__null) > { > rtl_string_new(&pData); > if( value ) > { > > > > > > if( length ) > rtl_uString2String( &pData, value, length, encoding, (((sal_uInt32)0x0006) | ((sal_uInt32)0x0060) | ((sal_uInt32)0x0100) | ((sal_uInt32)0x0400) | ((sal_uInt32)0x4000)) ); > } > } > > OString( const ByteString & value ); > > > > > OString& operator = ( const OString& value ) > { > rtl_string_assign( &pData, value.pData ); > return *this; > } > > > > > > OString operator+=( const OString& rStr ) > { > rtl_string_newConcat( &pData, pData, rStr.pData ); > return *this; > } > > > > > ~OString() > { > rtl_string_release( pData ); > } ># 271 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/rtl/string.hxx" > sal_Int32 getLength() const { return pData->length; } ># 289 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/rtl/string.hxx" > operator const sal_Char *() const { return pData->buffer; } > > > > > const sal_Char* getStr() const { return pData->buffer; } ># 309 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/rtl/string.hxx" > sal_Bool equals( const OString & rObj ) const > { > return getLength() == rObj.getLength() && compareTo( rObj ) == 0; > } ># 342 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/rtl/string.hxx" > sal_Bool equalsIgnoreCase( const OString & rObj ) const > { > return rtl_str_equalsIgnoreCase_WithLength( pData->buffer, pData->length, > rObj.pData->buffer, rObj.pData->length ); > } ># 360 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/rtl/string.hxx" > sal_Int32 compareTo( const OString & rObj ) const > { > return rtl_str_compare_WithLength( pData->buffer, pData->length, > rObj.pData->buffer, rObj.pData->length ); > } ># 382 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/rtl/string.hxx" > sal_Int32 compareTo( const OString & rObj, sal_Int32 length ) const > { > return rtl_str_compare_WithLength( pData->buffer, length, > rObj.pData->buffer, rObj.pData->length ); > } > > friend sal_Bool operator == ( const OString& rStr1, const OString& rStr2 ) > { return rStr1.getLength() == rStr2.getLength() && rStr1.compareTo( rStr2 ) == 0; } > friend sal_Bool operator == ( const OString& rStr1, const sal_Char * pStr2 ) > { return rStr1.compareTo( pStr2 ) == 0; } > friend sal_Bool operator == ( const sal_Char * pStr1, const OString& rStr2 ) > { return OString( pStr1 ).compareTo( rStr2 ) == 0; } > > friend sal_Bool operator != ( const OString& rStr1, const OString& rStr2 ) > { return !(operator == ( rStr1, rStr2 )); } > friend sal_Bool operator != ( const OString& rStr1, const sal_Char * pStr2 ) > { return !(operator == ( rStr1, pStr2 )); } > friend sal_Bool operator != ( const sal_Char * pStr1, const OString& rStr2 ) > { return !(operator == ( pStr1, rStr2 )); } > > friend sal_Bool operator < ( const OString& rStr1, const OString& rStr2 ) > { return rStr1.compareTo( rStr2 ) < 0; } > friend sal_Bool operator > ( const OString& rStr1, const OString& rStr2 ) > { return rStr1.compareTo( rStr2 ) > 0; } > friend sal_Bool operator <= ( const OString& rStr1, const OString& rStr2 ) > { return rStr1.compareTo( rStr2 ) <= 0; } > friend sal_Bool operator >= ( const OString& rStr1, const OString& rStr2 ) > { return rStr1.compareTo( rStr2 ) >= 0; } > > > > > > > sal_Int32 hashCode() const > { > return rtl_str_hashCode_WithLength( pData->buffer, pData->length ); > } ># 432 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/rtl/string.hxx" > sal_Int32 indexOf( sal_Char ch, sal_Int32 fromIndex = 0 ) const > { > sal_Int32 ret = rtl_str_indexOfChar_WithLength( pData->buffer + fromIndex, pData->length - fromIndex, ch ); > return (ret < 0 ? ret : ret + fromIndex); > } ># 453 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/rtl/string.hxx" > sal_Int32 indexOf( const OString & str, int fromIndex = 0) const > { > sal_Int32 ret = rtl_str_indexOfStr_WithLength( pData->buffer + fromIndex, pData->length - fromIndex, > str.pData->buffer, str.pData->length ); > return (ret < 0 ? ret : ret + fromIndex); > } ># 471 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/rtl/string.hxx" > sal_Int32 lastIndexOf( sal_Char ch, int fromIndex ) const > { > return rtl_str_lastIndexOfChar_WithLength( pData->buffer, fromIndex, ch ); > } ># 487 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/rtl/string.hxx" > sal_Int32 lastIndexOf( sal_Char ch ) const > { > return rtl_str_lastIndexOfChar_WithLength( pData->buffer, pData->length, ch ); > } ># 507 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/rtl/string.hxx" > sal_Int32 lastIndexOf( const OString & str, int fromIndex ) const > { > return rtl_str_lastIndexOfStr_WithLength( pData->buffer, fromIndex, > str.pData->buffer, str.pData->length ); > } ># 528 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/rtl/string.hxx" > sal_Int32 lastIndexOf( const OString & str ) const > { > return rtl_str_lastIndexOfStr_WithLength( pData->buffer, pData->length, > str.pData->buffer, str.pData->length ); > } ># 544 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/rtl/string.hxx" > OString copy( sal_Int32 beginIndex) const > { > return copy( beginIndex, getLength() - beginIndex ); > } ># 562 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/rtl/string.hxx" > OString copy( sal_Int32 beginIndex, sal_Int32 count ) const > { > if( beginIndex == 0 && count == getLength() ) > return *this; > else > { > OString newStr; > rtl_string_newFromStr_WithLength( &newStr.pData, pData->buffer + beginIndex, count ); > return newStr; > } > } ># 585 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/rtl/string.hxx" > OString concat( const OString & str ) const > { > OString newStr; > rtl_string_newConcat( &newStr.pData, pData, str.pData ); > return newStr; > } > > friend OString operator+( const OString& rStr1, const OString& rStr2 ) > { > return rStr1.concat( rStr2 ); > } ># 610 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/rtl/string.hxx" > OString replace( sal_Char oldChar, sal_Char newChar ) const > { > rtl_String * pNew = 0; > rtl_string_newReplace( &pNew, pData, oldChar, newChar ); > return OString( pNew, (DO_NOT_ACQUIRE *)0 ); > } ># 627 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/rtl/string.hxx" > OString replaceAt(sal_Int32 index, sal_Int32 count, const OString& newStr ) const > { > rtl_String * pNew = 0; > rtl_string_newReplaceStrAt( &pNew, pData, index, count, newStr.pData ); > return OString( pNew, (DO_NOT_ACQUIRE *)0 ); > } ># 649 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/rtl/string.hxx" > OString toLowerCase() const > { > rtl_String * pNew = 0; > rtl_string_newToLowerCase( &pNew, pData ); > return OString( pNew, (DO_NOT_ACQUIRE *)0 ); > } ># 671 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/rtl/string.hxx" > OString toUpperCase() const > { > rtl_String * pNew = 0; > rtl_string_newToUpperCase( &pNew, pData ); > return OString( pNew, (DO_NOT_ACQUIRE *)0 ); > } ># 687 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/rtl/string.hxx" > OString trim() const > { > rtl_String * pNew = 0; > rtl_string_newTrim( &pNew, pData ); > return OString( pNew, (DO_NOT_ACQUIRE *)0 ); > } ># 702 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/rtl/string.hxx" > static OString valueOf(sal_Bool b) > { > sal_Char sz[6]; > rtl_String * pNew = 0; > rtl_string_newFromStr_WithLength( &pNew, sz, rtl_str_valueOfBoolean( sz, b ) ); > return OString( pNew, (DO_NOT_ACQUIRE *)0 ); > } ># 717 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/rtl/string.hxx" > static OString valueOf(sal_Char c) > { > return OString( &c, 1 ); > } ># 733 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/rtl/string.hxx" > static OString valueOf(sal_Int32 i, sal_Int16 radix = 10 ) > { > sal_Char sz[33]; > rtl_String * pNew = 0; > rtl_string_newFromStr_WithLength( &pNew, sz, rtl_str_valueOfInt32( sz, i, radix ) ); > return OString( pNew, (DO_NOT_ACQUIRE *)0 ); > } ># 752 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/rtl/string.hxx" > static OString valueOf(sal_Int64 l, sal_Int16 radix = 10 ) > { > sal_Char sz[65]; > rtl_String * pNew = 0; > rtl_string_newFromStr_WithLength( &pNew, sz, rtl_str_valueOfInt64( sz, l, radix ) ); > return OString( pNew, (DO_NOT_ACQUIRE *)0 ); > } ># 771 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/rtl/string.hxx" > static OString valueOf(float f) > { > sal_Char sz[1]; > rtl_String * pNew = 0; > rtl_string_newFromStr_WithLength( &pNew, sz, rtl_str_valueOfFloat( sz, f ) ); > return OString( pNew, (DO_NOT_ACQUIRE *)0 ); > } ># 790 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/rtl/string.hxx" > static OString valueOf(double d) > { > sal_Char sz[1]; > rtl_String * pNew = 0; > rtl_string_newFromStr_WithLength( &pNew, sz, rtl_str_valueOfDouble( sz, d ) ); > return OString( pNew, (DO_NOT_ACQUIRE *)0 ); > } > > > sal_Int32 len() const { return getLength(); } > > sal_Int32 search( sal_Char ch ) const { return indexOf( ch ); } > > sal_Int32 getTokenCount( sal_Char cTok = ';' ) const > { > return rtl_string_getTokenCount(pData, cTok ); > } > > OString getToken( sal_Int32 nToken, sal_Char cTok = ';' ) const > { > OString newStr; > rtl_string_getToken( &newStr.pData, pData, nToken, cTok ); > return newStr; > } > > sal_Int32 search( const OString& rStr, sal_Int32 nIndex = 0) const { return indexOf( rStr, nIndex ); } > sal_Int32 search( const sal_Char* pchar, sal_Int32 nIndex = 0) const { return indexOf( pchar, nIndex ); } >}; > > >} ># 33 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/rtl/ustring" 2 ># 43 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/rtl/ustring" >class String; > > >namespace rtl >{ > > >class OLocale; ># 111 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/rtl/ustring" >class OUString >{ > class DO_NOT_ACQUIRE; > OUString( rtl_uString * value, DO_NOT_ACQUIRE * ) > : pData( value ) > { > } >public: > > > > rtl_uString * pData; > > > > > OUString() > : pData(__null) > { > rtl_uString_new(&pData); > } > > > > > > > OUString( const OUString & value ) > : pData( value.pData ) > { > rtl_uString_acquire( pData ); > } > > > > > > > OUString( rtl_uString * value ) > : pData(value) > { > rtl_uString_acquire( pData ); > } ># 162 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/rtl/ustring" > OUString( const sal_Unicode * value) > : pData(__null) > { > rtl_uString_newFromStr( &pData, value ); > } ># 182 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/rtl/ustring" > OUString( const sal_Unicode * value, sal_Int32 length ) > : pData(__null) > { > rtl_uString_newFromStr_WithLength( &pData, value, length ); > } > > OUString( const String & value ); ># 202 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/rtl/ustring" > OUString( const sal_Char * value, sal_Int32 length, rtl_TextEncoding encoding ) > : pData(__null) > { > rtl_uString_new(&pData); > if( value ) > { > > > > > > if( length ) > rtl_string2UString( &pData, value, length, encoding, (((sal_uInt32)0x0003) | ((sal_uInt32)0x0030) | ((sal_uInt32)0x0300)) ); > } > } > > > > > OUString& operator = ( const OUString& value ) > { > rtl_uString_assign( &pData, value.pData ); > return *this; > } > > > > > > OUString& operator+=( const OUString& rStr ) > { > rtl_uString_newConcat( &pData, pData, rStr.pData ); > return *this; > } > > > > > ~OUString() > { > rtl_uString_release( pData ); > } ># 261 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/rtl/ustring" > sal_Int32 getLength() const { return pData->length; } ># 280 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/rtl/ustring" > operator const sal_Unicode *() const { return pData->buffer; } > > > > > const sal_Unicode* getStr() const { return pData->buffer; } ># 300 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/rtl/ustring" > sal_Bool equals( const OUString & rObj ) const > { > return getLength() == rObj.getLength() && compareTo( rObj ) == 0; > } ># 333 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/rtl/ustring" > sal_Bool equalsIgnoreCase( const OUString & rObj ) const > { > return rtl_ustr_equalsIgnoreCase_WithLength( pData->buffer, pData->length, > rObj.pData->buffer, rObj.pData->length ); > } ># 351 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/rtl/ustring" > sal_Int32 compareTo( const OUString & rObj ) const > { > return rtl_ustr_compare_WithLength( pData->buffer, pData->length, > rObj.pData->buffer, rObj.pData->length ); > } ># 373 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/rtl/ustring" > sal_Int32 compareTo( const OUString & rObj, sal_Int32 length ) const > { > return rtl_ustr_shortenedCompare_WithLength( pData->buffer, pData->length, > rObj.pData->buffer, rObj.pData->length, length ); > } ># 396 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/rtl/ustring" > sal_Int32 compareToAscii( const sal_Char* anotherString ) const > { > return rtl_ustr_ascii_compare_WithLength( pData->buffer, pData->length, > anotherString ); > } ># 424 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/rtl/ustring" > sal_Int32 compareToAscii( const sal_Char* anotherString, sal_Int32 shortenedLength ) const > { > return rtl_ustr_ascii_shortenedCompare_WithLength( pData->buffer, pData->length, > anotherString, shortenedLength ); > } ># 453 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/rtl/ustring" > sal_Int32 reverseCompareToAsciiL( const sal_Char* anotherString, sal_Int32 anotherStringLength ) const > { > return rtl_ustr_asciil_reverseCompare_WithLength( pData->buffer, pData->length, > anotherString, anotherStringLength ); > } > > sal_Bool equalsAsciiL( const sal_Char* anotherString, sal_Int32 anotherStringLength ) const > { > if( pData->length == anotherStringLength ) > return 0 == rtl_ustr_asciil_reverseCompare_WithLength( pData->buffer, pData->length, > anotherString, anotherStringLength ); > else > return ((unsigned char)0); > } > > friend sal_Bool operator == ( const OUString& rStr1, const OUString& rStr2 ) > { return rStr1.getLength() == rStr2.getLength() && rStr1.compareTo( rStr2 ) == 0; } > friend sal_Bool operator == ( const OUString& rStr1, const sal_Unicode * pStr2 ) > { return rStr1.compareTo( pStr2 ) == 0; } > friend sal_Bool operator == ( const sal_Unicode * pStr1, const OUString& rStr2 ) > { return OUString( pStr1 ).compareTo( rStr2 ) == 0; } > > friend sal_Bool operator != ( const OUString& rStr1, const OUString& rStr2 ) > { return !(operator == ( rStr1, rStr2 )); } > friend sal_Bool operator != ( const OUString& rStr1, const sal_Unicode * pStr2 ) > { return !(operator == ( rStr1, pStr2 )); } > friend sal_Bool operator != ( const sal_Unicode * pStr1, const OUString& rStr2 ) > { return !(operator == ( pStr1, rStr2 )); } > > friend sal_Bool operator < ( const OUString& rStr1, const OUString& rStr2 ) > { return rStr1.compareTo( rStr2 ) < 0; } > friend sal_Bool operator > ( const OUString& rStr1, const OUString& rStr2 ) > { return rStr1.compareTo( rStr2 ) > 0; } > friend sal_Bool operator <= ( const OUString& rStr1, const OUString& rStr2 ) > { return rStr1.compareTo( rStr2 ) <= 0; } > friend sal_Bool operator >= ( const OUString& rStr1, const OUString& rStr2 ) > { return rStr1.compareTo( rStr2 ) >= 0; } > > > > > > > sal_Int32 hashCode() const > { > return rtl_ustr_hashCode_WithLength( pData->buffer, pData->length ); > } ># 512 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/rtl/ustring" > sal_Int32 indexOf( sal_Unicode ch, sal_Int32 fromIndex = 0 ) const > { > sal_Int32 ret = rtl_ustr_indexOfChar_WithLength( pData->buffer + fromIndex, pData->length - fromIndex, ch ); > return (ret < 0 ? ret : ret + fromIndex); > } ># 533 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/rtl/ustring" > sal_Int32 indexOf( const OUString & str, int fromIndex = 0) const > { > sal_Int32 ret = rtl_ustr_indexOfStr_WithLength( pData->buffer + fromIndex, pData->length - fromIndex, > str.pData->buffer, str.pData->length ); > return (ret < 0 ? ret : ret + fromIndex); > } ># 551 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/rtl/ustring" > sal_Int32 lastIndexOf( sal_Unicode ch, int fromIndex ) const > { > return rtl_ustr_lastIndexOfChar_WithLength( pData->buffer, fromIndex, ch ); > } ># 567 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/rtl/ustring" > sal_Int32 lastIndexOf( sal_Unicode ch ) const > { > return rtl_ustr_lastIndexOfChar_WithLength( pData->buffer, pData->length, ch ); > } ># 587 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/rtl/ustring" > sal_Int32 lastIndexOf( const OUString & str, int fromIndex ) const > { > return rtl_ustr_lastIndexOfStr_WithLength( pData->buffer, fromIndex, > str.pData->buffer, str.pData->length ); > } ># 608 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/rtl/ustring" > sal_Int32 lastIndexOf( const OUString & str ) const > { > return rtl_ustr_lastIndexOfStr_WithLength( pData->buffer, pData->length, > str.pData->buffer, str.pData->length ); > } ># 624 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/rtl/ustring" > OUString copy( sal_Int32 beginIndex) const > { > return copy( beginIndex, getLength() - beginIndex ); > } ># 642 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/rtl/ustring" > OUString copy( sal_Int32 beginIndex, sal_Int32 count ) const > { > if( beginIndex == 0 && count == getLength() ) > return *this; > else > { > rtl_uString * pNew = 0; > rtl_uString_newFromStr_WithLength( &pNew, pData->buffer + beginIndex, count ); > return OUString( pNew, (DO_NOT_ACQUIRE *)0 ); > } > } ># 665 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/rtl/ustring" > OUString concat( const OUString & str ) const > { > rtl_uString * pNew = 0; > rtl_uString_newConcat( &pNew, pData, str.pData ); > return OUString( pNew, (DO_NOT_ACQUIRE *)0 ); > } > > friend OUString operator+( const OUString& rStr1, const OUString& rStr2 ) > { > return rStr1.concat( rStr2 ); > } ># 690 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/rtl/ustring" > OUString replace( sal_Unicode oldChar, sal_Unicode newChar ) const > { > rtl_uString * pNew = 0; > rtl_uString_newReplace( &pNew, pData, oldChar, newChar ); > return OUString( pNew, (DO_NOT_ACQUIRE *)0 ); > } ># 707 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/rtl/ustring" > OUString replaceAt(sal_Int32 index, sal_Int32 count, const OUString& newStr ) const > { > rtl_uString * pNew = 0; > rtl_uString_newReplaceStrAt( &pNew, pData, index, count, newStr.pData ); > return OUString( pNew, (DO_NOT_ACQUIRE *)0 ); > } ># 723 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/rtl/ustring" > inline OUString toLowerCase( const OLocale & locale ) const; ># 740 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/rtl/ustring" > OUString toLowerCase() const > { > OUString newStr; > rtl_uString_newToLowerCase( &newStr.pData, pData, __null ); > return newStr; > } ># 756 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/rtl/ustring" > inline OUString toUpperCase( const OLocale & locale) const; ># 773 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/rtl/ustring" > OUString toUpperCase() const > { > rtl_uString * pNew = 0; > rtl_uString_newToUpperCase( &pNew, pData, __null ); > return OUString( pNew, (DO_NOT_ACQUIRE *)0 ); > } ># 789 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/rtl/ustring" > OUString trim() const > { > rtl_uString * pNew = 0; > rtl_uString_newTrim( &pNew, pData ); > return OUString( pNew, (DO_NOT_ACQUIRE *)0 ); > } > > > > > > > sal_Unicode toChar() const > { > return pData->buffer[ 0 ]; > } > > > > > > > sal_Int32 toInt32( sal_Int16 radix = 10 ) const > { > return rtl_ustr_toInt32( pData->buffer, radix ); > } > > > > > > > sal_Int64 toInt64( sal_Int16 radix = 10 ) const > { > return rtl_ustr_toInt64( pData->buffer, radix ); > } > > > > > > > > float toFloat() const > { > return rtl_ustr_toFloat( pData->buffer ); > } > > > > > > > > double toDouble() const > { > return rtl_ustr_toDouble( pData->buffer ); > } > > > > > > > > static OUString createFromAscii(const sal_Char* value) > { > rtl_uString * pNew = 0; > rtl_uString_newFromAscii( &pNew, value ); > return OUString( pNew, (DO_NOT_ACQUIRE *)0 ); > } ># 869 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/rtl/ustring" > static OUString valueOf(sal_Bool b) > { > sal_Unicode sz[6]; > rtl_uString * pNew = 0; > rtl_uString_newFromStr_WithLength( &pNew, sz, rtl_ustr_valueOfBoolean( sz, b ) ); > return OUString( pNew, (DO_NOT_ACQUIRE *)0 ); > } ># 884 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/rtl/ustring" > static OUString valueOf(sal_Unicode c) > { > return OUString( &c, 1 ); > } ># 900 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/rtl/ustring" > static OUString valueOf(sal_Int32 i, sal_Int16 radix = 10 ) > { > sal_Unicode sz[33]; > rtl_uString * pNew = 0; > rtl_uString_newFromStr_WithLength( &pNew, sz, rtl_ustr_valueOfInt32( sz, i, radix ) ); > return OUString( pNew, (DO_NOT_ACQUIRE *)0 ); > } ># 919 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/rtl/ustring" > static OUString valueOf(sal_Int64 l, sal_Int16 radix = 10 ) > { > sal_Unicode sz[65]; > rtl_uString * pNew = 0; > rtl_uString_newFromStr_WithLength( &pNew, sz, rtl_ustr_valueOfInt64( sz, l, radix ) ); > return OUString( pNew, (DO_NOT_ACQUIRE *)0 ); > } ># 938 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/rtl/ustring" > static OUString valueOf(float f) > { > sal_Unicode sz[15]; > rtl_uString * pNew = 0; > rtl_uString_newFromStr_WithLength( &pNew, sz, rtl_ustr_valueOfFloat( sz, f ) ); > return OUString( pNew, (DO_NOT_ACQUIRE *)0 ); > } ># 957 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/rtl/ustring" > static OUString valueOf(double d) > { > sal_Unicode sz[25]; > rtl_uString * pNew = 0; > rtl_uString_newFromStr_WithLength( &pNew, sz, rtl_ustr_valueOfDouble( sz, d ) ); > return OUString( pNew, (DO_NOT_ACQUIRE *)0 ); > } > > > sal_Int32 len() const { return getLength(); } > > sal_Int32 search( sal_Unicode ch ) const { return indexOf( ch ); } > > sal_Int32 getTokenCount( sal_Unicode cTok = ';' ) const > { > return rtl_uString_getTokenCount(pData, cTok ); > } > > OUString getToken( sal_Int32 nToken, sal_Unicode cTok = ';' ) const > { > OUString newStr; > rtl_uString_getToken( &newStr.pData, pData, nToken, cTok ); > return newStr; > } > > sal_Int32 search( const OUString& rStr, sal_Int32 nIndex = 0) const { return indexOf( rStr, nIndex ); } > sal_Int32 search( const sal_Unicode* pchar, sal_Int32 nIndex = 0) const { return indexOf( pchar, nIndex ); } >}; > > >} ># 67 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/rtl/ustring.hxx" 2 > > > > > > ># 67 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/rtl/locale.hxx" 1 ># 74 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/rtl/locale.h" 1 >extern "C" { ># 89 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/rtl/locale.h" >typedef struct _rtl_Locale >{ > > > > rtl_uString * Language; > > > > rtl_uString * Country; > > > > rtl_uString * Variant; > > > > sal_Int32 HashCode; >} rtl_Locale; > ># 121 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/rtl/locale.h" >rtl_Locale * rtl_locale_register( const sal_Unicode * language, const sal_Unicode * country, const sal_Unicode * variant ); ># 134 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/rtl/locale.h" >rtl_Locale * rtl_locale_getDefault(); ># 144 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/rtl/locale.h" >void rtl_locale_setDefault( const sal_Unicode * language, const sal_Unicode * country, const sal_Unicode * variant ); > > > > > > >rtl_uString * rtl_locale_getLanguage( rtl_Locale * This ); > > > > > > >rtl_uString * rtl_locale_getCountry( rtl_Locale * This ); > > > > > >rtl_uString * rtl_locale_getVariant( rtl_Locale * This ); > > > > >sal_Int32 rtl_locale_hashCode( rtl_Locale * This ); > > > > >sal_Int32 rtl_locale_equals( rtl_Locale * This, rtl_Locale * obj ); > > >} ># 67 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/rtl/locale.hxx" 2 ># 75 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/rtl/locale.hxx" >namespace rtl >{ ># 212 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/rtl/locale.hxx" >class OLocale >{ >public: > OLocale( rtl_Locale * locale ) > : pData( locale ) {} > > OLocale( const OLocale & obj) > : pData(obj.pData) {} > > OLocale & operator = ( const OLocale & obj) > { > pData = obj.pData; > return *this; > } > > > > > > > > static OLocale registerLocale( const OUString & language, const OUString & country, > const OUString & variant ) > { > return rtl_locale_register( language, country, variant ); > } > > > > > > > static OLocale registerLocale( const OUString & language, const OUString & country ) > { > return rtl_locale_register( language, country, __null ); > } > > > > static OLocale getDefault() { return rtl_locale_getDefault(); } > > > > static void setDefault( const OUString & language, const OUString & country, > const OUString & variant ) > { rtl_locale_setDefault(language, country, variant); } > > > > > > OUString getLanguage() const { return pData->Language; } > > > > > > OUString getCountry() const { return pData->Country; } > > > > > OUString getVariant() const { return pData->Variant; } > > > > > > sal_Int32 hashCode() const { return pData->HashCode; } > > sal_Bool operator == (const OLocale & obj ) const > { > return pData == obj.pData; > } > > rtl_Locale * getData() const { return pData; } > >private: > > > > > rtl_Locale * pData; > > OLocale() > : pData(rtl_locale_getDefault()) {} ># 307 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/rtl/locale.hxx" >}; > > >} ># 73 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/rtl/ustring.hxx" 2 > > > >namespace rtl >{ ># 89 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/rtl/ustring.hxx" >inline OUString OUString::toLowerCase( const OLocale & locale ) const >{ > OUString newStr; > rtl_uString_newToLowerCase( &newStr.pData, pData, *(rtl_Locale **)&locale ); > return newStr; >} ># 106 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/rtl/ustring.hxx" >inline OUString OUString::toUpperCase( const OLocale & locale) const >{ > OUString newStr; > rtl_uString_newToUpperCase( &newStr.pData, pData, *(rtl_Locale **)&locale ); > return newStr; >} > > >inline OUString OStringToOUString( const OString & rStr, > rtl_TextEncoding encoding, > sal_uInt32 nCvtFlags=(((sal_uInt32)0x0003) | ((sal_uInt32)0x0030) | ((sal_uInt32)0x0300)) ) >{ > OUString newStr; > if (rStr.getLength()) > rtl_string2UString( &newStr.pData, rStr.getStr(), rStr.getLength(), encoding, nCvtFlags ); > return newStr; >} > >inline OString OUStringToOString( const OUString & rUnicode, > rtl_TextEncoding encoding, > sal_uInt32 nCvtFlags=(((sal_uInt32)0x0006) | ((sal_uInt32)0x0060) | ((sal_uInt32)0x0100) | ((sal_uInt32)0x0400) | ((sal_uInt32)0x4000)) ) >{ > OString newStr; > if (rUnicode.getLength()) > rtl_uString2String( &newStr.pData, rUnicode.getStr(), rUnicode.getLength(), encoding, nCvtFlags ); > return newStr; >} > > >} ># 69 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/uno/mapping.hxx" 2 > > > ># 71 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/uno/mapping.h" 1 >typedef struct _typelib_InterfaceTypeDescription typelib_InterfaceTypeDescription; >typedef struct _uno_Mapping uno_Mapping; >typedef struct _uno_Environment uno_Environment; ># 82 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/uno/mapping.h" >typedef void ( * uno_MapInterfaceFunc)( > uno_Mapping * pMapping, > void ** ppOut, void * pInterface, > typelib_InterfaceTypeDescription * pInterfaceTypeDescr ); > > ># 97 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/uno/mapping.h" >typedef struct _uno_Mapping >{ > > > > > void ( * acquire)( uno_Mapping * pMapping ); > > > > > > void ( * release)( uno_Mapping * pMapping ); > > > > uno_MapInterfaceFunc mapInterface; >} uno_Mapping; > > > > > > > > >extern "C" >{ ># 136 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/uno/mapping.h" > void uno_getMapping( > uno_Mapping ** ppMapping, > uno_Environment * pFrom, > uno_Environment * pTo, > rtl_uString * pAddPurpose ); ># 149 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/uno/mapping.h" >typedef void ( * uno_getMappingFunc)( > uno_Mapping ** ppMapping, > uno_Environment * pFrom, > uno_Environment * pTo, > rtl_uString * pAddPurpose ); > > > > > > void uno_registerMappingCallback( > uno_getMappingFunc pCallback ); > > > > > > void uno_revokeMappingCallback( > uno_getMappingFunc pCallback ); > > > > > >typedef void ( * uno_freeMappingFunc)( uno_Mapping * pMapping ); ># 186 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/uno/mapping.h" > void uno_registerMapping( > uno_Mapping ** ppMapping, uno_freeMappingFunc freeMapping, > uno_Environment * pFrom, uno_Environment * pTo, rtl_uString * pAddPurpose ); > > > > > > > void uno_revokeMapping( > uno_Mapping * pMapping ); ># 208 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/uno/mapping.h" > void uno_getMappingByName( > uno_Mapping ** ppMapping, > rtl_uString * pFrom, > rtl_uString * pTo, > rtl_uString * pAddPurpose ); > > ># 224 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/uno/mapping.h" >typedef void ( * uno_ext_getMappingFunc)( > uno_Mapping ** ppMapping, > uno_Environment * pFrom, > uno_Environment * pTo ); > > >} ># 72 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/uno/mapping.hxx" 2 > > > ># 66 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/uno/Type.hxx" 1 ># 68 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/osl/mutex.hxx" 1 ># 67 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/osl/macros.hxx" 1 ># 69 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/osl/types.h" 1 >extern "C" { ># 84 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/osl/types.h" > typedef int Boolean; ># 106 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/osl/types.h" >typedef char Char; >typedef signed int Int; >typedef unsigned int uInt; >typedef signed short Short; >typedef unsigned short uShort; >typedef signed long Long; >typedef unsigned long uLong; > >typedef unsigned char Byte; >typedef unsigned short Word; >typedef unsigned long Dword; >typedef float Float; >typedef double Double; > > > > > >typedef int Enum; > > >typedef void Void; >typedef void* Ptr; > >typedef Char* Str; >typedef const Char* cStr; >typedef unsigned int Size_t; >typedef signed int sSize_t; >typedef signed int Ptrdiff_t; > >typedef union >{ > struct { > uLong loPart; > Long hiPart; > } p; > > long long v; > >} Hyper_t; > >typedef union >{ > struct { > uLong loPart; > uLong hiPart; > } p; > > unsigned long long v; > >} uHyper_t; > > > typedef long long Hyper; > > > > > > typedef unsigned long long uHyper; ># 313 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/osl/types.h" >typedef struct { > sal_uInt32 Seconds; > sal_uInt32 Nanosec; >} TimeValue; > > > > > > > > >} ># 67 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/osl/macros.hxx" 2 ># 68 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/osl/mutex.hxx" 2 > > ># 70 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/osl/mutex.h" 1 >extern "C" { > > >struct _oslMutexImpl; >typedef struct _oslMutexImpl * oslMutex; > > > > >oslMutex osl_createMutex(void); > > > > >void osl_destroyMutex(oslMutex Mutex); > > > > > >sal_Bool osl_acquireMutex(oslMutex Mutex); > > > > > >sal_Bool osl_tryToAcquireMutex(oslMutex Mutex); > > > > > >sal_Bool osl_releaseMutex(oslMutex Mutex); > >oslMutex * osl_getGlobalMutex(); > > >} ># 70 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/osl/mutex.hxx" 2 > > > >namespace osl >{ > > > class Mutex { > oslMutex mutex; > > > Mutex( oslMutex ) {} > Mutex( const Mutex & ) {} > > public: > > > > Mutex() > { > mutex = osl_createMutex(); > } > > > > ~Mutex() > { > osl_destroyMutex(mutex); > } > > > > > sal_Bool acquire() > { > return osl_acquireMutex(mutex); > } > > > > > sal_Bool tryToAcquire() > { > return osl_tryToAcquireMutex(mutex); > } > > > > > sal_Bool release() > { > return osl_releaseMutex(mutex); > } > > static Mutex * getGlobalMutex() > { > return (Mutex *)osl_getGlobalMutex(); > } > }; > > template<class T> > class Guard > { > protected: > T * pT; > public: > > Guard(T * pT) : pT(pT) > { > pT->acquire(); > } > > Guard(T & t) : pT(&t) > { > pT->acquire(); > } > > > ~Guard() > { > pT->release(); > } > }; > > template<class T> > class ClearableGuard > { > protected: > T * pT; > public: > > ClearableGuard(T * pT) : pT(pT) > { > pT->acquire(); > } > > ClearableGuard(T & t) : pT(&t) > { > pT->acquire(); > } > > > ~ClearableGuard() > { > if (pT) > pT->release(); > } > > > void clear() > { > if(pT) > { > pT->release(); > pT = __null; > } > } > }; > > typedef Guard<Mutex> MutexGuard; > typedef ClearableGuard<Mutex> ClearableMutexGuard; > > >} ># 66 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/uno/Type.hxx" 2 > > > > ># 66 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/uno/Type.h" 1 ># 69 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/typelib/typedescription.h" 1 ># 77 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/typelib/uik.h" 1 >struct typelib_Uik >{ > sal_uInt32 m_Data1; > sal_uInt16 m_Data2; > sal_uInt16 m_Data3; > sal_uInt32 m_Data4; > sal_uInt32 m_Data5; >}; > ># 69 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/typelib/typedescription.h" 2 > > > ># 72 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/typelib/typeclass.h" 1 >enum typelib_TypeClass >{ > > typelib_TypeClass_VOID = 0, > > typelib_TypeClass_CHAR = 1, > > typelib_TypeClass_BOOLEAN = 2, > > typelib_TypeClass_BYTE = 3, > > typelib_TypeClass_SHORT = 4, > > typelib_TypeClass_UNSIGNED_SHORT = 5, > > typelib_TypeClass_LONG = 6, > > typelib_TypeClass_UNSIGNED_LONG = 7, > > typelib_TypeClass_HYPER = 8, > > typelib_TypeClass_UNSIGNED_HYPER = 9, > > typelib_TypeClass_FLOAT = 10, > > typelib_TypeClass_DOUBLE = 11, > > typelib_TypeClass_STRING = 12, > > typelib_TypeClass_TYPE = 13, > > typelib_TypeClass_ANY = 14, > > typelib_TypeClass_ENUM = 15, > > typelib_TypeClass_TYPEDEF = 16, > > typelib_TypeClass_STRUCT = 17, > > typelib_TypeClass_UNION = 18, > > typelib_TypeClass_EXCEPTION = 19, > > typelib_TypeClass_SEQUENCE = 20, > > typelib_TypeClass_ARRAY = 21, > > typelib_TypeClass_INTERFACE = 22, > > typelib_TypeClass_SERVICE = 23, > > typelib_TypeClass_MODULE = 24, > > typelib_TypeClass_INTERFACE_METHOD = 25, > > typelib_TypeClass_INTERFACE_ATTRIBUTE = 26, > > typelib_TypeClass_UNKNOWN = 27, > typelib_TypeClass_MAKE_FIXED_SIZE = 0x7fffffff >}; > ># 72 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/typelib/typedescription.h" 2 > > > > > >typedef struct _typelib_TypeDescription typelib_TypeDescription; > > >extern "C" >{ ># 93 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/typelib/typedescription.h" >typedef struct _typelib_TypeDescriptionReference >{ > > > > > > > sal_Int32 nRefCount; > > > typelib_TypeClass eTypeClass; > > > rtl_uString * pTypeName; > > > > typelib_TypeDescription * pType; > > > void * pUniqueIdentifier; > > > void * pReserved; >} typelib_TypeDescriptionReference; > > > > > > >typedef struct _typelib_TypeDescription >{ > > > > > > > sal_Int32 nRefCount; > > > typelib_TypeClass eTypeClass; > > > rtl_uString * pTypeName; > > > > typelib_TypeDescription * pSelf; > > > void * pUniqueIdentifier; > > > void * pReserved; ># 158 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/typelib/typedescription.h" > sal_Bool bComplete; > > > sal_Int32 nSize; > > > sal_Int32 nAlignment; > > > typelib_TypeDescriptionReference * pWeakRef; > > > sal_Bool bOnDemand; >} typelib_TypeDescription; > >typedef struct _typelib_CompoundTypeDescription typelib_CompoundTypeDescription; > > > > >typedef struct _typelib_CompoundTypeDescription >{ > > > typelib_TypeDescription aBase; > > > > typelib_CompoundTypeDescription * pBaseTypeDescription; > > > > sal_Int32 nMembers; > > > sal_Int32 * pMemberOffsets; > > > typelib_TypeDescriptionReference ** ppTypeRefs; > > > rtl_uString ** ppMemberNames; >} typelib_CompoundTypeDescription; > > > > > >typedef struct _typelib_UnionTypeDescription >{ > > > typelib_TypeDescription aBase; > > > > typelib_TypeDescriptionReference * pDiscriminantTypeRef; > > > > sal_Int64 nDefaultDiscriminant; > > > typelib_TypeDescriptionReference * pDefaultTypeRef; > > > sal_Int32 nMembers; > > > sal_Int64 * pDiscriminants; > > > typelib_TypeDescriptionReference ** ppTypeRefs; > > > rtl_uString ** ppMemberNames; > > > sal_Int32 nValueOffset; >} typelib_UnionTypeDescription; > > > > >typedef struct _typelib_IndirectTypeDescription >{ > > > typelib_TypeDescription aBase; > > > > typelib_TypeDescriptionReference * pType; >} typelib_IndirectTypeDescription; > > > > > >typedef struct _typelib_EnumTypeDescription >{ > > > typelib_TypeDescription aBase; > > > > sal_Int32 nDefaultEnumValue; > > > sal_Int32 nEnumValues; > > > rtl_uString ** ppEnumNames; > > > sal_Int32 * pEnumValues; >} typelib_EnumTypeDescription; > > > > >typedef struct _typelib_MethodParameter >{ > > > rtl_uString * pName; > > > typelib_TypeDescriptionReference * pTypeRef; > > > > sal_Bool bIn; > > > > sal_Bool bOut; >} typelib_MethodParameter; > > > > > > >typedef struct _typelib_InterfaceMemberTypeDescription >{ > > > typelib_TypeDescription aBase; > > > > > sal_Int32 nPosition; > > > rtl_uString * pMemberName; >} typelib_InterfaceMemberTypeDescription; > > > > > > >typedef struct _typelib_InterfaceMethodTypeDescription >{ > > > typelib_InterfaceMemberTypeDescription aBase; > > > > typelib_TypeDescriptionReference * pReturnTypeRef; > > > sal_Int32 nParams; > > > typelib_MethodParameter * pParams; > > > sal_Int32 nExceptions; > > > typelib_TypeDescriptionReference ** ppExceptions; > > > sal_Bool bOneWay; >} typelib_InterfaceMethodTypeDescription; > > > > > > >typedef struct _typelib_InterfaceAttributeTypeDescription >{ > > > typelib_InterfaceMemberTypeDescription aBase; > > > > sal_Bool bReadOnly; > > > typelib_TypeDescriptionReference * pAttributeTypeRef; >} typelib_InterfaceAttributeTypeDescription; > >typedef struct _typelib_InterfaceTypeDescription typelib_InterfaceTypeDescription; > > > > >typedef struct _typelib_InterfaceTypeDescription >{ > > > typelib_TypeDescription aBase; > > > > typelib_InterfaceTypeDescription * pBaseTypeDescription; > > > typelib_Uik aUik; > > > sal_Int32 nMembers; > > > typelib_TypeDescriptionReference ** ppMembers; > > > sal_Int32 nAllMembers; > > > > typelib_TypeDescriptionReference ** ppAllMembers; > > > > > sal_Int32 * pMapMemberIndexToFunctionIndex; > > > sal_Int32 nMapFunctionIndexToMemberIndex; > > > > sal_Int32 * pMapFunctionIndexToMemberIndex; >} typelib_InterfaceTypeDescription; > > > > >typedef struct _typelib_CompoundMember_Init >{ > > > typelib_TypeClass eTypeClass; > > > rtl_uString * pTypeName; > > > rtl_uString * pMemberName; >} typelib_CompoundMember_Init; > > > > >typedef struct _typelib_Parameter_Init >{ > > > typelib_TypeClass eTypeClass; > > > rtl_uString * pTypeName; > > > rtl_uString * pParamName; > > > sal_Bool bIn; > > > sal_Bool bOut; >} typelib_Parameter_Init; > > > > >typedef struct _typelib_Union_Init >{ > > > sal_Int64 nDiscriminant; > > > rtl_uString * pMemberName; > > > typelib_TypeDescriptionReference* pTypeRef; >} typelib_Union_Init; > ># 485 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/typelib/typedescription.h" > void typelib_typedescription_newUnion( > typelib_TypeDescription ** ppRet, > rtl_uString * pTypeName, > typelib_TypeDescriptionReference * pDiscriminantTypeRef, > sal_Int64 nDefaultDiscriminant, > typelib_TypeDescriptionReference * pDefaultTypeRef, > sal_Int32 nMembers, > typelib_Union_Init * pMembers ); ># 503 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/typelib/typedescription.h" > void typelib_typedescription_newEnum( > typelib_TypeDescription ** ppRet, > rtl_uString * pTypeName, > sal_Int32 nDefaultValue, > sal_Int32 nEnumValues, > rtl_uString ** ppEnumNames, > sal_Int32 * pEnumValues ); ># 521 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/typelib/typedescription.h" > void typelib_typedescription_new( > typelib_TypeDescription ** ppRet, > typelib_TypeClass eTypeClass, > rtl_uString * pTypeName, > typelib_TypeDescriptionReference * pType, > sal_Int32 nMembers, > typelib_CompoundMember_Init * pMembers ); ># 542 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/typelib/typedescription.h" > void typelib_typedescription_newInterface( > typelib_InterfaceTypeDescription ** ppRet, > rtl_uString * pTypeName, > sal_uInt32 nUik1, sal_uInt16 nUik2, sal_uInt16 nUik3, sal_uInt32 nUik4, sal_uInt32 nUik5, > typelib_TypeDescriptionReference * pBaseInterface, > sal_Int32 nMembers, > typelib_TypeDescriptionReference ** ppMembers ); ># 563 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/typelib/typedescription.h" > void typelib_typedescription_newInterfaceMethod( > typelib_InterfaceMethodTypeDescription ** ppRet, > sal_Int32 nAbsolutePosition, > sal_Bool bOneWay, > rtl_uString * pMethodName, > typelib_TypeClass eReturnTypeClass, > rtl_uString * pReturnTypeName, > sal_Int32 nParams, > typelib_Parameter_Init * pParams, > sal_Int32 nExceptions, > rtl_uString ** ppExceptionNames ); ># 583 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/typelib/typedescription.h" > void typelib_typedescription_newInterfaceAttribute( > typelib_InterfaceAttributeTypeDescription ** ppRet, > sal_Int32 nAbsolutePosition, > rtl_uString * pAttributeName, > typelib_TypeClass eAttributeTypeClass, > rtl_uString * pAttributeTypeName, > sal_Bool bReadOnly ); > > > > > > void typelib_typedescription_acquire( typelib_TypeDescription * pDesc ); > > > > > > > void typelib_typedescription_release( typelib_TypeDescription * pDesc ); > > > > > > > void typelib_typedescription_register( > typelib_TypeDescription ** ppNewDescription ); > > > > > > > > sal_Bool typelib_typedescription_equals( > const typelib_TypeDescription * p1, const typelib_TypeDescription * p2 ); > > > > > > > void typelib_typedescription_getByName( > typelib_TypeDescription ** ppRet, rtl_uString * pName ); > > > > > > void typelib_setCacheSize( sal_Int32 nNewSize ); ># 642 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/typelib/typedescription.h" >typedef void ( * typelib_typedescription_Callback)( > void * pContext, typelib_TypeDescription ** ppRet, rtl_uString * pTypeName ); > > > > > > > void typelib_typedescription_registerCallback( > void * pContext, typelib_typedescription_Callback pCallback ); > > > > > > > void typelib_typedescription_revokeCallback( > void * pContext, typelib_typedescription_Callback pCallback ); ># 674 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/typelib/typedescription.h" ># 716 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/typelib/typedescription.h" > void typelib_typedescriptionreference_new( > typelib_TypeDescriptionReference ** ppTDR, > typelib_TypeClass eTypeClass, > rtl_uString * pTypeName ); ># 729 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/typelib/typedescription.h" > void typelib_typedescriptionreference_newByAsciiName( > typelib_TypeDescriptionReference ** ppTDR, > typelib_TypeClass eTypeClass, > const sal_Char * pTypeName ); > > > > > > void typelib_typedescriptionreference_acquire( > typelib_TypeDescriptionReference * pRef ); > > > > > > > void typelib_typedescriptionreference_release( > typelib_TypeDescriptionReference * pRef ); > > > > > > > void typelib_typedescriptionreference_getDescription( > typelib_TypeDescription ** ppRet, typelib_TypeDescriptionReference * pRef ); > > > > > > > > sal_Bool typelib_typedescriptionreference_equals( > const typelib_TypeDescriptionReference * p1, const typelib_TypeDescriptionReference * p2 ); > > > > > > > void typelib_typedescriptionreference_assign( > typelib_TypeDescriptionReference ** ppDest, > typelib_TypeDescriptionReference * pSource ); ># 782 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/typelib/typedescription.h" > sal_Bool typelib_typedescription_isAssignableFrom( > typelib_TypeDescription * pAssignable, > typelib_TypeDescription * pFrom ); ># 793 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/typelib/typedescription.h" > sal_Bool typelib_typedescriptionreference_isAssignableFrom( > typelib_TypeDescriptionReference * pAssignable, > typelib_TypeDescriptionReference * pFrom ); ># 807 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/typelib/typedescription.h" > typelib_TypeDescriptionReference ** typelib_static_type_getByTypeClass( > typelib_TypeClass eTypeClass ); ># 817 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/typelib/typedescription.h" > void typelib_static_type_init( > typelib_TypeDescriptionReference ** ppRef, > typelib_TypeClass eTypeClass, const sal_Char * pTypeName ); > > > > > > > > void typelib_static_sequence_type_init( > typelib_TypeDescriptionReference ** ppRef, > typelib_TypeDescriptionReference * pElementType ); ># 841 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/typelib/typedescription.h" > void typelib_static_compound_type_init( > typelib_TypeDescriptionReference ** ppRef, > typelib_TypeClass eTypeClass, const sal_Char * pTypeName, > typelib_TypeDescriptionReference * pBaseType, > sal_Int32 nMembers, typelib_TypeDescriptionReference ** ppMembers ); ># 854 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/typelib/typedescription.h" > void typelib_static_interface_type_init( > typelib_TypeDescriptionReference ** ppRef, > const sal_Char * pTypeName, > typelib_TypeDescriptionReference * pBaseType ); ># 866 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/typelib/typedescription.h" > void typelib_static_enum_type_init( > typelib_TypeDescriptionReference ** ppRef, > const sal_Char * pTypeName, > sal_Int32 nDefaultValue ); ># 885 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/typelib/typedescription.h" > void typelib_static_union_type_init( > typelib_TypeDescriptionReference ** ppRef, > const sal_Char * pTypeName, > typelib_TypeDescriptionReference * pDiscriminantType, > sal_Int64 nDefaultDiscriminant, > typelib_TypeDescriptionReference * pDefaultType, > sal_Int32 nMembers, > sal_Int64 * pDiscriminants, > typelib_TypeDescriptionReference ** pMemberTypes ); ># 903 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/typelib/typedescription.h" > sal_Bool typelib_typedescription_complete( > typelib_TypeDescription ** ppTypeDescr ); > > >} ># 66 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/uno/Type.h" 2 > > > ># 8 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/uno/TypeClass.hdl" 1 >namespace com >{ >namespace sun >{ >namespace star >{ >namespace uno >{ > >enum TypeClass >{ > TypeClass_VOID = 0, > TypeClass_CHAR = 1, > TypeClass_BOOLEAN = 2, > TypeClass_BYTE = 3, > TypeClass_SHORT = 4, > TypeClass_UNSIGNED_SHORT = 5, > TypeClass_LONG = 6, > TypeClass_UNSIGNED_LONG = 7, > TypeClass_HYPER = 8, > TypeClass_UNSIGNED_HYPER = 9, > TypeClass_FLOAT = 10, > TypeClass_DOUBLE = 11, > TypeClass_STRING = 12, > TypeClass_TYPE = 13, > TypeClass_ANY = 14, > TypeClass_ENUM = 15, > TypeClass_TYPEDEF = 16, > TypeClass_STRUCT = 17, > TypeClass_UNION = 18, > TypeClass_EXCEPTION = 19, > TypeClass_SEQUENCE = 20, > TypeClass_ARRAY = 21, > TypeClass_INTERFACE = 22, > TypeClass_SERVICE = 23, > TypeClass_MODULE = 24, > TypeClass_INTERFACE_METHOD = 25, > TypeClass_INTERFACE_ATTRIBUTE = 26, > TypeClass_UNKNOWN = 27, > TypeClass_MAKE_FIXED_SIZE = 0x7fffffff >}; > >} >} >} >} > >namespace com { namespace sun { namespace star { namespace uno { >class Type; >} } } } > >inline const ::com::sun::star::uno::Type& getCppuType( const ::com::sun::star::uno::TypeClass* ); > ># 69 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/uno/Type.h" 2 ># 79 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/uno/Type.h" ># 70 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/rtl/alloc.h" 1 >extern "C" { > > > > > > > >void * rtl_allocateMemory (sal_uInt32 Bytes); > > > > > > > >void * rtl_reallocateMemory (void *Ptr, sal_uInt32 Bytes); > > > > > > >void rtl_freeMemory (void *Ptr); > > > > > > >void * rtl_allocateZeroMemory (sal_uInt32 Bytes); > > > > > > > >void rtl_freeZeroMemory (void *Ptr, sal_uInt32 Bytes); > > > >} ># 79 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/uno/Type.h" 2 > > > > >namespace com >{ > >namespace sun >{ > >namespace star >{ > >namespace uno >{ > > > > >enum __UnoType_NoAcquire >{ > > > > > UNO_TYPE_NO_ACQUIRE = 0xbebeef1e >}; ># 114 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/uno/Type.h" >class Type >{ > > > typelib_TypeDescriptionReference * _pType; > >public: > > inline static void * operator new( size_t nSize ) throw() > { return ::rtl_allocateMemory( nSize ); } > inline static void operator delete( void * pMem ) throw() > { ::rtl_freeMemory( pMem ); } > inline static void * operator new( size_t, void * pMem ) throw() > { return pMem; } > inline static void operator delete( void *, void * ) throw() > {} > > > > > > inline Type(); > > > > > > > > inline Type( TypeClass eTypeClass, const ::rtl::OUString & rTypeName ); > > > > > > > > inline Type( TypeClass eTypeClass, const sal_Char * pTypeName ); > > > > > > > inline Type( typelib_TypeDescriptionReference * pType ); > > > > > > > > inline Type( typelib_TypeDescriptionReference * pType, __UnoType_NoAcquire ); > > > > > > > inline Type( const Type & rType ); > > > > > > inline ~Type() > { ::typelib_typedescriptionreference_release( _pType ); } > > > > > > > > inline Type & operator = ( const Type & rType ); > > > > > > inline TypeClass getTypeClass() const > { return (TypeClass)_pType->eTypeClass; } > > > > > > inline ::rtl::OUString getTypeName() const > { return ::rtl::OUString( _pType->pTypeName ); } > > > > > > inline void getDescription( typelib_TypeDescription ** ppDescr ) const > { ::typelib_typedescriptionreference_getDescription( ppDescr, _pType ); } > > > > > > > inline typelib_TypeDescriptionReference * getTypeLibType() const > { return _pType; } > > > > > > > inline sal_Bool equals( const Type & rType ) const > { return ::typelib_typedescriptionreference_equals( _pType, rType._pType ); } > > > > > > > inline sal_Bool operator == ( const Type & rType ) const > { return equals( rType ); } > > > > > > > inline sal_Bool operator != ( const Type & rType ) const > { return (! equals( rType )); } >}; > >} >} >} >} > > > > > > >inline const ::com::sun::star::uno::Type & getCppuType( const ::com::sun::star::uno::Type * ); > > > > >inline const ::com::sun::star::uno::Type & getCppuVoidType(); > > > > >inline const ::com::sun::star::uno::Type & getVoidCppuType(); > > > > > >inline const ::com::sun::star::uno::Type & getCppuBooleanType(); > > > > >inline const ::com::sun::star::uno::Type & getBooleanCppuType(); > > > > > >inline const ::com::sun::star::uno::Type & getCppuType( const sal_Bool * ); > > > > > >inline const ::com::sun::star::uno::Type & getCharCppuType(); > > > > >inline const ::com::sun::star::uno::Type & getCppuCharType(); > > > > > > >inline const ::com::sun::star::uno::Type & getCppuType( const sal_Int8 * ); > > > > > > >inline const ::com::sun::star::uno::Type & getCppuType( const ::rtl::OUString * ); > > > > > > >inline const ::com::sun::star::uno::Type & getCppuType( const sal_Int16 * ); > > > > > > >inline const ::com::sun::star::uno::Type & getCppuType( const sal_uInt16 * ); > > > > > > >inline const ::com::sun::star::uno::Type & getCppuType( const sal_Int32 * ); > > > > > > >inline const ::com::sun::star::uno::Type & getCppuType( const sal_uInt32 * ); > > > > > > >inline const ::com::sun::star::uno::Type & getCppuType( const sal_Int64 * ); > > > > > > >inline const ::com::sun::star::uno::Type & getCppuType( const sal_uInt64 * ); > > > > > > >inline const ::com::sun::star::uno::Type & getCppuType( const float * ); > > > > > > >inline const ::com::sun::star::uno::Type & getCppuType( const double * ); > ># 70 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/uno/Type.hxx" 2 > > > > >namespace com >{ > >namespace sun >{ > >namespace star >{ > >namespace uno >{ > > >inline Type::Type() >{ > _pType = reinterpret_cast< const ::com::sun::star::uno::Type * >( > ::typelib_static_type_getByTypeClass( typelib_TypeClass_VOID ) )->getTypeLibType(); > ::typelib_typedescriptionreference_acquire( _pType ); >} > >inline Type::Type( TypeClass eTypeClass, const ::rtl::OUString & rTypeName ) > : _pType( 0 ) >{ > ::typelib_typedescriptionreference_new( &_pType, (typelib_TypeClass)eTypeClass, rTypeName.pData ); >} > >inline Type::Type( TypeClass eTypeClass, const sal_Char * pTypeName ) > : _pType( 0 ) >{ > ::typelib_typedescriptionreference_newByAsciiName( &_pType, (typelib_TypeClass)eTypeClass, pTypeName ); >} > >inline Type::Type( typelib_TypeDescriptionReference * pType ) > : _pType( pType ) >{ > ::typelib_typedescriptionreference_acquire( _pType ); >} > >inline Type::Type( typelib_TypeDescriptionReference * pType, __UnoType_NoAcquire ) > : _pType( pType ) >{ >} > >inline Type::Type( const Type & rType ) > : _pType( rType._pType ) >{ > ::typelib_typedescriptionreference_acquire( _pType ); >} > >inline Type & Type::operator = ( const Type & rType ) >{ > ::typelib_typedescriptionreference_assign( &_pType, rType._pType ); > return *this; >} > >} >} >} >} > >inline const ::com::sun::star::uno::Type & getCppuType( const ::com::sun::star::uno::Type * ) >{ > return * reinterpret_cast< const ::com::sun::star::uno::Type * >( > ::typelib_static_type_getByTypeClass( typelib_TypeClass_TYPE ) ); >} > >inline const ::com::sun::star::uno::Type & getCppuVoidType() >{ > return * reinterpret_cast< const ::com::sun::star::uno::Type * >( > ::typelib_static_type_getByTypeClass( typelib_TypeClass_VOID ) ); >} >inline const ::com::sun::star::uno::Type & getVoidCppuType() >{ > return * reinterpret_cast< const ::com::sun::star::uno::Type * >( > ::typelib_static_type_getByTypeClass( typelib_TypeClass_VOID ) ); >} > >inline const ::com::sun::star::uno::Type & getCppuBooleanType() >{ > return * reinterpret_cast< const ::com::sun::star::uno::Type * >( > ::typelib_static_type_getByTypeClass( typelib_TypeClass_BOOLEAN ) ); >} >inline const ::com::sun::star::uno::Type & getBooleanCppuType() >{ > return * reinterpret_cast< const ::com::sun::star::uno::Type * >( > ::typelib_static_type_getByTypeClass( typelib_TypeClass_BOOLEAN ) ); >} >inline const ::com::sun::star::uno::Type & getCppuType( const sal_Bool * ) >{ > return * reinterpret_cast< const ::com::sun::star::uno::Type * >( > ::typelib_static_type_getByTypeClass( typelib_TypeClass_BOOLEAN ) ); >} > >inline const ::com::sun::star::uno::Type & getCharCppuType() >{ > return * reinterpret_cast< const ::com::sun::star::uno::Type * >( > ::typelib_static_type_getByTypeClass( typelib_TypeClass_CHAR ) ); >} >inline const ::com::sun::star::uno::Type & getCppuCharType() >{ > return * reinterpret_cast< const ::com::sun::star::uno::Type * >( > ::typelib_static_type_getByTypeClass( typelib_TypeClass_CHAR ) ); >} > >inline const ::com::sun::star::uno::Type & getCppuType( const sal_Int8 * ) >{ > return * reinterpret_cast< const ::com::sun::star::uno::Type * >( > ::typelib_static_type_getByTypeClass( typelib_TypeClass_BYTE ) ); >} > >inline const ::com::sun::star::uno::Type & getCppuType( const ::rtl::OUString * ) >{ > return * reinterpret_cast< const ::com::sun::star::uno::Type * >( > ::typelib_static_type_getByTypeClass( typelib_TypeClass_STRING ) ); >} > >inline const ::com::sun::star::uno::Type & getCppuType( const sal_Int16 * ) >{ > return * reinterpret_cast< const ::com::sun::star::uno::Type * >( > ::typelib_static_type_getByTypeClass( typelib_TypeClass_SHORT ) ); >} > >inline const ::com::sun::star::uno::Type & getCppuType( const sal_uInt16 * ) >{ > return * reinterpret_cast< const ::com::sun::star::uno::Type * >( > ::typelib_static_type_getByTypeClass( typelib_TypeClass_UNSIGNED_SHORT ) ); >} > >inline const ::com::sun::star::uno::Type & getCppuType( const sal_Int32 * ) >{ > return * reinterpret_cast< const ::com::sun::star::uno::Type * >( > ::typelib_static_type_getByTypeClass( typelib_TypeClass_LONG ) ); >} > >inline const ::com::sun::star::uno::Type & getCppuType( const sal_uInt32 * ) >{ > return * reinterpret_cast< const ::com::sun::star::uno::Type * >( > ::typelib_static_type_getByTypeClass( typelib_TypeClass_UNSIGNED_LONG ) ); >} > >inline const ::com::sun::star::uno::Type & getCppuType( const sal_Int64 * ) >{ > return * reinterpret_cast< const ::com::sun::star::uno::Type * >( > ::typelib_static_type_getByTypeClass( typelib_TypeClass_HYPER ) ); >} > >inline const ::com::sun::star::uno::Type & getCppuType( const sal_uInt64 * ) >{ > return * reinterpret_cast< const ::com::sun::star::uno::Type * >( > ::typelib_static_type_getByTypeClass( typelib_TypeClass_UNSIGNED_HYPER ) ); >} > >inline const ::com::sun::star::uno::Type & getCppuType( const float * ) >{ > return * reinterpret_cast< const ::com::sun::star::uno::Type * >( > ::typelib_static_type_getByTypeClass( typelib_TypeClass_FLOAT ) ); >} > >inline const ::com::sun::star::uno::Type & getCppuType( const double * ) >{ > return * reinterpret_cast< const ::com::sun::star::uno::Type * >( > ::typelib_static_type_getByTypeClass( typelib_TypeClass_DOUBLE ) ); >} > ># 75 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/uno/mapping.hxx" 2 > > > ># 66 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/uno/Reference.hxx" 1 ># 70 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/uno/Reference.h" 1 >namespace com >{ > >namespace sun >{ > >namespace star >{ > >namespace uno >{ > >class XInterface; > > > > >enum __UnoReference_NoAcquire >{ > > > > > UNO_REF_NO_ACQUIRE = 0xbebeef >}; > > > > > > > >class BaseReference >{ > > > XInterface * _pInterface; > >protected: > > > > > inline BaseReference(); > > > > > > inline BaseReference( XInterface * pInterface ); > > > > > > > inline BaseReference( XInterface * pInterface, __UnoReference_NoAcquire ); > > > > > > inline BaseReference( const BaseReference & rRef ); > > > > > inline ~BaseReference(); > >public: > > inline static void * operator new( size_t nSize ) throw() > { return ::rtl_allocateMemory( nSize ); } > inline static void operator delete( void * pMem ) throw() > { ::rtl_freeMemory( pMem ); } > inline static void * operator new( size_t, void * pMem ) throw() > { return pMem; } > inline static void operator delete( void *, void * ) throw() > {} > > > > > > inline void set( XInterface * pInterface ); > > > > > inline void clear(); > > > > > > inline XInterface * get() const > { return _pInterface; } > > > > > inline sal_Bool is() const > { return (_pInterface != 0); } > > > > > > > inline sal_Bool operator == ( const BaseReference & rRef ) const; > > > > > > > inline sal_Bool operator != ( const BaseReference & rRef ) const > { return (! operator == ( rRef )); } > > > inline sal_Bool operator < ( const BaseReference& rRef ) const > { return (_pInterface < rRef._pInterface); } >}; > > > > > >enum __UnoReference_Query >{ > > > > UNO_REF_QUERY = 0xdb0e121e, > UNO_QUERY = 0xdb0 >}; > > > > > > >template< class interface_type > >class Reference : public BaseReference >{ >public: > > static void * operator new( size_t nSize ) throw() > { return ::rtl_allocateMemory( nSize ); } > static void operator delete( void * pMem ) throw() > { ::rtl_freeMemory( pMem ); } > static void * operator new( size_t, void * pMem ) throw() > { return pMem; } > static void operator delete( void *, void * ) throw() > {} > > > > > > inline Reference() > : BaseReference() > {} > > > > > > inline Reference( const Reference< interface_type > & rRef ) > : BaseReference( rRef ) > {} > > > > > > inline Reference( interface_type * pInterface ) > : BaseReference( pInterface ) > {} > > > > > > > > inline Reference( XInterface * pInterface, __UnoReference_NoAcquire ) > : BaseReference( pInterface, UNO_REF_NO_ACQUIRE ) > {} > > > > > > > > inline Reference( const BaseReference & rRef, __UnoReference_Query ) > : BaseReference( query( rRef ) ) > {} > > > > > > > inline Reference( XInterface * pInterface, __UnoReference_Query ) > : BaseReference( query( pInterface ) ) > {} ># 286 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/uno/Reference.h" > inline Reference< interface_type > & operator = ( interface_type * pInterface ); > > > > > > > > inline Reference< interface_type > & operator = ( const Reference< interface_type > & rRef ) > { return operator = ( rRef.get() ); } > > > > > > > inline static Reference< interface_type > query( XInterface * pInterface ); > > > > > > inline static Reference< interface_type > query( const BaseReference & rRef ) > { return query( rRef.get() ); } > > > > > > > > inline operator const Reference< XInterface > & () const > { return * reinterpret_cast< const Reference< XInterface > * >( this ); } > > > > > > > interface_type * operator -> () const > { return static_cast< interface_type * >( BaseReference::get() ); } > > > > > > > interface_type * get() const > { return static_cast< interface_type * >( BaseReference::get() ); } >}; > >} >} >} >} > ># 66 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/uno/Reference.hxx" 2 > > > ># 13 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/uno/XInterface.hdl" 1 ># 70 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/uno/Any.h" 1 ># 69 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/uno/any2.h" 1 ># 69 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/uno/data.h" 1 >extern "C" >{ > > >typedef struct _uno_Mapping uno_Mapping; >typedef struct _typelib_TypeDescription typelib_TypeDescription; >typedef struct _typelib_TypeDescriptionReference typelib_TypeDescriptionReference; >typedef struct _typelib_InterfaceTypeDescription typelib_InterfaceTypeDescription; > > > > > > > >typedef void * ( * uno_QueryInterfaceFunc)( > void * pInterface, typelib_TypeDescriptionReference * pType ); > > > > >typedef void ( * uno_AcquireFunc)( void * pInterface ); > > > > >typedef void ( * uno_ReleaseFunc)( void * pInterface ); ># 108 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/uno/data.h" > sal_Bool uno_equalData( > void * pVal1, typelib_TypeDescription * pVal1TypeDescr, > void * pVal2, typelib_TypeDescription * pVal2TypeDescr, > uno_QueryInterfaceFunc queryInterface, uno_ReleaseFunc release ); ># 123 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/uno/data.h" > sal_Bool uno_type_equalData( > void * pVal1, typelib_TypeDescriptionReference * pVal1Type, > void * pVal2, typelib_TypeDescriptionReference * pVal2Type, > uno_QueryInterfaceFunc queryInterface, uno_ReleaseFunc release ); ># 136 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/uno/data.h" > void uno_copyData( > void * pDest, void * pSource, typelib_TypeDescription * pTypeDescr, uno_AcquireFunc acquire ); ># 146 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/uno/data.h" > void uno_type_copyData( > void * pDest, void * pSource, typelib_TypeDescriptionReference * pType, uno_AcquireFunc acquire ); ># 158 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/uno/data.h" > void uno_copyAndConvertData( > void * pDest, void * pSource, typelib_TypeDescription * pTypeDescr, uno_Mapping * mapping ); ># 169 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/uno/data.h" > void uno_type_copyAndConvertData( > void * pDest, void * pSource, typelib_TypeDescriptionReference * pType, uno_Mapping * mapping ); > > > > > > > > void uno_destructData( > void * pValue, typelib_TypeDescription * pTypeDescr, uno_ReleaseFunc release ); > > > > > > > void uno_type_destructData( > void * pValue, typelib_TypeDescriptionReference * pType, uno_ReleaseFunc release ); > > > > > > > > void uno_constructData( > void * pMem, typelib_TypeDescription * pTypeDescr ); > > > > > > > void uno_type_constructData( > void * pMem, typelib_TypeDescriptionReference * pType ); ># 219 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/uno/data.h" > sal_Bool uno_assignData( > void * pDest, typelib_TypeDescription * pDestTypeDescr, > void * pSource, typelib_TypeDescription * pSourceTypeDescr, > uno_QueryInterfaceFunc queryInterface, uno_AcquireFunc acquire, uno_ReleaseFunc release ); ># 236 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/uno/data.h" > sal_Bool uno_type_assignData( > void * pDest, typelib_TypeDescriptionReference * pDestType, > void * pSource, typelib_TypeDescriptionReference * pSourceType, > uno_QueryInterfaceFunc queryInterface, uno_AcquireFunc acquire, uno_ReleaseFunc release ); > > >} ># 69 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/uno/any2.h" 2 > > > >extern "C" >{ > > > > > > > >typedef struct _typelib_TypeDescription typelib_TypeDescription; > > > > >typedef struct _uno_Any >{ > > > typelib_TypeDescriptionReference * pType; > > > void * pData; >} uno_Any; > ># 110 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/uno/any2.h" > void uno_any_construct( > uno_Any * pDest, void * pSource, > typelib_TypeDescription * pTypeDescr, > uno_AcquireFunc acquire ); ># 122 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/uno/any2.h" > void uno_type_any_construct( > uno_Any * pDest, void * pSource, > typelib_TypeDescriptionReference * pType, > uno_AcquireFunc acquire ); ># 134 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/uno/any2.h" > void uno_any_constructAndConvert( > uno_Any * pDest, void * pSource, > typelib_TypeDescription * pTypeDescr, > uno_Mapping * mapping ); > > > > > > > > void uno_type_any_constructAndConvert( > uno_Any * pDest, void * pSource, > typelib_TypeDescriptionReference * pType, > uno_Mapping * mapping ); > > > > > > > void uno_any_destruct( > uno_Any * pValue, uno_ReleaseFunc release ); > > >} ># 70 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/uno/Any.h" 2 ># 82 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/uno/Any.h" >class BinaryCompatible_Impl; > > >namespace com >{ > >namespace sun >{ > >namespace star >{ > >namespace uno >{ ># 109 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/uno/Any.h" >class Any : public uno_Any >{ >public: > > inline static void * operator new( size_t nSize ) throw() > { return ::rtl_allocateMemory( nSize ); } > inline static void operator delete( void * pMem ) throw() > { ::rtl_freeMemory( pMem ); } > inline static void * operator new( size_t, void * pMem ) throw() > { return pMem; } > inline static void operator delete( void *, void * ) throw() > {} > > > > > > inline Any(); > > > > > > > inline Any( const Any & rAny ); > > > > > > > > inline Any( const void * pData, const Type & rType ); > > > > > > > > inline Any( const void * pData, typelib_TypeDescription * pTypeDescr ); > > > > > > > > inline Any( const void * pData, typelib_TypeDescriptionReference * pType ); > > > > > > inline ~Any(); > > > > > > > > inline Any & operator = ( const Any & rAny ); > > > > > > inline const Type & getValueType() const > { return * reinterpret_cast< const Type * >( &pType ); } > > > > > inline typelib_TypeDescriptionReference * getValueTypeRef() const > { return pType; } > > > > > > > > inline void getValueTypeDescription( typelib_TypeDescription ** ppTypeDescr ) const > { ::typelib_typedescriptionreference_getDescription( ppTypeDescr, getValueTypeRef() ); } > > > > > > inline TypeClass getValueTypeClass() const > { return (TypeClass)pType->eTypeClass; } > > > > > > inline ::rtl::OUString getValueTypeName() const > { return ::rtl::OUString( pType->pTypeName ); } > > > > > > inline sal_Bool hasValue() const > { return (TypeClass_VOID != getValueTypeClass()); } > > > > > > inline const void * getValue() const > { return pData; } > > > > > > > > inline void setValue( const void * pData, const Type & rType ); > > > > > > > inline void setValue( const void * pData, typelib_TypeDescriptionReference * pType ); > > > > > > > inline void setValue( const void * pData, typelib_TypeDescription * pTypeDescr ); > > > > > > inline void clear(); ># 258 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/uno/Any.h" > inline sal_Bool operator == ( const Any & rAny ) const; > > > > > > > > inline sal_Bool operator != ( const Any & rAny ) const > { return (! operator == ( rAny )); } > > > friend class BinaryCompatible_Impl; >}; > > > > > > >template< class C > >inline Any makeAny( const C & value ); > >class BaseReference; >class Type; > > > > > > >template< class C > >inline void operator <<= ( ::com::sun::star::uno::Any & rAny, const C & value ); ># 299 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/uno/Any.h" >template< class C > >inline sal_Bool operator >>= ( const ::com::sun::star::uno::Any & rAny, C & value ); ># 312 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/uno/Any.h" >template< class C > >inline sal_Bool operator == ( const ::com::sun::star::uno::Any & rAny, const C & value ); ># 324 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/uno/Any.h" >template< class C > >inline sal_Bool operator != ( const ::com::sun::star::uno::Any & rAny, const C & value ) >{ > return (! operator == ( rAny, value )); >} > > > >inline sal_Bool operator >>= ( const ::com::sun::star::uno::Any & rAny, sal_Bool & value ); >inline sal_Bool operator == ( const ::com::sun::star::uno::Any & rAny, const sal_Bool & value ); > >inline sal_Bool operator >>= ( const ::com::sun::star::uno::Any & rAny, sal_Int8 & value ); > >inline sal_Bool operator >>= ( const ::com::sun::star::uno::Any & rAny, sal_Int16 & value ); >inline sal_Bool operator >>= ( const ::com::sun::star::uno::Any & rAny, sal_uInt16 & value ); > >inline sal_Bool operator >>= ( const ::com::sun::star::uno::Any & rAny, sal_Int32 & value ); >inline sal_Bool operator >>= ( const ::com::sun::star::uno::Any & rAny, sal_uInt32 & value ); > >inline sal_Bool operator >>= ( const ::com::sun::star::uno::Any & rAny, sal_Int64 & value ); >inline sal_Bool operator >>= ( const ::com::sun::star::uno::Any & rAny, sal_uInt64 & value ); > >inline sal_Bool operator >>= ( const ::com::sun::star::uno::Any & rAny, float & value ); > >inline sal_Bool operator >>= ( const ::com::sun::star::uno::Any & rAny, double & value ); > >inline sal_Bool operator >>= ( const ::com::sun::star::uno::Any & rAny, ::rtl::OUString & value ); >inline sal_Bool operator == ( const ::com::sun::star::uno::Any & rAny, const ::rtl::OUString & value ); > >inline sal_Bool operator >>= ( const ::com::sun::star::uno::Any & rAny, ::com::sun::star::uno::Type & value ); >inline sal_Bool operator == ( const ::com::sun::star::uno::Any & rAny, const ::com::sun::star::uno::Type & value ); > >inline sal_Bool operator >>= ( const ::com::sun::star::uno::Any & rAny, ::com::sun::star::uno::Any & value ); > >inline sal_Bool operator == ( const ::com::sun::star::uno::Any & rAny, const ::com::sun::star::uno::BaseReference & value ); > >} >} >} >} > > > > > > >inline const ::com::sun::star::uno::Type & getCppuType( const ::com::sun::star::uno::Any * ) >{ > return * reinterpret_cast< const ::com::sun::star::uno::Type * >( > ::typelib_static_type_getByTypeClass( typelib_TypeClass_ANY ) ); >} > ># 13 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/uno/XInterface.hdl" 2 > > > ># 10 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/uno/RuntimeException.hdl" 1 ># 12 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/uno/Exception.hdl" 1 >namespace com { namespace sun { namespace star { namespace uno { >class XInterface; >} } } } > > > > > >namespace com >{ >namespace sun >{ >namespace star >{ >namespace uno >{ > >class Exception >{ >public: > inline Exception() { } > > inline Exception(const ::rtl::OUString& __Message, const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >& __Context); > > ::rtl::OUString Message; > ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > Context; >}; > >} >} >} >} > >namespace com { namespace sun { namespace star { namespace uno { >class Type; >} } } } > >inline const ::com::sun::star::uno::Type& getCppuType( const ::com::sun::star::uno::Exception* ); > ># 10 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/uno/RuntimeException.hdl" 2 > > >namespace com >{ >namespace sun >{ >namespace star >{ >namespace uno >{ > >class RuntimeException : public ::com::sun::star::uno::Exception >{ >public: > inline RuntimeException() { } > > inline RuntimeException(const ::rtl::OUString& __Message, const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >& __Context); > >}; > >} >} >} >} > >namespace com { namespace sun { namespace star { namespace uno { >class Type; >} } } } > >inline const ::com::sun::star::uno::Type& getCppuType( const ::com::sun::star::uno::RuntimeException* ); > ># 16 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/uno/XInterface.hdl" 2 ># 24 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/uno/XInterface.hdl" >namespace com >{ >namespace sun >{ >namespace star >{ >namespace uno >{ > >class XInterface >{ >public: > > > virtual ::com::sun::star::uno::Any queryInterface( const ::com::sun::star::uno::Type& aType ) throw(::com::sun::star::uno::RuntimeException) = 0; > virtual void acquire( ) throw() = 0; > virtual void release( ) throw() = 0; >}; > >} >} >} >} > >namespace com { namespace sun { namespace star { namespace uno { >class Type; >} } } } > >inline const ::com::sun::star::uno::Type& getCppuType( const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >* ); > ># 69 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/uno/Reference.hxx" 2 > > > ># 66 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/uno/genfunc.hxx" 1 ># 64 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/uno/genfunc.h" 1 >typedef struct _typelib_TypeDescriptionReference typelib_TypeDescriptionReference; > > >namespace com >{ > >namespace sun >{ > >namespace star >{ > >namespace uno >{ > >extern "C" >{ > > > > >inline void cpp_acquire( void * pCppI ); > > > > >inline void cpp_release( void * pCppI ); > > > > > > >inline void * cpp_queryInterface( void * pCppI, typelib_TypeDescriptionReference * pType ); >} > >} >} >} >} > ># 66 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/uno/genfunc.hxx" 2 > > > ># 78 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/uno/Any.hxx" 1 ># 24 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/uno/XInterface.hpp" 1 ># 18 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/uno/RuntimeException.hpp" 1 ># 20 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/uno/Exception.hpp" 1 >namespace com >{ >namespace sun >{ >namespace star >{ >namespace uno >{ > >inline Exception::Exception(const ::rtl::OUString& __Message, const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >& __Context) > : Message(__Message) > , Context(__Context) >{ } > >} >} >} >} > >inline const ::com::sun::star::uno::Type& getCppuType( const ::com::sun::star::uno::Exception* ) >{ > return * reinterpret_cast< const ::com::sun::star::uno::Type * >( ::typelib_static_type_getByTypeClass( typelib_TypeClass_EXCEPTION ) ); >} > ># 18 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/uno/RuntimeException.hpp" 2 > > >namespace com >{ >namespace sun >{ >namespace star >{ >namespace uno >{ > >inline RuntimeException::RuntimeException(const ::rtl::OUString& __Message, const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >& __Context) > : ::com::sun::star::uno::Exception(__Message, __Context) >{ } > >} >} >} >} > > > > > >inline const ::com::sun::star::uno::Type& getCppuType( const ::com::sun::star::uno::RuntimeException* ) >{ > > static typelib_TypeDescriptionReference * s_pType_com_sun_star_uno_RuntimeException = 0; > > > if ( !s_pType_com_sun_star_uno_RuntimeException ) > { > typelib_static_compound_type_init( &s_pType_com_sun_star_uno_RuntimeException, typelib_TypeClass_EXCEPTION, "com.sun.star.uno.RuntimeException", * ::typelib_static_type_getByTypeClass( typelib_TypeClass_EXCEPTION ), 0, 0 ); > } > return * reinterpret_cast< const ::com::sun::star::uno::Type * >( &s_pType_com_sun_star_uno_RuntimeException ); >} > ># 24 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/uno/XInterface.hpp" 2 > > > ># 20 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/uno/TypeClass.hpp" 1 >inline const ::com::sun::star::uno::Type& getCppuType( const ::com::sun::star::uno::TypeClass* ) >{ > > static typelib_TypeDescriptionReference * s_pType_com_sun_star_uno_TypeClass = 0; > > > if ( !s_pType_com_sun_star_uno_TypeClass ) > { > typelib_static_enum_type_init( &s_pType_com_sun_star_uno_TypeClass, > "com.sun.star.uno.TypeClass", > ::com::sun::star::uno::TypeClass_VOID ); > } > return * reinterpret_cast< ::com::sun::star::uno::Type * >( &s_pType_com_sun_star_uno_TypeClass ); >} > ># 27 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/uno/XInterface.hpp" 2 > > > > > >inline const ::com::sun::star::uno::Type& getCppuType( const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >* ) >{ > return * reinterpret_cast< const ::com::sun::star::uno::Type * >( ::typelib_static_type_getByTypeClass( typelib_TypeClass_INTERFACE ) ); >} > ># 78 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/uno/Any.hxx" 2 > > > > > > > >namespace com >{ > >namespace sun >{ > >namespace star >{ > >namespace uno >{ > > >inline Any::Any() >{ > ::uno_any_construct( this, 0, 0, cpp_acquire ); >} > >inline Any::Any( const Any & rAny ) >{ > ::uno_type_any_construct( this, rAny.pData, rAny.getValueTypeRef(), cpp_acquire ); >} > >inline Any::Any( const void * pData, const Type & rType ) >{ > ::uno_type_any_construct( this, const_cast< void * >( pData ), rType.getTypeLibType(), cpp_acquire ); >} > >inline Any::Any( const void * pData, typelib_TypeDescription * pTypeDescr ) >{ > ::uno_any_construct( this, const_cast< void * >( pData ), pTypeDescr, cpp_acquire ); >} > >inline Any::Any( const void * pData, typelib_TypeDescriptionReference * pType ) >{ > ::uno_type_any_construct( this, const_cast< void * >( pData ), pType, cpp_acquire ); >} > >inline Any::~Any() >{ > ::uno_any_destruct( this, cpp_release ); >} > >inline Any & Any::operator = ( const Any & rAny ) >{ > if (this != &rAny) > setValue( rAny.getValue(), rAny.getValueTypeRef() ); > return *this; >} > >inline void Any::setValue( const void * pData, const Type & rType ) >{ > ::uno_any_destruct( this, cpp_release ); > ::uno_type_any_construct( this, const_cast< void * >( pData ), rType.getTypeLibType(), cpp_acquire ); >} > >inline void Any::setValue( const void * pData, typelib_TypeDescriptionReference * pType ) >{ > ::uno_any_destruct( this, cpp_release ); > ::uno_type_any_construct( this, const_cast< void * >( pData ), pType, cpp_acquire ); >} > >inline void Any::setValue( const void * pData, typelib_TypeDescription * pTypeDescr ) >{ > ::uno_any_destruct( this, cpp_release ); > ::uno_any_construct( this, const_cast< void * >( pData ), pTypeDescr, cpp_acquire ); >} > >inline void Any::clear() >{ > ::uno_any_destruct( this, cpp_release ); > ::uno_any_construct( this, 0, 0, cpp_acquire ); >} > >inline sal_Bool Any::operator == ( const Any & rAny ) const >{ > const Type & rType = ::getCppuType( this ); > return ::uno_type_equalData( > const_cast< void * >( getValue() ), getValueTypeRef(), > const_cast< void * >( rAny.getValue() ), rAny.getValueTypeRef(), > cpp_queryInterface, cpp_release ); >} > > >template< class C > >inline Any makeAny( const C & value ) >{ > return Any( &value, ::getCppuType( &value ) ); >} > > >template< class C > >inline void operator <<= ( ::com::sun::star::uno::Any & rAny, const C & value ) >{ > rAny.setValue( &value, ::getCppuType( &value ) ); >} > > >template< class C > >inline sal_Bool operator >>= ( const ::com::sun::star::uno::Any & rAny, C & value ) >{ > const ::com::sun::star::uno::Type & rType = ::getCppuType( &value ); > return ::uno_type_assignData( > &value, rType.getTypeLibType(), > const_cast< void * >( rAny.getValue() ), rAny.getValueTypeRef(), > ::com::sun::star::uno::cpp_queryInterface, > ::com::sun::star::uno::cpp_acquire, > ::com::sun::star::uno::cpp_release ); >} > > > >inline sal_Bool operator >>= ( const ::com::sun::star::uno::Any & rAny, sal_Bool & value ) >{ > if (::com::sun::star::uno::TypeClass_BOOLEAN == rAny.getValueTypeClass()) > { > value = (* reinterpret_cast< const sal_Bool * >( rAny.getValue() ) != ((unsigned char)0)); > return ((unsigned char)1); > } > return ((unsigned char)0); >} > >inline sal_Bool operator == ( const ::com::sun::star::uno::Any & rAny, const sal_Bool & value ) >{ > return (::com::sun::star::uno::TypeClass_BOOLEAN == rAny.getValueTypeClass() && > (value != ((unsigned char)0)) == (* reinterpret_cast< const sal_Bool * >( rAny.getValue() ) != ((unsigned char)0))); >} > > >inline sal_Bool operator >>= ( const ::com::sun::star::uno::Any & rAny, sal_Int8 & value ) >{ > if (::com::sun::star::uno::TypeClass_BYTE == rAny.getValueTypeClass()) > { > value = * reinterpret_cast< const sal_Int8 * >( rAny.getValue() ); > return ((unsigned char)1); > } > return ((unsigned char)0); >} > > >inline sal_Bool operator >>= ( const ::com::sun::star::uno::Any & rAny, sal_Int16 & value ) >{ > switch (rAny.getValueTypeClass()) > { > case ::com::sun::star::uno::TypeClass_BYTE: > value = * reinterpret_cast< const sal_Int8 * >( rAny.getValue() ); > return ((unsigned char)1); > case ::com::sun::star::uno::TypeClass_SHORT: > case ::com::sun::star::uno::TypeClass_UNSIGNED_SHORT: > value = * reinterpret_cast< const sal_Int16 * >( rAny.getValue() ); > return ((unsigned char)1); > } > return ((unsigned char)0); >} > >inline sal_Bool operator >>= ( const ::com::sun::star::uno::Any & rAny, sal_uInt16 & value ) >{ > switch (rAny.getValueTypeClass()) > { > case ::com::sun::star::uno::TypeClass_BYTE: > value = * reinterpret_cast< const sal_Int8 * >( rAny.getValue() ); > return ((unsigned char)1); > case ::com::sun::star::uno::TypeClass_SHORT: > case ::com::sun::star::uno::TypeClass_UNSIGNED_SHORT: > value = * reinterpret_cast< const sal_uInt16 * >( rAny.getValue() ); > return ((unsigned char)1); > } > return ((unsigned char)0); >} > > >inline sal_Bool operator >>= ( const ::com::sun::star::uno::Any & rAny, sal_Int32 & value ) >{ > switch (rAny.getValueTypeClass()) > { > case ::com::sun::star::uno::TypeClass_BYTE: > value = * reinterpret_cast< const sal_Int8 * >( rAny.getValue() ); > return ((unsigned char)1); > case ::com::sun::star::uno::TypeClass_SHORT: > value = * reinterpret_cast< const sal_Int16 * >( rAny.getValue() ); > return ((unsigned char)1); > case ::com::sun::star::uno::TypeClass_UNSIGNED_SHORT: > value = * reinterpret_cast< const sal_uInt16 * >( rAny.getValue() ); > return ((unsigned char)1); > case ::com::sun::star::uno::TypeClass_LONG: > case ::com::sun::star::uno::TypeClass_UNSIGNED_LONG: > value = * reinterpret_cast< const sal_Int32 * >( rAny.getValue() ); > return ((unsigned char)1); > } > return ((unsigned char)0); >} > >inline sal_Bool operator >>= ( const ::com::sun::star::uno::Any & rAny, sal_uInt32 & value ) >{ > switch (rAny.getValueTypeClass()) > { > case ::com::sun::star::uno::TypeClass_BYTE: > value = * reinterpret_cast< const sal_Int8 * >( rAny.getValue() ); > return ((unsigned char)1); > case ::com::sun::star::uno::TypeClass_SHORT: > value = * reinterpret_cast< const sal_Int16 * >( rAny.getValue() ); > return ((unsigned char)1); > case ::com::sun::star::uno::TypeClass_UNSIGNED_SHORT: > value = * reinterpret_cast< const sal_uInt16 * >( rAny.getValue() ); > return ((unsigned char)1); > case ::com::sun::star::uno::TypeClass_LONG: > case ::com::sun::star::uno::TypeClass_UNSIGNED_LONG: > value = * reinterpret_cast< const sal_uInt32 * >( rAny.getValue() ); > return ((unsigned char)1); > } > return ((unsigned char)0); >} > > >inline sal_Bool operator >>= ( const ::com::sun::star::uno::Any & rAny, sal_Int64 & value ) >{ > switch (rAny.getValueTypeClass()) > { > case ::com::sun::star::uno::TypeClass_BYTE: > value = * reinterpret_cast< const sal_Int8 * >( rAny.getValue() ); > return ((unsigned char)1); > case ::com::sun::star::uno::TypeClass_SHORT: > value = * reinterpret_cast< const sal_Int16 * >( rAny.getValue() ); > return ((unsigned char)1); > case ::com::sun::star::uno::TypeClass_UNSIGNED_SHORT: > value = * reinterpret_cast< const sal_uInt16 * >( rAny.getValue() ); > return ((unsigned char)1); > case ::com::sun::star::uno::TypeClass_LONG: > value = * reinterpret_cast< const sal_Int32 * >( rAny.getValue() ); > return ((unsigned char)1); > case ::com::sun::star::uno::TypeClass_UNSIGNED_LONG: > value = * reinterpret_cast< const sal_uInt32 * >( rAny.getValue() ); > return ((unsigned char)1); > case ::com::sun::star::uno::TypeClass_HYPER: > case ::com::sun::star::uno::TypeClass_UNSIGNED_HYPER: > value = * reinterpret_cast< const sal_Int64 * >( rAny.getValue() ); > return ((unsigned char)1); > } > return ((unsigned char)0); >} > >inline sal_Bool operator >>= ( const ::com::sun::star::uno::Any & rAny, sal_uInt64 & value ) >{ > switch (rAny.getValueTypeClass()) > { > case ::com::sun::star::uno::TypeClass_BYTE: > value = * reinterpret_cast< const sal_Int8 * >( rAny.getValue() ); > return ((unsigned char)1); > case ::com::sun::star::uno::TypeClass_SHORT: > value = * reinterpret_cast< const sal_Int16 * >( rAny.getValue() ); > return ((unsigned char)1); > case ::com::sun::star::uno::TypeClass_UNSIGNED_SHORT: > value = * reinterpret_cast< const sal_uInt16 * >( rAny.getValue() ); > return ((unsigned char)1); > case ::com::sun::star::uno::TypeClass_LONG: > value = * reinterpret_cast< const sal_Int32 * >( rAny.getValue() ); > return ((unsigned char)1); > case ::com::sun::star::uno::TypeClass_UNSIGNED_LONG: > value = * reinterpret_cast< const sal_uInt32 * >( rAny.getValue() ); > return ((unsigned char)1); > case ::com::sun::star::uno::TypeClass_HYPER: > case ::com::sun::star::uno::TypeClass_UNSIGNED_HYPER: > value = * reinterpret_cast< const sal_uInt64 * >( rAny.getValue() ); > return ((unsigned char)1); > } > return ((unsigned char)0); >} > > >inline sal_Bool operator >>= ( const ::com::sun::star::uno::Any & rAny, float & value ) >{ > switch (rAny.getValueTypeClass()) > { > case ::com::sun::star::uno::TypeClass_BYTE: > value = * reinterpret_cast< const sal_Int8 * >( rAny.getValue() ); > return ((unsigned char)1); > case ::com::sun::star::uno::TypeClass_SHORT: > value = * reinterpret_cast< const sal_Int16 * >( rAny.getValue() ); > return ((unsigned char)1); > case ::com::sun::star::uno::TypeClass_UNSIGNED_SHORT: > value = * reinterpret_cast< const sal_uInt16 * >( rAny.getValue() ); > return ((unsigned char)1); > case ::com::sun::star::uno::TypeClass_FLOAT: > value = * reinterpret_cast< const float * >( rAny.getValue() ); > return ((unsigned char)1); > } > return ((unsigned char)0); >} > > >inline sal_Bool operator >>= ( const ::com::sun::star::uno::Any & rAny, double & value ) >{ > switch (rAny.getValueTypeClass()) > { > case ::com::sun::star::uno::TypeClass_BYTE: > value = * reinterpret_cast< const sal_Int8 * >( rAny.getValue() ); > return ((unsigned char)1); > case ::com::sun::star::uno::TypeClass_SHORT: > value = * reinterpret_cast< const sal_Int16 * >( rAny.getValue() ); > return ((unsigned char)1); > case ::com::sun::star::uno::TypeClass_UNSIGNED_SHORT: > value = * reinterpret_cast< const sal_uInt16 * >( rAny.getValue() ); > return ((unsigned char)1); > case ::com::sun::star::uno::TypeClass_LONG: > value = * reinterpret_cast< const sal_Int32 * >( rAny.getValue() ); > return ((unsigned char)1); > case ::com::sun::star::uno::TypeClass_UNSIGNED_LONG: > value = * reinterpret_cast< const sal_uInt32 * >( rAny.getValue() ); > return ((unsigned char)1); > case ::com::sun::star::uno::TypeClass_FLOAT: > value = * reinterpret_cast< const float * >( rAny.getValue() ); > return ((unsigned char)1); > case ::com::sun::star::uno::TypeClass_DOUBLE: > value = * reinterpret_cast< const double * >( rAny.getValue() ); > return ((unsigned char)1); > } > return ((unsigned char)0); >} > > >inline sal_Bool operator >>= ( > const ::com::sun::star::uno::Any & rAny, ::rtl::OUString & value ) >{ > if (::com::sun::star::uno::TypeClass_STRING == rAny.getValueTypeClass()) > { > value = * reinterpret_cast< const ::rtl::OUString * >( rAny.getValue() ); > return ((unsigned char)1); > } > return ((unsigned char)0); >} > >inline sal_Bool operator == ( > const ::com::sun::star::uno::Any & rAny, const ::rtl::OUString & value ) >{ > return (::com::sun::star::uno::TypeClass_STRING == rAny.getValueTypeClass() && > value == * reinterpret_cast< const ::rtl::OUString * >( rAny.getValue() )); >} > > >inline sal_Bool operator >>= ( > const ::com::sun::star::uno::Any & rAny, ::com::sun::star::uno::Type & value ) >{ > if (::com::sun::star::uno::TypeClass_TYPE == rAny.getValueTypeClass()) > { > value = * reinterpret_cast< const ::com::sun::star::uno::Type * >( rAny.getValue() ); > return ((unsigned char)1); > } > return ((unsigned char)0); >} > >inline sal_Bool operator == ( > const ::com::sun::star::uno::Any & rAny, const ::com::sun::star::uno::Type & value ) >{ > return (::com::sun::star::uno::TypeClass_TYPE == rAny.getValueTypeClass() && > value == * reinterpret_cast< const ::com::sun::star::uno::Type * >( rAny.getValue() )); >} > > >inline sal_Bool operator >>= ( > const ::com::sun::star::uno::Any & rAny, ::com::sun::star::uno::Any & value ) >{ > value = rAny; > return ((unsigned char)1); >} > > >inline sal_Bool operator == ( > const ::com::sun::star::uno::Any & rAny, const ::com::sun::star::uno::BaseReference & value ) >{ > if (::com::sun::star::uno::TypeClass_INTERFACE == rAny.getValueTypeClass()) > { > ::com::sun::star::uno::XInterface * p1 = > * reinterpret_cast< ::com::sun::star::uno::XInterface * const * >( rAny.getValue() ); > if (p1 && p1 == value.get()) > return ((unsigned char)1); > ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > xI1( > p1, ::com::sun::star::uno::UNO_QUERY ); > ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > xI2( > value.get(), ::com::sun::star::uno::UNO_QUERY ); > return (xI1.is() && xI1.get() == xI2.get()); > } > return ((unsigned char)0); >} > > > >template< class C > >inline sal_Bool operator == ( const ::com::sun::star::uno::Any & rAny, const C & value ) >{ > const ::com::sun::star::uno::Type & rType = ::getCppuType( &value ); > return ::uno_type_equalData( > const_cast< void * >( rAny.getValue() ), rAny.getValueTypeRef(), > const_cast< C * >( &value ), rType.getTypeLibType(), > ::com::sun::star::uno::cpp_queryInterface, > ::com::sun::star::uno::cpp_release ); >} > >} >} >} >} > ># 69 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/uno/genfunc.hxx" 2 > > > > >namespace com >{ > >namespace sun >{ > >namespace star >{ > >namespace uno >{ > >extern "C" >{ > >inline void cpp_acquire( void * pCppI ) >{ > reinterpret_cast< XInterface * >( pCppI )->acquire(); >} > >inline void cpp_release( void * pCppI ) >{ > reinterpret_cast< XInterface * >( pCppI )->release(); >} > >inline void * cpp_queryInterface( void * pCppI, typelib_TypeDescriptionReference * pType ) >{ > if (pCppI) > { > Any aRet( reinterpret_cast< XInterface * >( pCppI )->queryInterface( > * reinterpret_cast< const Type * >( &pType ) ) ); > if (aRet.hasValue()) > { > XInterface * pRet = * reinterpret_cast< XInterface * const * >( aRet.getValue() ); > pRet->acquire(); > return pRet; > } > } > return 0; >} >} > >} >} >} >} > ># 72 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/uno/Reference.hxx" 2 > > > >namespace com >{ > >namespace sun >{ > >namespace star >{ > >namespace uno >{ > > >inline BaseReference::BaseReference() > : _pInterface( 0 ) >{ >} > >inline BaseReference::BaseReference( XInterface * pInterface ) > : _pInterface( pInterface ) >{ > if (_pInterface) > _pInterface->acquire(); >} > >inline BaseReference::BaseReference( XInterface * pInterface, __UnoReference_NoAcquire ) > : _pInterface( pInterface ) >{ >} > >inline BaseReference::BaseReference( const BaseReference & rRef ) > : _pInterface( rRef._pInterface ) >{ > if (_pInterface) > _pInterface->acquire(); >} > >inline BaseReference::~BaseReference() >{ > if (_pInterface) > _pInterface->release(); >} > >inline sal_Bool BaseReference::operator == ( const BaseReference & rRef ) const >{ > if (_pInterface == rRef._pInterface) > return ((unsigned char)1); > > Reference< XInterface > x1( _pInterface, UNO_QUERY ); > Reference< XInterface > x2( rRef, UNO_QUERY ); > return (x1.get() == x2.get()); >} > >inline void BaseReference::set( XInterface * pInterface ) >{ > if (pInterface != _pInterface) > { > if (pInterface) > pInterface->acquire(); > if (_pInterface) > _pInterface->release(); > _pInterface = pInterface; > } >} > >inline void BaseReference::clear() >{ > if (_pInterface) > { > _pInterface->release(); > _pInterface = 0; > } >} > > >template< class interface_type > >inline Reference< interface_type > & Reference< interface_type >::operator = ( interface_type * pInterface ) >{ > BaseReference::set( pInterface ); > return *this; >} > >template< class interface_type > >inline Reference< interface_type > Reference< interface_type >::query( XInterface * pInterface ) >{ > const Type & rType = ::getCppuType( (const Reference< interface_type > *)0 ); > return Reference< interface_type >( reinterpret_cast< XInterface * >( > cpp_queryInterface( pInterface, rType.getTypeLibType() ) ), UNO_REF_NO_ACQUIRE ); >} > >} >} >} >} > ># 78 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/uno/mapping.hxx" 2 > > >typedef struct _typelib_TypeDescription typelib_TypeDescription; >typedef struct _typelib_InterfaceTypeDescription typelib_InterfaceTypeDescription; >typedef struct _uno_Interface uno_Interface; > > >namespace com >{ > >namespace sun >{ > >namespace star >{ > >namespace uno >{ > > > > >class Mapping >{ > uno_Mapping * _pMapping; > >public: > > > > > > > > inline Mapping( const ::rtl::OUString & rFrom, const ::rtl::OUString & rTo, > const ::rtl::OUString & rAddPurpose = ::rtl::OUString() ); > > > > > > > > inline Mapping( uno_Environment * pFrom, uno_Environment * pTo, > const ::rtl::OUString & rAddPurpose = ::rtl::OUString() ); > > > > > > inline Mapping( uno_Mapping * pMapping = 0 ); > > > > > > inline Mapping( const Mapping & rMapping ); > > > > > inline ~Mapping(); > > > > > > > inline Mapping & operator = ( uno_Mapping * pMapping ); > > > > > > inline Mapping & operator = ( const Mapping & rMapping ) > { return operator = ( rMapping._pMapping ); } > > > > > > inline uno_Mapping * get() const > { return _pMapping; } > > > > > > inline sal_Bool is() const > { return (_pMapping != 0); } > > > > > inline void clear(); > > > > > > > > inline void * mapInterface( void * pInterface, typelib_InterfaceTypeDescription * pTypeDescr ) const; > > > > > > > inline void * mapInterface( void * pInterface, typelib_TypeDescription * pTypeDescr ) const > { return mapInterface( pInterface, (typelib_InterfaceTypeDescription *)pTypeDescr ); } > > > > > > > > inline void * mapInterface( void * pInterface, const ::com::sun::star::uno::Type & rType ) const; > > > > > > > > inline void mapInterface( void ** ppOut, void * pInterface, typelib_InterfaceTypeDescription * pTypeDescr ) const > { (*_pMapping->mapInterface)( _pMapping, ppOut, pInterface, pTypeDescr ); } > > > > > > > inline void mapInterface( void ** ppOut, void * pInterface, typelib_TypeDescription * pTypeDescr ) const > { (*_pMapping->mapInterface)( _pMapping, ppOut, pInterface, (typelib_InterfaceTypeDescription *)pTypeDescr ); } > > > > > > > > inline void mapInterface( void ** ppOut, void * pInterface, const ::com::sun::star::uno::Type & rType ) const; >}; > >inline Mapping::Mapping( const ::rtl::OUString & rFrom, const ::rtl::OUString & rTo, > const ::rtl::OUString & rAddPurpose ) > : _pMapping( 0 ) >{ > uno_getMappingByName( &_pMapping, rFrom.pData, rTo.pData, rAddPurpose.pData ); >} > >inline Mapping::Mapping( uno_Environment * pFrom, uno_Environment * pTo, > const ::rtl::OUString & rAddPurpose ) > : _pMapping( 0 ) >{ > uno_getMapping( &_pMapping, pFrom, pTo, rAddPurpose.pData ); >} > >inline Mapping::Mapping( uno_Mapping * pMapping ) > : _pMapping( pMapping ) >{ > if (_pMapping) > (*_pMapping->acquire)( _pMapping ); >} > >inline Mapping::Mapping( const Mapping & rMapping ) > : _pMapping( rMapping._pMapping ) >{ > if (_pMapping) > (*_pMapping->acquire)( _pMapping ); >} > >inline Mapping::~Mapping() >{ > if (_pMapping) > (*_pMapping->release)( _pMapping ); >} > >inline void Mapping::clear() >{ > if (_pMapping) > { > (*_pMapping->release)( _pMapping ); > _pMapping = 0; > } >} > >inline Mapping & Mapping::operator = ( uno_Mapping * pMapping ) >{ > if (pMapping) > (*pMapping->acquire)( pMapping ); > if (_pMapping) > (*_pMapping->release)( _pMapping ); > _pMapping = pMapping; > return *this; >} > >inline void Mapping::mapInterface( void ** ppOut, void * pInterface, > const ::com::sun::star::uno::Type & rType ) const >{ > typelib_TypeDescription * pTD = 0; > { typelib_TypeDescriptionReference * __pMacroTypeRef = (rType.getTypeLibType()); if (((__pMacroTypeRef->eTypeClass) == typelib_TypeClass_INTERFACE_METHOD || (__pMacroTypeRef->eTypeClass) == typelib_TypeClass_INTERFACE_ATTRIBUTE)) { typelib_typedescriptionreference_getDescription( &pTD, __pMacroTypeRef ); } else if (! __pMacroTypeRef->pType->pWeakRef) { typelib_typedescriptionreference_getDescription( &pTD, __pMacroTypeRef ); typelib_typedescription_release( *(&pTD) ); } else { *(&pTD) = __pMacroTypeRef->pType; } }; > if (pTD) > { > (*_pMapping->mapInterface)( _pMapping, ppOut, pInterface, (typelib_InterfaceTypeDescription *)pTD ); > { if ((((pTD)->eTypeClass) == typelib_TypeClass_INTERFACE_METHOD || ((pTD)->eTypeClass) == typelib_TypeClass_INTERFACE_ATTRIBUTE)) typelib_typedescription_release( pTD ); }; > } >} > >inline void * Mapping::mapInterface( void * pInterface, > typelib_InterfaceTypeDescription * pTypeDescr ) const >{ > void * pOut = 0; > (*_pMapping->mapInterface)( _pMapping, &pOut, pInterface, pTypeDescr ); > return pOut; >} > >inline void * Mapping::mapInterface( void * pInterface, > const ::com::sun::star::uno::Type & rType ) const >{ > void * pOut = 0; > mapInterface( &pOut, pInterface, rType ); > return pOut; >} > > >template< class C > >inline sal_Bool mapToCpp( Reference< C > * ppRet, uno_Interface * pUnoI ) >{ > Mapping aMapping( > ::rtl::OUString( "uno", sizeof( "uno" )-1, ((rtl_TextEncoding)11) ), > ::rtl::OUString( "gcc2", sizeof( "gcc2" )-1, ((rtl_TextEncoding)11) ) ); > OSL_ASSERT( aMapping.is() ); > aMapping.mapInterface( (void **)ppRet, pUnoI, ::getCppuType( ppRet ) ); > return (0 != *ppRet); >} > >template< class C > >inline sal_Bool mapToUno( uno_Interface ** ppRet, const Reference< C > & x ) >{ > Mapping aMapping( > ::rtl::OUString( "gcc2", sizeof( "gcc2" )-1, ((rtl_TextEncoding)11) ), > ::rtl::OUString( "uno", sizeof( "uno" )-1, ((rtl_TextEncoding)11) ) ); > OSL_ASSERT( aMapping.is() ); > aMapping.mapInterface( (void **)ppRet, x.get(), ::getCppuType( &x ) ); > return (0 != *ppRet); >} > >} >} >} >} > ># 65 "/usr/src/oo/oo_605_src/sfx2/source/doc/docfile.cxx" 2 > ># 6 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/task/XInteractionHandler.hpp" 1 ># 15 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/task/XInteractionHandler.hdl" 1 >namespace com { namespace sun { namespace star { namespace task { >class XInteractionRequest; >} } } } > ># 29 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/task/XInteractionHandler.hdl" >namespace com >{ >namespace sun >{ >namespace star >{ >namespace task >{ > >class XInteractionHandler : public ::com::sun::star::uno::XInterface >{ >public: > > > virtual void handle( const ::com::sun::star::uno::Reference< ::com::sun::star::task::XInteractionRequest >& Request ) throw(::com::sun::star::uno::RuntimeException) = 0; >}; > >} >} >} >} > >namespace com { namespace sun { namespace star { namespace uno { >class Type; >} } } } > >inline const ::com::sun::star::uno::Type& getCppuType( const ::com::sun::star::uno::Reference< ::com::sun::star::task::XInteractionHandler >* ); > ># 6 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/task/XInteractionHandler.hpp" 2 ># 21 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/task/XInteractionHandler.hpp" ># 6 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/task/XInteractionRequest.hpp" 1 ># 13 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/task/XInteractionRequest.hdl" 1 ># 73 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/uno/Sequence.h" 1 ># 72 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/uno/sequence2.h" 1 >extern "C" >{ > > >typedef sal_Sequence uno_Sequence; ># 85 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/uno/sequence2.h" > void uno_sequence_assign( > uno_Sequence ** ppDest, > uno_Sequence * pSource, > typelib_TypeDescription * pTypeDescr, > uno_ReleaseFunc release ); > > > > > > > > void uno_type_sequence_assign( > uno_Sequence ** ppDest, > uno_Sequence * pSource, > typelib_TypeDescriptionReference * pType, > uno_ReleaseFunc release ); ># 111 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/uno/sequence2.h" > void uno_sequence_construct( > uno_Sequence ** ppSequence, > typelib_TypeDescription * pTypeDescr, > void * pElements, sal_Int32 len, > uno_AcquireFunc acquire ); ># 124 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/uno/sequence2.h" > void uno_type_sequence_construct( > uno_Sequence ** ppSequence, > typelib_TypeDescriptionReference * pType, > void * pElements, sal_Int32 len, > uno_AcquireFunc acquire ); ># 138 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/uno/sequence2.h" > void uno_sequence_reference2One( > uno_Sequence ** ppSequence, > typelib_TypeDescription * pTypeDescr, > uno_AcquireFunc acquire, > uno_ReleaseFunc release ); ># 151 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/uno/sequence2.h" > void uno_type_sequence_reference2One( > uno_Sequence ** ppSequence, > typelib_TypeDescriptionReference * pType, > uno_AcquireFunc acquire, > uno_ReleaseFunc release ); ># 166 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/uno/sequence2.h" > void uno_sequence_realloc( > uno_Sequence ** ppSequence, > typelib_TypeDescription * pTypeDescr, > sal_Int32 nSize, > uno_AcquireFunc acquire, > uno_ReleaseFunc release ); ># 181 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/uno/sequence2.h" > void uno_type_sequence_realloc( > uno_Sequence ** ppSequence, > typelib_TypeDescriptionReference * pType, > sal_Int32 nSize, > uno_AcquireFunc acquire, > uno_ReleaseFunc release ); > > >} ># 73 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/uno/Sequence.h" 2 ># 83 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/uno/Sequence.h" >namespace rtl >{ >class ByteSequence; >} > > >namespace com >{ > >namespace sun >{ > >namespace star >{ > >namespace uno >{ ># 109 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/uno/Sequence.h" >template< class E > >class Sequence >{ > > > uno_Sequence * _pSequence; > >public: > > inline static void * operator new( size_t nSize ) throw() > { return ::rtl_allocateMemory( nSize ); } > inline static void operator delete( void * pMem ) throw() > { ::rtl_freeMemory( pMem ); } > inline static void * operator new( size_t, void * pMem ) throw() > { return pMem; } > inline static void operator delete( void *, void * ) throw() > {} > > > > > typedef E ElementType; > > > > > > inline Sequence< E >(); > > > > > > inline Sequence< E >( const Sequence< E > & rSeq ); > > > > > > > inline Sequence< E >( const E * pElements, sal_Int32 len ); > > > > > > inline Sequence< E >( sal_Int32 len ); > > > > > inline ~Sequence< E >(); > > > > > > > > inline Sequence< E > & operator = ( const Sequence< E > & rSeq ); > > > > > > inline const Type & getElementType() const > { return ::getCppuType( (const ElementType *)0 ); } > > > > > inline sal_Int32 getLength() const > { return _pSequence->nElements; } > > > > > > > inline const E * getConstArray() const > { return reinterpret_cast< const E * >( _pSequence->elements ); } ># 198 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/uno/Sequence.h" > inline E * getArray(); ># 210 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/uno/Sequence.h" > inline E & operator [] ( sal_Int32 nIndex ) > { return getArray()[ nIndex ]; } > > > > > > > > inline const E & operator [] ( sal_Int32 nIndex ) const > { return getConstArray()[ nIndex ]; } > > > > > > > > inline sal_Bool operator == ( const Sequence< E > & rSeq ) const; > > > > > > > inline sal_Bool operator != ( const Sequence< E > & rSeq ) const > { return (! operator == ( rSeq )); } ># 249 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/uno/Sequence.h" > inline void realloc( sal_Int32 nSize ); >}; > > > > > > >inline ::com::sun::star::uno::Sequence< sal_Int8 > toUnoSequence( > const ::rtl::ByteSequence & rByteSequence ); > >} >} >} >} > > > > > > >template< class S > > > > >inline const ::com::sun::star::uno::Type & > > getCppuType( const ::com::sun::star::uno::Sequence< S > * ); > > > > > > > > > > >inline const ::com::sun::star::uno::Type & > > getCharSequenceCppuType(); > ># 13 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/task/XInteractionRequest.hdl" 2 > > > > > >namespace com { namespace sun { namespace star { namespace task { >class XInteractionContinuation; >} } } } > ># 35 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/task/XInteractionRequest.hdl" >namespace com >{ >namespace sun >{ >namespace star >{ >namespace task >{ > >class XInteractionRequest : public ::com::sun::star::uno::XInterface >{ >public: > > > virtual ::com::sun::star::uno::Any getRequest( ) throw(::com::sun::star::uno::RuntimeException) = 0; > virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Reference< ::com::sun::star::task::XInteractionContinuation > > getContinuations( ) throw(::com::sun::star::uno::RuntimeException) = 0; >}; > >} >} >} >} > >namespace com { namespace sun { namespace star { namespace uno { >class Type; >} } } } > >inline const ::com::sun::star::uno::Type& getCppuType( const ::com::sun::star::uno::Reference< ::com::sun::star::task::XInteractionRequest >* ); > ># 6 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/task/XInteractionRequest.hpp" 2 ># 21 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/task/XInteractionRequest.hpp" ># 70 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/uno/Sequence.hxx" 1 ># 70 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/osl/interlck.h" 1 >extern "C" { > > >typedef sal_Int32 oslInterlockedCount; > > > > > >oslInterlockedCount osl_incrementInterlockedCount(oslInterlockedCount* pCount); > > > > > >oslInterlockedCount osl_decrementInterlockedCount(oslInterlockedCount* pCount); > > >} ># 70 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/uno/Sequence.hxx" 2 ># 86 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/uno/Sequence.hxx" >namespace com >{ > >namespace sun >{ > >namespace star >{ > >namespace uno >{ > > >template< class E > >inline Sequence< E >::Sequence() >{ > const Type & rType = ::getCppuType( this ); > ::uno_type_sequence_construct( &_pSequence, rType.getTypeLibType(), 0, 0, cpp_acquire ); >} > >template< class E > >inline Sequence< E >::Sequence( const Sequence< E > & rSeq ) >{ > ::osl_incrementInterlockedCount( &rSeq._pSequence->nRefCount ); > _pSequence = rSeq._pSequence; >} > >template< class E > >inline Sequence< E >::Sequence( const E * pElements, sal_Int32 len ) > : _pSequence( 0 ) >{ > const Type & rType = ::getCppuType( this ); > ::uno_type_sequence_construct( &_pSequence, rType.getTypeLibType(), > const_cast< E * >( pElements ), len, cpp_acquire ); >} > >template< class E > >inline Sequence< E >::Sequence( sal_Int32 len ) > : _pSequence( 0 ) >{ > const Type & rType = ::getCppuType( this ); > ::uno_type_sequence_construct( &_pSequence, rType.getTypeLibType(), 0, len, cpp_acquire ); >} > >template< class E > >inline Sequence< E >::~Sequence() >{ > const Type & rType = ::getCppuType( this ); > ::uno_type_destructData( this, rType.getTypeLibType(), cpp_release ); >} > >template< class E > >inline Sequence< E > & Sequence< E >::operator = ( const Sequence< E > & rSeq ) >{ > const Type & rType = ::getCppuType( this ); > ::uno_type_sequence_assign( &_pSequence, rSeq._pSequence, rType.getTypeLibType(), cpp_release ); > return *this; >} > >template< class E > >inline sal_Bool Sequence< E >::operator == ( const Sequence< E > & rSeq ) const >{ > if (_pSequence == rSeq._pSequence) > return ((unsigned char)1); > const Type & rType = ::getCppuType( this ); > return ::uno_type_equalData( const_cast< Sequence< E > * >( this ), rType.getTypeLibType(), > const_cast< Sequence< E > * >( &rSeq ), rType.getTypeLibType(), > cpp_queryInterface, cpp_release ); >} > >template< class E > >inline E * Sequence< E >::getArray() >{ > const Type & rType = ::getCppuType( this ); > ::uno_type_sequence_reference2One( &_pSequence, rType.getTypeLibType(), cpp_acquire, cpp_release ); > return reinterpret_cast< E * >( _pSequence->elements ); >} > >template< class E > >inline void Sequence< E >::realloc( sal_Int32 nSize ) >{ > const Type & rType = ::getCppuType( this ); > ::uno_type_sequence_realloc( &_pSequence, rType.getTypeLibType(), nSize, cpp_acquire, cpp_release ); >} > > >inline ::com::sun::star::uno::Sequence< sal_Int8 > toUnoSequence( > const ::rtl::ByteSequence & rByteSequence ) >{ > return ::com::sun::star::uno::Sequence< sal_Int8 >( > * reinterpret_cast< const ::com::sun::star::uno::Sequence< sal_Int8 > * >( &rByteSequence ) ); >} > >} >} >} >} > > >template< class S > > > > >inline const ::com::sun::star::uno::Type & > > getCppuType( const ::com::sun::star::uno::Sequence< S > * ) >{ > > > > static typelib_TypeDescriptionReference * s_pType = 0; > if (! s_pType) > { > > const ::com::sun::star::uno::Type & rElementType = ::getCppuType( > (::com::sun::star::uno::Sequence< S >::ElementType *)0 ); > ::typelib_static_sequence_type_init( &s_pType, rElementType.getTypeLibType() ); > > } > return * reinterpret_cast< const ::com::sun::star::uno::Type * >( &s_pType ); > > > >} > > > > > >inline const ::com::sun::star::uno::Type & > > getCharSequenceCppuType() >{ > > > > static typelib_TypeDescriptionReference * s_pType = 0; > if (! s_pType) > { > > const ::com::sun::star::uno::Type & rElementType = ::getCharCppuType(); > ::typelib_static_sequence_type_init( &s_pType, rElementType.getTypeLibType() ); > > } > return * reinterpret_cast< const ::com::sun::star::uno::Type * >( &s_pType ); > > > >} > ># 21 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/task/XInteractionRequest.hpp" 2 > > > ># 6 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/task/XInteractionContinuation.hpp" 1 ># 24 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/task/XInteractionContinuation.hdl" 1 >namespace com >{ >namespace sun >{ >namespace star >{ >namespace task >{ > >class XInteractionContinuation : public ::com::sun::star::uno::XInterface >{ >public: > > > virtual void select( ) throw(::com::sun::star::uno::RuntimeException) = 0; >}; > >} >} >} >} > >namespace com { namespace sun { namespace star { namespace uno { >class Type; >} } } } > >inline const ::com::sun::star::uno::Type& getCppuType( const ::com::sun::star::uno::Reference< ::com::sun::star::task::XInteractionContinuation >* ); > ># 6 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/task/XInteractionContinuation.hpp" 2 ># 33 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/task/XInteractionContinuation.hpp" >inline const ::com::sun::star::uno::Type& getCppuType( const ::com::sun::star::uno::Reference< ::com::sun::star::task::XInteractionContinuation >* ) >{ > > static typelib_TypeDescriptionReference * s_pType_com_sun_star_task_XInteractionContinuation = 0; > > > if ( !s_pType_com_sun_star_task_XInteractionContinuation ) > { > typelib_static_interface_type_init( &s_pType_com_sun_star_task_XInteractionContinuation, "com.sun.star.task.XInteractionContinuation", 0 ); > } > return * reinterpret_cast< ::com::sun::star::uno::Type * >( &s_pType_com_sun_star_task_XInteractionContinuation ); >} > ># 24 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/task/XInteractionRequest.hpp" 2 ># 42 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/task/XInteractionRequest.hpp" >inline const ::com::sun::star::uno::Type& getCppuType( const ::com::sun::star::uno::Reference< ::com::sun::star::task::XInteractionRequest >* ) >{ > > static typelib_TypeDescriptionReference * s_pType_com_sun_star_task_XInteractionRequest = 0; > > > if ( !s_pType_com_sun_star_task_XInteractionRequest ) > { > typelib_static_interface_type_init( &s_pType_com_sun_star_task_XInteractionRequest, "com.sun.star.task.XInteractionRequest", 0 ); > } > return * reinterpret_cast< ::com::sun::star::uno::Type * >( &s_pType_com_sun_star_task_XInteractionRequest ); >} > ># 21 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/task/XInteractionHandler.hpp" 2 ># 36 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/task/XInteractionHandler.hpp" >inline const ::com::sun::star::uno::Type& getCppuType( const ::com::sun::star::uno::Reference< ::com::sun::star::task::XInteractionHandler >* ) >{ > > static typelib_TypeDescriptionReference * s_pType_com_sun_star_task_XInteractionHandler = 0; > > > if ( !s_pType_com_sun_star_task_XInteractionHandler ) > { > typelib_static_interface_type_init( &s_pType_com_sun_star_task_XInteractionHandler, "com.sun.star.task.XInteractionHandler", 0 ); > } > return * reinterpret_cast< ::com::sun::star::uno::Type * >( &s_pType_com_sun_star_task_XInteractionHandler ); >} > ># 66 "/usr/src/oo/oo_605_src/sfx2/source/doc/docfile.cxx" 2 > > > ># 7 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/svtools/extattr.hxx" 1 ># 21 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/tools/solar.h" 1 >typedef unsigned char BOOL; >typedef unsigned char BYTE; >typedef unsigned short USHORT; >typedef unsigned long ULONG; >typedef int FASTBOOL; > > ># 40 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/tools/solar.h" >typedef void INT64; >typedef void UINT64; >typedef long INT32; >typedef unsigned long UINT32; > >typedef short INT16; >typedef unsigned short UINT16; > >typedef signed char INT8; > > > >typedef unsigned char UINT8; > > > > > > ># 201 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/tools/solar.h" >typedef BYTE SVBT8[1]; >typedef BYTE SVBT16[2]; >typedef BYTE SVBT32[4]; >typedef BYTE SVBT64[8]; > > > >inline BYTE SVBT8ToByte ( const SVBT8 p ) { return p[0]; } > >inline USHORT SVBT16ToShort( const SVBT16 p ) { return *(USHORT*)p; } > > > > > >inline ULONG SVBT32ToLong ( const SVBT32 p ) { return *(ULONG*)p; } ># 226 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/tools/solar.h" >inline double SVBT64ToDouble( const SVBT64 p ) { return *(double*)p; } ># 251 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/tools/solar.h" >inline void ByteToSVBT8 ( BYTE n, SVBT8 p ) { p[0] = n; } > >inline void ShortToSVBT16( USHORT n, SVBT16 p ) { *(USHORT*)p = n; } > > > > > >inline void LongToSVBT32 ( ULONG n, SVBT32 p ) { *(ULONG*)p = n; } ># 269 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/tools/solar.h" >inline void DoubleToSVBT64( double n, SVBT64 p ) { *(double*)p = n; } ># 331 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/tools/solar.h" >inline int Min( int a, int b ) { return (a<b?a:b); } >inline int Max( int a, int b ) { return (a>b?a:b); } >inline char Min( char a, char b ) { return (a<b?a:b); } >inline char Max( char a, char b ) { return (a>b?a:b); } >inline BYTE Min( BYTE a, BYTE b ) { return (a<b?a:b); } >inline BYTE Max( BYTE a, BYTE b ) { return (a>b?a:b); } >inline short Min( short a, short b ) { return (a<b?a:b); } >inline short Max( short a, short b ) { return (a>b?a:b); } >inline USHORT Min( USHORT a, USHORT b ) { return (a<b?a:b); } >inline USHORT Max( USHORT a, USHORT b ) { return (a>b?a:b); } >inline long Min( long a, long b ) { return (a<b?a:b); } >inline long Max( long a, long b ) { return (a>b?a:b); } >inline ULONG Min( ULONG a, ULONG b ) { return (a<b?a:b); } >inline ULONG Max( ULONG a, ULONG b ) { return (a>b?a:b); } > >inline char Abs( char a ) { return (a>=0?a:-a); } >inline int Abs( int a ) { return (a>=0?a:-a); } >inline short Abs( short a ) { return (a>=0?a:-a); } >inline long Abs( long a ) { return (a>=0?a:-a); } ># 7 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/svtools/extattr.hxx" 2 > > >class ImpEaMgr; >class Icon; >class DirEntry; >class String; >class SvFileStream; >class ResId; > >class SvEaMgr >{ >friend class ImpEaMgr; > >private: > ImpEaMgr* pImp; >public: > SvEaMgr( const DirEntry& rEntry ); > SvEaMgr( const String& rFilename ); > SvEaMgr( SvFileStream& rStream ); > > ~SvEaMgr(); > > BOOL GetIcon( Icon& ) const; > BOOL SetIcon( const ResId& ); > BOOL SetIcon( const String& rIconFileName ); > > BOOL GetLongName( String& ) const; > BOOL SetLongName( const String& ); > > BOOL GetFileType( String& ) const; > BOOL SetFileType( const String& ); > > BOOL GetComment( String& ) const; > BOOL SetComment( const String& ); > > BOOL GetCreator( String& ) const; > BOOL SetCreator( const String& ); > > BOOL GetVersionInfo( String& ) const; > BOOL SetVersionInfo( const String& ); > > BOOL Clone( const SvEaMgr& ); > > static BOOL GetAppCreator( String& ); >}; > > ># 69 "/usr/src/oo/oo_605_src/sfx2/source/doc/docfile.cxx" 2 > > > ># 4 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/svtools/svstdarr.hxx" 1 ># 77 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/svtools/svarray.hxx" 1 ># 28 "/usr/include/string.h" 1 >extern "C" { > > > > > > > > >extern void *memcpy (void *__restrict __dest, > __const void *__restrict __src, size_t __n) throw (); > > >extern void *memmove (void *__dest, __const void *__src, size_t __n) > throw (); > > > > > >extern void *memccpy (void *__restrict __dest, __const void *__restrict __src, > int __c, size_t __n) > throw (); > > > > >extern void *memset (void *__s, int __c, size_t __n) throw (); > > >extern int memcmp (__const void *__s1, __const void *__s2, size_t __n) > throw () __attribute__ ((__pure__)); > > >extern void *memchr (__const void *__s, int __c, size_t __n) > throw () __attribute__ ((__pure__)); > ># 77 "/usr/include/string.h" >extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) > throw (); > >extern char *strncpy (char *__restrict __dest, > __const char *__restrict __src, size_t __n) throw (); > > >extern char *strcat (char *__restrict __dest, __const char *__restrict __src) > throw (); > >extern char *strncat (char *__restrict __dest, __const char *__restrict __src, > size_t __n) throw (); > > >extern int strcmp (__const char *__s1, __const char *__s2) > throw () __attribute__ ((__pure__)); > >extern int strncmp (__const char *__s1, __const char *__s2, size_t __n) > throw () __attribute__ ((__pure__)); > > >extern int strcoll (__const char *__s1, __const char *__s2) > throw () __attribute__ ((__pure__)); > >extern size_t strxfrm (char *__restrict __dest, > __const char *__restrict __src, size_t __n) throw (); > ># 120 "/usr/include/string.h" >extern char *strdup (__const char *__s) throw () __attribute__ ((__malloc__)); ># 155 "/usr/include/string.h" >extern char *strchr (__const char *__s, int __c) throw () __attribute__ ((__pure__)); > >extern char *strrchr (__const char *__s, int __c) throw () __attribute__ ((__pure__)); > ># 167 "/usr/include/string.h" >extern size_t strcspn (__const char *__s, __const char *__reject) > throw () __attribute__ ((__pure__)); > > >extern size_t strspn (__const char *__s, __const char *__accept) > throw () __attribute__ ((__pure__)); > >extern char *strpbrk (__const char *__s, __const char *__accept) > throw () __attribute__ ((__pure__)); > >extern char *strstr (__const char *__haystack, __const char *__needle) > throw () __attribute__ ((__pure__)); > ># 189 "/usr/include/string.h" >extern char *strtok (char *__restrict __s, __const char *__restrict __delim) > throw (); > > > >extern char *__strtok_r (char *__restrict __s, > __const char *__restrict __delim, > char **__restrict __save_ptr) throw (); > >extern char *strtok_r (char *__restrict __s, __const char *__restrict __delim, > char **__restrict __save_ptr) throw (); ># 220 "/usr/include/string.h" >extern size_t strlen (__const char *__s) throw () __attribute__ ((__pure__)); > ># 231 "/usr/include/string.h" >extern char *strerror (int __errnum) throw (); > > > >extern char *__strerror_r (int __errnum, char *__buf, size_t __buflen) throw (); >extern char *strerror_r (int __errnum, char *__buf, size_t __buflen) throw (); > > > > >extern void __bzero (void *__s, size_t __n) throw (); > > > >extern void bcopy (__const void *__src, void *__dest, size_t __n) throw (); > > >extern void bzero (void *__s, size_t __n) throw (); > > >extern int bcmp (__const void *__s1, __const void *__s2, size_t __n) > throw () __attribute__ ((__pure__)); > > >extern char *index (__const char *__s, int __c) throw () __attribute__ ((__pure__)); > > >extern char *rindex (__const char *__s, int __c) throw () __attribute__ ((__pure__)); > > > >extern int __ffs (int __i) throw () __attribute__ ((const)); >extern int ffs (int __i) throw () __attribute__ ((const)); > > > ># 276 "/usr/include/string.h" >extern int __strcasecmp (__const char *__s1, __const char *__s2) > throw () __attribute__ ((__pure__)); >extern int strcasecmp (__const char *__s1, __const char *__s2) > throw () __attribute__ ((__pure__)); > > >extern int strncasecmp (__const char *__s1, __const char *__s2, size_t __n) > throw () __attribute__ ((__pure__)); ># 300 "/usr/include/string.h" >extern char *strsep (char **__restrict __stringp, > __const char *__restrict __delim) throw (); ># 369 "/usr/include/string.h" >} > ># 77 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/svtools/svarray.hxx" 2 > > > > ># 12 "/usr/lib/gcc-lib/i386-redhat-linux/2.96/include/limits.h" 1 ># 8 "/usr/lib/gcc-lib/i386-redhat-linux/2.96/include/syslimits.h" 1 ># 131 "/usr/lib/gcc-lib/i386-redhat-linux/2.96/include/limits.h" 1 ># 143 "/usr/include/limits.h" 1 ># 127 "/usr/include/bits/posix1_lim.h" 1 ># 37 "/usr/include/bits/local_lim.h" 1 ># 127 "/usr/include/bits/posix1_lim.h" 2 ># 143 "/usr/include/limits.h" 2 > > > > ># 131 "/usr/lib/gcc-lib/i386-redhat-linux/2.96/include/limits.h" 2 ># 8 "/usr/lib/gcc-lib/i386-redhat-linux/2.96/include/syslimits.h" 2 ># 12 "/usr/lib/gcc-lib/i386-redhat-linux/2.96/include/limits.h" 2 ># 81 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/svtools/svarray.hxx" 2 > > > > > >class String; > > > > > >class DummyType; >inline void* operator new( size_t nBytes, DummyType* pPtr ) >{ > return pPtr; >} > > ># 670 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/svtools/svarray.hxx" >typedef void* VoidPtr; >typedef BOOL (*FnForEach_SvPtrarr)( const VoidPtr &, void* );class SvPtrarr{protected: VoidPtr *pData; BYTE nFree, nIncr; USHORT nA; void _grow(USHORT nSize);public: SvPtrarr( BYTE= 0, BYTE= 1 ); ~SvPtrarr() { if( pData ) delete (void*) pData; } VoidPtr& operator[](USHORT nP) const { return *(pData+nP); }void Insert( const SvPtrarr * pI, USHORT nP, USHORT nS = 0, USHORT nE = 65535 ){ if( 65535 == nE ) nE = pI->nA; if( nS < nE ) Insert( (const VoidPtr*)pI->pData+nS, (USHORT)nE-nS, nP );} VoidPtr & GetObject(USHORT nP) const { return (*this)[nP]; } void Insert( const VoidPtr & aE, USHORT nP ); void Insert( const VoidPtr *pE, USHORT nL, USHORT nP ); void Remove( USHORT nP, USHORT nL = 1 ); void Replace( const VoidPtr & aE, USHORT nP ); void Replace( const VoidPtr *pE, USHORT nL, USHORT nP ); USHORT Count() const { return nA; } const VoidPtr* GetData() const { return (const VoidPtr*)pData; } void InitData( const VoidPtr* pE, USHORT nL ); void ForEach( FnForEach_SvPtrarr fnForEach, void* pArgs = 0 ) { _ForEach( 0, nA, fnForEach, pArgs ); } void ForEach( USHORT nS, USHORT nE, FnForEach_SvPtrarr fnForEach, void* pArgs = 0 ) { _ForEach( nS, nE, fnForEach, pArgs ); } void _ForEach( USHORT nStt, USHORT nE, FnForEach_SvPtrarr fnCall, void* pArgs = 0 );USHORT GetPos( const VoidPtr & aE ) const;}; >typedef BOOL (*FnForEach_SvPtrarrPlain)( const VoidPtr, void* );class SvPtrarrPlain{protected: VoidPtr *pData; BYTE nFree, nIncr; USHORT nA; void _grow(USHORT nSize);public: SvPtrarrPlain( BYTE= 0, BYTE= 1 ); ~SvPtrarrPlain() { if( pData ) delete (void*) pData; } VoidPtr& operator[](USHORT nP) const { return *(pData+nP); }void Insert( const SvPtrarrPlain * pI, USHORT nP, USHORT nS = 0, USHORT nE = 65535 ){ if( 65535 == nE ) nE = pI->nA; if( nS < nE ) Insert( (const VoidPtr*)pI->pData+nS, (USHORT)nE-nS, nP );} VoidPtr GetObject(USHORT nP) const { return (*this)[nP]; } void Insert( const VoidPtr aE, USHORT nP ); void Insert( const VoidPtr *pE, USHORT nL, USHORT nP ); void Remove( USHORT nP, USHORT nL = 1 ); void Replace( const VoidPtr aE, USHORT nP ); void Replace( const VoidPtr *pE, USHORT nL, USHORT nP ); USHORT Count() const { return nA; } const VoidPtr* GetData() const { return (const VoidPtr*)pData; } void InitData( const VoidPtr* pE, USHORT nL ); void ForEach( FnForEach_SvPtrarrPlain fnForEach, void* pArgs = 0 ) { _ForEach( 0, nA, fnForEach, pArgs ); } void ForEach( USHORT nS, USHORT nE, FnForEach_SvPtrarrPlain fnForEach, void* pArgs = 0 ) { _ForEach( nS, nE, fnForEach, pArgs ); } void _ForEach( USHORT nStt, USHORT nE, FnForEach_SvPtrarrPlain fnCall, void* pArgs = 0 );USHORT GetPos( const VoidPtr aE ) const;}; > ># 4 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/svtools/svstdarr.hxx" 2 ># 37 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/svtools/svstdarr.hxx" >typedef BOOL (*FnForEach_SvULongs)( const ULONG &, void* );class SvULongs{protected: ULONG *pData; BYTE nFree, nIncr; USHORT nA; void _grow(USHORT nSize);public: SvULongs( BYTE= 1, BYTE= 1 ); ~SvULongs() { if( pData ) delete (void*) pData; } ULONG& operator[](USHORT nP) const { return *(pData+nP); }void Insert( const SvULongs * pI, USHORT nP, USHORT nS = 0, USHORT nE = 65535 ){ if( 65535 == nE ) nE = pI->nA; if( nS < nE ) Insert( (const ULONG*)pI->pData+nS, (USHORT)nE-nS, nP );} ULONG & GetObject(USHORT nP) const { return (*this)[nP]; } void Insert( const ULONG & aE, USHORT nP ); void Insert( const ULONG *pE, USHORT nL, USHORT nP ); void Remove( USHORT nP, USHORT nL = 1 ); void Replace( const ULONG & aE, USHORT nP ); void Replace( const ULONG *pE, USHORT nL, USHORT nP ); USHORT Count() const { return nA; } const ULONG* GetData() const { return (const ULONG*)pData; } void InitData( const ULONG* pE, USHORT nL ); void ForEach( FnForEach_SvULongs fnForEach, void* pArgs = 0 ) { _ForEach( 0, nA, fnForEach, pArgs ); } void ForEach( USHORT nS, USHORT nE, FnForEach_SvULongs fnForEach, void* pArgs = 0 ) { _ForEach( nS, nE, fnForEach, pArgs ); } void _ForEach( USHORT nStt, USHORT nE, FnForEach_SvULongs fnCall, void* pArgs = 0 );private:SvULongs( const SvULongs& );SvULongs& operator=( const SvULongs& );}; ># 72 "/usr/src/oo/oo_605_src/sfx2/source/doc/docfile.cxx" 2 > > > ># 7 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/vcl/exchange.hxx" 1 ># 7 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/sot/exchange.hxx" 1 ># 22 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/tools/string.hxx" 1 >class ResId; >class String; >class ByteString; >class String; > ># 39 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/tools/string.hxx" >typedef rtl_TextEncoding CharSet; > ># 67 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/tools/string.hxx" >void gsl_setSystemTextEncoding( rtl_TextEncoding eEncoding ); >rtl_TextEncoding gsl_getSystemTextEncoding(); ># 78 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/tools/string.hxx" >enum LineEnd { LINEEND_CR, LINEEND_LF, LINEEND_CRLF }; > >inline LineEnd GetSystemLineEnd() >{ > > > > return LINEEND_LF; > > > >} > > ># 115 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/tools/string.hxx" >enum StringCompare { COMPARE_LESS = -1, COMPARE_EQUAL = 0, COMPARE_GREATER = 1 }; > > > > > > > >typedef struct _ByteStringData >{ > sal_Int32 mnRefCount; > sal_Int32 mnLen; > sal_Char maStr[1]; >} ByteStringData; > > > > > > > >class ByteString >{ > friend class String; > > > > > >private: > ByteStringData* mpData; > >public: > ByteString(); > > > > ByteString( const ByteString& rStr ); > ByteString( const ByteString& rStr, USHORT nPos, USHORT nLen ); > ByteString( const rtl::OString& rStr ); > ByteString( const sal_Char* pCharStr ); > ByteString( const sal_Char* pCharStr, USHORT nLen ); > > ByteString( const int* pDummy ); > > ByteString( sal_Char c ); > ByteString( const String& rUniStr, > > > > rtl_TextEncoding eTextEncoding, > > sal_uInt32 nCvtFlags = (((sal_uInt32)0x0006) | ((sal_uInt32)0x0060) | ((sal_uInt32)0x0100) | ((sal_uInt32)0x0400) | ((sal_uInt32)0x4000)) ); > ByteString( const String& rUniStr, USHORT nPos, USHORT nLen, > > > > rtl_TextEncoding eTextEncoding, > > sal_uInt32 nCvtFlags = (((sal_uInt32)0x0006) | ((sal_uInt32)0x0060) | ((sal_uInt32)0x0100) | ((sal_uInt32)0x0400) | ((sal_uInt32)0x4000)) ); > ByteString( const sal_Unicode* pUniStr, > > > > rtl_TextEncoding eTextEncoding, > > sal_uInt32 nCvtFlags = (((sal_uInt32)0x0006) | ((sal_uInt32)0x0060) | ((sal_uInt32)0x0100) | ((sal_uInt32)0x0400) | ((sal_uInt32)0x4000)) ); > ByteString( const sal_Unicode* pUniStr, USHORT nLen, > > > > rtl_TextEncoding eTextEncoding, > > sal_uInt32 nCvtFlags = (((sal_uInt32)0x0006) | ((sal_uInt32)0x0060) | ((sal_uInt32)0x0100) | ((sal_uInt32)0x0400) | ((sal_uInt32)0x4000)) ); > ~ByteString(); > > > > > > > static ByteString CreateFromInt32( sal_Int32 n, sal_Int16 nRadix = 10 ); > static ByteString CreateFromInt64( sal_Int64 n, sal_Int16 nRadix = 10 ); > static ByteString CreateFromFloat( float f ); > static ByteString CreateFromDouble( double d ); > sal_Int32 ToInt32() const; > sal_Int64 ToInt64() const; > float ToFloat() const; > double ToDouble() const; > > ByteString& Assign( const ByteString& rStr ); > ByteString& Assign( const rtl::OString& rStr ); > ByteString& Assign( const sal_Char* pCharStr ); > ByteString& Assign( const sal_Char* pCharStr, USHORT nLen ); > ByteString& Assign( sal_Char c ); > > > > > ByteString& operator =( const ByteString& rStr ) > { return Assign( rStr ); } > ByteString& operator =( const rtl::OString& rStr ) > { return Assign( rStr ); } > ByteString& operator =( const sal_Char* pCharStr ) > { return Assign( pCharStr ); } > ByteString& operator =( const sal_Char c ) > { return Assign( c ); } > > ByteString& Append( const ByteString& rStr ); > ByteString& Append( const sal_Char* pCharStr ); > ByteString& Append( const sal_Char* pCharStr, USHORT nLen ); > ByteString& Append( char c ); > > > > > ByteString& operator +=( const ByteString& rStr ) > { return Append( rStr ); } > ByteString& operator +=( const sal_Char* pCharStr ) > { return Append( pCharStr ); } > ByteString& operator +=( sal_Char c ) > { return Append( c ); } > > void SetChar( USHORT nIndex, sal_Char c ); > sal_Char GetChar( USHORT nIndex ) const > { return mpData->maStr[nIndex]; } > > USHORT Len() const { return (USHORT)mpData->mnLen; } > > ByteString& Insert( const ByteString& rStr, USHORT nIndex = ((USHORT)0xFFFF) ); > ByteString& Insert( const ByteString& rStr, USHORT nPos, USHORT nLen, > USHORT nIndex = ((USHORT)0xFFFF) ); > ByteString& Insert( const sal_Char* pCharStr, USHORT nIndex = ((USHORT)0xFFFF) ); > ByteString& Insert( sal_Char c, USHORT nIndex = ((USHORT)0xFFFF) ); > ByteString& Replace( USHORT nIndex, USHORT nCount, const ByteString& rStr ); > ByteString& Erase( USHORT nIndex = 0, USHORT nCount = ((USHORT)0xFFFF) ); > ByteString Copy( USHORT nIndex = 0, USHORT nCount = ((USHORT)0xFFFF) ) const > { return ByteString( *this, nIndex, nCount ); } > > ByteString& Fill( USHORT nCount, sal_Char cFillChar = ' ' ); > ByteString& Expand( USHORT nCount, sal_Char cExpandChar = ' ' ); > > ByteString& EraseLeadingChars( sal_Char c = ' ' ); > ByteString& EraseTrailingChars( sal_Char c = ' ' ); > ByteString& EraseLeadingAndTrailingChars( sal_Char c = ' ' ); > ByteString& EraseAllChars( sal_Char c = ' ' ); > ByteString& Reverse(); > > ByteString& Convert( rtl_TextEncoding eSource, > > > > rtl_TextEncoding eTarget, > > BOOL bReplace = 1 ); > static sal_Char Convert( sal_Char c, rtl_TextEncoding eSource, > > > > rtl_TextEncoding eTarget, > > BOOL bReplace = 1 ); > static sal_Unicode ConvertToUnicode( sal_Char c, > > > > rtl_TextEncoding eTextEncoding ); > > static sal_Char ConvertFromUnicode( sal_Unicode c, > > > > rtl_TextEncoding eTextEncoding, > > BOOL bReplace = 1 ); > static sal_Unicode ConvertToUnicode( const sal_Char* pChar, sal_Size* pLen, > > > > rtl_TextEncoding eTextEncoding ); > > static sal_Size ConvertFromUnicode( sal_Unicode c, sal_Char* pBuf, sal_Size nBufLen, > > > > rtl_TextEncoding eTextEncoding, > > BOOL bReplace = 1 ); > ByteString& ConvertLineEnd( LineEnd eLineEnd ); > ByteString& ConvertLineEnd() > { return ConvertLineEnd( GetSystemLineEnd() ); } > > BOOL IsLowerAscii() const; > BOOL IsUpperAscii() const; > BOOL IsAlphaAscii() const; > BOOL IsNumericAscii() const; > BOOL IsAlphaNumericAscii() const; > > ByteString& ToLowerAscii(); > ByteString& ToUpperAscii(); > > StringCompare CompareTo( const ByteString& rStr, > USHORT nLen = ((USHORT)0xFFFF) ) const; > StringCompare CompareTo( const sal_Char* pCharStr, > USHORT nLen = ((USHORT)0xFFFF) ) const; > > > > > StringCompare CompareIgnoreCaseToAscii( const ByteString& rStr, > USHORT nLen = ((USHORT)0xFFFF) ) const; > StringCompare CompareIgnoreCaseToAscii( const sal_Char* pCharStr, > USHORT nLen = ((USHORT)0xFFFF) ) const; > BOOL Equals( const ByteString& rStr ) const; > BOOL Equals( const sal_Char* pCharStr ) const; > > > > BOOL EqualsIgnoreCaseAscii( const ByteString& rStr ) const; > BOOL EqualsIgnoreCaseAscii( const sal_Char* pCharStr ) const; > BOOL Equals( const ByteString& rStr, > USHORT nIndex, USHORT nLen ) const; > BOOL Equals( const sal_Char* pCharStr, > USHORT nIndex, USHORT nLen ) const; > BOOL EqualsIgnoreCaseAscii( const ByteString& rStr, > USHORT nIndex, USHORT nLen ) const; > BOOL EqualsIgnoreCaseAscii( const sal_Char* pCharStr, > USHORT nIndex, USHORT nLen ) const; > > USHORT Match( const ByteString& rStr ) const; > USHORT Match( const sal_Char* pCharStr ) const; > > USHORT Search( sal_Char c, USHORT nIndex = 0 ) const; > USHORT Search( const ByteString& rStr, USHORT nIndex = 0 ) const; > USHORT Search( const sal_Char* pCharStr, USHORT nIndex = 0 ) const; > > > > USHORT SearchBackward( sal_Char c, USHORT nIndex = ((USHORT)0xFFFF) ) const; > USHORT SearchChar( const sal_Char* pChars, USHORT nIndex = 0 ) const; > USHORT SearchCharBackward( const sal_Char* pChars, USHORT nIndex = ((USHORT)0xFFFF) ) const; > > USHORT SearchAndReplace( sal_Char c, sal_Char cRep, USHORT nIndex = 0 ); > USHORT SearchAndReplace( const ByteString& rStr, const ByteString& rRepStr, > USHORT nIndex = 0 ); > USHORT SearchAndReplace( const sal_Char* pCharStr, const ByteString& rRepStr, > USHORT nIndex = 0 ); > > > > > void SearchAndReplaceAll( sal_Char c, sal_Char cRep ); > void SearchAndReplaceAll( const ByteString& rStr, const ByteString& rRepStr ); > void SearchAndReplaceAll( const sal_Char* pCharStr, const ByteString& rRepStr ); > > USHORT GetTokenCount( sal_Char cTok = ';' ) const; > void SetToken( USHORT nToken, sal_Char cTok, const ByteString& rStr, > USHORT nIndex = 0 ); > ByteString GetToken( USHORT nToken, sal_Char cTok, USHORT& rIndex ) const; > ByteString GetToken( USHORT nToken, sal_Char cTok = ';' ) const; > > USHORT GetQuotedTokenCount( const ByteString& rQuotedPairs, sal_Char cTok = ';' ) const; > ByteString GetQuotedToken( USHORT nToken, const ByteString& rQuotedPairs, > sal_Char cTok, USHORT& rIndex ) const; > ByteString GetQuotedToken( USHORT nToken, const ByteString& rQuotedPairs, > sal_Char cTok = ';' ) const; > > const sal_Char* GetBuffer() const { return mpData->maStr; } > sal_Char* GetBufferAccess(); > void ReleaseBufferAccess( USHORT nLen = ((USHORT)0xFFFF) ); > sal_Char* AllocBuffer( USHORT nLen ); > > friend BOOL operator == ( const ByteString& rStr1, const ByteString& rStr2 ) > { return rStr1.Equals( rStr2 ); } > friend BOOL operator == ( const ByteString& rStr, const sal_Char* pCharStr ) > { return rStr.Equals( pCharStr ); } > friend BOOL operator == ( const sal_Char* pCharStr, const ByteString& rStr ) > { return rStr.Equals( pCharStr ); } > friend BOOL operator != ( const ByteString& rStr1, const ByteString& rStr2 ) > { return !(operator == ( rStr1, rStr2 )); } > friend BOOL operator != ( const ByteString& rStr, const sal_Char* pCharStr ) > { return !(operator == ( rStr, pCharStr )); } > friend BOOL operator != ( const sal_Char* pCharStr, const ByteString& rStr ) > { return !(operator == ( pCharStr, rStr )); } > friend BOOL operator < ( const ByteString& rStr1, const ByteString& rStr2 ) > { return (rStr1.CompareTo( rStr2 ) == COMPARE_LESS); } > friend BOOL operator < ( const ByteString& rStr, const sal_Char* pCharStr ) > { return (rStr.CompareTo( pCharStr ) == COMPARE_LESS); } > friend BOOL operator < ( const sal_Char* pCharStr, const ByteString& rStr ) > { return (rStr.CompareTo( pCharStr ) >= COMPARE_EQUAL); } > friend BOOL operator > ( const ByteString& rStr1, const ByteString& rStr2 ) > { return (rStr1.CompareTo( rStr2 ) == COMPARE_GREATER); } > friend BOOL operator > ( const ByteString& rStr, const sal_Char* pCharStr ) > { return (rStr.CompareTo( pCharStr ) == COMPARE_GREATER); } > friend BOOL operator > ( const sal_Char* pCharStr, const ByteString& rStr ) > { return (rStr.CompareTo( pCharStr ) <= COMPARE_EQUAL); } > friend BOOL operator <= ( const ByteString& rStr1, const ByteString& rStr2 ) > { return !(operator > ( rStr1, rStr2 )); } > friend BOOL operator <= ( const ByteString& rStr, const sal_Char* pCharStr ) > { return !(operator > ( rStr, pCharStr )); } > friend BOOL operator <= ( const sal_Char* pCharStr, const ByteString& rStr ) > { return !(operator > ( pCharStr, rStr )); } > friend BOOL operator >= ( const ByteString& rStr1, const ByteString& rStr2 ) > { return !(operator < ( rStr1, rStr2 )); } > friend BOOL operator >= ( const ByteString& rStr, const sal_Char* pCharStr ) > { return !(operator < ( rStr, pCharStr )); } > friend BOOL operator >= ( const sal_Char* pCharStr, const ByteString& rStr ) > { return !(operator < ( pCharStr, rStr )); } > > ># 505 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/tools/string.hxx" >}; > >inline ByteString ByteString::GetToken( USHORT nToken, sal_Char cTok ) const >{ > USHORT nTempPos = 0; > return GetToken( nToken, cTok, nTempPos ); >} > >inline ByteString ByteString::GetQuotedToken( USHORT nToken, const ByteString& rQuotedPairs, > sal_Char cTok ) const >{ > USHORT nTempPos = 0; > return GetQuotedToken( nToken, rQuotedPairs, cTok, nTempPos ); >} > > > > > > > >typedef struct _UniStringData >{ > sal_Int32 mnRefCount; > sal_Int32 mnLen; > sal_Unicode maStr[1]; >} UniStringData; > ># 543 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/tools/string.hxx" >class String >{ > friend class ByteString; > > void InitStringRes( const sal_Char* pUTF8Str, USHORT nLen ); > >private: > UniStringData* mpData; > >public: > String(); > String( const ResId& rResId ); > String( const String& rStr ); > String( const String& rStr, USHORT nPos, USHORT nLen ); > String( const rtl::OUString& rStr ); > String( const sal_Unicode* pCharStr ); > String( const sal_Unicode* pCharStr, USHORT nLen ); > > String( const int* pDummy ); > > > > > > > > String( sal_Unicode c ); > String( const ByteString& rByteStr, > > > > rtl_TextEncoding eTextEncoding, > > sal_uInt32 nCvtFlags = (((sal_uInt32)0x0003) | ((sal_uInt32)0x0030) | ((sal_uInt32)0x0300)) ); > String( const ByteString& rByteStr, USHORT nPos, USHORT nLen, > > > > rtl_TextEncoding eTextEncoding, > > sal_uInt32 nCvtFlags = (((sal_uInt32)0x0003) | ((sal_uInt32)0x0030) | ((sal_uInt32)0x0300)) ); > String( const sal_Char* pByteStr, > > > > rtl_TextEncoding eTextEncoding, > > sal_uInt32 nCvtFlags = (((sal_uInt32)0x0003) | ((sal_uInt32)0x0030) | ((sal_uInt32)0x0300)) ); > String( const sal_Char* pByteStr, USHORT nLen, > > > > rtl_TextEncoding eTextEncoding, > > sal_uInt32 nCvtFlags = (((sal_uInt32)0x0003) | ((sal_uInt32)0x0030) | ((sal_uInt32)0x0300)) ); > ~String(); > > static String CreateFromAscii( const sal_Char* pAsciiStr ); > static String CreateFromAscii( const sal_Char* pAsciiStr, USHORT nLen ); > > static String CreateFromInt32( sal_Int32 n, sal_Int16 nRadix = 10 ); > static String CreateFromInt64( sal_Int64 n, sal_Int16 nRadix = 10 ); > static String CreateFromFloat( float f ); > static String CreateFromDouble( double d ); > sal_Int32 ToInt32() const; > sal_Int64 ToInt64() const; > float ToFloat() const; > double ToDouble() const; > > String& Assign( const String& rStr ); > String& Assign( const rtl::OUString& rStr ); > String& Assign( const sal_Unicode* pCharStr ); > String& Assign( const sal_Unicode* pCharStr, USHORT nLen ); > String& Assign( sal_Unicode c ); > String& AssignAscii( const sal_Char* pAsciiStr ); > String& AssignAscii( const sal_Char* pAsciiStr, USHORT nLen ); > String& operator =( const String& rStr ) > { return Assign( rStr ); } > String& operator =( const rtl::OUString& rStr ) > { return Assign( rStr ); } > String& operator =( const sal_Unicode* pCharStr ) > { return Assign( pCharStr ); } > String& operator =( sal_Unicode c ) > { return Assign( c ); } > > String& Append( const String& rStr ); > String& Append( const sal_Unicode* pCharStr ); > String& Append( const sal_Unicode* pCharStr, USHORT nLen ); > String& Append( sal_Unicode c ); > String& AppendAscii( const sal_Char* pAsciiStr ); > String& AppendAscii( const sal_Char* pAsciiStr, USHORT nLen ); > String& operator +=( const String& rStr ) > { return Append( rStr ); } > String& operator +=( const sal_Unicode* pCharStr ) > { return Append( pCharStr ); } > String& operator +=( sal_Unicode c ) > { return Append( c ); } > > void SetChar( USHORT nIndex, sal_Unicode c ); > sal_Unicode GetChar( USHORT nIndex ) const > { return mpData->maStr[nIndex]; } > > USHORT Len() const { return (USHORT)mpData->mnLen; } > > String& Insert( const String& rStr, USHORT nIndex = ((USHORT)0xFFFF) ); > String& Insert( const String& rStr, USHORT nPos, USHORT nLen, > USHORT nIndex = ((USHORT)0xFFFF) ); > String& Insert( const sal_Unicode* pCharStr, USHORT nIndex = ((USHORT)0xFFFF) ); > String& Insert( sal_Unicode c, USHORT nIndex = ((USHORT)0xFFFF) ); > String& InsertAscii( const sal_Char* pAsciiStr, USHORT nIndex = ((USHORT)0xFFFF) ); > String& Replace( USHORT nIndex, USHORT nLen, const String& rStr ); > String& ReplaceAscii( USHORT nIndex, USHORT nLen, > const sal_Char* pAsciiStr, USHORT nStrLen = ((USHORT)0xFFFF) ); > String& Erase( USHORT nIndex = 0, USHORT nCount = ((USHORT)0xFFFF) ); > String Copy( USHORT nIndex = 0, USHORT nCount = ((USHORT)0xFFFF) ) const > { return String( *this, nIndex, nCount ); } > > String& Fill( USHORT nCount, sal_Unicode cFillChar = ' ' ); > String& Expand( USHORT nCount, sal_Unicode cExpandChar = ' ' ); > > String& EraseLeadingChars( sal_Unicode c = ' ' ); > String& EraseTrailingChars( sal_Unicode c = ' ' ); > String& EraseLeadingAndTrailingChars( sal_Unicode c = ' ' ); > String& EraseAllChars( sal_Unicode c = ' ' ); > String& Reverse(); > > String& ConvertLineEnd( LineEnd eLineEnd ); > String& ConvertLineEnd() > { return ConvertLineEnd( GetSystemLineEnd() ); } > > String& ToLowerAscii(); > String& ToUpperAscii(); > > StringCompare CompareTo( const String& rStr, > USHORT nLen = ((USHORT)0xFFFF) ) const; > StringCompare CompareTo( const sal_Unicode* pCharStr, > USHORT nLen = ((USHORT)0xFFFF) ) const; > StringCompare CompareToAscii( const sal_Char* pAsciiStr, > USHORT nLen = ((USHORT)0xFFFF) ) const; > StringCompare CompareIgnoreCaseToAscii( const String& rStr, > USHORT nLen = ((USHORT)0xFFFF) ) const; > StringCompare CompareIgnoreCaseToAscii( const sal_Unicode* pCharStr, > USHORT nLen = ((USHORT)0xFFFF) ) const; > StringCompare CompareIgnoreCaseToAscii( const sal_Char* pAsciiStr, > USHORT nLen = ((USHORT)0xFFFF) ) const; > BOOL Equals( const String& rStr ) const; > BOOL Equals( const sal_Unicode* pCharStr ) const; > BOOL EqualsAscii( const sal_Char* pAsciiStr ) const; > BOOL EqualsIgnoreCaseAscii( const String& rStr ) const; > BOOL EqualsIgnoreCaseAscii( const sal_Unicode* pCharStr ) const; > BOOL EqualsIgnoreCaseAscii( const sal_Char* pAsciiStr ) const; > BOOL Equals( const String& rStr, > USHORT nIndex, USHORT nLen ) const; > BOOL Equals( const sal_Unicode* pCharStr, > USHORT nIndex, USHORT nLen ) const; > BOOL EqualsAscii( const sal_Char* pAsciiStr, > USHORT nIndex, USHORT nLen ) const; > BOOL EqualsIgnoreCaseAscii( const String& rStr, > USHORT nIndex, USHORT nLen ) const; > BOOL EqualsIgnoreCaseAscii( const sal_Unicode* pCharStr, > USHORT nIndex, USHORT nLen ) const; > BOOL EqualsIgnoreCaseAscii( const sal_Char* pAsciiStr, > USHORT nIndex, USHORT nLen ) const; > > USHORT Match( const String& rStr ) const; > USHORT Match( const sal_Unicode* pCharStr ) const; > > USHORT Search( sal_Unicode c, USHORT nIndex = 0 ) const; > USHORT Search( const String& rStr, USHORT nIndex = 0 ) const; > USHORT Search( const sal_Unicode* pCharStr, USHORT nIndex = 0 ) const; > USHORT SearchAscii( const sal_Char* pAsciiStr, USHORT nIndex = 0 ) const; > USHORT SearchBackward( sal_Unicode c, USHORT nIndex = ((USHORT)0xFFFF) ) const; > USHORT SearchChar( const sal_Unicode* pChars, USHORT nIndex = 0 ) const; > USHORT SearchCharBackward( const sal_Unicode* pChars, USHORT nIndex = ((USHORT)0xFFFF) ) const; > > USHORT SearchAndReplace( sal_Unicode c, sal_Unicode cRep, > USHORT nIndex = 0 ); > USHORT SearchAndReplace( const String& rStr, const String& rRepStr, > USHORT nIndex = 0 ); > USHORT SearchAndReplace( const sal_Unicode* pCharStr, const String& rRepStr, > USHORT nIndex = 0 ); > USHORT SearchAndReplaceAscii( const sal_Char* pAsciiStr, const String& rRepStr, > USHORT nIndex = 0 ); > void SearchAndReplaceAll( sal_Unicode c, sal_Unicode cRep ); > void SearchAndReplaceAll( const String& rStr, const String& rRepStr ); > void SearchAndReplaceAll( const sal_Unicode* pCharStr, const String& rRepStr ); > void SearchAndReplaceAllAscii( const sal_Char* pAsciiStr, const String& rRepStr ); > > USHORT GetTokenCount( sal_Unicode cTok = ';' ) const; > void SetToken( USHORT nToken, sal_Unicode cTok, const String& rStr, > USHORT nIndex = 0 ); > String GetToken( USHORT nToken, sal_Unicode cTok, USHORT& rIndex ) const; > String GetToken( USHORT nToken, sal_Unicode cTok = ';' ) const; > > USHORT GetQuotedTokenCount( const String& rQuotedPairs, sal_Unicode cTok = ';' ) const; > String GetQuotedToken( USHORT nToken, const String& rQuotedPairs, > sal_Unicode cTok, USHORT& rIndex ) const; > String GetQuotedToken( USHORT nToken, const String& rQuotedPairs, > sal_Unicode cTok = ';' ) const; > > const sal_Unicode* GetBuffer() const { return mpData->maStr; } > sal_Unicode* GetBufferAccess(); > void ReleaseBufferAccess( USHORT nLen = ((USHORT)0xFFFF) ); > sal_Unicode* AllocBuffer( USHORT nLen ); > > friend BOOL operator == ( const String& rStr1, const String& rStr2 ) > { return rStr1.Equals( rStr2 ); } > friend BOOL operator != ( const String& rStr1, const String& rStr2 ) > { return !(operator == ( rStr1, rStr2 )); } > friend BOOL operator < ( const String& rStr1, const String& rStr2 ) > { return (rStr1.CompareTo( rStr2 ) == COMPARE_LESS); } > friend BOOL operator > ( const String& rStr1, const String& rStr2 ) > { return (rStr1.CompareTo( rStr2 ) == COMPARE_GREATER); } > friend BOOL operator <= ( const String& rStr1, const String& rStr2 ) > { return !(operator > ( rStr1, rStr2 )); } > friend BOOL operator >= ( const String& rStr1, const String& rStr2 ) > { return !(operator < ( rStr1, rStr2 )); } > > ># 802 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/tools/string.hxx" >}; > >inline String String::GetToken( USHORT nToken, sal_Unicode cTok ) const >{ > USHORT nTempPos = 0; > return GetToken( nToken, cTok, nTempPos ); >} > >inline String String::GetQuotedToken( USHORT nToken, const String& rQuotedPairs, > sal_Unicode cTok ) const >{ > USHORT nTempPos = 0; > return GetQuotedToken( nToken, rQuotedPairs, cTok, nTempPos ); >} > ># 7 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/sot/exchange.hxx" 2 > > >class SotDataObject; > >typedef ULONG SotFormatStringId; > ># 145 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/sot/exchange.hxx" >class SotExchange >{ >public: > static ULONG RegisterFormatName( const String& rName ); > static String GetFormatName( ULONG nFormat ); > > static SotFormatStringId GetFormatStringId( ULONG nFormat ) > { return nFormat; } > static SotFormatStringId GetFormatStringId( const String& rName ) > { return SotExchange::RegisterFormatName( rName ); } > static ULONG RegisterSotFormatName( SotFormatStringId nId ) > { return nId; } > > static ULONG GetMaxFormat( void ); > > static USHORT GetExchangeAction( > > const SotDataObject& rData, > > USHORT nDestination, > > USHORT nSourceOptions, > > USHORT nUserAction, > > ULONG& rFormat, > > USHORT& rDefaultAction ); > >}; > ># 7 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/vcl/exchange.hxx" 2 > > > > > > > > ># 9 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/tools/link.hxx" 1 >typedef long (*PSTUB)( void*, void* ); > ># 60 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/tools/link.hxx" >class Link >{ > void* pInst; > PSTUB pFunc; > >public: > Link(); > Link( void* pLinkHdl, PSTUB pMemFunc ); > > long Call( void* pCaller ) const; > > BOOL IsSet() const; > BOOL operator !() const; > > BOOL operator==( const Link& rLink ) const; > BOOL operator!=( const Link& rLink ) const > { return !(Link::operator==( rLink )); } >}; > >inline Link::Link() >{ > pFunc = 0; >} > >inline Link::Link( void* pLinkHdl, PSTUB pMemFunc ) >{ > pInst = pLinkHdl; > pFunc = pMemFunc; >} > >inline long Link::Call(void *pCaller) const >{ > return pFunc ? (*pFunc)(pInst, pCaller) : 0; >} > >inline BOOL Link::IsSet() const >{ > if ( pFunc ) > return 1; > else > return 0; >} > >inline BOOL Link::operator !() const >{ > if ( !pFunc ) > return 1; > else > return 0; >} > ># 15 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/vcl/exchange.hxx" 2 > > >class Exchange : public SotExchange >{ >private: > Link aRequestHdl; > > protected: > Exchange(); > ~Exchange(); >public: > virtual void Request(); > > void SetRequestHdl( const Link& rLink ) { aRequestHdl = rLink; } > const Link& GetRequestHdl() const { return aRequestHdl; } > > static void ImplRegisterSystemFormats( void ); >}; > ># 75 "/usr/src/oo/oo_605_src/sfx2/source/doc/docfile.cxx" 2 > > > ># 7 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/tools/cachestr.hxx" 1 ># 13 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/tools/stream.hxx" 1 ># 8 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/tools/errinf.hxx" 1 > > ># 25 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/tools/rtti.hxx" 1 >typedef void* (*TypeId)(); > > ># 10 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/tools/errinf.hxx" 2 > > > ># 53 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/tools/errcode.hxx" 1 >typedef ULONG ErrCode; > >inline ULONG ERRCODE_TOERRID( ULONG x ) >{ > return x & ~(31UL <<26); >} > >inline ULONG ERRCODE_TOERROR( ULONG x ) >{ > return ((x & 0x80000000UL) ? 0 : (x & 0x3fffffffUL)); >} > ># 13 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/tools/errinf.hxx" 2 > > > > > >class EDcr_Impl; >class ErrHdl_Impl; >class Window; > >class ErrorInfo >{ >private: > ULONG lUserId; > >public: > static void* CreateType(); static TypeId StaticType(); static BOOL IsOf( TypeId aSameOrSuperType ); virtual TypeId Type() const; virtual BOOL IsA( TypeId aSameOrSuperType ) const; > > ErrorInfo( ULONG lArgUserId ) : > lUserId( lArgUserId ){} > virtual ~ErrorInfo(){} > > ULONG GetErrorCode() const { return lUserId; } > > static ErrorInfo* GetErrorInfo(ULONG); >}; > >class DynamicErrorInfo : public ErrorInfo >{ > friend class EDcr_Impl; > >private: > EDcr_Impl* pImpl; > >public: > static void* CreateType(); static TypeId StaticType(); static BOOL IsOf( TypeId aSameOrSuperType ); virtual TypeId Type() const; virtual BOOL IsA( TypeId aSameOrSuperType ) const; > > DynamicErrorInfo(ULONG lUserId, USHORT nMask); > virtual ~DynamicErrorInfo(); > > operator ULONG() const; > USHORT GetDialogMask() const; >}; > >class StandardErrorInfo : public DynamicErrorInfo >{ >private: > ULONG lExtId; > >public: > static void* CreateType(); static TypeId StaticType(); static BOOL IsOf( TypeId aSameOrSuperType ); virtual TypeId Type() const; virtual BOOL IsA( TypeId aSameOrSuperType ) const; > > StandardErrorInfo( ULONG lUserId, ULONG lExtId, > USHORT nFlags = 0); > ULONG GetExtendedErrorCode() const { return lExtId; } > >}; > >class StringErrorInfo : public DynamicErrorInfo >{ >private: > String aString; > >public: > static void* CreateType(); static TypeId StaticType(); static BOOL IsOf( TypeId aSameOrSuperType ); virtual TypeId Type() const; virtual BOOL IsA( TypeId aSameOrSuperType ) const; > > StringErrorInfo( ULONG lUserId, > const String& aStringP, > USHORT nFlags = 0); > const String& GetErrorString() const { return aString; } >}; > >class TwoStringErrorInfo: public DynamicErrorInfo >{ >private: > String aArg1; > String aArg2; > >public: > static void* CreateType(); static TypeId StaticType(); static BOOL IsOf( TypeId aSameOrSuperType ); virtual TypeId Type() const; virtual BOOL IsA( TypeId aSameOrSuperType ) const; > > TwoStringErrorInfo(ULONG nUserID, const String & rTheArg1, > const String & rTheArg2, USHORT nFlags = 0): > DynamicErrorInfo(nUserID, nFlags), aArg1(rTheArg1), aArg2(rTheArg2) {} > virtual ~TwoStringErrorInfo() {} > > String GetArg1() const { return aArg1; } > String GetArg2() const { return aArg2; } >}; > >class MessageInfo : public DynamicErrorInfo >{ > public: > > static void* CreateType(); static TypeId StaticType(); static BOOL IsOf( TypeId aSameOrSuperType ); virtual TypeId Type() const; virtual BOOL IsA( TypeId aSameOrSuperType ) const; > MessageInfo(ULONG lUserId, USHORT nFlags = 0) : > DynamicErrorInfo(lUserId, nFlags){} > MessageInfo(ULONG lUserId, const String &rArg, > USHORT nFlags = 0 ) : > DynamicErrorInfo(lUserId, nFlags), aArg(rArg) {} > const String& GetMessageArg() const { return aArg; } > > private: > > String aArg; >}; > >class ErrorContext >{ > friend class ErrorHandler; > >private: > ErrorContext* pNext; > Window* pWin; > >public: > ErrorContext(Window *pWin=0); > ~ErrorContext(); > > virtual BOOL GetString( ULONG nErrId, String& rCtxStr ) = 0; > Window* GetParent() { return pWin; } > > static ErrorContext* GetContext(); >}; > >typedef USHORT WindowDisplayErrorFunc( > Window *, USHORT nMask, const String &rErr, const String &rAction); > >typedef void BasicDisplayErrorFunc( > const String &rErr, const String &rAction); > >class ErrorHandler >{ > friend class ErrHdl_Impl; > >private: > ErrHdl_Impl* pImpl; > >protected: > virtual BOOL CreateString( const ErrorInfo *, > String &, USHORT& nMask ) const = 0; > BOOL ForwCreateString( const ErrorInfo*, > String&, USHORT& nMask ) const; > >public: > ErrorHandler(); > virtual ~ErrorHandler(); > > static USHORT HandleError( ULONG lId, USHORT nMask = 65535 ); > > static void RegisterDisplay( BasicDisplayErrorFunc* ); > static void RegisterDisplay( WindowDisplayErrorFunc* ); >}; > >class SimpleErrorHandler : private ErrorHandler >{ >protected: > virtual BOOL CreateString( const ErrorInfo*, String &, > USHORT &nMask ) const; > >public: > SimpleErrorHandler(); > >}; > ># 13 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/tools/stream.hxx" 2 > > > ># 7 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/tools/ref.hxx" 1 ># 11 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/tools/list.hxx" 1 ># 9 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/tools/contnr.hxx" 1 >class CBlock; > > > > > > >class Container >{ >private: > CBlock* pFirstBlock; > CBlock* pCurBlock; > CBlock* pLastBlock; > USHORT nCurIndex; > USHORT nBlockSize; > USHORT nInitSize; > USHORT nReSize; > ULONG nCount; > >protected: > > > > > > > void** GetObjectPtr( ULONG nIndex ); > >public: > Container( USHORT nBlockSize, > USHORT nInitSize, > USHORT nReSize ); > Container( ULONG nSize ); > Container( const Container& rContainer ); > ~Container(); > > void Insert( void* p ); > void Insert( void* p, ULONG nIndex ); > void Insert( void* pNew, void* pOld ); > > void* Remove(); > void* Remove( ULONG nIndex ); > void* Remove( void* p ) > { return Remove( GetPos( p ) ); } > > void* Replace( void* p ); > void* Replace( void* p, ULONG nIndex ); > void* Replace( void* pNew, void* pOld ) > { return Replace( pNew, GetPos( pOld ) ); } > > void SetSize( ULONG nNewSize ); > ULONG GetSize() const { return nCount; } > > ULONG Count() const { return nCount; } > void Clear(); > > void* GetCurObject() const; > ULONG GetCurPos() const; > void* GetObject( ULONG nIndex ) const; > ULONG GetPos( const void* p ) const; > ULONG GetPos( const void* p, ULONG nStartIndex, > BOOL bForward = 1 ) const; > > void* Seek( ULONG nIndex ); > void* Seek( void* p ) { return Seek( GetPos( p ) ); } > > void* First(); > void* Last(); > void* Next(); > void* Prev(); > > Container& operator =( const Container& rContainer ); > > BOOL operator ==( const Container& rContainer ) const; > BOOL operator !=( const Container& rContainer ) const > { return !(Container::operator==( rContainer )); } >}; > ># 11 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/tools/list.hxx" 2 > > > > > >class List : private Container >{ >public: > Container::Insert; > Container::Remove; > Container::Replace; > Container::Clear; > Container::Count; > Container::GetCurObject; > Container::GetCurPos; > Container::GetObject; > Container::GetPos; > Container::Seek; > Container::First; > Container::Last; > Container::Next; > Container::Prev; > > List( USHORT _nInitSize = 16, USHORT _nReSize = 16 ) : > Container( 1024, _nInitSize, _nReSize ) {} > List( USHORT _nBlockSize, USHORT _nInitSize, USHORT _nReSize ) : > Container( _nBlockSize, _nInitSize, _nReSize ) {} > List( const List& rList ) : Container( rList ) {} > > List& operator =( const List& rList ) > { Container::operator =( rList ); return *this; } > > BOOL operator ==( const List& rList ) const > { return Container::operator ==( rList ); } > BOOL operator !=( const List& rList ) const > { return Container::operator !=( rList ); } >}; > ># 7 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/tools/ref.hxx" 2 ># 320 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/tools/ref.hxx" >class SvRefBase >{ > UINT32 nRefCount; > > > >protected: > > virtual ~SvRefBase(); > virtual void QueryDelete(); >public: > SvRefBase() { nRefCount = 0x80000000; } > SvRefBase( const SvRefBase & ) > { nRefCount = 0x80000000; } > SvRefBase & operator = ( const SvRefBase & ) { return *this; } > > void RestoreNoDelete() > { > if( nRefCount < 0x80000000 ) > nRefCount += 0x80000000; > } > UINT32 AddMulRef( UINT32 n ) { return nRefCount += n; } > UINT32 AddNextRef() { return ++nRefCount; } > UINT32 AddRef() > { > if( nRefCount >= 0x80000000 ) > nRefCount -= 0x80000000; > return ++nRefCount; > } > void ReleaseReference() > { > if( !--nRefCount ) > QueryDelete(); > } > UINT32 ReleaseRef() > { > UINT32 n = --nRefCount; > if( !n ) > QueryDelete(); > return n; > } > UINT32 GetRefCount() const { return nRefCount; } >}; > >class SvCompatRefBase : public SvRefBase >{ > void (*pFunc)( void* ); > void *pObj; >protected: > virtual ~SvCompatRefBase(); >public: > SvCompatRefBase( void (*pFuncP)( void*), void *pObjP ) : > pFunc( pFuncP ), pObj( pObjP ) {} >}; > > > > > > > >class SvRefBase; class SvRefBaseRef { protected: SvRefBase * pObj; public: inline SvRefBaseRef() { pObj = 0; } inline SvRefBaseRef( const SvRefBaseRef & rObj ); inline SvRefBaseRef( SvRefBase * pObjP ); inline void Clear(); inline ~SvRefBaseRef(); inline SvRefBaseRef & operator = ( const SvRefBaseRef & rObj ); inline SvRefBaseRef & operator = ( SvRefBase * pObj ); inline BOOL Is() const { return pObj != __null; } inline SvRefBase * operator & () const { return pObj; } inline SvRefBase * operator -> () const { return pObj; } inline SvRefBase & operator * () const { return *pObj; } inline operator SvRefBase * () const { return pObj; } }; inline SvRefBaseRef::SvRefBaseRef( const SvRefBaseRef & rObj ) { pObj = rObj.pObj; if( pObj ) { pObj->AddNextRef(); } } inline SvRefBaseRef::SvRefBaseRef( SvRefBase * pObjP ) { pObj = pObjP; if( pObj ) { pObj->AddRef(); } } inline void SvRefBaseRef::Clear() { if( pObj ) { SvRefBase* const pRefObj = pObj; pObj = 0; pRefObj->ReleaseReference(); } } inline SvRefBaseRef::~SvRefBaseRef() { if( pObj ) { pObj->ReleaseReference(); } } inline SvRefBaseRef & SvRefBaseRef:: operator = ( const SvRefBaseRef & rObj ) { if( rObj.pObj ) rObj.pObj->AddNextRef(); SvRefBase* const pRefObj = pObj; pObj = rObj.pObj; if( pRefObj ) { pRefObj->ReleaseReference(); } return *this; } inline SvRefBaseRef & SvRefBaseRef::operator = ( SvRefBase * pObjP ) { return *this = SvRefBaseRef( pObjP ); } > > >class SvRefBaseList : private List { public: List::Clear; List::Count; List::GetCurPos; SvRefBaseList( USHORT _nInitSize = 16, USHORT _nReSize = 16 ) : List( _nInitSize, _nReSize ) {} SvRefBaseList( USHORT _nBlockSize, USHORT _nInitSize, USHORT _nReSize ) : List( _nBlockSize, _nInitSize, _nReSize ) {} SvRefBaseList( const SvRefBaseList& rClassName ) : List( rClassName ) {} void Insert( SvRefBase* p, ULONG nIndex ) { List::Insert( (void*)p, nIndex ); } void Insert( SvRefBase* p ) { List::Insert( (void*)p ); } void Insert( SvRefBase* pNew, SvRefBase* pOld ) { List::Insert( (void*)pNew, (void*)pOld ); } SvRefBase* Remove() { return (SvRefBase*)List::Remove(); } SvRefBase* Remove( ULONG nIndex ) { return (SvRefBase*)List::Remove( nIndex ); } SvRefBase* Remove( SvRefBase* p ) { return (SvRefBase*)List::Remove( (void*)p ); } SvRefBase* Replace( SvRefBase* p ) { return (SvRefBase*)List::Replace( (void*)p ); } SvRefBase* Replace( SvRefBase* p, ULONG nIndex ) { return (SvRefBase*)List::Replace( (void*)p, nIndex ); } SvRefBase* Replace( SvRefBase* pNew, SvRefBase* pOld ) { return (SvRefBase*)List::Replace( (void*)pNew, (void*)pOld ); } SvRefBase* GetCurObject() const { return (SvRefBase*)List::GetCurObject(); } SvRefBase* GetObject( ULONG nIndex ) const { return (SvRefBase*)List::GetObject( nIndex ); } ULONG GetPos( const SvRefBase* p ) const { return List::GetPos( (const void*)p ); } ULONG GetPos( const SvRefBase* p, ULONG nStartIndex, BOOL bForward = 1 ) const { return List::GetPos( (const void*)p, nStartIndex, bForward ); } SvRefBase* Seek( ULONG nIndex ) { return (SvRefBase*)List::Seek( nIndex ); } SvRefBase* Seek( void* p ) { return (SvRefBase*)List::Seek( p ); } SvRefBase* First() { return (SvRefBase*)List::First(); } SvRefBase* Last() { return (SvRefBase*)List::Last(); } SvRefBase* Next() { return (SvRefBase*)List::Next(); } SvRefBase* Prev() { return (SvRefBase*)List::Prev(); } SvRefBaseList& operator =( const SvRefBaseList& rClassName ) { List::operator =( rClassName ); return *this; } BOOL operator ==( const SvRefBaseList& rList ) const { return List::operator ==( rList ); } BOOL operator !=( const SvRefBaseList& rList ) const { return List::operator !=( rList ); } };class SvRefBaseMemberList : public SvRefBaseList{public: SvRefBaseMemberList(){} SvRefBaseMemberList(USHORT nInitSize, USHORT nResize ) : SvRefBaseList( nInitSize, nResize ){} SvRefBaseMemberList( const SvRefBaseMemberList & rRef ); ~SvRefBaseMemberList(); SvRefBaseMemberList & operator = ( const SvRefBaseMemberList & rRef ); void Clear(); void Insert( SvRefBase* p ){ SvRefBaseList::Insert( p ); p->AddRef();} void Insert( SvRefBase* p, ULONG nIndex ){ SvRefBaseList::Insert( p, nIndex ); p->AddRef();} void Insert( SvRefBase* p, SvRefBase* pOld ){ SvRefBaseList::Insert( p, pOld ); p->AddRef();} void Append( SvRefBase* p ){ Insert( p, ((ULONG)0xFFFFFFFF) );} SvRefBase* Remove(); SvRefBase* Remove( ULONG nIndex ); SvRefBase* Remove( SvRefBase* p ); SvRefBase* Replace( SvRefBase* p ); SvRefBase* Replace( SvRefBase* p, ULONG nIndex ); SvRefBase* Replace( SvRefBase* pNew, SvRefBase* pOld ); void Append( const SvRefBaseMemberList & );}; > > >class SvWeakBase; >class SvWeakHdl : public SvRefBase >{ > friend class SvWeakBase; > SvWeakBase* _pObj; >public: > void ResetWeakBase( ) { _pObj = 0; } >private: > SvWeakHdl( SvWeakBase* pObj ) : _pObj( pObj ) {} >public: > SvWeakBase* GetObj() { return _pObj; } >}; > >class SvWeakHdl; class SvWeakHdlRef { protected: SvWeakHdl * pObj; public: inline SvWeakHdlRef() { pObj = 0; } inline SvWeakHdlRef( const SvWeakHdlRef & rObj ); inline SvWeakHdlRef( SvWeakHdl * pObjP ); inline void Clear(); inline ~SvWeakHdlRef(); inline SvWeakHdlRef & operator = ( const SvWeakHdlRef & rObj ); inline SvWeakHdlRef & operator = ( SvWeakHdl * pObj ); inline BOOL Is() const { return pObj != __null; } inline SvWeakHdl * operator & () const { return pObj; } inline SvWeakHdl * operator -> () const { return pObj; } inline SvWeakHdl & operator * () const { return *pObj; } inline operator SvWeakHdl * () const { return pObj; } }; inline SvWeakHdlRef::SvWeakHdlRef( const SvWeakHdlRef & rObj ) { pObj = rObj.pObj; if( pObj ) { pObj->AddNextRef(); } } inline SvWeakHdlRef::SvWeakHdlRef( SvWeakHdl * pObjP ) { pObj = pObjP; if( pObj ) { pObj->AddRef(); } } inline void SvWeakHdlRef::Clear() { if( pObj ) { SvWeakHdl* const pRefObj = pObj; pObj = 0; pRefObj->ReleaseReference(); } } inline SvWeakHdlRef::~SvWeakHdlRef() { if( pObj ) { pObj->ReleaseReference(); } } inline SvWeakHdlRef & SvWeakHdlRef:: operator = ( const SvWeakHdlRef & rObj ) { if( rObj.pObj ) rObj.pObj->AddNextRef(); SvWeakHdl* const pRefObj = pObj; pObj = rObj.pObj; if( pRefObj ) { pRefObj->ReleaseReference(); } return *this; } inline SvWeakHdlRef & SvWeakHdlRef::operator = ( SvWeakHdl * pObjP ) { return *this = SvWeakHdlRef( pObjP ); } > >class SvCompatWeakHdl : public SvRefBase >{ > friend class SvCompatWeakBase; > void* _pObj; > SvCompatWeakHdl( void* pObj ) : _pObj( pObj ) {} >public: > void ResetWeakBase( ) { _pObj = 0; } > void* GetObj() { return _pObj; } >}; > >class SvCompatWeakHdl; class SvCompatWeakHdlRef { protected: SvCompatWeakHdl * pObj; public: inline SvCompatWeakHdlRef() { pObj = 0; } inline SvCompatWeakHdlRef( const SvCompatWeakHdlRef & rObj ); inline SvCompatWeakHdlRef( SvCompatWeakHdl * pObjP ); inline void Clear(); inline ~SvCompatWeakHdlRef(); inline SvCompatWeakHdlRef & operator = ( const SvCompatWeakHdlRef & rObj ); inline SvCompatWeakHdlRef & operator = ( SvCompatWeakHdl * pObj ); inline BOOL Is() const { return pObj != __null; } inline SvCompatWeakHdl * operator & () const { return pObj; } inline SvCompatWeakHdl * operator -> () const { return pObj; } inline SvCompatWeakHdl & operator * () const { return *pObj; } inline operator SvCompatWeakHdl * () const { return pObj; } }; inline SvCompatWeakHdlRef::SvCompatWeakHdlRef( const SvCompatWeakHdlRef & rObj ) { pObj = rObj.pObj; if( pObj ) { pObj->AddNextRef(); } } inline SvCompatWeakHdlRef::SvCompatWeakHdlRef( SvCompatWeakHdl * pObjP ) { pObj = pObjP; if( pObj ) { pObj->AddRef(); } } inline void SvCompatWeakHdlRef::Clear() { if( pObj ) { SvCompatWeakHdl* const pRefObj = pObj; pObj = 0; pRefObj->ReleaseReference(); } } inline SvCompatWeakHdlRef::~SvCompatWeakHdlRef() { if( pObj ) { pObj->ReleaseReference(); } } inline SvCompatWeakHdlRef & SvCompatWeakHdlRef:: operator = ( const SvCompatWeakHdlRef & rObj ) { if( rObj.pObj ) rObj.pObj->AddNextRef(); SvCompatWeakHdl* const pRefObj = pObj; pObj = rObj.pObj; if( pRefObj ) { pRefObj->ReleaseReference(); } return *this; } inline SvCompatWeakHdlRef & SvCompatWeakHdlRef::operator = ( SvCompatWeakHdl * pObjP ) { return *this = SvCompatWeakHdlRef( pObjP ); } > >class SvWeakBase >{ > SvWeakHdlRef _xHdl; >public: > SvWeakHdl* GetHdl() { return _xHdl; } > > SvWeakBase() { _xHdl = new SvWeakHdl( this ); } > ~SvWeakBase() { _xHdl->ResetWeakBase(); } >}; > >class SvCompatWeakBase >{ > SvCompatWeakHdlRef _xHdl; >public: > SvCompatWeakHdl* GetHdl() { return _xHdl; } > > SvCompatWeakBase( void* pObj ) { _xHdl = new SvCompatWeakHdl( pObj ); } > ~SvCompatWeakBase() { _xHdl->ResetWeakBase(); } >}; > ># 460 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/tools/ref.hxx" >class SvWeakBaseWeak { SvWeakHdlRef _xHdl; public: inline SvWeakBaseWeak( ) {} inline SvWeakBaseWeak( SvWeakBase* pObj ) { if( pObj ) _xHdl = pObj->GetHdl(); } inline void Clear() { _xHdl.Clear(); } inline SvWeakBaseWeak& operator = ( SvWeakBase * pObj ) { _xHdl = pObj ? pObj->GetHdl() : 0; return *this; } inline BOOL Is() const { return _xHdl.Is() && _xHdl->GetObj(); } inline SvWeakBase * operator & () const { return (SvWeakBase*) ( _xHdl.Is() ? _xHdl->GetObj() : 0 ); } inline SvWeakBase * operator -> () const { return (SvWeakBase*) ( _xHdl.Is() ? _xHdl->GetObj() : 0 ); } inline SvWeakBase & operator * () const { return *(SvWeakBase*) _xHdl->GetObj(); } inline operator SvWeakBase * () const { return (SvWeakBase*) (_xHdl.Is() ? _xHdl->GetObj() : 0 ); } }; > ># 16 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/tools/stream.hxx" 2 > > > > > >class StreamData; > >inline rtl_TextEncoding GetStoreCharSet( rtl_TextEncoding eEncoding, > USHORT nVersion = (605*10) ) >{ > if ( eEncoding == ((rtl_TextEncoding)12) ) > return ((rtl_TextEncoding)1); > else > return eEncoding; >} > >typedef USHORT StreamMode; > ># 84 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/tools/stream.hxx" >class SvStream; >typedef SvStream& (*SvStrPtr)( SvStream& ); > >inline SvStream& operator<<( SvStream& rStr, SvStrPtr f ); > >enum LockType {}; > >struct SvLockBytesStat >{ > ULONG nSize; > > SvLockBytesStat(): nSize(0) {} >}; > >enum SvLockBytesStatFlag { SVSTATFLAG_DEFAULT }; > >class SvLockBytes: public virtual SvRefBase >{ > SvStream * m_pStream; > BOOL m_bOwner; > BOOL m_bSync; > >protected: > void close(); > >public: > static void* CreateType(); static TypeId StaticType(); static BOOL IsOf( TypeId aSameOrSuperType ); virtual TypeId Type() const; virtual BOOL IsA( TypeId aSameOrSuperType ) const; > > SvLockBytes(): m_pStream(0), m_bOwner(0), m_bSync(0) {} > > SvLockBytes(SvStream * pTheStream, BOOL bTheOwner = 0): > m_pStream(pTheStream), m_bOwner(bTheOwner), m_bSync(0) {} > > virtual ~SvLockBytes() { close(); } > > virtual const SvStream * GetStream() const { return m_pStream; } > > virtual void SetSynchronMode(BOOL bTheSync = 1) { m_bSync = bTheSync; } > > virtual BOOL IsSynchronMode() const { return m_bSync; } > > virtual ErrCode ReadAt(ULONG nPos, void * pBuffer, ULONG nCount, > ULONG * pRead) const; > > virtual ErrCode WriteAt(ULONG nPos, const void * pBuffer, ULONG nCount, > ULONG * pWritten); > > virtual ErrCode Flush() const; > > virtual ErrCode SetSize(ULONG nSize); > > virtual ErrCode LockRegion(ULONG, ULONG, LockType); > > virtual ErrCode UnlockRegion(ULONG, ULONG, LockType); > > virtual ErrCode Stat(SvLockBytesStat * pStat, SvLockBytesStatFlag) const; >}; > >class SvLockBytes; class SvLockBytesRef { protected: SvLockBytes * pObj; public: inline SvLockBytesRef() { pObj = 0; } inline SvLockBytesRef( const SvLockBytesRef & rObj ); inline SvLockBytesRef( SvLockBytes * pObjP ); inline void Clear(); inline ~SvLockBytesRef(); inline SvLockBytesRef & operator = ( const SvLockBytesRef & rObj ); inline SvLockBytesRef & operator = ( SvLockBytes * pObj ); inline BOOL Is() const { return pObj != __null; } inline SvLockBytes * operator & () const { return pObj; } inline SvLockBytes * operator -> () const { return pObj; } inline SvLockBytes & operator * () const { return *pObj; } inline operator SvLockBytes * () const { return pObj; } }; inline SvLockBytesRef::SvLockBytesRef( const SvLockBytesRef & rObj ) { pObj = rObj.pObj; if( pObj ) { pObj->AddNextRef(); } } inline SvLockBytesRef::SvLockBytesRef( SvLockBytes * pObjP ) { pObj = pObjP; if( pObj ) { pObj->AddRef(); } } inline void SvLockBytesRef::Clear() { if( pObj ) { SvLockBytes* const pRefObj = pObj; pObj = 0; pRefObj->ReleaseReference(); } } inline SvLockBytesRef::~SvLockBytesRef() { if( pObj ) { pObj->ReleaseReference(); } } inline SvLockBytesRef & SvLockBytesRef:: operator = ( const SvLockBytesRef & rObj ) { if( rObj.pObj ) rObj.pObj->AddNextRef(); SvLockBytes* const pRefObj = pObj; pObj = rObj.pObj; if( pRefObj ) { pRefObj->ReleaseReference(); } return *this; } inline SvLockBytesRef & SvLockBytesRef::operator = ( SvLockBytes * pObjP ) { return *this = SvLockBytesRef( pObjP ); }; > >class SvOpenLockBytes: public SvLockBytes >{ >public: > static void* CreateType(); static TypeId StaticType(); static BOOL IsOf( TypeId aSameOrSuperType ); virtual TypeId Type() const; virtual BOOL IsA( TypeId aSameOrSuperType ) const; > > SvOpenLockBytes(): SvLockBytes(0, 0) {} > > SvOpenLockBytes(SvStream * pStream, BOOL bOwner): > SvLockBytes(pStream, bOwner) {} > > virtual ErrCode FillAppend(const void * pBuffer, ULONG nCount, > ULONG * pWritten) = 0; > > virtual ULONG Tell() const = 0; > > virtual ULONG Seek(ULONG nPos) = 0; > > virtual void Terminate() = 0; >}; > >class SvOpenLockBytes; class SvOpenLockBytesRef { protected: SvOpenLockBytes * pObj; public: inline SvOpenLockBytesRef() { pObj = 0; } inline SvOpenLockBytesRef( const SvOpenLockBytesRef & rObj ); inline SvOpenLockBytesRef( SvOpenLockBytes * pObjP ); inline void Clear(); inline ~SvOpenLockBytesRef(); inline SvOpenLockBytesRef & operator = ( const SvOpenLockBytesRef & rObj ); inline SvOpenLockBytesRef & operator = ( SvOpenLockBytes * pObj ); inline BOOL Is() const { return pObj != __null; } inline SvOpenLockBytes * operator & () const { return pObj; } inline SvOpenLockBytes * operator -> () const { return pObj; } inline SvOpenLockBytes & operator * () const { return *pObj; } inline operator SvOpenLockBytes * () const { return pObj; } }; inline SvOpenLockBytesRef::SvOpenLockBytesRef( const SvOpenLockBytesRef & rObj ) { pObj = rObj.pObj; if( pObj ) { pObj->AddNextRef(); } } inline SvOpenLockBytesRef::SvOpenLockBytesRef( SvOpenLockBytes * pObjP ) { pObj = pObjP; if( pObj ) { pObj->AddRef(); } } inline void SvOpenLockBytesRef::Clear() { if( pObj ) { SvOpenLockBytes* const pRefObj = pObj; pObj = 0; pRefObj->ReleaseReference(); } } inline SvOpenLockBytesRef::~SvOpenLockBytesRef() { if( pObj ) { pObj->ReleaseReference(); } } inline SvOpenLockBytesRef & SvOpenLockBytesRef:: operator = ( const SvOpenLockBytesRef & rObj ) { if( rObj.pObj ) rObj.pObj->AddNextRef(); SvOpenLockBytes* const pRefObj = pObj; pObj = rObj.pObj; if( pRefObj ) { pRefObj->ReleaseReference(); } return *this; } inline SvOpenLockBytesRef & SvOpenLockBytesRef::operator = ( SvOpenLockBytes * pObjP ) { return *this = SvOpenLockBytesRef( pObjP ); }; > >class SvAsyncLockBytes: public SvOpenLockBytes >{ > ULONG m_nSize; > BOOL m_bTerminated; > >public: > static void* CreateType(); static TypeId StaticType(); static BOOL IsOf( TypeId aSameOrSuperType ); virtual TypeId Type() const; virtual BOOL IsA( TypeId aSameOrSuperType ) const; > > SvAsyncLockBytes(SvStream * pStream, BOOL bOwner): > SvOpenLockBytes(pStream, bOwner), m_nSize(0), m_bTerminated(0) {} > > virtual ErrCode ReadAt(ULONG nPos, void * pBuffer, ULONG nCount, > ULONG * pRead) const; > > virtual ErrCode WriteAt(ULONG nPos, const void * pBuffer, ULONG nCount, > ULONG * pWritten); > > virtual ErrCode FillAppend(const void * pBuffer, ULONG nCount, > ULONG * pWritten); > > virtual ULONG Tell() const { return m_nSize; } > > virtual ULONG Seek(ULONG nPos); > > virtual void Terminate() { m_bTerminated = 1; } >}; > >class SvAsyncLockBytes; class SvAsyncLockBytesRef { protected: SvAsyncLockBytes * pObj; public: inline SvAsyncLockBytesRef() { pObj = 0; } inline SvAsyncLockBytesRef( const SvAsyncLockBytesRef & rObj ); inline SvAsyncLockBytesRef( SvAsyncLockBytes * pObjP ); inline void Clear(); inline ~SvAsyncLockBytesRef(); inline SvAsyncLockBytesRef & operator = ( const SvAsyncLockBytesRef & rObj ); inline SvAsyncLockBytesRef & operator = ( SvAsyncLockBytes * pObj ); inline BOOL Is() const { return pObj != __null; } inline SvAsyncLockBytes * operator & () const { return pObj; } inline SvAsyncLockBytes * operator -> () const { return pObj; } inline SvAsyncLockBytes & operator * () const { return *pObj; } inline operator SvAsyncLockBytes * () const { return pObj; } }; inline SvAsyncLockBytesRef::SvAsyncLockBytesRef( const SvAsyncLockBytesRef & rObj ) { pObj = rObj.pObj; if( pObj ) { pObj->AddNextRef(); } } inline SvAsyncLockBytesRef::SvAsyncLockBytesRef( SvAsyncLockBytes * pObjP ) { pObj = pObjP; if( pObj ) { pObj->AddRef(); } } inline void SvAsyncLockBytesRef::Clear() { if( pObj ) { SvAsyncLockBytes* const pRefObj = pObj; pObj = 0; pRefObj->ReleaseReference(); } } inline SvAsyncLockBytesRef::~SvAsyncLockBytesRef() { if( pObj ) { pObj->ReleaseReference(); } } inline SvAsyncLockBytesRef & SvAsyncLockBytesRef:: operator = ( const SvAsyncLockBytesRef & rObj ) { if( rObj.pObj ) rObj.pObj->AddNextRef(); SvAsyncLockBytes* const pRefObj = pObj; pObj = rObj.pObj; if( pRefObj ) { pRefObj->ReleaseReference(); } return *this; } inline SvAsyncLockBytesRef & SvAsyncLockBytesRef::operator = ( SvAsyncLockBytes * pObjP ) { return *this = SvAsyncLockBytesRef( pObjP ); }; > >class SvStream >{ >private: > > void* pImp; > SvLockBytesRef xLockBytes; > ULONG nActPos; > > BYTE* pRWBuf; > BYTE* pBufPos; > USHORT nBufSize; > USHORT nBufActualLen; > > USHORT nBufActualPos; > USHORT nBufFree; > int eIOMode:2; > > int bIsDirty:1; > int bIsConsistent:1; > > int bSwap:1; > int bIsEof:1; > ULONG nError; > UINT16 nNumberFormatInt; > UINT16 nCompressMode; > LineEnd eLineDelimiter; > CharSet eStreamCharSet; > > ByteString aKey; > unsigned char nCryptMask; > > char cFiller; > BYTE nRadix; > BYTE nPrecision; > BYTE nWidth; > BYTE nPrintfParams; > BYTE nJustification; > ByteString aFormatString; > > long nVersion; > > void CreateFormatString(); > void ImpInit(); > SvStream ( const SvStream& rStream ); > SvStream& operator=( const SvStream& rStream ); > >protected: > ULONG nBufFilePos; > USHORT eStreamMode; > BOOL bIsWritable; > > virtual ULONG GetData( void* pData, ULONG nSize ); > virtual ULONG PutData( const void* pData, ULONG nSize ); > virtual ULONG SeekPos( ULONG nPos ); > virtual void FlushData(); > virtual void SetSize( ULONG nSize ); > > void ClearError(); > void ClearBuffer(); > > ULONG CryptAndWriteBuffer( const void* pStart, ULONG nLen ); > BOOL EncryptBuffer( void* pStart, ULONG nLen ); > > void SyncSvStream( ULONG nNewStreamPos ); > void SyncSysStream(); > >public: > SvStream(); > SvStream( SvLockBytes *pLockBytes); > virtual ~SvStream(); > > ErrCode SetLockBytes( SvLockBytesRef& rBytes ); > SvLockBytes* GetLockBytes() const { return xLockBytes; } > > ULONG GetError() const { return ERRCODE_TOERROR(nError); } > ULONG GetErrorCode() const { return nError; } > > void SetError( ULONG nErrorCode ); > virtual void ResetError(); > > void SetNumberFormatInt( UINT16 nNewFormat ); > UINT16 GetNumberFormatInt() const { return nNumberFormatInt; } > void SetCompressMode( UINT16 nNewMode ) > { nCompressMode = nNewMode; } > UINT16 GetCompressMode() const { return nCompressMode; } > > void SetKey( const ByteString& rKey ); > const ByteString& GetKey() const { return aKey; } > > void SetStreamCharSet( CharSet eCharSet ) > { eStreamCharSet = eCharSet; } > CharSet GetStreamCharSet() const { return eStreamCharSet; } > > void SetLineDelimiter( LineEnd eLineEnd ) > { eLineDelimiter = eLineEnd; } > LineEnd GetLineDelimiter() const { return eLineDelimiter; } > > SvStream& operator>>( USHORT& rUShort ); > SvStream& operator>>( ULONG& rULong ); > SvStream& operator>>( long& rLong ); > SvStream& operator>>( short& rShort ); > SvStream& operator>>( int& rInt ); > SvStream& operator>>( unsigned int& rUInt ); > SvStream& operator>>( signed char& rChar ); > SvStream& operator>>( char& rChar ); > SvStream& operator>>( unsigned char& rChar ); > SvStream& operator>>( float& rFloat ); > SvStream& operator>>( double& rDouble ); > > > > > > > SvStream& operator>>( SvStream& rStream ); > > SvStream& operator<<( USHORT nUShort ); > SvStream& operator<<( ULONG nULong ); > SvStream& operator<<( long nLong ); > SvStream& operator<<( short nShort ); > SvStream& operator<<( int nInt ); > SvStream& operator<<( unsigned int nUInt ); > SvStream& operator<<( signed char nChar ); > SvStream& operator<<( char nChar ); > SvStream& operator<<( unsigned char nChar ); > SvStream& operator<<( float nFloat ); > SvStream& operator<<( const double& rDouble ); > SvStream& operator<<( const char* pBuf ); > SvStream& operator<<( const unsigned char* pBuf ); > > > > > > > SvStream& operator<<( SvStream& rStream ); > > SvStream& ReadByteString( String& rStr, rtl_TextEncoding eSrcCharSet ); > SvStream& ReadByteString( String& rStr ) { return ReadByteString( rStr, GetStreamCharSet() ); }; > SvStream& ReadByteString( ByteString& rStr ); > SvStream& WriteByteString( const String& rStr, rtl_TextEncoding eDestCharSet ); > SvStream& WriteByteString( const String& rStr ) { return WriteByteString( rStr, GetStreamCharSet() ); }; > SvStream& WriteByteString( const ByteString& rStr ); > > void SetRadix( BYTE nRad ) > { nRadix = nRad; CreateFormatString(); } > BYTE GetRadix() const { return nRadix; } > void SetPrecision( BYTE nPrec ) > { nPrecision = nPrec; CreateFormatString(); } > BYTE GetPrecision() const { return nPrecision; } > void SetWidth( BYTE nWid) > { nWidth = nWid; CreateFormatString(); } > BYTE GetWidth() const { return nWidth; } > void SetFiller( char cFil ) > { cFiller = cFil; CreateFormatString(); } > char GetFiller() const { return cFiller; } > void SetJustification( BYTE nJus ) > { nJustification = nJus; CreateFormatString(); } > BYTE GetJustification() const { return nJustification; } > > SvStream& ReadNumber( short& rShort ); > SvStream& ReadNumber( USHORT& rUShort ); > SvStream& ReadNumber( long& rLong ); > SvStream& ReadNumber( ULONG& rULong ); > SvStream& ReadNumber( int& rInt ); > SvStream& ReadNumber( unsigned int& rUInt ); > SvStream& ReadNumber( float& rFloat ); > SvStream& ReadNumber( double& rDouble ); > > SvStream& WriteNumber( short nShort ); > SvStream& WriteNumber( USHORT nUShort ); > SvStream& WriteNumber( long nLong ); > SvStream& WriteNumber( ULONG nULong ); > SvStream& WriteNumber( int nInt ); > SvStream& WriteNumber( unsigned int nUInt ); > SvStream& WriteNumber( float nFloat ); > SvStream& WriteNumber( const double& rDouble ); > > ULONG Read( void* pData, ULONG nSize ); > ULONG Write( const void* pData, ULONG nSize ); > ULONG Seek( ULONG nPos ); > ULONG SeekRel( long nPos ); > ULONG Tell() const { return nBufFilePos+nBufActualPos; } > void Flush(); > BOOL IsEof() const { return bIsEof; } > > BOOL SetStreamSize( ULONG nSize ); > > BOOL ReadLine( ByteString& rStr ); > BOOL WriteLine( const ByteString& rStr ); > BOOL WriteLines( const ByteString& rStr ); > > BOOL ReadByteStringLine( String& rStr, rtl_TextEncoding eSrcCharSet ); > BOOL ReadByteStringLine( String& rStr ) { return ReadByteStringLine( rStr, GetStreamCharSet()); }; > BOOL WriteByteStringLine( const String& rStr, rtl_TextEncoding eDestCharSet ); > BOOL WriteByteStringLine( const String& rStr ) { return WriteByteStringLine( rStr, GetStreamCharSet()); }; > BOOL WriteByteStringLines( const String& rStr, rtl_TextEncoding eDestCharSet ); > BOOL WriteByteStringLines( const String& rStr ) { return WriteByteStringLine( rStr, GetStreamCharSet()); }; > > void SetBufferSize( USHORT nBufSize ); > USHORT GetBufferSize() const { return nBufSize; } > > void RefreshBuffer(); > SvStream& PutBack( char aCh ); > void EatWhite(); > > BOOL IsWritable() const { return bIsWritable; } > StreamMode GetStreamMode() const { return eStreamMode; } > virtual USHORT IsA() const; > > long GetVersion() { return nVersion; } > void SetVersion( long n ) { nVersion = n; } > > > virtual void AddMark(ULONG nPos); > > > virtual void RemoveMark(ULONG nPos); > > friend SvStream& operator<<( SvStream& rStr, SvStrPtr f ); >}; > >inline SvStream& operator<<( SvStream& rStr, SvStrPtr f ) >{ > (*f)(rStr); > return rStr; >} > >inline SvStream& SvStream::ReadNumber( short& rShort ) >{ > long nTmp; > ReadNumber( nTmp ); > rShort = (short)nTmp; > return *this; >} > >inline SvStream& SvStream::ReadNumber( USHORT& rUShort ) >{ > ULONG nTmp; > ReadNumber( nTmp ); > rUShort = (USHORT)nTmp; > return *this; >} > >inline SvStream& SvStream::ReadNumber( int& rInt ) >{ > long nTmp; > ReadNumber( nTmp ); > rInt = (int)nTmp; > return *this; >} > >inline SvStream& SvStream::ReadNumber( unsigned int& rUInt ) >{ > ULONG nTmp; > ReadNumber( nTmp ); > rUInt = (unsigned int)nTmp; > return *this; >} > >inline SvStream& SvStream::ReadNumber( float& rFloat ) >{ > double nTmp; > ReadNumber( nTmp ); > rFloat = (float)nTmp; > return *this; >} > >inline SvStream& SvStream::WriteNumber( short nShort ) >{ > WriteNumber( (long)nShort ); > return *this; >} > >inline SvStream& SvStream::WriteNumber( USHORT nUShort ) >{ > WriteNumber( (ULONG)nUShort ); > return *this; >} > >inline SvStream& SvStream::WriteNumber( int nInt ) >{ > WriteNumber( (long)nInt ); > return *this; >} > >inline SvStream& SvStream::WriteNumber( unsigned int nUInt ) >{ > WriteNumber( (ULONG)nUInt ); > return *this; >} > >inline SvStream& SvStream::WriteNumber( float nFloat ) >{ > double nTemp = nFloat; > WriteNumber( nTemp ); > return *this; >} > >SvStream& endl( SvStream& rStr ); > >class SvFileStream : public SvStream >{ > friend class ImpEaMgr; > friend class CORmFileStream; > >private: > StreamData* pInstanceData; > String aFilename; > USHORT nLockCounter; > BOOL bIsOpen; > ULONG GetFileHandle() const; > >protected: > > virtual ULONG GetData( void* pData, ULONG nSize ); > virtual ULONG PutData( const void* pData, ULONG nSize ); > virtual ULONG SeekPos( ULONG nPos ); > virtual void SetSize( ULONG nSize ); > virtual void FlushData(); > >public: > > SvFileStream( const String& rFileName, StreamMode eOpenMode ); > SvFileStream(); > ~SvFileStream(); > > virtual void ResetError(); > > BOOL LockRange( ULONG nByteOffset, ULONG nBytes ); > BOOL UnlockRange( ULONG nByteOffset, ULONG nBytes ); > BOOL LockFile(); > BOOL UnlockFile(); > > void Open( const String& rFileName, StreamMode eOpenMode ); > void Close(); > void ReOpen(); > BOOL IsOpen() const { return bIsOpen; } > BOOL IsLocked() const { return ( nLockCounter!=0 ); } > virtual USHORT IsA() const; > > const String& GetFileName() const { return aFilename; } >}; > >class SvMemoryStream : public SvStream >{ >protected: > ULONG nSize; > ULONG nResize; > ULONG nPos; > ULONG nEndOfData; > BYTE* pBuf; > BOOL bOwnsData; > > virtual ULONG GetData( void* pData, ULONG nSize ); > virtual ULONG PutData( const void* pData, ULONG nSize ); > virtual ULONG SeekPos( ULONG nPos ); > virtual void SetSize( ULONG nSize ); > virtual void FlushData(); > > virtual BOOL AllocateMemory( ULONG nSize ); > > virtual BOOL ReAllocateMemory( long nDiff ); > > virtual void FreeMemory(); > > SvMemoryStream(void*) { }; > >public: > SvMemoryStream( void* pBuf, ULONG nSize, StreamMode eMode); > SvMemoryStream( ULONG nInitSize=512, ULONG nResize=64 ); > ~SvMemoryStream(); > > virtual void ResetError(); > > ULONG GetSize() const { return nSize; } > const void* GetData() { Flush(); return pBuf; } > operator const void*() { Flush(); return pBuf; } > virtual USHORT IsA() const; > > void* SwitchBuffer( ULONG nInitSize=512, ULONG nResize=64 ); > void* SetBuffer( void* pBuf, ULONG nSize, > BOOL bOwnsData=1, ULONG nEOF=0 ); > > void ObjectOwnsMemory( BOOL bOwn ) { bOwnsData = bOwn; } > BOOL IsObjectMemoryOwner() { return bOwnsData; } > void SetResizeOffset( ULONG nNewResize ) { nResize = nNewResize; } > ULONG GetResizeOffset() const { return nResize; } >}; > >class SvSharedMemoryStream : public SvMemoryStream >{ > void* aHandle; >protected: > > virtual BOOL AllocateMemory( ULONG nSize ); > virtual BOOL ReAllocateMemory( long nDiff ); > virtual void FreeMemory(); > > virtual ULONG GetData( void* pData, ULONG nSize ); > virtual ULONG PutData( const void* pData, ULONG nSize ); > >public: > SvSharedMemoryStream( void* pBuf, ULONG nSize, StreamMode eMode ); > SvSharedMemoryStream( ULONG nInitSize=4000, ULONG nResize=4000 ); > ~SvSharedMemoryStream(); > > const void* GetData(); > operator const void*(); > virtual USHORT IsA() const; > > void* SwitchBuffer( ULONG nInitSize=4000, ULONG nResize=4000 ); > > void* SetBuffer( void* pBuf, ULONG nSize, > BOOL bOwnsMem = 1, ULONG nEOF = 0 ); > > void* SetHandle( void* aHandle, ULONG nSize, > BOOL bOwnsHandle = 1, ULONG nEOF = 0); > > void* GetHandle() const { return aHandle; } >}; > >class SvDataCopyStream >{ >public: > > static void* CreateType(); static TypeId StaticType(); static BOOL IsOf( TypeId aSameOrSuperType ); virtual TypeId Type() const; virtual BOOL IsA( TypeId aSameOrSuperType ) const; > virtual ~SvDataCopyStream(){}; > virtual void Load( SvStream & ) = 0; > virtual void Save( SvStream & ) = 0; > virtual void Assign( const SvDataCopyStream & ); >}; > ># 7 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/tools/cachestr.hxx" 2 ># 15 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/tools/cachestr.hxx" >class TempFile; >class SvCacheStream : public SvStream >{ >private: > String aFileName; > ULONG nMaxSize; > int bPersistent; > > SvStream* pSwapStream; > SvStream* pCurrentStream; > TempFile* pTempFile; > > Link aFilenameLinkHdl; > > virtual ULONG GetData( void* pData, ULONG nSize ); > virtual ULONG PutData( const void* pData, ULONG nSize ); > virtual ULONG SeekPos( ULONG nPos ); > virtual void FlushData(); > virtual void SetSize( ULONG nSize ); > >public: > SvCacheStream( ULONG nMaxMemSize = 0 ); > SvCacheStream( const String &rFileName, > ULONG nExpectedSize = 0, > ULONG nMaxMemSize = 0 ); > ~SvCacheStream(); > > void SetFilenameHdl( const Link& rLink); > const Link& GetFilenameHdl() const; > void SetFilename( const String& rFN ) > { aFileName = rFN; } > const String& GetFilename() const { return aFileName; } > > void SwapOut(); > const void* GetBuffer(); > ULONG GetSize(); > > BOOL IsPersistent() { return bPersistent; } > void SetPersistence( BOOL b = 1 ) { bPersistent = b; } > void SetSwapStream( SvStream *p ) > { pSwapStream = p; } >}; > ># 78 "/usr/src/oo/oo_605_src/sfx2/source/doc/docfile.cxx" 2 > > > ># 13 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/svtools/undo.hxx" 1 >struct SfxUndoArray; >class SfxUndoActions; > >class SfxRepeatTarget >{ >public: > static void* CreateType(); static TypeId StaticType(); static BOOL IsOf( TypeId aSameOrSuperType ); virtual TypeId Type() const; virtual BOOL IsA( TypeId aSameOrSuperType ) const; > virtual ~SfxRepeatTarget() = 0; >}; > >class SfxUndoAction >{ > BOOL bLinked; >public: > static void* CreateType(); static TypeId StaticType(); static BOOL IsOf( TypeId aSameOrSuperType ); virtual TypeId Type() const; virtual BOOL IsA( TypeId aSameOrSuperType ) const; > SfxUndoAction(); > virtual ~SfxUndoAction(); > > virtual BOOL IsLinked(); > virtual void SetLinked( BOOL bIsLinked = 1 ); > virtual void Undo(); > virtual void Redo(); > virtual void Repeat(SfxRepeatTarget&); > virtual BOOL CanRepeat(SfxRepeatTarget&) const; > > virtual BOOL Merge( SfxUndoAction *pNextAction ); > > > > > > virtual String GetComment() const; > virtual String GetRepeatComment(SfxRepeatTarget&) const; > > virtual USHORT GetId() const; > >private: > SfxUndoAction& operator=( const SfxUndoAction& ); >}; > >class SfxUndoManager >{ > friend class SfxLinkUndoAction; > > SfxUndoArray *pUndoArray; > SfxUndoArray *pActUndoArray; > SfxUndoArray *pFatherUndoArray; > >public: > SfxUndoManager( USHORT nMaxUndoActionCount = 20 ); > virtual ~SfxUndoManager(); > > virtual void SetMaxUndoActionCount( USHORT nMaxUndoActionCount ); > virtual USHORT GetMaxUndoActionCount() const; > virtual void Clear(); > > virtual void AddUndoAction( SfxUndoAction *pAction, BOOL bTryMerg=0 ); > > virtual USHORT GetUndoActionCount() const; > virtual USHORT GetUndoActionId(USHORT nNo=0) const; > > > > virtual String GetUndoActionComment( USHORT nNo=0 ) const; > > > virtual BOOL Undo( USHORT nCount=1 ); > virtual void Undo( SfxUndoAction &rAction ); > > virtual USHORT GetRedoActionCount() const; > virtual USHORT GetRedoActionId(USHORT nNo=0) const; > > > > virtual String GetRedoActionComment( USHORT nNo=0 ) const; > > > virtual BOOL Redo( USHORT nCount=1 ); > virtual void Redo( SfxUndoAction &rAction ); > > virtual > > void ClearRedo(); > > virtual USHORT GetRepeatActionCount() const; > > > > virtual String GetRepeatActionComment( SfxRepeatTarget &rTarget, USHORT nNo = 0) const; > > virtual BOOL Repeat( SfxRepeatTarget &rTarget, USHORT nFrom=0, USHORT nCount=1 ); > virtual void Repeat( SfxRepeatTarget &rTarget, SfxUndoAction &rAction ); > virtual BOOL CanRepeat( SfxRepeatTarget &rTarget, USHORT nNo = 0 ) const; > virtual BOOL CanRepeat( SfxRepeatTarget &rTarget, SfxUndoAction &rAction ) const; > > > > > virtual void EnterListAction(const String &rComment, const String& rRepeatComment, USHORT nId=0); > > virtual void LeaveListAction(); >}; > >class SfxLinkUndoAction : public SfxUndoAction > >{ >public: > static void* CreateType(); static TypeId StaticType(); static BOOL IsOf( TypeId aSameOrSuperType ); virtual TypeId Type() const; virtual BOOL IsA( TypeId aSameOrSuperType ) const; > SfxLinkUndoAction(SfxUndoManager *pManager); > ~SfxLinkUndoAction(); > > virtual void Undo(); > virtual void Redo(); > virtual BOOL CanRepeat(SfxRepeatTarget& r) const; > > virtual void Repeat(SfxRepeatTarget&r); > > > > > > virtual String GetComment() const; > virtual String GetRepeatComment(SfxRepeatTarget&r) const; > > virtual USHORT GetId() const; > >protected: > SfxUndoManager *pUndoManager; > SfxUndoAction *pAction; > >}; > ># 81 "/usr/src/oo/oo_605_src/sfx2/source/doc/docfile.cxx" 2 > > > ># 7 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/svtools/stritem.hxx" 1 ># 7 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/svtools/custritm.hxx" 1 ># 577 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/tools/debug.hxx" 1 >struct DbgData; >struct DbgGUIData; >struct DbgDataType; > >typedef void (*DbgPrintLine)( const sal_Char* pLine ); >typedef const sal_Char* (*DbgUsr)(const void* pThis ); > ># 7 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/svtools/custritm.hxx" 2 > > > > ># 21 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/svtools/poolitem.hxx" 1 ># 32 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/svtools/poolitem.hxx" ># 9 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/svtools/hint.hxx" 1 >class SfxHint >{ >public: > static void* CreateType(); static TypeId StaticType(); static BOOL IsOf( TypeId aSameOrSuperType ); virtual TypeId Type() const; virtual BOOL IsA( TypeId aSameOrSuperType ) const; > > virtual ~SfxHint(); >}; > ># 32 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/svtools/poolitem.hxx" 2 > >typedef long SfxArgumentError; > >class SbxVariable; >class SbxObject; >class SvStream; >class Color; >class International; > >namespace com { namespace sun { namespace star { namespace uno { class Any; } } } } > ># 53 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/svtools/poolitem.hxx" >inline sal_Bool Any2Bool( const ::com::sun::star::uno::Any&rValue ) >{ > sal_Bool nValue = ((unsigned char)0); > if( rValue.hasValue() ) > { > if( rValue.getValueType() == ::getCppuBooleanType() ) > { > nValue = *(sal_Bool*)rValue.getValue(); > } > else > { > sal_Int32 nNum; > if( rValue >>= nNum ) > nValue = nNum != 0; > } > } > > return nValue; >} > >inline ::com::sun::star::uno::Any Bool2Any( sal_Bool bValue ) >{ > return ::com::sun::star::uno::Any( &bValue, ::getCppuBooleanType() ); >} > >enum SfxFieldUnit >{ > SFX_FUNIT_NONE, SFX_FUNIT_MM, SFX_FUNIT_CM, SFX_FUNIT_M, SFX_FUNIT_KM, > SFX_FUNIT_TWIP, SFX_FUNIT_POINT, SFX_FUNIT_PICA, > SFX_FUNIT_INCH, SFX_FUNIT_FOOT, SFX_FUNIT_MILE, SFX_FUNIT_CUSTOM >}; > >enum SfxMapUnit >{ > SFX_MAPUNIT_100TH_MM, > SFX_MAPUNIT_10TH_MM, > SFX_MAPUNIT_MM, > SFX_MAPUNIT_CM, > SFX_MAPUNIT_1000TH_INCH, > SFX_MAPUNIT_100TH_INCH, > SFX_MAPUNIT_10TH_INCH, > SFX_MAPUNIT_INCH, > SFX_MAPUNIT_POINT, > SFX_MAPUNIT_TWIP, > SFX_MAPUNIT_PIXEL, > SFX_MAPUNIT_SYSFONT, > SFX_MAPUNIT_APPFONT, > SFX_MAPUNIT_RELATIVE >}; > >enum SfxItemPresentation > >{ > SFX_ITEM_PRESENTATION_NONE, > SFX_ITEM_PRESENTATION_NAMEONLY, > SFX_ITEM_PRESENTATION_NAMELESS, > SFX_ITEM_PRESENTATION_COMPLETE >}; > >typedef USHORT SfxItemState; > ># 127 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/svtools/poolitem.hxx" >; >; >; > >class SvXMLUnitConverter; > >class String; >namespace rtl >{ > class OUString; >} > >class SfxPoolItem >{ >friend class SfxItemPool; >friend class SfxItemDesruptor_Impl; >friend class SfxItemPoolCache; >friend class SfxItemSet; >friend class SfxVoidItem; > > USHORT nRef; > USHORT nWhich; > >private: > inline void SetRef( USHORT n ); >public: > inline USHORT AddRef( USHORT n = 1 ) const; >private: > inline USHORT ReleaseRef( USHORT n = 1 ) const; > long Delete_Impl(void*); > > virtual void Store( SvStream & ) const; > virtual void GetVersion() const; > >protected: > SfxPoolItem( USHORT nWhich = 0 ); > SfxPoolItem( const SfxPoolItem& ); > >public: > static void* CreateType(); static TypeId StaticType(); static BOOL IsOf( TypeId aSameOrSuperType ); virtual TypeId Type() const; virtual BOOL IsA( TypeId aSameOrSuperType ) const; > virtual ~SfxPoolItem() { >; > >; > } > > void SetWhich( USHORT nId ) { >; > nWhich = nId; } > USHORT Which() const { >; > return nWhich; } > virtual int operator==( const SfxPoolItem& ) const = 0; > int operator!=( const SfxPoolItem& rItem ) const > { return !(*this == rItem); } > virtual int Compare( const SfxPoolItem &rWith ) const; > virtual int Compare( const SfxPoolItem &rWith, const International& rInternational ) const; > > virtual SfxItemPresentation GetPresentation( SfxItemPresentation ePresentation, > SfxMapUnit eCoreMetric, > SfxMapUnit ePresentationMetric, > String &rText, > const International * pInternational = 0 ) > const; > virtual USHORT GetVersion( USHORT nFileFormatVersion ) const; > virtual int ScaleMetrics( long lMult, long lDiv ); > virtual int HasMetrics() const; > > virtual BOOL importXML( const rtl::OUString& rValue, USHORT nMemberId, const SvXMLUnitConverter& rUnitConverter ); > virtual BOOL exportXML( rtl::OUString& rValue, USHORT nMemberId, const SvXMLUnitConverter& rUnitConverter ) const; > > virtual BOOL equalsXML( const SfxPoolItem& ) const; > > virtual BOOL QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const; > virtual BOOL PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ); > > virtual SfxPoolItem* Create( SvStream &, USHORT nItemVersion ) const; > virtual SvStream& Store( SvStream &, USHORT nItemVersion ) const; > virtual SfxPoolItem* Clone( SfxItemPool *pPool = 0 ) const = 0; > > USHORT GetRef() const { return nRef; } > > > static bool readByteString(SvStream & rStream, String & rString); > > > static void writeByteString(SvStream & rStream, > String const & rString); > > > static bool readUnicodeString(SvStream & rStream, String & rString, > bool bUnicode); > > > static void writeUnicodeString(SvStream & rStream, > String const & rString); > >private: > SfxPoolItem& operator=( const SfxPoolItem& ); >}; > >inline void SfxPoolItem::SetRef( USHORT n ) >{ >; > nRef = n; >} > >inline USHORT SfxPoolItem::AddRef( USHORT n ) const >{ >; >; >; > return ( ((SfxPoolItem *)this)->nRef += n ); >} > >inline USHORT SfxPoolItem::ReleaseRef( USHORT n ) const >{ >; >; >; > ((SfxPoolItem *)this)->nRef -= n; > return nRef; >} > >inline int IsPoolDefaultItem(const SfxPoolItem *pItem ) >{ > return pItem && pItem->GetRef() == 0xffff; >} > >inline int IsStaticDefaultItem(const SfxPoolItem *pItem ) >{ > return pItem && pItem->GetRef() == 0xfffe; >} > >inline int IsDefaultItem( const SfxPoolItem *pItem ) >{ > return pItem && pItem->GetRef() >= 0xfffe; >} > >inline int IsPooledItem( const SfxPoolItem *pItem ) >{ > return pItem && pItem->GetRef() > 0 && pItem->GetRef() <= 0xffef; >} > >inline int IsInvalidItem(const SfxPoolItem *pItem) >{ > return pItem == (SfxPoolItem *)-1; >} > >class SfxVoidItem: public SfxPoolItem >{ >public: > static void* CreateType(); static TypeId StaticType(); static BOOL IsOf( TypeId aSameOrSuperType ); virtual TypeId Type() const; virtual BOOL IsA( TypeId aSameOrSuperType ) const; > SfxVoidItem( USHORT nWhich ); > SfxVoidItem( USHORT nWhich, SvStream & ); > SfxVoidItem( const SfxVoidItem& ); > ~SfxVoidItem() { >; } > > virtual int operator==( const SfxPoolItem& ) const; > > virtual SfxItemPresentation GetPresentation( SfxItemPresentation ePres, > SfxMapUnit eCoreMetric, > SfxMapUnit ePresMetric, > String &rText, > const International * = 0 ) const; > > virtual SfxPoolItem* Clone( SfxItemPool *pPool = 0 ) const; > void SetWhich(USHORT nWh) { nWhich = nWh; } >}; > >class SfxSetItem: public SfxPoolItem >{ > SfxItemSet *pSet; > >public: > static void* CreateType(); static TypeId StaticType(); static BOOL IsOf( TypeId aSameOrSuperType ); virtual TypeId Type() const; virtual BOOL IsA( TypeId aSameOrSuperType ) const; > SfxSetItem( USHORT nWhich, SfxItemSet *pSet ); > SfxSetItem( USHORT nWhich, const SfxItemSet &rSet ); > SfxSetItem( const SfxSetItem&, SfxItemPool *pPool = 0 ); > ~SfxSetItem(); > > virtual int operator==( const SfxPoolItem& ) const; > > virtual SfxItemPresentation GetPresentation( SfxItemPresentation ePres, > SfxMapUnit eCoreMetric, > SfxMapUnit ePresMetric, > String &rText, > const International * = 0 ) const; > > virtual SfxPoolItem* Clone( SfxItemPool *pPool = 0 ) const = 0; > virtual SfxPoolItem* Create(SvStream &, USHORT nVersion) const = 0; > virtual SvStream& Store(SvStream &, USHORT nVer) const; > > const SfxItemSet& GetItemSet() const > { return *pSet; } > SfxItemSet& GetItemSet() > { return *pSet; } >}; > >class SfxInvalidItem: public SfxPoolItem >{ >friend class SfxItemSet; > > const SfxPoolItem* pDefaultItem; > >private: > static void* CreateType(); static TypeId StaticType(); static BOOL IsOf( TypeId aSameOrSuperType ); virtual TypeId Type() const; virtual BOOL IsA( TypeId aSameOrSuperType ) const; > SfxInvalidItem( USHORT nWhich, const SfxPoolItem &rDefault ); > SfxInvalidItem( const SfxInvalidItem& ); > virtual ~SfxInvalidItem(); > >public: > virtual int operator==( const SfxPoolItem& ) const; > > virtual SfxItemPresentation GetPresentation( SfxItemPresentation ePres, > SfxMapUnit eCoreMetric, > SfxMapUnit ePresMetric, > String &rText, > const International * = 0 ) const; > const SfxPoolItem* GetDefaultItem() const { return pDefaultItem; } > > virtual SfxPoolItem* Clone( SfxItemPool *pPool = 0 ) const; > virtual SfxPoolItem* Create(SvStream &, USHORT nVersion) const; > virtual SvStream& Store(SvStream &, USHORT nVer ) const; >}; > >class SfxItemHandle >{ > USHORT *pRef; > SfxPoolItem *pItem; >public: > SfxItemHandle( SfxPoolItem& ); > SfxItemHandle( const SfxItemHandle& ); > ~SfxItemHandle(); > > const SfxItemHandle &operator=(const SfxItemHandle &); > const SfxPoolItem &GetItem() const { return *pItem; } >}; > >class SfxPoolItemHint: public SfxHint { SfxPoolItem* pObj; BOOL bIsOwner; public: static void* CreateType(); static TypeId StaticType(); static BOOL IsOf( TypeId aSameOrSuperType ); virtual TypeId Type() const; virtual BOOL IsA( TypeId aSameOrSuperType ) const; SfxPoolItemHint( SfxPoolItem* Object, BOOL bOwnedByHint = 0 ); ~SfxPoolItemHint(); SfxPoolItem* GetObject() const { return pObj; } BOOL IsOwner() const { return bIsOwner; } }; > >class SfxItemChangedHint: public SfxHint >{ > const SfxPoolItem& _rOld; > const SfxPoolItem& _rNew; > >public: > static void* CreateType(); static TypeId StaticType(); static BOOL IsOf( TypeId aSameOrSuperType ); virtual TypeId Type() const; virtual BOOL IsA( TypeId aSameOrSuperType ) const; SfxItemChangedHint( const SfxPoolItem &rOld, > > const SfxPoolItem &rNew ) > : _rOld( rOld ), > _rNew( rNew ) > {} > > const SfxPoolItem& GetOldItem() const { return _rOld; } > const SfxPoolItem& GetNewItem() const { return _rNew; } >}; > ># 11 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/svtools/custritm.hxx" 2 > > >; > >class CntUnencodedStringItem: public SfxPoolItem >{ > String m_aValue; > >public: > static void* CreateType(); static TypeId StaticType(); static BOOL IsOf( TypeId aSameOrSuperType ); virtual TypeId Type() const; virtual BOOL IsA( TypeId aSameOrSuperType ) const; > > CntUnencodedStringItem(USHORT nWhich = 0): SfxPoolItem(nWhich) > {; } > > CntUnencodedStringItem(USHORT nWhich, const String & rTheValue): > SfxPoolItem(nWhich), m_aValue(rTheValue) > {; } > > CntUnencodedStringItem(const CntUnencodedStringItem & rItem): > SfxPoolItem(rItem), m_aValue(rItem.m_aValue) > {; } > > virtual ~CntUnencodedStringItem() {; } > > virtual int operator ==(const SfxPoolItem & rItem) const; > > virtual int Compare(const SfxPoolItem & rWith) const; > > virtual int Compare(SfxPoolItem const & rWith, > International const & rInternational) const; > > virtual SfxItemPresentation GetPresentation(SfxItemPresentation, > SfxMapUnit, SfxMapUnit, > String & rText, > const International * = 0) > const; > > virtual BOOL QueryValue(com::sun::star::uno::Any& rVal, > BYTE nMemberId = 0) const; > > virtual BOOL PutValue(const com::sun::star::uno::Any& rVal, > BYTE nMemberId = 0); > > virtual SfxPoolItem * Clone(SfxItemPool * = 0) const; > > const String & GetValue() const { return m_aValue; } > > inline void SetValue(const String & rTheValue); >}; > >inline void CntUnencodedStringItem::SetValue(const String & rTheValue) >{ > >; > m_aValue = rTheValue; >} > ># 7 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/svtools/stritem.hxx" 2 > > >class SfxArguments; > >class SfxStringItem: public CntUnencodedStringItem >{ >public: > static void* CreateType(); static TypeId StaticType(); static BOOL IsOf( TypeId aSameOrSuperType ); virtual TypeId Type() const; virtual BOOL IsA( TypeId aSameOrSuperType ) const; > > SfxStringItem() {} > > SfxStringItem(USHORT nWhich, const String & rValue): > CntUnencodedStringItem(nWhich, rValue) {} > > SfxStringItem(USHORT nWhich, SvStream & rStream); > > virtual SfxPoolItem * Create(SvStream & rStream, USHORT) const; > > virtual SvStream & Store(SvStream & rStream, USHORT) const; > > virtual SfxPoolItem * Clone(SfxItemPool * = 0) const; >}; > ># 84 "/usr/src/oo/oo_605_src/sfx2/source/doc/docfile.cxx" 2 > > > ># 7 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/svtools/eitem.hxx" 1 ># 13 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/svtools/cenumitm.hxx" 1 > > >class SfxEnumItemInterface: public SfxPoolItem >{ >protected: > SfxEnumItemInterface(USHORT nWhich): SfxPoolItem(nWhich) {} > > SfxEnumItemInterface(const SfxEnumItemInterface & rItem): > SfxPoolItem(rItem) {} > >public: > static void* CreateType(); static TypeId StaticType(); static BOOL IsOf( TypeId aSameOrSuperType ); virtual TypeId Type() const; virtual BOOL IsA( TypeId aSameOrSuperType ) const; > > virtual int operator ==(const SfxPoolItem & rItem) const; > > virtual SfxItemPresentation GetPresentation(SfxItemPresentation, > SfxMapUnit, SfxMapUnit, > String & rText, > const International * = 0) > const; > > virtual BOOL QueryValue(com::sun::star::uno::Any & rVal, BYTE = 0) const; > > virtual BOOL PutValue(const com::sun::star::uno::Any & rVal, BYTE = 0); > > virtual USHORT GetValueCount() const = 0; > > virtual String GetValueTextByPos(USHORT nPos) const; > > virtual USHORT GetValueByPos(USHORT nPos) const; > > virtual USHORT GetPosByValue(USHORT nValue) const; > > virtual USHORT GetEnumValue() const = 0; > > virtual void SetEnumValue(USHORT nValue) = 0; > > virtual int HasBoolValue() const; > > virtual BOOL GetBoolValue() const; > > virtual void SetBoolValue(BOOL bValue); >}; > > > >class CntEnumItem: public SfxEnumItemInterface >{ > USHORT m_nValue; > >protected: > CntEnumItem(USHORT nWhich = 0, USHORT nTheValue = 0): > SfxEnumItemInterface(nWhich), m_nValue(nTheValue) {} > > CntEnumItem(USHORT nWhich, SvStream & rStream); > > CntEnumItem(const CntEnumItem & rItem): > SfxEnumItemInterface(rItem), m_nValue(rItem.m_nValue) {} > >public: > static void* CreateType(); static TypeId StaticType(); static BOOL IsOf( TypeId aSameOrSuperType ); virtual TypeId Type() const; virtual BOOL IsA( TypeId aSameOrSuperType ) const; > > virtual SvStream & Store(SvStream & rStream, USHORT) const; > > virtual USHORT GetEnumValue() const; > > virtual void SetEnumValue(USHORT nTheValue); > > USHORT GetValue() const { return m_nValue; } > > inline void SetValue(USHORT nTheValue); >}; > >inline void CntEnumItem::SetValue(USHORT nTheValue) >{ >; > m_nValue = nTheValue; >} > > > >class CntBoolItem: public SfxPoolItem >{ > BOOL m_bValue; > >public: > static void* CreateType(); static TypeId StaticType(); static BOOL IsOf( TypeId aSameOrSuperType ); virtual TypeId Type() const; virtual BOOL IsA( TypeId aSameOrSuperType ) const; > > CntBoolItem(USHORT nWhich = 0, BOOL bTheValue = 0): > SfxPoolItem(nWhich), m_bValue(bTheValue) {} > > CntBoolItem(USHORT nWhich, SvStream & rStream); > > CntBoolItem(const CntBoolItem & rItem): > SfxPoolItem(rItem), m_bValue(rItem.m_bValue) {} > > virtual int operator ==(const SfxPoolItem & rItem) const; > > virtual int Compare(const SfxPoolItem & rWith) const; > > virtual SfxItemPresentation GetPresentation(SfxItemPresentation, > SfxMapUnit, SfxMapUnit, > String & rText, > const International * = 0) > const; > > virtual BOOL QueryValue(com::sun::star::uno::Any& rVal, BYTE = 0) const; > > virtual BOOL PutValue(const com::sun::star::uno::Any& rVal, BYTE = 0); > > virtual SfxPoolItem * Create(SvStream & rStream, USHORT) const; > > virtual SvStream & Store(SvStream & rStream, USHORT) const; > > virtual SfxPoolItem * Clone(SfxItemPool * = 0) const; > > virtual USHORT GetValueCount() const; > > virtual String GetValueTextByVal(BOOL bTheValue) const; > > BOOL GetValue() const { return m_bValue; } > > void SetValue(BOOL bTheValue) { m_bValue = bTheValue; } >}; > ># 7 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/svtools/eitem.hxx" 2 > > >class SfxArguments; > >class SfxEnumItem: public CntEnumItem >{ >protected: > SfxEnumItem(USHORT nWhich = 0, USHORT nValue = 0): > CntEnumItem(nWhich, nValue) {} > > SfxEnumItem(USHORT nWhich, SvStream & rStream): > CntEnumItem(nWhich, rStream) {} > >public: > static void* CreateType(); static TypeId StaticType(); static BOOL IsOf( TypeId aSameOrSuperType ); virtual TypeId Type() const; virtual BOOL IsA( TypeId aSameOrSuperType ) const; > >}; > >class SfxBoolItem: public CntBoolItem >{ >public: > static void* CreateType(); static TypeId StaticType(); static BOOL IsOf( TypeId aSameOrSuperType ); virtual TypeId Type() const; virtual BOOL IsA( TypeId aSameOrSuperType ) const; > > SfxBoolItem(USHORT nWhich = 0, BOOL bValue = 0): > CntBoolItem(nWhich, bValue) {} > > SfxBoolItem(USHORT nWhich, SvStream & rStream): > CntBoolItem(nWhich, rStream) {} > > virtual SfxPoolItem * Create(SvStream & rStream, USHORT) const > { return new SfxBoolItem(Which(), rStream); } > > virtual SfxPoolItem * Clone(SfxItemPool * = 0) const > { return new SfxBoolItem(*this); } >}; > ># 87 "/usr/src/oo/oo_605_src/sfx2/source/doc/docfile.cxx" 2 > > > ># 10 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/vcl/msgbox.hxx" 1 ># 10 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/vcl/btndlg.hxx" 1 ># 10 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/vcl/dialog.hxx" 1 ># 10 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/vcl/syswin.hxx" 1 ># 10 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/vcl/window.hxx" 1 ># 7 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/vcl/outdev.hxx" 1 ># 9 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/tools/gen.hxx" 1 >class SvStream; > >class Pair >{ >public: > long nA; > long nB; > > Pair(); > Pair( long nA, long nB ); > > long A() const { return nA; } > long B() const { return nB; } > > long& A() { return nA; } > long& B() { return nB; } > > BOOL operator == ( const Pair& rPair ) const; > BOOL operator != ( const Pair& rPair ) const; > > friend SvStream& operator>>( SvStream& rIStream, Pair& rPair ); > friend SvStream& operator<<( SvStream& rOStream, const Pair& rPair ); >}; > >inline Pair::Pair() >{ > nA = nB = 0; >} > >inline Pair::Pair( long _nA, long _nB ) >{ > Pair::nA = _nA; > Pair::nB = _nB; >} > >inline BOOL Pair::operator == ( const Pair& rPair ) const >{ > return ((nA == rPair.nA) && (nB == rPair.nB)); >} > >inline BOOL Pair::operator != ( const Pair& rPair ) const >{ > return ((nA != rPair.nA) || (nB != rPair.nB)); >} > >class Point : public Pair >{ >public: > Point(); > Point( long nX, long nY ); > > long X() const { return nA; } > long Y() const { return nB; } > > long& X() { return nA; } > long& Y() { return nB; } > > void Move( long nHorzMove, long nVertMove ); > BOOL IsAbove( const Point& rPoint ) const; > BOOL IsBelow( const Point& rPoint ) const; > BOOL IsLeft( const Point& rPoint ) const; > BOOL IsRight( const Point& rPoint ) const; > > Point& operator += ( const Point& rPoint ); > Point& operator -= ( const Point& rPoint ); > Point& operator *= ( const long nVal ); > Point& operator /= ( const long nVal ); > > > > > > > > friend inline Point operator+( const Point &rVal1, const Point &rVal2 ); > friend inline Point operator-( const Point &rVal1, const Point &rVal2 ); > friend inline Point operator*( const Point &rVal1, const long nVal2 ); > friend inline Point operator/( const Point &rVal1, const long nVal2 ); > > > long getX() const { return X(); } > long getY() const { return Y(); } > void setX(long nX) { X() = nX; } > void setY(long nY) { Y() = nY; } >}; > >inline Point::Point() >{ >} > >inline Point::Point( long nX, long nY ) : Pair( nX, nY ) >{ >} > >inline void Point::Move( long nHorzMove, long nVertMove ) >{ > nA += nHorzMove; > nB += nVertMove; >} > >inline BOOL Point::IsAbove( const Point& rPoint ) const >{ > return (nB > rPoint.nB); >} > >inline BOOL Point::IsBelow( const Point& rPoint ) const >{ > return (nB < rPoint.nB); >} > >inline BOOL Point::IsLeft( const Point& rPoint ) const >{ > return (nA < rPoint.nA); >} > >inline BOOL Point::IsRight( const Point& rPoint ) const >{ > return (nA > rPoint.nA); >} > >inline Point& Point::operator += ( const Point& rPoint ) >{ > nA += rPoint.nA; > nB += rPoint.nB; > return *this; >} > >inline Point& Point::operator -= ( const Point& rPoint ) >{ > nA -= rPoint.nA; > nB -= rPoint.nB; > return *this; >} > >inline Point& Point::operator *= ( const long nVal ) >{ > nA *= nVal; > nB *= nVal; > return *this; >} > >inline Point& Point::operator /= ( const long nVal ) >{ > nA /= nVal; > nB /= nVal; > return *this; >} > >inline Point operator+( const Point &rVal1, const Point &rVal2 ) >{ > return Point( rVal1.nA+rVal2.nA, rVal1.nB+rVal2.nB ); >} > >inline Point operator-( const Point &rVal1, const Point &rVal2 ) >{ > return Point( rVal1.nA-rVal2.nA, rVal1.nB-rVal2.nB ); >} > >inline Point operator*( const Point &rVal1, const long nVal2 ) >{ > return Point( rVal1.nA*nVal2, rVal1.nB*nVal2 ); >} > >inline Point operator/( const Point &rVal1, const long nVal2 ) >{ > return Point( rVal1.nA/nVal2, rVal1.nB/nVal2 ); >} > >class Size : public Pair >{ >public: > Size(); > Size( long nWidth, long nHeight ); > > long Width() const { return nA; } > long Height() const { return nB; } > > long& Width() { return nA; } > long& Height() { return nB; } > > long getWidth() const { return Width(); } > long getHeight() const { return Height(); } > void setWidth(long nWidth) { Width() = nWidth; } > void setHeight(long nHeight) { Height() = nHeight; } >}; > >inline Size::Size() >{ >} > >inline Size::Size( long nWidth, long nHeight ) : > Pair( nWidth, nHeight ) >{ >} > > > > >class Range : public Pair >{ >public: > Range(); > Range( long nMin, long nMax ); > > long Min() const { return nA; } > long Max() const { return nB; } > long Len() const { return nB - nA + 1; } > > long& Min() { return nA; } > long& Max() { return nB; } > > BOOL IsInside( long nIs ) const; > > void Justify(); >}; > >inline Range::Range() >{ >} > >inline Range::Range( long nMin, long nMax ) : Pair( nMin, nMax ) >{ >} > >inline BOOL Range::IsInside( long nIs ) const >{ > return ((nA <= nIs) && (nIs <= nB )); >} > >inline void Range::Justify() >{ > if ( nA > nB ) > { > long nHelp = nA; > nA = nB; > nB = nHelp; > } >} > > > > >class Selection : public Pair >{ >public: > Selection(); > Selection( long nPos ); > Selection( long nMin, long nMax ); > > long Min() const { return nA; } > long Max() const { return nB; } > long Len() const { return nB - nA; } > > long& Min() { return nA; } > long& Max() { return nB; } > > BOOL IsInside( long nIs ) const; > > void Justify(); > > BOOL operator !() const { return !Len(); } > > long getMin() const { return Min(); } > long getMax() const { return Max(); } > void setMin(long nMin) { Min() = nMin; } > void setMax(long nMax) { Max() = nMax; } >}; > >inline Selection::Selection() >{ >} > >inline Selection::Selection( long nPos ) : Pair( nPos, nPos ) >{ >} > >inline Selection::Selection( long nMin, long nMax ) : > Pair( nMin, nMax ) >{ >} > >inline BOOL Selection::IsInside( long nIs ) const >{ > return ((nA <= nIs) && (nIs < nB )); >} > >inline void Selection::Justify() >{ > if ( nA > nB ) > { > long nHelp = nA; > nA = nB; > nB = nHelp; > } >} > > > >class Rectangle >{ >public: > long nLeft; > long nTop; > long nRight; > long nBottom; > > Rectangle(); > Rectangle( const Point& rLT, const Point& rRB ); > Rectangle( long nLeft, long nTop, > long nRight, long nBottom ); > Rectangle( const Point& rLT, const Size& rSize ); > > long Left() const { return nLeft; } > long Right() const { return nRight; } > long Top() const { return nTop; } > long Bottom() const { return nBottom; } > > long& Left() { return nLeft; } > long& Right() { return nRight; } > long& Top() { return nTop; } > long& Bottom() { return nBottom; } > > inline Point TopLeft() const; > Point TopRight() const; > Point TopCenter() const; > Point BottomLeft() const; > Point BottomRight() const; > Point BottomCenter() const; > Point LeftCenter() const; > Point RightCenter() const; > Point Center() const; > > void Move( long nHorzMove, long nVertMove ); > inline void SetPos( const Point& rPoint ); > void SetSize( const Size& rSize ); > inline Size GetSize() const; > > long GetWidth() const; > long GetHeight() const; > > Rectangle& Union( const Rectangle& rRect ); > Rectangle& Intersection( const Rectangle& rRect ); > Rectangle GetUnion( const Rectangle& rRect ) const; > Rectangle GetIntersection( const Rectangle& rRect ) const; > > void Justify(); > > BOOL IsInside( const Point& rPOINT ) const; > BOOL IsInside( const Rectangle& rRect ) const; > BOOL IsOver( const Rectangle& rRect ) const; > > void SetEmpty() { nRight = nBottom = ((short)-32767); } > BOOL IsEmpty() const; > > BOOL operator == ( const Rectangle& rRect ) const; > BOOL operator != ( const Rectangle& rRect ) const; > > Rectangle& operator += ( const Point& rPt ); > Rectangle& operator -= ( const Point& rPt ); > > > > > > friend inline Rectangle operator + ( const Rectangle& rRect, const Point& rPt ); > friend inline Rectangle operator - ( const Rectangle& rRect, const Point& rPt ); > > > friend SvStream& operator>>( SvStream& rIStream, Rectangle& rRect ); > friend SvStream& operator<<( SvStream& rOStream, const Rectangle& rRect ); > > long getX() const { return nLeft; } > long getY() const { return nTop; } > long getWidth() const { return nRight - nLeft; } > long getHeight() const { return nBottom - nTop; } > void setX( long n ) { nRight += n-nLeft; nLeft = n; } > void setY( long n ) { nBottom += n-nTop; nTop = n; } > void setWidth( long n ) { nRight = nLeft + n; } > void setHeight( long n ) { nBottom = nTop + n; } >}; > >inline Rectangle::Rectangle() >{ > nLeft = nTop = 0; > nRight = nBottom = ((short)-32767); >} > >inline Rectangle::Rectangle( const Point& rLT, const Point& rRB ) >{ > nLeft = rLT.X(); > nTop = rLT.Y(); > nRight = rRB.X(); > nBottom = rRB.Y(); >} > >inline Rectangle::Rectangle( long _nLeft, long _nTop, > long _nRight, long _nBottom ) >{ > nLeft = _nLeft; > nTop = _nTop; > nRight = _nRight; > nBottom = _nBottom; >} > >inline Rectangle::Rectangle( const Point& rLT, const Size& rSize ) >{ > nLeft = rLT.X(); > nTop = rLT.Y(); > nRight = rSize.Width() ? nLeft+rSize.Width()-1 : ((short)-32767); > nBottom = rSize.Height() ? nTop+rSize.Height()-1 : ((short)-32767); >} > >inline BOOL Rectangle::IsEmpty() const >{ > return ((nRight == ((short)-32767)) || (nBottom == ((short)-32767))); >} > >inline Point Rectangle::TopLeft() const >{ > return Point( nLeft, nTop ); >} > >inline Point Rectangle::TopRight() const >{ > return Point( (nRight == ((short)-32767)) ? nLeft : nRight, nTop ); >} > >inline Point Rectangle::BottomLeft() const >{ > return Point( nLeft, (nBottom == ((short)-32767)) ? nTop : nBottom ); >} > >inline Point Rectangle::BottomRight() const >{ > return Point( (nRight == ((short)-32767)) ? nLeft : nRight, > (nBottom == ((short)-32767)) ? nTop : nBottom ); >} > >inline Point Rectangle::TopCenter() const >{ > if ( IsEmpty() ) > return Point( nLeft, nTop ); > else > return Point( Min( nLeft, nRight ) + Abs( (nRight - nLeft)/2 ), > Min( nTop, nBottom) ); >} > >inline Point Rectangle::BottomCenter() const >{ > if ( IsEmpty() ) > return Point( nLeft, nTop ); > else > return Point( Min( nLeft, nRight ) + Abs( (nRight - nLeft)/2 ), > Max( nTop, nBottom) ); >} > >inline Point Rectangle::LeftCenter() const >{ > if ( IsEmpty() ) > return Point( nLeft, nTop ); > else > return Point( Min( nLeft, nRight ), nTop + (nBottom - nTop)/2 ); >} > >inline Point Rectangle::RightCenter() const >{ > if ( IsEmpty() ) > return Point( nLeft, nTop ); > else > return Point( Max( nLeft, nRight ), nTop + (nBottom - nTop)/2 ); >} > >inline Point Rectangle::Center() const >{ > if ( IsEmpty() ) > return Point( nLeft, nTop ); > else > return Point( nLeft+(nRight-nLeft)/2 , nTop+(nBottom-nTop)/2 ); >} > >inline void Rectangle::Move( long nHorzMove, long nVertMove ) >{ > nLeft += nHorzMove; > nTop += nVertMove; > if ( nRight != ((short)-32767) ) > nRight += nHorzMove; > if ( nBottom != ((short)-32767) ) > nBottom += nVertMove; >} > >inline void Rectangle::SetPos( const Point& rPoint ) >{ > if ( nRight != ((short)-32767) ) > nRight += rPoint.X() - nLeft; > if ( nBottom != ((short)-32767) ) > nBottom += rPoint.Y() - nTop; > nLeft = rPoint.X(); > nTop = rPoint.Y(); >} > >inline long Rectangle::GetWidth() const >{ > long n; > if ( nRight == ((short)-32767) ) > n = 0; > else > { > n = nRight - nLeft; > if( n < 0 ) > n--; > else > n++; > } > > return n; >} > >inline long Rectangle::GetHeight() const >{ > long n; > if ( nBottom == ((short)-32767) ) > n = 0; > else > { > n = nBottom - nTop; > if ( n < 0 ) > n--; > else > n++; > } > > return n; >} > >inline Size Rectangle::GetSize() const >{ > return Size( GetWidth(), GetHeight() ); >} > >inline Rectangle Rectangle::GetUnion( const Rectangle& rRect ) const >{ > Rectangle aTmpRect( *this ); > return aTmpRect.Union( rRect ); >} > >inline Rectangle Rectangle::GetIntersection( const Rectangle& rRect ) const >{ > Rectangle aTmpRect( *this ); > return aTmpRect.Intersection( rRect ); >} > >inline BOOL Rectangle::operator == ( const Rectangle& rRect ) const >{ > return ((nLeft == rRect.nLeft ) && > (nTop == rRect.nTop ) && > (nRight == rRect.nRight ) && > (nBottom == rRect.nBottom )); >} > >inline BOOL Rectangle::operator != ( const Rectangle& rRect ) const >{ > return ((nLeft != rRect.nLeft ) || > (nTop != rRect.nTop ) || > (nRight != rRect.nRight ) || > (nBottom != rRect.nBottom )); >} > >inline Rectangle& Rectangle::operator +=( const Point& rPt ) >{ > nLeft += rPt.X(); > nTop += rPt.Y(); > if ( nRight != ((short)-32767) ) > nRight += rPt.X(); > if ( nBottom != ((short)-32767) ) > nBottom += rPt.Y(); > return *this; >} > >inline Rectangle& Rectangle::operator -= ( const Point& rPt ) >{ > nLeft -= rPt.X(); > nTop -= rPt.Y(); > if ( nRight != ((short)-32767) ) > nRight -= rPt.X(); > if ( nBottom != ((short)-32767) ) > nBottom -= rPt.Y(); > return *this; >} > >inline Rectangle operator + ( const Rectangle& rRect, const Point& rPt ) >{ > Rectangle aRect( rRect.nLeft + rPt.X(), rRect.nTop + rPt.Y(), > (rRect.nRight == ((short)-32767)) ? ((short)-32767) : rRect.nRight + rPt.X(), > (rRect.nBottom == ((short)-32767)) ? ((short)-32767) : rRect.nBottom + rPt.Y() ); > return aRect; >} > >inline Rectangle operator - ( const Rectangle& rRect, const Point& rPt ) >{ > Rectangle aRect( rRect.nLeft - rPt.X(), > rRect.nTop - rPt.Y(), > (rRect.nRight == ((short)-32767)) ? ((short)-32767) : rRect.nRight - rPt.X(), > (rRect.nBottom == ((short)-32767)) ? ((short)-32767) : rRect.nBottom - rPt.Y() ); > return aRect; >} > ># 7 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/vcl/outdev.hxx" 2 ># 16 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/vcl/outdev.hxx" ># 3 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/vcl/rc.hxx" 1 ># 10 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/tools/rc.hxx" 1 ># 5 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/tools/lang.hxx" 1 >typedef unsigned short LanguageType; > ># 10 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/tools/rc.hxx" 2 > > > > ># 17 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/tools/resmgr.hxx" 1 ># 9 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/tools/resid.hxx" 1 >struct RSHEADER_TYPE; >typedef short RESOURCE_TYPE; > > > >class ResMgr; > >class ResId >{ > RSHEADER_TYPE* pResource; > > USHORT nResId; > RESOURCE_TYPE nRT; > ResMgr * pResMgr; > RESOURCE_TYPE nRT2; > >public: > ULONG aWinBits; > > ResId( RSHEADER_TYPE * pRc ) > { > nResId = 0; > pResource = pRc; > nRT = nRT2 = 0x100; > pResMgr = __null; > } > ResId( USHORT nId, ResMgr * pMgr = __null ) > { > nResId = nId; > pResource = __null; > nRT = nRT2 = 0x100; > pResMgr = pMgr; > } > > RESOURCE_TYPE GetRT() const { return( nRT ); } > const ResId & SetRT( RESOURCE_TYPE nTyp ) const > > { > if( 0x100 == nRT ) > ((ResId *)this)->nRT = nTyp; > return *this; > } > RESOURCE_TYPE GetRT2() const > > { > if( 0x100 == nRT2 ) > return( nRT ); > else > return( nRT2 ); > } > const ResId & SetRT2( RESOURCE_TYPE nTyp ) const > > { > if( 0x100 == nRT2 ) > ((ResId *)this)->nRT2 = nTyp; > return *this; > } > > ResMgr * GetResMgr() const { return pResMgr; } > const ResId & SetResMgr( ResMgr * pMgr ) const > { > > ((ResId *)this)->pResMgr = pMgr; > return *this; > } > > const ResId & SetAutoRelease(BOOL bRelease) const > { > if( bRelease ) > ((ResId *)this)->nResId &= ~((USHORT)(1 << 15)); > else > ((ResId *)this)->nResId |= ((USHORT)(1 << 15)); > return *this; > } > > BOOL IsAutoRelease() const > { return !(nResId & ((USHORT)(1 << 15))); } > > USHORT GetId() const { return nResId & ~((USHORT)(1 << 15)); } > RSHEADER_TYPE* GetpResource() const { return pResource; } >}; > ># 17 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/tools/resmgr.hxx" 2 > > > > > >class SvStream; >class List; >class InternalResMgr; >class ResMgr; >struct ImplSVResourceData >{ > List* pInternalResMgrList; > ResMgr* pAppResMgr; > ImplSVResourceData() > : pInternalResMgrList( __null ) > , pAppResMgr( __null ) > {} >}; > >struct RSHEADER_TYPE >{ >private: > USHORT nId; > RESOURCE_TYPE nRT; > USHORT nGlobOff; > USHORT nLocalOff; > >public: > inline USHORT GetId(); > inline RESOURCE_TYPE GetRT(); > inline USHORT GetGlobOff(); > inline USHORT GetLocalOff(); >}; > >struct ImpContent; >class InternalResMgr : public SvRefBase >{ > friend class ResMgr; > friend class SimpleResMgr; > > ImpContent * pContent; > UINT32 nOffCorrection; > BYTE * pStringBlock; > SvStream * pStm; > BOOL bEqual2Content; > UINT32 nEntries; > String aFileName; > String aShortFileName; > class Table * pResUseDump; > > InternalResMgr(); > ~InternalResMgr(); > BOOL Create(); > > static void GetResMgrPath( InternalResMgr* pThis, > const String& rFileName, > const String* pAppName = __null, > const String* pResPath = __null ); > static InternalResMgr* Create( const String& rName, > const String* pAppName = __null, > const String* pResPath = __null ); > static InternalResMgr* GetInternalResMgr( const String & rFileName, const String * pAppName = __null, const String * pResPath = __null ); > static void FreeInternalResMgr( InternalResMgr* pFreeInternalResMgr ); > > BOOL IsGlobalAvailable( RESOURCE_TYPE nRT, USHORT nId ) const; > void * LoadGlobalRes( RESOURCE_TYPE nRT, USHORT nId, > void **pResHandle ); >public: > void FreeGlobalRes( void *, void * ); > > SvStream * GetBitmapStream( USHORT nResId ); >}; > > > > > > >class Resource; >class ResMgr; >struct ImpRCStack >{ > > RSHEADER_TYPE * pResource; > void * pClassRes; > short Flags; > void * aResHandle; > const Resource* pResObj; > USHORT nId; > ResMgr * pResMgr; > > void Clear(); > void Init( ResMgr * pMgr, const Resource * pObj, USHORT nId ); >}; > > > >class ResMgr >{ > >public: > InternalResMgr* pImpRes; > ImpRCStack aStack[32]; > short nTopRes; > > static void DestroyAllResMgr(); > void Init( const String& rFileName ); > >public: > > ResMgr( InternalResMgr * pImp ); > ResMgr( const String* pFileName = __null ); > ResMgr( const String& rFileName, > const String* pAppName = __null, > const String* pResPath = __null ); > ~ResMgr(); > > static const sal_Char* GetLang( USHORT nPrio = 0 ); > > > > static const sal_Char* GetLang( LanguageType& eLanguage, USHORT nPrio = 0 ); > > static ResMgr* CreateResMgr( const sal_Char* pPrefixName, > LanguageType eLanguage, > const String* pAppName, > const String* pResPath ); > static ResMgr* CreateResMgr( const sal_Char* pPrefixName, > LanguageType eLanguage = 0x03FF ); > > void TestStack( const Resource * ); > const ImpRCStack * StackTop( USHORT nOff = 0 ) const > { > > return (((short)nOff >= nTopRes) ? __null : &aStack[nTopRes-nOff]); > } > > BOOL IsAvailable( const ResId& rId, > const Resource* = __null) const; > > BOOL GetResource( const ResId& rId, const Resource * = __null ); > static void * GetResourceSkipHeader( const ResId& rResId, ResMgr ** ppResMgr ); > > void PopContext( const Resource* = __null ); > > void* Increment( USHORT nSize ); > > static USHORT GetObjSize( RSHEADER_TYPE* pHT ) > { return( pHT->GetGlobOff() ); } > > static USHORT GetString( String& rStr, const BYTE* pStr ); > > static USHORT GetStringSize( USHORT nLen ) > { nLen++; return (nLen + nLen%2); } > static USHORT GetStringSize( const BYTE* pStr ); > > static INT32 GetLong( void * pLong ); > > static INT16 GetShort( void * pShort ); > > void * GetClass() > { return( aStack[nTopRes].pClassRes ); } > > RSHEADER_TYPE * CreateBlock( const ResId & rId ); > > USHORT GetRemainSize(); > > const String& GetFileName() const { return pImpRes->aFileName; } > > INT16 ReadShort(); > INT32 ReadLong(); > String ReadString(); >}; > >inline USHORT RSHEADER_TYPE::GetId() >{ > return (USHORT)ResMgr::GetShort( &nId ); >} >inline RESOURCE_TYPE RSHEADER_TYPE::GetRT() >{ > return (RESOURCE_TYPE)ResMgr::GetShort( &nRT ); >} >inline USHORT RSHEADER_TYPE::GetGlobOff() >{ > return (USHORT)ResMgr::GetShort( &nGlobOff ); >} >inline USHORT RSHEADER_TYPE::GetLocalOff() >{ > return (USHORT)ResMgr::GetShort( &nLocalOff ); >} > ># 14 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/tools/rc.hxx" 2 > > >class Resource >{ >protected: > > BOOL IsAvailableRes( const ResId& rId ) const; > > void GetRes( const ResId& rResId ); > > void TestRes(); > > static void* GetClassRes() > { return GetResManager()->GetClass(); } > > static USHORT GetStringRes( String& rStr, const BYTE* pStr ) > { return ResMgr::GetString( rStr, pStr ); } > > static void* IncrementRes( USHORT nBytes ) > { return GetResManager()->Increment( nBytes ); } > > static USHORT GetObjSizeRes( RSHEADER_TYPE * pHT ) > { return ResMgr::GetObjSize( pHT ); } > > static USHORT GetRemainSizeRes() > { return GetResManager()->GetRemainSize(); } > > static INT32 GetLongRes( void * pLong ) > { return ResMgr::GetLong( pLong ); } > > static INT16 GetShortRes( void * pShort ) > { return ResMgr::GetShort( pShort ); } > > static INT32 ReadLongRes() > { return GetResManager()->ReadLong(); } > static INT16 ReadShortRes() > { return GetResManager()->ReadShort(); } > static String ReadStringRes() > { return GetResManager()->ReadString(); } > > RSHEADER_TYPE* CreateBlockRes( const ResId& rId ); > > void FreeResource() > { GetResManager()->PopContext( this ); } > > Resource() {} > Resource( const ResId& rResId ); > >public: > > > > ~Resource() {} > > > static void SetResManager( ResMgr* paResMgr ); > static ResMgr* GetResManager(); >}; > >inline BOOL Resource::IsAvailableRes( const ResId& rId ) const >{ > return GetResManager()->IsAvailable( rId, this ); >} > >inline RSHEADER_TYPE* Resource::CreateBlockRes( const ResId& rId ) >{ > return GetResManager()->CreateBlock( rId ); >} > ># 3 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/vcl/rc.hxx" 2 ># 16 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/vcl/outdev.hxx" 2 > > > ># 7 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/vcl/color.hxx" 1 ># 5 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/tools/color.hxx" 1 >class SvStream; >class ResId; > ># 19 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/tools/color.hxx" >typedef UINT32 ColorData; ># 49 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/tools/color.hxx" >class Color >{ >protected: > ColorData mnColor; > >public: > Color() { mnColor = ((ColorData)(((UINT32)((UINT8)(0x00))))|(((UINT32)((UINT8)(0x00)))<<8)|(((UINT32)((UINT8)(0x00)))<<16)); } > Color( ColorData nColor ) { mnColor = nColor; } > Color( UINT8 nRed, UINT8 nGreen, UINT8 nBlue ) > { mnColor = ((ColorData)(((UINT32)((UINT8)(nBlue))))|(((UINT32)((UINT8)(nGreen)))<<8)|(((UINT32)((UINT8)(nRed)))<<16)); } > Color( UINT8 nTransparency, UINT8 nRed, UINT8 nGreen, UINT8 nBlue ) > { mnColor = ((ColorData)(((UINT32)((UINT8)(nBlue))))|(((UINT32)((UINT8)(nGreen)))<<8)|(((UINT32)((UINT8)(nRed)))<<16)|(((UINT32)((UINT8)(nTransparency)))<<24)); } > Color( const ResId& rResId ); > > void SetRed( UINT8 nRed ); > UINT8 GetRed() const { return ((UINT8)((mnColor)>>16)); } > void SetGreen( UINT8 nGreen ); > UINT8 GetGreen() const { return ((UINT8)(((UINT16)(mnColor)) >> 8)); } > void SetBlue( UINT8 nBlue ); > UINT8 GetBlue() const { return ((UINT8)(mnColor)); } > void SetTransparency( UINT8 nTransparency ); > UINT8 GetTransparency() const { return ((UINT8)((mnColor)>>24)); } > > void SetColor( ColorData nColor ) { mnColor = nColor; } > ColorData GetColor() const { return mnColor; } > ColorData GetRGBColor() const { return ((ColorData)((mnColor) & 0x00FFFFFF)); } > > UINT8 GetColorError( const Color& rCompareColor ) const; > > UINT8 GetLuminance() const; > void IncreaseLuminance( UINT8 cLumInc ); > void DecreaseLuminance( UINT8 cLumDec ); > > void IncreaseContrast( UINT8 cContInc ); > void DecreaseContrast( UINT8 cContDec ); > > void Invert(); > > void Merge( const Color& rMergeColor, BYTE cTransparency ); > > > void SetColorName( ColorData nColor ) { SetColor( nColor ); } > ColorData GetColorName() const { return GetColor(); } > > > BOOL IsRGBEqual( const Color& rColor ) const; > > BOOL operator==( const Color& rColor ) const > { return (mnColor == rColor.mnColor); } > BOOL operator!=( const Color& rColor ) const > { return !(Color::operator==( rColor )); } > > SvStream& Read( SvStream& rIStm, BOOL bNewFormat = 1 ); > SvStream& Write( SvStream& rOStm, BOOL bNewFormat = 1 ); > > friend SvStream& operator>>( SvStream& rIStream, Color& rColor ); > friend SvStream& operator<<( SvStream& rOStream, const Color& rColor ); >}; > >inline void Color::SetRed( UINT8 nRed ) >{ > mnColor &= 0xFF00FFFF; > mnColor |= ((UINT32)nRed)<<16; >} > >inline void Color::SetGreen( UINT8 nGreen ) >{ > mnColor &= 0xFFFF00FF; > mnColor |= ((UINT16)nGreen)<<8; >} > >inline void Color::SetBlue( UINT8 nBlue ) >{ > mnColor &= 0xFFFFFF00; > mnColor |= nBlue; >} > >inline void Color::SetTransparency( UINT8 nTransparency ) >{ > mnColor &= 0x00FFFFFF; > mnColor |= ((UINT32)nTransparency)<<24; >} > >inline BOOL Color::IsRGBEqual( const Color& rColor ) const >{ > return (((ColorData)((mnColor) & 0x00FFFFFF)) == ((ColorData)((rColor.mnColor) & 0x00FFFFFF))); >} > >inline UINT8 Color::GetLuminance() const >{ > return( (UINT8) ( ( ((UINT8)(mnColor)) * 28UL + > ((UINT8)(((UINT16)(mnColor)) >> 8)) * 151UL + > ((UINT8)((mnColor)>>16)) * 77UL ) >> 8UL ) ); >} > >inline void Color::Merge( const Color& rMergeColor, BYTE cTransparency ) >{ > SetRed( ((BYTE)((((long)(((UINT8)((mnColor)>>16)))-(((UINT8)((rMergeColor.mnColor)>>16))))*(cTransparency)+(((((UINT8)((rMergeColor.mnColor)>>16)))<<8L)|(((UINT8)((mnColor)>>16)))))>>8L)) ); > SetGreen( ((BYTE)((((long)(((UINT8)(((UINT16)(mnColor)) >> 8)))-(((UINT8)(((UINT16)(rMergeColor.mnColor)) >> 8))))*(cTransparency)+(((((UINT8)(((UINT16)(rMergeColor.mnColor)) >> 8)))<<8L)|(((UINT8)(((UINT16)(mnColor)) >> 8)))))>>8L)) ); > SetBlue( ((BYTE)((((long)(((UINT8)(mnColor)))-(((UINT8)(rMergeColor.mnColor))))*(cTransparency)+(((((UINT8)(rMergeColor.mnColor)))<<8L)|(((UINT8)(mnColor)))))>>8L)) ); >} > ># 7 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/vcl/color.hxx" 2 ># 19 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/vcl/outdev.hxx" 2 > > > ># 19 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/vcl/font.hxx" 1 ># 10 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/vcl/vclenum.hxx" 1 >enum TimeFieldFormat {TIMEF_NONE, TIMEF_SEC, TIMEF_100TH_SEC, TIMEF_SEC_CS, TimeFieldFormat_FORCE_EQUAL_SIZE=0x7fffffff }; > > > > > > >enum ExtTimeFieldFormat { EXTTIMEF_24H_SHORT, EXTTIMEF_24H_LONG, > EXTTIMEF_12H_SHORT, EXTTIMEF_12H_LONG, > EXTTIMEF_DURATION_SHORT, EXTTIMEF_DURATION_LONG }; > > > > > > >enum ExtDateFieldFormat { XTDATEF_SYSTEM_SHORT, XTDATEF_SYSTEM_SHORT_YY, XTDATEF_SYSTEM_SHORT_YYYY, > XTDATEF_SYSTEM_LONG, > XTDATEF_SHORT_DDMMYY, XTDATEF_SHORT_MMDDYY, XTDATEF_SHORT_YYMMDD, > XTDATEF_SHORT_DDMMYYYY, XTDATEF_SHORT_MMDDYYYY, XTDATEF_SHORT_YYYYMMDD, > XTDATEF_SHORT_YYMMDD_DIN5008, XTDATEF_SHORT_YYYYMMDD_DIN5008, ExtDateFieldFormat_FORCE_EQUAL_SIZE=0x7fffffff }; > ># 45 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/vcl/vclenum.hxx" >enum GradientStyle >{ > GradientStyle_LINEAR = 0, > GradientStyle_AXIAL = 1, > GradientStyle_RADIAL = 2, > GradientStyle_ELLIPTICAL = 3, > GradientStyle_SQUARE = 4, > GradientStyle_RECT = 5, > GradientStyle_FORCE_EQUAL_SIZE = 0x7fffffff >}; > ># 66 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/vcl/vclenum.hxx" >enum HatchStyle >{ > HatchStyle_SINGLE = 0, > HatchStyle_DOUBLE = 1, > HatchStyle_TRIPLE = 2, > HatchStyle_FORCE_EQUAL_SIZE = 0x7fffffff >}; > ># 84 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/vcl/vclenum.hxx" >enum LineStyle >{ > LineStyle_NONE = 0, > LineStyle_SOLID = 1, > LineStyle_DASH = 2, > LineStyle_FORCE_EQUAL_SIZE = 0x7fffffff >}; > > > > > > >enum RasterOp { ROP_OVERPAINT, ROP_XOR, ROP_0, ROP_1, ROP_INVERT }; > > > > > > >enum FontFamily { FAMILY_DONTKNOW, FAMILY_DECORATIVE, FAMILY_MODERN, > FAMILY_ROMAN, FAMILY_SCRIPT, FAMILY_SWISS, FAMILY_SYSTEM, FontFamily_FORCE_EQUAL_SIZE=0x7fffffff }; > > > > > > >enum FontPitch { PITCH_DONTKNOW, PITCH_FIXED, PITCH_VARIABLE, FontPitch_FORCE_EQUAL_SIZE=0x7fffffff }; > > > > > > >enum TextAlign { ALIGN_TOP, ALIGN_BASELINE, ALIGN_BOTTOM, TextAlign_FORCE_EQUAL_SIZE=0x7fffffff }; > > > > > > >enum FontWeight { WEIGHT_DONTKNOW, WEIGHT_THIN, WEIGHT_ULTRALIGHT, > WEIGHT_LIGHT, WEIGHT_SEMILIGHT, WEIGHT_NORMAL, > WEIGHT_MEDIUM, WEIGHT_SEMIBOLD, WEIGHT_BOLD, > WEIGHT_ULTRABOLD, WEIGHT_BLACK, FontWeight_FORCE_EQUAL_SIZE=0x7fffffff }; > > > > > > >enum FontWidth { WIDTH_DONTKNOW, WIDTH_ULTRA_CONDENSED, WIDTH_EXTRA_CONDENSED, > WIDTH_CONDENSED, WIDTH_SEMI_CONDENSED, WIDTH_NORMAL, > WIDTH_SEMI_EXPANDED, WIDTH_EXPANDED, WIDTH_EXTRA_EXPANDED, > WIDTH_ULTRA_EXPANDED, > FontWidth_FORCE_EQUAL_SIZE=0x7fffffff }; > > > > > > >enum FontItalic { ITALIC_NONE, ITALIC_OBLIQUE, ITALIC_NORMAL, ITALIC_DONTKNOW, FontItalic_FORCE_EQUAL_SIZE=0x7fffffff }; > > > > > > >enum FontUnderline { UNDERLINE_NONE, UNDERLINE_SINGLE, UNDERLINE_DOUBLE, > UNDERLINE_DOTTED, UNDERLINE_DONTKNOW, > UNDERLINE_DASH, UNDERLINE_LONGDASH, > UNDERLINE_DASHDOT, UNDERLINE_DASHDOTDOT, > UNDERLINE_SMALLWAVE, > UNDERLINE_WAVE, UNDERLINE_DOUBLEWAVE, > UNDERLINE_BOLD, UNDERLINE_BOLDDOTTED, > UNDERLINE_BOLDDASH, UNDERLINE_BOLDLONGDASH, > UNDERLINE_BOLDDASHDOT, UNDERLINE_BOLDDASHDOTDOT, > UNDERLINE_BOLDWAVE, > FontUnderline_FORCE_EQUAL_SIZE=0x7fffffff }; > > > > > > >enum FontStrikeout { STRIKEOUT_NONE, STRIKEOUT_SINGLE, STRIKEOUT_DOUBLE, > STRIKEOUT_DONTKNOW, STRIKEOUT_BOLD, > STRIKEOUT_SLASH, STRIKEOUT_X, > FontStrikeout_FORCE_EQUAL_SIZE=0x7fffffff }; > > > > > > >enum FontType { TYPE_DONTKNOW, TYPE_RASTER, TYPE_VECTOR, TYPE_SCALABLE, > FontType_FORCE_EQUAL_SIZE=0x7fffffff }; > > > > > > >enum KeyFuncType { KEYFUNC_DONTKNOW, KEYFUNC_NEW, KEYFUNC_OPEN, KEYFUNC_SAVE, > KEYFUNC_SAVEAS, KEYFUNC_PRINT, KEYFUNC_CLOSE, KEYFUNC_QUIT, > KEYFUNC_CUT, KEYFUNC_COPY, KEYFUNC_PASTE, KEYFUNC_UNDO, > KEYFUNC_REDO, KEYFUNC_DELETE, KEYFUNC_REPEAT, KEYFUNC_FIND, > KEYFUNC_FINDBACKWARD, KEYFUNC_PROPERTIES, KEYFUNC_FRONT, > KeyFuncType_FORCE_EQUAL_SIZE=0x7fffffff }; > ># 19 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/vcl/font.hxx" 2 > > > > > > > >class SvStream; > > >class Impl_Font >{ > friend class Font; > >private: > USHORT mnRefCount; > String maName; > String maStyleName; > Size maSize; > Color maColor; > Color maFillColor; > rtl_TextEncoding meCharSet; > LanguageType meLanguage; > FontFamily meFamily; > FontPitch mePitch; > TextAlign meAlign; > FontWeight meWeight; > FontWidth meWidthType; > FontItalic meItalic; > FontUnderline meUnderline; > FontStrikeout meStrikeout; > FontType meType; > short mnOrientation; > BOOL mbWordLine:1, > mbOutline:1, > mbShadow:1, > mbKerning:1, > mbTransparent:1; > > friend SvStream& operator>>( SvStream& rIStm, Impl_Font& rImplFont ); > friend SvStream& operator<<( SvStream& rOStm, const Impl_Font& rImplFont ); > >public: > Impl_Font(); > Impl_Font( const Impl_Font& rImplFont ); >}; > >class Font >{ >private: > Impl_Font* mpImplFont; > > void MakeUnique(); > >public: > Font(); > Font( const Font& rFont ); > Font( const String& rName, const Size& rSize ); > Font( const String& rName, const String& rStyleName, > const Size& rSize ); > Font( FontFamily eFamily, const Size& rSize ); > ~Font(); > > void SetColor( const Color& rColor ); > const Color& GetColor() const { return mpImplFont->maColor; } > void SetFillColor( const Color& rColor ); > const Color& GetFillColor() const { return mpImplFont->maFillColor; } > void SetTransparent( BOOL bTransparent ); > BOOL IsTransparent() const { return mpImplFont->mbTransparent; } > void SetAlign( TextAlign eAlign ); > TextAlign GetAlign() const { return mpImplFont->meAlign; } > > void SetName( const String& rName ); > const String& GetName() const { return mpImplFont->maName; } > void SetStyleName( const String& rStyleName ); > const String& GetStyleName() const { return mpImplFont->maStyleName; } > void SetSize( const Size& rSize ); > const Size& GetSize() const { return mpImplFont->maSize; } > void SetHeight( long nHeight ) { SetSize( Size( mpImplFont->maSize.Width(), nHeight ) ); } > long GetHeight() const { return mpImplFont->maSize.Height(); } > void SetWidth( long nWidth ) { SetSize( Size( nWidth, mpImplFont->maSize.Height() ) ); } > long GetWidth() const { return mpImplFont->maSize.Width(); } > > void SetFamily( FontFamily eFamily ); > FontFamily GetFamily() const { return mpImplFont->meFamily; } > void SetCharSet( rtl_TextEncoding eCharSet ); > rtl_TextEncoding GetCharSet() const { return mpImplFont->meCharSet; } > void SetLanguage( LanguageType eLanguage ); > LanguageType GetLanguage() const { return mpImplFont->meLanguage; } > void SetPitch( FontPitch ePitch ); > FontPitch GetPitch() const { return mpImplFont->mePitch; } > > void SetOrientation( short nLineOrientation ); > short GetOrientation() const { return mpImplFont->mnOrientation; } > void SetKerning( BOOL bKerning ); > BOOL IsKerning() const { return mpImplFont->mbKerning; } > > void SetWeight( FontWeight eWeight ); > FontWeight GetWeight() const { return mpImplFont->meWeight; } > void SetWidthType( FontWidth eWidth ); > FontWidth GetWidthType() const { return mpImplFont->meWidthType; } > void SetItalic( FontItalic eItalic ); > FontItalic GetItalic() const { return mpImplFont->meItalic; } > void SetOutline( BOOL bOutline ); > BOOL IsOutline() const { return mpImplFont->mbOutline; } > void SetShadow( BOOL bShadow ); > BOOL IsShadow() const { return mpImplFont->mbShadow; } > void SetUnderline( FontUnderline eUnderline ); > FontUnderline GetUnderline() const { return mpImplFont->meUnderline; } > void SetStrikeout( FontStrikeout eStrikeout ); > FontStrikeout GetStrikeout() const { return mpImplFont->meStrikeout; } > void SetWordLineMode( BOOL bWordLine ); > BOOL IsWordLineMode() const { return mpImplFont->mbWordLine; } > > void Merge( const Font& rFont ); > > Font& operator=( const Font& rFont ); > BOOL operator==( const Font& rFont ) const; > BOOL operator!=( const Font& rFont ) const > { return !(Font::operator==( rFont )); } > BOOL IsSameInstance( const Font& rFont ) const > { return (mpImplFont == rFont.mpImplFont); } > > friend SvStream& operator>>( SvStream& rIStm, Font& rFont ); > friend SvStream& operator<<( SvStream& rOStm, const Font& rFont ); > ># 156 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/vcl/font.hxx" >}; > ># 22 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/vcl/outdev.hxx" 2 > > > ># 13 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/vcl/region.hxx" 1 >class ImplRegion; >class ImplRegionBand; >class Polygon; >class PolyPolygon; >struct ImplRegionInfo; > >enum RegionType { REGION_NULL, REGION_EMPTY, REGION_RECTANGLE, REGION_COMPLEX }; >enum RegionOverlapType { REGION_INSIDE, REGION_OVER, REGION_OUTSIDE }; > >typedef long RegionHandle; > >class Region >{ >private: > ImplRegion* mpImplRegion; > > > > > >public: > Region(); > Region( RegionType eType ); > Region( const Rectangle& rRect ); > Region( const Polygon& rPolygon ); > Region( const PolyPolygon& rPolyPoly ); > Region( const Region& rRegion ); > ~Region(); > > void Move( long nHorzMove, long nVertMove ); > void Scale( double fScaleX, double fScaleY ); > BOOL Union( const Rectangle& rRegion ); > BOOL Intersect( const Rectangle& rRegion ); > BOOL Exclude( const Rectangle& rRegion ); > BOOL XOr( const Rectangle& rRegion ); > BOOL Union( const Region& rRegion ); > BOOL Intersect( const Region& rRegion ); > BOOL Exclude( const Region& rRegion ); > BOOL XOr( const Region& rRegion ); > > RegionType GetType() const; > BOOL IsEmpty() const { return GetType() == REGION_EMPTY; }; > BOOL IsNull() const { return GetType() == REGION_NULL; }; > > void SetEmpty(); > void SetNull(); > > Rectangle GetBoundRect() const; > > ULONG GetRectCount() const; > RegionHandle BeginEnumRects(); > BOOL GetEnumRects( RegionHandle hRegionHandle, Rectangle& rRect ); > BOOL GetNextEnumRect( RegionHandle hRegionHandle, Rectangle& rRect ) > { return GetEnumRects( hRegionHandle, rRect ); } > void EndEnumRects( RegionHandle hRegionHandle ); > > BOOL IsInside( const Point& rPoint ) const; > BOOL IsInside( const Rectangle& rRect ) const; > BOOL IsOver( const Rectangle& rRect ) const; > > Region& operator=( const Region& rRegion ); > Region& operator=( const Rectangle& rRect ); > > BOOL operator==( const Region& rRegion ) const; > BOOL operator!=( const Region& rRegion ) const > { return !(Region::operator==( rRegion )); } > > friend SvStream& operator>>( SvStream& rIStm, Region& rRegion ); > friend SvStream& operator<<( SvStream& rOStm, const Region& rRegion ); > > RegionOverlapType GetOverlapType( const Rectangle& rRect ) const; >}; > ># 25 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/vcl/outdev.hxx" 2 > > > ># 10 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/vcl/mapmod.hxx" 1 ># 9 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/tools/fract.hxx" 1 >class SvStream; > >class Fraction >{ >private: > long nNumerator; > long nDenominator; > >public: > Fraction() { nNumerator = 0; nDenominator = 1; } > Fraction( const Fraction & rFrac ); > Fraction( long nNum, long nDen=1 ); > Fraction( long nN1, long nN2, long nD1, long nD2 ); > Fraction( double dVal ); > > BOOL IsValid() const; > > long GetNumerator() const { return nNumerator; } > long GetDenominator() const { return nDenominator; } > > operator long() const; > operator double() const; > > Fraction& operator=( const Fraction& rfrFrac ); > > Fraction& operator+=( const Fraction& rfrFrac ); > Fraction& operator-=( const Fraction& rfrFrac ); > Fraction& operator*=( const Fraction& rfrFrac ); > Fraction& operator/=( const Fraction& rfrFrac ); > > void ReduceInaccurate( unsigned nSignificantBits ); ># 53 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/tools/fract.hxx" > friend inline Fraction operator+( const Fraction& rVal1, const Fraction& rVal2 ); > friend inline Fraction operator-( const Fraction& rVal1, const Fraction& rVal2 ); > friend inline Fraction operator*( const Fraction& rVal1, const Fraction& rVal2 ); > friend inline Fraction operator/( const Fraction& rVal1, const Fraction& rVal2 ); > > friend BOOL operator==( const Fraction& rVal1, const Fraction& rVal2 ); > friend inline BOOL operator!=( const Fraction& rVal1, const Fraction& rVal2 ); > friend BOOL operator< ( const Fraction& rVal1, const Fraction& rVal2 ); > friend BOOL operator> ( const Fraction& rVal1, const Fraction& rVal2 ); > friend inline BOOL operator<=( const Fraction& rVal1, const Fraction& rVal2 ); > friend inline BOOL operator>=( const Fraction& rVal1, const Fraction& rVal2 ); > > friend SvStream& operator>>( SvStream& rIStream, Fraction& rFract ); > friend SvStream& operator<<( SvStream& rOStream, const Fraction& rFract ); >}; > >inline Fraction::Fraction( const Fraction& rFrac ) >{ > nNumerator = rFrac.nNumerator; > nDenominator = rFrac.nDenominator; >} > >inline Fraction& Fraction::operator=( const Fraction& rFrac ) >{ > nNumerator = rFrac.nNumerator; > nDenominator = rFrac.nDenominator; > return *this; >} > >inline BOOL Fraction::IsValid() const >{ > return (nDenominator > 0); >} > >inline Fraction::operator long() const >{ > if ( nDenominator > 0 ) > return (nNumerator / nDenominator); > else > return 0; >} > >inline Fraction operator+( const Fraction& rVal1, const Fraction& rVal2 ) >{ > Fraction aErg( rVal1 ); > aErg += rVal2; > return aErg; >} > >inline Fraction operator-( const Fraction& rVal1, const Fraction& rVal2 ) >{ > Fraction aErg( rVal1 ); > aErg -= rVal2; > return aErg; >} > >inline Fraction operator*( const Fraction& rVal1, const Fraction& rVal2 ) >{ > Fraction aErg( rVal1 ); > aErg *= rVal2; > return aErg; >} > >inline Fraction operator/( const Fraction& rVal1, const Fraction& rVal2 ) >{ > Fraction aErg( rVal1 ); > aErg /= rVal2; > return aErg; >} > >inline BOOL operator !=( const Fraction& rVal1, const Fraction& rVal2 ) >{ > return !(rVal1 == rVal2); >} > >inline BOOL operator <=( const Fraction& rVal1, const Fraction& rVal2 ) >{ > return !(rVal1 > rVal2); >} > >inline BOOL operator >=( const Fraction& rVal1, const Fraction& rVal2 ) >{ > return !(rVal1 < rVal2); >} > ># 10 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/vcl/mapmod.hxx" 2 > > > > > > > > > > ># 5 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/vcl/mapunit.hxx" 1 >enum MapUnit { MAP_100TH_MM, MAP_10TH_MM, MAP_MM, MAP_CM, > MAP_1000TH_INCH, MAP_100TH_INCH, MAP_10TH_INCH, MAP_INCH, > MAP_POINT, MAP_TWIP, MAP_PIXEL, MAP_SYSFONT, MAP_APPFONT, > MAP_RELATIVE, MAP_REALAPPFONT, MAP_LASTENUMDUMMY }; > ># 20 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/vcl/mapmod.hxx" 2 > > >class SvStream; > >class ImplMapMode >{ > friend class MapMode; > friend class OutputDevice; > >private: > USHORT mnRefCount; > MapUnit meUnit; > Point maOrigin; > Fraction maScaleX; > Fraction maScaleY; > BOOL mbSimple; > > friend SvStream& operator>>( SvStream& rIStm, ImplMapMode& rMapMode ); > friend SvStream& operator<<( SvStream& rOStm, const ImplMapMode& rMapMode ); > > > > > > >}; > >class MapMode >{ > friend class OutputDevice; > >private: > ImplMapMode* mpImplMapMode; > > > > > >public: > MapMode(); > MapMode( const MapMode& rMapMode ); > MapMode( MapUnit eUnit ); > MapMode( MapUnit eUnit, const Point& rLogicOrg, > const Fraction& rScaleX, const Fraction& rScaleY ); > ~MapMode(); > > void SetMapUnit( MapUnit eUnit ); > MapUnit GetMapUnit() const > { return mpImplMapMode->meUnit; } > > void SetOrigin( const Point& rOrigin ); > const Point& GetOrigin() const > { return mpImplMapMode->maOrigin; } > > void SetScaleX( const Fraction& rScaleX ); > const Fraction& GetScaleX() const > { return mpImplMapMode->maScaleX; } > void SetScaleY( const Fraction& rScaleY ); > const Fraction& GetScaleY() const > { return mpImplMapMode->maScaleY; } > > MapMode& operator=( const MapMode& rMapMode ); > BOOL operator==( const MapMode& rMapMode ) const; > BOOL operator!=( const MapMode& rMapMode ) const > { return !(MapMode::operator==( rMapMode )); } > BOOL IsDefault() const; > BOOL IsSameInstance( const MapMode& rMapMode ) const > { return (mpImplMapMode == rMapMode.mpImplMapMode); } > > friend SvStream& operator>>( SvStream& rIStm, MapMode& rMapMode ); > friend SvStream& operator<<( SvStream& rOStm, const MapMode& rMapMode ); >}; > ># 28 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/vcl/outdev.hxx" 2 > > > ># 12 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/vcl/wall.hxx" 1 >class Rectangle; >class Gradient; >class BitmapEx; > ># 33 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/vcl/wall.hxx" >enum WallpaperStyle >{ > WallpaperStyle_NULL, > WallpaperStyle_TILE, > WallpaperStyle_CENTER, > WallpaperStyle_SCALE, > WallpaperStyle_TOPLEFT, > WallpaperStyle_TOP, > WallpaperStyle_TOPRIGHT, > WallpaperStyle_LEFT, > WallpaperStyle_RIGHT, > WallpaperStyle_BOTTOMLEFT, > WallpaperStyle_BOTTOM, > WallpaperStyle_BOTTOMRIGHT, > WallpaperStyle_FORCE_EQUAL_SIZE = 0x7fffffff >}; > > > >class SvStream; > >class ImplWallpaper >{ > friend class Wallpaper; > >private: > Color maColor; > BitmapEx* mpBitmap; > Gradient* mpGradient; > Rectangle* mpRect; > WallpaperStyle meStyle; > USHORT mnRefCount; > BitmapEx* mpCache; > > friend SvStream& operator>>( SvStream& rIStm, ImplWallpaper& rImplWallpaper ); > friend SvStream& operator<<( SvStream& rOStm, const ImplWallpaper& rImplWallpaper ); > ># 80 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/vcl/wall.hxx" >}; > >class Wallpaper >{ >private: > ImplWallpaper* mpImplWallpaper; > > > > > > > >public: > Wallpaper(); > Wallpaper( const Wallpaper& rWallpaper ); > Wallpaper( const Color& rColor ); > Wallpaper( const BitmapEx& rBmpEx ); > Wallpaper( const Gradient& rGradient ); > ~Wallpaper(); > > void SetColor( const Color& rColor ); > const Color& GetColor() const { return mpImplWallpaper->maColor; } > > void SetStyle( WallpaperStyle eStyle ); > WallpaperStyle GetStyle() const { return mpImplWallpaper->meStyle; } > > void SetBitmap( const BitmapEx& rBitmap ); > void SetBitmap(); > BitmapEx GetBitmap() const; > BOOL IsBitmap() const { return (mpImplWallpaper->mpBitmap != 0); } > > void SetGradient( const Gradient& rGradient ); > void SetGradient(); > Gradient GetGradient() const; > BOOL IsGradient() const { return (mpImplWallpaper->mpGradient != 0); } > > void SetRect( const Rectangle& rRect ); > void SetRect(); > Rectangle GetRect() const; > BOOL IsRect() const { return (mpImplWallpaper->mpRect != 0); } > > BOOL IsFixed() const; > BOOL IsScrollable() const; > > Wallpaper& operator=( const Wallpaper& rWallpaper ); > BOOL operator==( const Wallpaper& rWallpaper ) const; > BOOL operator!=( const Wallpaper& rWallpaper ) const > { return !(Wallpaper::operator==( rWallpaper )); } > BOOL IsSameInstance( const Wallpaper& rWallpaper ) const > { return (mpImplWallpaper == rWallpaper.mpImplWallpaper); } > > friend SvStream& operator>>( SvStream& rIStm, Wallpaper& rWallpaper ); > friend SvStream& operator<<( SvStream& rOStm, const Wallpaper& rWallpaper ); >}; > ># 31 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/vcl/outdev.hxx" 2 > > > ># 7 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/vcl/settings.hxx" 1 ># 13 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/tools/intn.hxx" 1 ># 9 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/tools/time.hxx" 1 >class ResId; > >class Time >{ >private: > long nTime; > >public: > Time(); > Time( const ResId & rResId ); > Time( long _nTime ) { Time::nTime = _nTime; } > Time( const Time& rTime ) > { nTime = rTime.nTime; } > Time( ULONG nHour, ULONG nMin, > ULONG nSec = 0, ULONG n100Sec = 0 ); > > void SetTime( long nNewTime ) { nTime = nNewTime; } > long GetTime() const { return nTime; } > > void SetHour( USHORT nNewHour ); > void SetMin( USHORT nNewMin ); > void SetSec( USHORT nNewSec ); > void Set100Sec( USHORT nNew100Sec ); > USHORT GetHour() const > { ULONG nTempTime = (nTime >= 0) ? nTime : nTime*-1; > return (USHORT)(nTempTime / 1000000); } > USHORT GetMin() const > { ULONG nTempTime = (nTime >= 0) ? nTime : nTime*-1; > return (USHORT)((nTempTime / 10000) % 100); } > USHORT GetSec() const > { ULONG nTempTime = (nTime >= 0) ? nTime : nTime*-1; > return (USHORT)((nTempTime / 100) % 100); } > USHORT Get100Sec() const > { ULONG nTempTime = (nTime >= 0) ? nTime : nTime*-1; > return (USHORT)(nTempTime % 100); } > > long GetMSFromTime() const; > void MakeTimeFromMS( long nMS ); > > BOOL IsBetween( const Time& rFrom, const Time& rTo ) const > { return ((nTime >= rFrom.nTime) && (nTime <= rTo.nTime)); } > > BOOL operator ==( const Time& rTime ) const > { return (nTime == rTime.nTime); } > BOOL operator !=( const Time& rTime ) const > { return (nTime != rTime.nTime); } > BOOL operator >( const Time& rTime ) const > { return (nTime > rTime.nTime); } > BOOL operator <( const Time& rTime ) const > { return (nTime < rTime.nTime); } > BOOL operator >=( const Time& rTime ) const > { return (nTime >= rTime.nTime); } > BOOL operator <=( const Time& rTime ) const > { return (nTime <= rTime.nTime); } > > static Time GetUTCOffset(); > static ULONG GetSystemTicks(); > static ULONG GetProcessTicks(); > > void ConvertToUTC() { *this -= Time::GetUTCOffset(); } > void ConvertToLocalTime() { *this += Time::GetUTCOffset(); } > > Time& operator =( const Time& rTime ) > { nTime = rTime.nTime; return *this; } > Time operator -() const > { return Time( nTime * -1 ); } > Time& operator +=( const Time& rTime ); > Time& operator -=( const Time& rTime ); > friend Time operator +( const Time& rTime1, const Time& rTime2 ); > friend Time operator -( const Time& rTime1, const Time& rTime2 ); > > void setTime( UINT32 nTime ) { SetTime( nTime ); } > UINT32 getTime() const { return GetTime(); } > ># 94 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/tools/time.hxx" >}; > ># 13 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/tools/intn.hxx" 2 > > > ># 9 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/tools/date.hxx" 1 >class ResId; > >enum WeekCountStart { WEEKCOUNT_FIRSTDAY, > WEEKCOUNT_FIRST4DAYWEEK, > WEEKCOUNT_FIRSTFULLWEEK }; > >enum DayOfWeek { MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, > SATURDAY, SUNDAY }; > >class Date >{ >private: > ULONG nDate; > >public: > Date(); > Date( const ResId & rResId ); > Date( ULONG _nDate ) { Date::nDate = _nDate; } > Date( const Date& rDate ) > { nDate = rDate.nDate; } > Date( USHORT nDay, USHORT nMonth, USHORT nYear ) > { nDate = ((ULONG)(nDay%100)) + > (((ULONG)(nMonth%100))*100) + > (((ULONG)nYear%10000)*10000); } > > void SetDate( ULONG nNewDate ) { nDate = nNewDate; } > ULONG GetDate() const { return nDate; } > > void SetDay( USHORT nNewDay ); > void SetMonth( USHORT nNewMonth ); > void SetYear( USHORT nNewYear ); > USHORT GetDay() const { return (USHORT)(nDate % 100); } > USHORT GetMonth() const { return (USHORT)((nDate / 100) % 100); } > USHORT GetYear() const { return (USHORT)(nDate / 10000); } > > DayOfWeek GetDayOfWeek() const; > USHORT GetDayOfYear() const; > USHORT GetWeekOfYear( DayOfWeek eStartDay = MONDAY, > WeekCountStart eWeekStart = WEEKCOUNT_FIRST4DAYWEEK ) const; > > USHORT GetDaysInMonth() const; > USHORT GetDaysInYear() const { return (IsLeapYear()) ? 366 : 365; } > BOOL IsLeapYear() const; > BOOL IsValid() const; > > BOOL IsBetween( const Date& rFrom, const Date& rTo ) const > { return ((nDate >= rFrom.nDate) && > (nDate <= rTo.nDate)); } > > BOOL operator ==( const Date& rDate ) const > { return (nDate == rDate.nDate); } > BOOL operator !=( const Date& rDate ) const > { return (nDate != rDate.nDate); } > BOOL operator >( const Date& rDate ) const > { return (nDate > rDate.nDate); } > BOOL operator <( const Date& rDate ) const > { return (nDate < rDate.nDate); } > BOOL operator >=( const Date& rDate ) const > { return (nDate >= rDate.nDate); } > BOOL operator <=( const Date& rDate ) const > { return (nDate <= rDate.nDate); } > > Date& operator =( const Date& rDate ) > { nDate = rDate.nDate; return *this; } > Date& operator +=( long nDays ); > Date& operator -=( long nDays ); > Date& operator ++(); > Date& operator --(); > > Date operator ++( int ); > Date operator --( int ); > > > friend Date operator +( const Date& rDate, long nDays ); > friend Date operator -( const Date& rDate, long nDays ); > friend long operator -( const Date& rDate1, const Date& rDate2 ); > ># 98 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/tools/date.hxx" >}; > ># 16 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/tools/intn.hxx" 2 > > > > > >class ResId; >class BigInt; > > > > >enum DateFormat { MDY, DMY, YMD }; >enum TimeFormat { HOUR_12, HOUR_24 }; >enum DayOfWeekFormat { DAYOFWEEK_NONE, DAYOFWEEK_SHORT, DAYOFWEEK_LONG }; >enum MonthFormat { MONTH_NORMAL, MONTH_ZERO, MONTH_SHORT, MONTH_LONG }; >enum FollowingText { FOLLOWTEXT_PAGE, FOLLOWTEXT_PAGES }; >enum MeasurementSystem { MEASURE_METRIC, MEASURE_US }; >enum QuotationMark { QUOTATION_MARK = 0x0022, > APOSTOPHE_QUOTE = 0x0027, > LEFT_POINTING_GUILLEMET = 0x00AB, > RIGHT_POINTING_GUILLEMET = 0x00BB, > SINGLE_TURNED_COMMA_QUOTATION_MARK = 0x2018, > SINGLE_COMMA_QUOTATION_MARK = 0x2019, > LOW_SINGLE_COMMA_QUOTATION_MARK = 0x201A, > DOUBLE_TURNED_COMMA_QUOTATION_MARK = 0x201C, > DOUBLE_COMMA_QUOTATION_MARK = 0x201D, > LOW_DOUBLE_COMMA_QUOTATION_MARK = 0x201E }; > ># 59 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/tools/intn.hxx" >typedef BYTE (*LanguageTypeProc)( sal_Unicode c, LanguageType eLang ); >typedef sal_Unicode (*LanguageUpLowProc)( sal_Unicode c, LanguageType eLang ); >typedef StringCompare (*LanguageCompareProc)( const String& rStr1, const String& rStr2, > USHORT nFlags, LanguageType eLang ); >typedef sal_Unicode (*LanguageIndexProc)( const String& rStr, USHORT nFlags, LanguageType eLang ); > > > >class LanguageTable >{ >private: > USHORT nRefCount; > LanguageType eLanguage; > LanguageTypeProc pTypeProc; > LanguageUpLowProc pLowerProc; > LanguageUpLowProc pUpperProc; > LanguageCompareProc pCompareProc; > LanguageIndexProc pIndexProc; > String* pDayText[7]; > String* pAbbrevDayText[7]; > String* pMonthText[12]; > String* pAbbrevMonthText[12]; > String* pFollowingText[2]; > QuotationMark meQuotationMarkStart; > QuotationMark meQuotationMarkEnd; > QuotationMark meQuotationMarkStart2; > QuotationMark meQuotationMarkEnd2; > QuotationMark meDoubleQuotationMarkStart; > QuotationMark meDoubleQuotationMarkEnd; > QuotationMark meDoubleQuotationMarkStart2; > QuotationMark meDoubleQuotationMarkEnd2; > >public: > LanguageTable(); > LanguageTable( const LanguageTable& rTable ); > ~LanguageTable(); > > void SetLanguage( LanguageType eLang ) > { eLanguage = eLang; } > LanguageType GetLanguage() const > { return eLanguage; } > void SetTypeProc( LanguageTypeProc pProc ) > { pTypeProc = pProc; } > LanguageTypeProc GetTypeProc() const > { return pTypeProc; } > void SetLowerProc( LanguageUpLowProc pProc ) > { pLowerProc = pProc; } > LanguageUpLowProc GetLowerProc() const > { return pLowerProc; } > void SetUpperProc( LanguageUpLowProc pProc ) > { pUpperProc = pProc; } > LanguageUpLowProc GetUpperProc() const > { return pUpperProc; } > void SetCompareProc( LanguageCompareProc pProc ) > { pCompareProc = pProc; } > LanguageCompareProc GetCompareProc() const > { return pCompareProc; } > void SetIndexProc( LanguageIndexProc pProc ) > { pIndexProc = pProc; } > LanguageIndexProc GetIndexProc() const > { return pIndexProc; } > > void SetDayText( DayOfWeek eDay, const String& rText ) > { *pDayText[(USHORT)eDay] = rText; } > const String& GetDayText( DayOfWeek eDay ) const > { return *pDayText[(USHORT)eDay]; } > void SetAbbrevDayText( DayOfWeek eDay, const String& rText ) > { *pAbbrevDayText[(USHORT)eDay] = rText; } > const String& GetAbbrevDayText( DayOfWeek eDay ) const > { return *pAbbrevDayText[(USHORT)eDay]; } > void SetMonthText( USHORT nMonth, const String& rText ) > { *pMonthText[nMonth-1] = rText; } > const String& GetMonthText( USHORT nMonth ) const > { return *pMonthText[nMonth-1]; } > void SetAbbrevMonthText( USHORT nMonth, const String& rText ) > { *pAbbrevMonthText[nMonth-1] = rText; } > const String& GetAbbrevMonthText( USHORT nMonth ) const > { return *pAbbrevMonthText[nMonth-1]; } > void SetFollowingText( FollowingText eText, const String& rText ) > { *pFollowingText[(USHORT)eText] = rText; } > const String& GetFollowingText( FollowingText eText ) const > { return *pFollowingText[(USHORT)eText]; } > > void SetQuotationMarkStart( QuotationMark eQuotationMark ) > { meQuotationMarkStart = eQuotationMark; } > QuotationMark GetQuotationMarkStart() const > { return meQuotationMarkStart; } > void SetQuotationMarkEnd( QuotationMark eQuotationMark ) > { meQuotationMarkEnd = eQuotationMark; } > QuotationMark GetQuotationMarkEnd() const > { return meQuotationMarkEnd; } > void SetQuotationMarkStart2( QuotationMark eQuotationMark ) > { meQuotationMarkStart2 = eQuotationMark; } > QuotationMark GetQuotationMarkStart2() const > { return meQuotationMarkStart2; } > void SetQuotationMarkEnd2( QuotationMark eQuotationMark ) > { meQuotationMarkEnd2 = eQuotationMark; } > QuotationMark GetQuotationMarkEnd2() const > { return meQuotationMarkEnd2; } > > void SetDoubleQuotationMarkStart( QuotationMark eQuotationMark ) > { meDoubleQuotationMarkStart = eQuotationMark; } > QuotationMark GetDoubleQuotationMarkStart() const > { return meDoubleQuotationMarkStart; } > void SetDoubleQuotationMarkEnd( QuotationMark eQuotationMark ) > { meDoubleQuotationMarkEnd = eQuotationMark; } > QuotationMark GetDoubleQuotationMarkEnd() const > { return meDoubleQuotationMarkEnd; } > void SetDoubleQuotationMarkStart2( QuotationMark eQuotationMark ) > { meDoubleQuotationMarkStart2 = eQuotationMark; } > QuotationMark GetDoubleQuotationMarkStart2() const > { return meDoubleQuotationMarkStart2; } > void SetDoubleQuotationMarkEnd2( QuotationMark eQuotationMark ) > { meDoubleQuotationMarkEnd2 = eQuotationMark; } > QuotationMark GetDoubleQuotationMarkEnd2() const > { return meDoubleQuotationMarkEnd2; } > > LanguageTable& operator=( const LanguageTable& rTable ); > > BOOL operator==( const LanguageTable& rTable ) const; > BOOL operator!=( const LanguageTable& rTable ) const > { return !LanguageTable::operator==( rTable ); } >}; > >class FormatTable >{ >private: > USHORT nRefCount; > LanguageType eLanguage; > DayOfWeek eWeekStart; > WeekCountStart eWeekCountStart; > DateFormat eDateFormat; > sal_Unicode cDateSep; > BOOL bDateDayLeadingZero; > BOOL bDateMonthLeadingZero; > BOOL bDateCentury; > DateFormat eLongDateFormat; > DayOfWeekFormat eLongDateDayOfWeekFormat; > BOOL bLongDateDayLeadingZero; > String aLongDateDayOfWeekSep; > String aLongDateDaySep; > String aLongDateMonthSep; > String aLongDateYearSep; > MonthFormat eLongDateMonthFormat; > BOOL bLongDateCentury; > TimeFormat eTimeFormat; > sal_Unicode cTimeSep; > sal_Unicode cTime100SecSep; > BOOL bTimeLeadingZero; > String aTimeAM; > String aTimePM; > String aTimeStr; > sal_Unicode cNumThousandSep; > BOOL bNumThousandSep; > sal_Unicode cNumDecimalSep; > BOOL bNumLeadingZero; > USHORT nNumDigits; > BOOL bNumTrailingZeros; > USHORT nCurrPositiveFormat; > USHORT nCurrNegativeFormat; > String aCurrSymbol; > String aCurrBankSymbol; > String aCurrSymbol2; > String aCurrBankSymbol2; > USHORT nCurrDigits; > sal_Unicode cCurrZeroChar; > sal_Unicode cListSep; > USHORT nPercentFormat; > MeasurementSystem eMeasurementSystem; > >public: > FormatTable(); > FormatTable( const FormatTable& rTable ); > ~FormatTable(); > > void SetLanguage( LanguageType eLang ) > { eLanguage = eLang; } > LanguageType GetLanguage() const > { return eLanguage; } > void SetWeekStart( DayOfWeek eDay ) > { eWeekStart = eDay; } > DayOfWeek GetWeekStart() const > { return eWeekStart; } > void SetWeekCountStart( WeekCountStart eStart ) > { eWeekCountStart = eStart; } > WeekCountStart GetWeekCountStart() const > { return eWeekCountStart; } > void SetDateFormat( DateFormat eFormat ) > { eDateFormat = eFormat; } > DateFormat GetDateFormat() const > { return eDateFormat; } > void SetDateSep( sal_Unicode cSep ) > { cDateSep = cSep; } > sal_Unicode GetDateSep() const > { return cDateSep; } > void SetDateDayLeadingZero( BOOL bLeading ) > { bDateDayLeadingZero = bLeading; } > BOOL IsDateDayLeadingZero() const > { return bDateDayLeadingZero; } > void SetDateMonthLeadingZero( BOOL bLeading ) > { bDateMonthLeadingZero = bLeading; } > BOOL IsDateMonthLeadingZero() const > { return bDateMonthLeadingZero; } > void SetDateCentury( BOOL bCentury ) > { bDateCentury = bCentury; } > BOOL IsDateCentury() const > { return bDateCentury; } > void SetLongDateFormat( DateFormat eFormat ) > { eLongDateFormat = eFormat; } > DateFormat GetLongDateFormat() const > { return eLongDateFormat; } > void SetLongDateDayOfWeekFormat( DayOfWeekFormat eFormat ) > { eLongDateDayOfWeekFormat = eFormat; } > DayOfWeekFormat GetLongDateDayOfWeekFormat() const > { return eLongDateDayOfWeekFormat; } > void SetLongDateDayOfWeekSep( const String& rStr ) > { aLongDateDayOfWeekSep = rStr; } > const String& GetLongDateDayOfWeekSep() const > { return aLongDateDayOfWeekSep; } > void SetLongDateDaySep( const String& rStr ) > { aLongDateDaySep = rStr; } > const String& GetLongDateDaySep() const > { return aLongDateDaySep; } > void SetLongDateDayLeadingZero( BOOL bLeading ) > { bLongDateDayLeadingZero = bLeading; } > BOOL IsLongDateDayLeadingZero() const > { return bLongDateDayLeadingZero; } > void SetLongDateMonthFormat( MonthFormat eFormat ) > { eLongDateMonthFormat = eFormat; } > MonthFormat GetLongDateMonthFormat() const > { return eLongDateMonthFormat; } > void SetLongDateMonthSep( const String& rStr ) > { aLongDateMonthSep = rStr; } > const String& GetLongDateMonthSep() const > { return aLongDateMonthSep; } > void SetLongDateYearSep( const String& rStr ) > { aLongDateYearSep = rStr; } > const String& GetLongDateYearSep() const > { return aLongDateYearSep; } > void SetLongDateCentury( BOOL bCentury ) > { bLongDateCentury = bCentury; } > BOOL IsLongDateCentury() const > { return bLongDateCentury; } > void SetTimeFormat( TimeFormat eFormat ) > { eTimeFormat = eFormat; } > TimeFormat GetTimeFormat() const > { return eTimeFormat; } > void SetTimeSep( sal_Unicode cSep ) > { cTimeSep = cSep; } > sal_Unicode GetTimeSep() const > { return cTimeSep; } > void SetTime100SecSep( sal_Unicode cSep ) > { cTime100SecSep = cSep; } > sal_Unicode GetTime100SecSep() const > { return cTime100SecSep; } > void SetTimeLeadingZero( BOOL bLeading ) > { bTimeLeadingZero = bLeading; } > BOOL IsTimeLeadingZero() const > { return bTimeLeadingZero; } > void SetTimeAM( const String& rStr ) > { aTimeAM = rStr; } > const String& GetTimeAM() const > { return aTimeAM; } > void SetTimePM( const String& rStr ) > { aTimePM = rStr; } > const String& GetTimePM() const > { return aTimePM; } > void SetTimeStr( const String& rStr ) > { aTimeStr = rStr; } > const String& GetTimeStr() const > { return aTimeStr; } > void SetNumThousandSep( sal_Unicode cSep ) > { cNumThousandSep = cSep; } > sal_Unicode GetNumThousandSep() const > { return cNumThousandSep; } > void SetNumDecimalSep( sal_Unicode cSep ) > { cNumDecimalSep = cSep; } > sal_Unicode GetNumDecimalSep() const > { return cNumDecimalSep; } > void EnableNumThousandSep( BOOL bSep = 1 ) > { bNumThousandSep = bSep; } > BOOL IsNumThousandSep() const > { return bNumThousandSep; } > void SetNumLeadingZero( BOOL bLeading ) > { bNumLeadingZero = bLeading; } > BOOL IsNumLeadingZero() const > { return bNumLeadingZero; } > void SetNumDigits( USHORT nDigits ) > { nNumDigits = nDigits; } > USHORT GetNumDigits() const > { return nNumDigits; } > void SetNumTrailingZeros( BOOL bTrailingZeros = 1 ) > { bNumTrailingZeros = bTrailingZeros; } > BOOL IsNumTrailingZeros() const > { return bNumTrailingZeros; } > void SetCurrPositiveFormat( USHORT nFormat ) > { nCurrPositiveFormat = nFormat; } > USHORT GetCurrPositiveFormat() const > { return nCurrPositiveFormat; } > void SetCurrNegativeFormat( USHORT nFormat ) > { nCurrNegativeFormat = nFormat; } > USHORT GetCurrNegativeFormat() const > { return nCurrNegativeFormat; } > void SetCurrSymbol( const String& rStr ) > { aCurrSymbol = rStr; } > const String& GetCurrSymbol() const > { return aCurrSymbol; } > void SetCurrBankSymbol( const String& rStr ) > { aCurrBankSymbol = rStr; } > const String& GetCurrBankSymbol() const > { return aCurrBankSymbol; } > void SetCurrSymbol2( const String& rStr ) > { aCurrSymbol2 = rStr; } > const String& GetCurrSymbol2() const > { return aCurrSymbol2; } > void SetCurrBankSymbol2( const String& rStr ) > { aCurrBankSymbol2 = rStr; } > const String& GetCurrBankSymbol2() const > { return aCurrBankSymbol2; } > void SetCurrDigits( USHORT nDigits ) > { nCurrDigits = nDigits; } > USHORT GetCurrDigits() const > { return nCurrDigits; } > void SetCurrZeroChar( sal_Unicode cZeroChar ) > { cCurrZeroChar = cZeroChar; } > sal_Unicode GetCurrZeroChar() const > { return cCurrZeroChar; } > void SetListSep( sal_Unicode cSep ) > { cListSep = cSep; } > sal_Unicode GetListSep() const > { return cListSep; } > void SetPercentFormat( USHORT nFormat ) > { nPercentFormat = nFormat; } > USHORT GetPercentFormat() const > { return nPercentFormat; } > > void SetMeasurementSystem( MeasurementSystem eSystem ) > { eMeasurementSystem = eSystem; } > MeasurementSystem GetMeasurementSystem() const > { return eMeasurementSystem; } > > FormatTable& operator=( const FormatTable& rTable ); > > BOOL operator==( const FormatTable& rTable ) const; > BOOL operator!=( const FormatTable& rTable ) const > { return !FormatTable::operator==( rTable ); } >}; > > > >class LanguageTable; >class FormatTable; > >struct InternationalData >{ > LanguageTable* pLanguage; > FormatTable* pFormat; > USHORT nRefCount; > BOOL bStaticLang; > BOOL bStaticFormat; >}; > > >void UpdateInternationalSystemTables(); >LanguageType GetSystemLanguage( USHORT nIndex = 0xFFFF ); >LanguageType GetSystemFormatLanguage( USHORT nIndex = 0xFFFF ); > > > > > > >class International >{ > void Init( LanguageType eLang, LanguageType eFormat ); > >private: > InternationalData* pData; > >public: > International() > { Init( 0x0000, 0x0000 ); } > International( const International& rIntn ); > International( const ResId& rResId ); > International( LanguageType eLanguage ) > { Init( eLanguage, eLanguage ); } > International( LanguageType eLanguage, > LanguageType eFormat ) > { Init( eLanguage, eFormat ); } > ~International(); > > > LanguageType GetLanguage() const > { return pData->pLanguage->GetLanguage(); } > LanguageType GetFormatLanguage() const > { return pData->pFormat->GetLanguage(); } > > void SetQuotationMarkStart( QuotationMark eQuotationMark ); > QuotationMark GetQuotationMarkStart() const > { return pData->pLanguage->GetQuotationMarkStart(); } > void SetQuotationMarkEnd( QuotationMark eQuotationMark ); > QuotationMark GetQuotationMarkEnd() const > { return pData->pLanguage->GetQuotationMarkEnd(); } > void SetQuotationMarkStart2( QuotationMark eQuotationMark ); > QuotationMark GetQuotationMarkStart2() const > { return pData->pLanguage->GetQuotationMarkStart2(); } > void SetQuotationMarkEnd2( QuotationMark eQuotationMark ); > QuotationMark GetQuotationMarkEnd2() const > { return pData->pLanguage->GetQuotationMarkEnd2(); } > void SetDoubleQuotationMarkStart( QuotationMark eQuotationMark ); > QuotationMark GetDoubleQuotationMarkStart() const > { return pData->pLanguage->GetDoubleQuotationMarkStart(); } > void SetDoubleQuotationMarkEnd( QuotationMark eQuotationMark ); > QuotationMark GetDoubleQuotationMarkEnd() const > { return pData->pLanguage->GetDoubleQuotationMarkEnd(); } > void SetDoubleQuotationMarkStart2( QuotationMark eQuotationMark ); > QuotationMark GetDoubleQuotationMarkStart2() const > { return pData->pLanguage->GetDoubleQuotationMarkStart2(); } > void SetDoubleQuotationMarkEnd2( QuotationMark eQuotationMark ); > QuotationMark GetDoubleQuotationMarkEnd2() const > { return pData->pLanguage->GetDoubleQuotationMarkEnd2(); } > > void SetDayText( DayOfWeek eDay, const String& rStr ); > const String& GetDayText( DayOfWeek eDay ) const > { return pData->pLanguage->GetDayText( eDay ); } > void SetAbbrevDayText( DayOfWeek eDay, const String& rStr ); > const String& GetAbbrevDayText( DayOfWeek eDay ) const > { return pData->pLanguage->GetAbbrevDayText( eDay ); } > void SetMonthText( USHORT nMonth, const String& rStr ); > const String& GetMonthText( USHORT nMonth ) const > { return pData->pLanguage->GetMonthText( nMonth ); } > void SetAbbrevMonthText( USHORT nMonth, const String& rStr ); > const String& GetAbbrevMonthText( USHORT nMonth ) const > { return pData->pLanguage->GetAbbrevMonthText( nMonth ); } > void SetFollowingText( FollowingText eText, const String& rStr ); > const String& GetFollowingText( FollowingText eText ) const > { return pData->pLanguage->GetFollowingText( eText ); } > > sal_Unicode Lower( sal_Unicode c ) const; > sal_Unicode Upper( sal_Unicode c ) const; > BYTE GetCharType( sal_Unicode c ) const; > BOOL IsLower( sal_Unicode c ) const > { return ((GetCharType( c ) & (((BYTE)0x08) | ((BYTE)0x02) | ((BYTE)0x04))) != 0); } > BOOL IsUpper( sal_Unicode c ) const > { return ((GetCharType( c ) & (((BYTE)0x10) | ((BYTE)0x02) | ((BYTE)0x04))) != 0); } > BOOL IsAlpha( sal_Unicode c ) const > { return ((GetCharType( c ) & ((BYTE)0x01)) != 0); } > BOOL IsNumeric( sal_Unicode c ) const > { return ((GetCharType( c ) & ((BYTE)0x02)) != 0); } > BOOL IsAlphaNumeric( sal_Unicode c ) const > { return ((GetCharType( c ) & (((BYTE)0x01) | ((BYTE)0x02))) != 0); } > > void ToLower( String& rStr ) const; > void ToUpper( String& rStr ) const; > String Lower( const String& rStr ) const; > String Upper( const String& rStr ) const; > BOOL IsStringType( const String& rStr, BYTE nType ) const; > BOOL IsLower( const String& rStr ) const > { return IsStringType( rStr, ((BYTE)0x08) | ((BYTE)0x02) | ((BYTE)0x04) ); } > BOOL IsUpper( const String& rStr ) const > { return IsStringType( rStr, ((BYTE)0x10) | ((BYTE)0x02) | ((BYTE)0x04) ); } > BOOL IsAlpha( const String& rStr ) const > { return IsStringType( rStr, ((BYTE)0x01) ); } > BOOL IsNumeric( const String& rStr ) const > { return IsStringType( rStr, ((BYTE)0x02) ); } > BOOL IsAlphaNumeric( const String& rStr ) const > { return IsStringType( rStr, ((BYTE)0x01) | ((BYTE)0x02) ); } > > StringCompare Compare( const String& rStr1, const String& rStr2, > USHORT nFlags = 0 ) const; > BOOL CompareEqual( const String& rStr1, const String& rStr2, > USHORT nFlags = 0 ) const; > > sal_Unicode GetIndexChar( const String& rStr1, USHORT nFlags = 0 ) const; > sal_Unicode GetQuotationMarkStartChar() const { return (sal_Unicode)pData->pLanguage->GetQuotationMarkStart(); } > sal_Unicode GetQuotationMarkEndChar() const { return (sal_Unicode)pData->pLanguage->GetQuotationMarkEnd(); } > sal_Unicode GetDoubleQuotationMarkStartChar() const { return (sal_Unicode)pData->pLanguage->GetDoubleQuotationMarkStart(); } > sal_Unicode GetDoubleQuotationMarkEndChar() const { return (sal_Unicode)pData->pLanguage->GetDoubleQuotationMarkEnd(); } > > sal_Char GetQuotationMarkStartChar( rtl_TextEncoding eEncoding, > rtl_TextEncoding eOptionalEncoding = ((rtl_TextEncoding)0), > BOOL* pOptionalUsed = __null ) const; > sal_Char GetQuotationMarkEndChar( rtl_TextEncoding eEncoding, > rtl_TextEncoding eOptionalEncoding = ((rtl_TextEncoding)0), > BOOL* pOptionalUsed = __null ) const; > sal_Char GetDoubleQuotationMarkStartChar( rtl_TextEncoding eEncoding, > rtl_TextEncoding eOptionalEncoding = ((rtl_TextEncoding)0), > BOOL* pOptionalUsed = __null ) const; > sal_Char GetDoubleQuotationMarkEndChar( rtl_TextEncoding eEncoding, > rtl_TextEncoding eOptionalEncoding = ((rtl_TextEncoding)0), > BOOL* pOptionalUsed = __null ) const; > > void SetWeekStart( DayOfWeek eDay ); > DayOfWeek GetWeekStart() const > { return pData->pFormat->GetWeekStart(); } > void SetWeekCountStart( WeekCountStart eStart ); > WeekCountStart GetWeekCountStart() const > { return pData->pFormat->GetWeekCountStart(); } > > void SetDateFormat( DateFormat eFormat ); > DateFormat GetDateFormat() const > { return pData->pFormat->GetDateFormat(); } > void SetDateSep( sal_Unicode cSep ); > sal_Unicode GetDateSep() const > { return pData->pFormat->GetDateSep(); } > void SetDateDayLeadingZero( BOOL bLeading ); > BOOL IsDateDayLeadingZero() const > { return pData->pFormat->IsDateDayLeadingZero(); } > void SetDateMonthLeadingZero( BOOL bLeading ); > BOOL IsDateMonthLeadingZero() const > { return pData->pFormat->IsDateMonthLeadingZero(); } > void SetDateCentury( BOOL bCentury ); > BOOL IsDateCentury() const > { return pData->pFormat->IsDateCentury(); } > String GetDate( const Date& rDate ) const; > > void SetLongDateFormat( DateFormat eFormat ); > DateFormat GetLongDateFormat() const > { return pData->pFormat->GetLongDateFormat(); } > void SetLongDateDayOfWeekFormat( DayOfWeekFormat eFormat ); > DayOfWeekFormat GetLongDateDayOfWeekFormat() const > { return pData->pFormat->GetLongDateDayOfWeekFormat(); } > void SetLongDateDayOfWeekSep( const String& rStr ); > const String& GetLongDateDayOfWeekSep() const > { return pData->pFormat->GetLongDateDayOfWeekSep(); } > void SetLongDateDayLeadingZero( BOOL bLeading ); > BOOL IsLongDateDayLeadingZero() const > { return pData->pFormat->IsLongDateDayLeadingZero(); } > void SetLongDateDaySep( const String& rStr ); > const String& GetLongDateDaySep() const > { return pData->pFormat->GetLongDateDaySep(); } > void SetLongDateMonthFormat( MonthFormat eFormat ); > MonthFormat GetLongDateMonthFormat() const > { return pData->pFormat->GetLongDateMonthFormat(); } > void SetLongDateMonthSep( const String& rStr ); > const String& GetLongDateMonthSep() const > { return pData->pFormat->GetLongDateMonthSep(); } > void SetLongDateCentury( BOOL bCentury ); > BOOL IsLongDateCentury() const > { return pData->pFormat->IsLongDateCentury(); } > void SetLongDateYearSep( const String& rStr ); > const String& GetLongDateYearSep() const > { return pData->pFormat->GetLongDateYearSep(); } > String GetLongDate( const Date& rDate ) const; > > void SetTimeLeadingZero( BOOL bLeading ); > BOOL IsTimeLeadingZero() const > { return pData->pFormat->IsTimeLeadingZero(); } > void SetTimeFormat( TimeFormat eFormat ); > TimeFormat GetTimeFormat() const > { return pData->pFormat->GetTimeFormat(); } > void SetTimeSep( sal_Unicode cSep ); > sal_Unicode GetTimeSep() const > { return pData->pFormat->GetTimeSep(); } > void SetTime100SecSep( sal_Unicode cSep ); > sal_Unicode GetTime100SecSep() const > { return pData->pFormat->GetTime100SecSep(); } > void SetTimeAM( const String& rStr ); > const String& GetTimeAM() const > { return pData->pFormat->GetTimeAM(); } > void SetTimePM( const String& rStr ); > const String& GetTimePM() const > { return pData->pFormat->GetTimePM(); } > void SetTimeStr( const String& rStr ); > const String& GetTimeStr() const > { return pData->pFormat->GetTimeStr(); } > String GetDuration( const Time& rTime, > BOOL bSec = 1, BOOL b100Sec = 0 ) const; > String GetTime( const Time& rTime, > BOOL bSec = 1, BOOL b100Sec = 0 ) const; > > void EnableNumThousandSep( BOOL bSep = 1 ); > BOOL IsNumThousandSep() const > { return pData->pFormat->IsNumThousandSep(); } > void SetNumThousandSep( sal_Unicode cSep ); > sal_Unicode GetNumThousandSep() const > { return pData->pFormat->GetNumThousandSep(); } > void SetNumDecimalSep( sal_Unicode cSep ); > sal_Unicode GetNumDecimalSep() const > { return pData->pFormat->GetNumDecimalSep(); } > void SetNumLeadingZero( BOOL bLeading ); > BOOL IsNumLeadingZero() const > { return pData->pFormat->IsNumLeadingZero(); } > void SetNumDigits( USHORT nDigits ); > USHORT GetNumDigits() const > { return pData->pFormat->GetNumDigits(); } > void SetNumTrailingZeros( BOOL bTrailingZeros = 1 ); > BOOL IsNumTrailingZeros() const > { return pData->pFormat->IsNumTrailingZeros(); } > String GetNum( long nNumber, USHORT nDigits ) const; > String GetNum( long nNumber ) const > { return GetNum( nNumber, GetNumDigits() ); } > > void SetCurrPositiveFormat( USHORT nFormat ); > USHORT GetCurrPositiveFormat() const > { return pData->pFormat->GetCurrPositiveFormat(); } > void SetCurrNegativeFormat( USHORT nFormat ); > USHORT GetCurrNegativeFormat() const > { return pData->pFormat->GetCurrNegativeFormat(); } > void SetCurrDigits( USHORT nDigits ); > USHORT GetCurrDigits() const > { return pData->pFormat->GetCurrDigits(); } > void SetCurrSymbol( const String& rSymbol ); > const String& GetCurrSymbol() const > { return pData->pFormat->GetCurrSymbol(); } > void SetCurrBankSymbol( const String& rSymbol ); > const String& GetCurrBankSymbol() const > { return pData->pFormat->GetCurrBankSymbol(); } > void SetCurrSymbol2( const String& rSymbol2 ); > const String& GetCurrSymbol2() const > { return pData->pFormat->GetCurrSymbol2(); } > void SetCurrBankSymbol2( const String& rSymbol2 ); > const String& GetCurrBankSymbol2() const > { return pData->pFormat->GetCurrBankSymbol2(); } > void SetCurrZeroChar( sal_Unicode cZeroChar ); > sal_Unicode GetCurrZeroChar() const > { return pData->pFormat->GetCurrZeroChar(); } > String GetCurr( long nNumber, USHORT nDigits ) const; > String GetCurr( long nNumber ) const > { return GetCurr( nNumber, GetCurrDigits() ); } > String GetCurr( const BigInt &rNumber, USHORT nDigits ) const; > String GetCurr( const BigInt &rNumber ) const > { return GetCurr( rNumber, GetCurrDigits() ); } > > void SetListSep( sal_Unicode cSep ); > sal_Unicode GetListSep() const > { return pData->pFormat->GetListSep(); } > > void SetPercentFormat( USHORT nFormat ); > USHORT GetPercentFormat() const > { return pData->pFormat->GetPercentFormat(); } > String GetPercent( long nPercent ) const; > > void SetMeasurementSystem( MeasurementSystem eSystem ); > MeasurementSystem GetMeasurementSystem() const > { return pData->pFormat->GetMeasurementSystem(); } > > > International& operator=( const International& rIntn ); > > BOOL operator==( const International& rIntn ) const; > BOOL operator!=( const International& rIntn ) const > { return !International::operator==( rIntn ); } > > static LanguageType GetNeutralLanguage( LanguageType eLang ); > static LanguageType GetRealLanguage( LanguageType eLang ); > > static void RegisterLanguage( const LanguageTable& rTable ); > static BOOL IsLanguageAvailable( LanguageType eLanguage ); > static USHORT GetAvailableLanguageCount(); > static LanguageType GetAvailableLanguage( USHORT nIndex ); > static void RegisterFormat( const FormatTable& rTable ); > static BOOL IsFormatAvailable( LanguageType eLang ); > static USHORT GetAvailableFormatCount(); > static LanguageType GetAvailableFormat( USHORT nIndex ); >}; > ># 7 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/vcl/settings.hxx" 2 ># 20 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/vcl/settings.hxx" ># 10 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/vcl/accel.hxx" 1 > > > > > > ># 14 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/vcl/keycod.hxx" 1 > > > > > > > >class Window; > >class KeyCode >{ >private: > USHORT nCode; > KeyFuncType eFunc; > >public: > KeyCode() { nCode = 0; eFunc = KEYFUNC_DONTKNOW; } > KeyCode( const ResId& rResId ); > KeyCode( USHORT nKey, USHORT nModifier = 0 ) > { nCode = nKey | nModifier; eFunc = KEYFUNC_DONTKNOW; } > KeyCode( USHORT nKey, BOOL bShift, BOOL bMod1, BOOL bMod2 ); > KeyCode( KeyFuncType eFunction ); > > USHORT GetFullCode() const { return nCode; } > USHORT GetFullKeyCode() const { return (nCode & ~((USHORT)0x8000)); } > KeyFuncType GetFullFunction() const { return eFunc; } > BOOL IsDefinedKeyCodeEqual( const KeyCode& rKeyCode ) const; > > USHORT GetCode() const > { return (nCode & ((USHORT)0x0FFF)); } > > USHORT GetModifier() const > { return (nCode & ((USHORT)0x7000)); } > USHORT GetAllModifier() const > { return (nCode & ((USHORT)0xF000)); } > BOOL IsShift() const > { return ((nCode & ((USHORT)0x1000)) != 0); } > BOOL IsMod1() const > { return ((nCode & ((USHORT)0x2000)) != 0); } > BOOL IsMod2() const > { return ((nCode & ((USHORT)0x4000)) != 0); } > BOOL IsControlMod() const > { return ((nCode & ((USHORT)0x8000)) != 0); } > > USHORT GetGroup() const > { return (nCode & ((USHORT)0x0F00)); } > > String GetName( Window* pWindow = __null ) const; > String GetSymbolName( const String& rFontName, Window* pWindow = __null ) const; > > BOOL IsFunction() const > { return ((eFunc != KEYFUNC_DONTKNOW) ? 1 : 0); } > > KeyFuncType GetFunction() const; > > BOOL operator ==( const KeyCode& rKeyCode ) const; > BOOL operator !=( const KeyCode& rKeyCode ) const; >}; > >inline KeyCode::KeyCode( USHORT nKey, BOOL bShift, BOOL bMod1, BOOL bMod2 ) >{ > nCode = nKey; > if( bShift ) > nCode |= ((USHORT)0x1000); > if( bMod1 ) > nCode |= ((USHORT)0x2000); > if( bMod2 ) > nCode |= ((USHORT)0x4000); > eFunc = KEYFUNC_DONTKNOW; >} > >inline BOOL KeyCode::operator ==( const KeyCode& rKeyCode ) const >{ > if ( (eFunc == KEYFUNC_DONTKNOW) && (rKeyCode.eFunc == KEYFUNC_DONTKNOW) ) > return (nCode == rKeyCode.nCode); > else > return (GetFunction() == rKeyCode.GetFunction()); >} > >inline BOOL KeyCode::operator !=( const KeyCode& rKeyCode ) const >{ > if ( (eFunc == KEYFUNC_DONTKNOW) && (rKeyCode.eFunc == KEYFUNC_DONTKNOW) ) > return (nCode != rKeyCode.nCode); > else > return (GetFunction() != rKeyCode.GetFunction()); >} > >inline BOOL KeyCode::IsDefinedKeyCodeEqual( const KeyCode& rKeyCode ) const >{ > if ( (eFunc == KEYFUNC_DONTKNOW) && (rKeyCode.eFunc == KEYFUNC_DONTKNOW) ) > return (GetFullKeyCode() == rKeyCode.GetFullKeyCode()); > else > return (GetFunction() == rKeyCode.GetFunction()); >} > ># 16 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/vcl/accel.hxx" 2 > > >class ImplAccelData; >class ImplAccelEntry; > >class Accelerator : public Resource >{ >private: > ImplAccelData* mpData; > String maHelpStr; > Link maActivateHdl; > Link maDeactivateHdl; > Link maSelectHdl; > > KeyCode maCurKeyCode; > USHORT mnCurId; > USHORT mnCurRepeat; > BOOL mbIsCancel; > BOOL* mpDel; > ># 49 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/vcl/accel.hxx" >protected: > void ImplLoadRes( const ResId& rResId ); > >public: > Accelerator(); > Accelerator( const Accelerator& rAccel ); > Accelerator( const ResId& rResId ); > ~Accelerator(); > > virtual void Activate(); > virtual void Deactivate(); > virtual void Select(); > > void InsertItem( USHORT nItemId, const KeyCode& rKeyCode ); > void InsertItem( const ResId& rResId ); > void RemoveItem( USHORT nItemId ); > void RemoveItem( const KeyCode rKeyCode ); > void Clear(); > > USHORT GetCurItemId() const { return mnCurId; } > const KeyCode& GetCurKeyCode() const { return maCurKeyCode; } > USHORT GetCurRepeat() const { return mnCurRepeat; } > BOOL IsCancel() const { return mbIsCancel; } > > USHORT GetItemCount() const; > USHORT GetItemId( USHORT nPos ) const; > KeyCode GetItemKeyCode( USHORT nPos ) const; > USHORT GetItemId( const KeyCode& rKeyCode ) const; > KeyCode GetKeyCode( USHORT nItemId ) const; > BOOL IsIdValid( USHORT nItemId ) const; > BOOL IsKeyCodeValid( const KeyCode rKeyCode ) const; > BOOL Call( const KeyCode& rKeyCode, USHORT nRepeat = 0 ); > > void SetAccel( USHORT nItemId, Accelerator* pAccel ); > Accelerator* GetAccel( USHORT nItemId ) const; > void SetAccel( const KeyCode rKeyCode, Accelerator* pAccel ); > Accelerator* GetAccel( const KeyCode rKeyCode ) const; > > void EnableItem( USHORT nItemId, BOOL bEnable = 1 ); > BOOL IsItemEnabled( USHORT nItemId ) const; > void EnableItem( const KeyCode rKeyCode, BOOL bEnable = 1 ); > BOOL IsItemEnabled( const KeyCode rKeyCode ) const; > > void SetHelpText( const String& rHelpText ) { maHelpStr = rHelpText; } > const String& GetHelpText() const { return maHelpStr; } > > void SetActivateHdl( const Link& rLink ) { maActivateHdl = rLink; } > const Link& GetActivateHdl() const { return maActivateHdl; } > void SetDeactivateHdl( const Link& rLink ) { maDeactivateHdl = rLink; } > const Link& GetDeactivateHdl() const { return maDeactivateHdl; } > void SetSelectHdl( const Link& rLink ) { maSelectHdl = rLink; } > const Link& GetSelectHdl() const { return maSelectHdl; } > > Accelerator& operator=( const Accelerator& rAccel ); >}; > ># 20 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/vcl/settings.hxx" 2 > > > > ># 6 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/lang/Locale.hpp" 1 ># 12 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/lang/Locale.hdl" 1 >namespace com >{ >namespace sun >{ >namespace star >{ >namespace lang >{ > > > > > > > >struct Locale >{ > inline Locale(); > > Locale(const ::rtl::OUString& __Language, const ::rtl::OUString& __Country, const ::rtl::OUString& __Variant); > > ::rtl::OUString Language; > ::rtl::OUString Country; > ::rtl::OUString Variant; >}; > > > > > > > >} >} >} >} > >namespace com { namespace sun { namespace star { namespace uno { >class Type; >} } } } > >inline const ::com::sun::star::uno::Type& getCppuType( const ::com::sun::star::lang::Locale* ); > ># 6 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/lang/Locale.hpp" 2 ># 17 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/lang/Locale.hpp" >namespace com >{ >namespace sun >{ >namespace star >{ >namespace lang >{ > >inline Locale::Locale() > : Language() > , Country() > , Variant() >{ >} > >inline Locale::Locale(const ::rtl::OUString& __Language, const ::rtl::OUString& __Country, const ::rtl::OUString& __Variant) > : Language(__Language) > , Country(__Country) > , Variant(__Variant) >{ >} > >} >} >} >} > > > > > >inline const ::com::sun::star::uno::Type& getCppuType( const ::com::sun::star::lang::Locale* ) >{ > > static typelib_TypeDescriptionReference * s_pType_com_sun_star_lang_Locale = 0; > > > if ( !s_pType_com_sun_star_lang_Locale ) > { > typelib_TypeDescriptionReference * aMemberRefs[3]; > const ::com::sun::star::uno::Type& rMemberType_string = getCppuType( ( const ::rtl::OUString *)0 ); > aMemberRefs[0] = rMemberType_string.getTypeLibType(); > aMemberRefs[1] = rMemberType_string.getTypeLibType(); > aMemberRefs[2] = rMemberType_string.getTypeLibType(); > > typelib_static_compound_type_init( &s_pType_com_sun_star_lang_Locale, typelib_TypeClass_STRUCT, "com.sun.star.lang.Locale", 0, 3, aMemberRefs ); > } > return * reinterpret_cast< const ::com::sun::star::uno::Type * >( &s_pType_com_sun_star_lang_Locale ); >} > ># 24 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/vcl/settings.hxx" 2 > > >class SvStream; > >class ImplMachineData >{ > friend class MachineSettings; > > > > > > >private: > USHORT mnRefCount; > ULONG mnOptions; > ULONG mnScreenOptions; > ULONG mnPrintOptions; > long mnScreenRasterFontDeviation; >}; > >class MachineSettings >{ > void CopyData(); > >private: > ImplMachineData* mpData; > >public: > MachineSettings(); > MachineSettings( const MachineSettings& rSet ); > ~MachineSettings(); > > void SetOptions( ULONG nOptions ) > { CopyData(); mpData->mnOptions = nOptions; } > ULONG GetOptions() const > { return mpData->mnOptions; } > void SetScreenOptions( ULONG nOptions ) > { CopyData(); mpData->mnScreenOptions = nOptions; } > ULONG GetScreenOptions() const > { return mpData->mnScreenOptions; } > void SetPrintOptions( ULONG nOptions ) > { CopyData(); mpData->mnPrintOptions = nOptions; } > ULONG GetPrintOptions() const > { return mpData->mnPrintOptions; } > > void SetScreenRasterFontDeviation( long nDeviation ) > { CopyData(); mpData->mnScreenRasterFontDeviation = nDeviation; } > long GetScreenRasterFontDeviation() const > { return mpData->mnScreenRasterFontDeviation; } > > const MachineSettings& operator =( const MachineSettings& rSet ); > > BOOL operator ==( const MachineSettings& rSet ) const; > BOOL operator !=( const MachineSettings& rSet ) const > { return !(*this == rSet); } > > friend SvStream& operator>>( SvStream& rIStream, MachineSettings& rSet ); > friend SvStream& operator<<( SvStream& rOStream, const MachineSettings& rSet ); >}; > >class ImplMouseData >{ > friend class MouseSettings; > > > > > > >private: > USHORT mnRefCount; > ULONG mnOptions; > ULONG mnDoubleClkTime; > long mnDoubleClkWidth; > long mnDoubleClkHeight; > long mnStartDragWidth; > long mnStartDragHeight; > USHORT mnStartDragCode; > USHORT mnDragMoveCode; > USHORT mnDragCopyCode; > USHORT mnDragLinkCode; > USHORT mnContextMenuCode; > USHORT mnContextMenuClicks; > BOOL mbContextMenuDown; > ULONG mnScrollRepeat; > ULONG mnButtonStartRepeat; > ULONG mnButtonRepeat; > ULONG mnActionDelay; > ULONG mnMenuDelay; > ULONG mnFollow; > ULONG mnDummy1; > ULONG mnDummy2; > ULONG mnDummy3; > ULONG mnDummy4; >}; > > > > > > > > >class MouseSettings >{ > void CopyData(); > >private: > ImplMouseData* mpData; > >public: > MouseSettings(); > MouseSettings( const MouseSettings& rSet ); > ~MouseSettings(); > > void SetOptions( ULONG nOptions ) > { CopyData(); mpData->mnOptions = nOptions; } > ULONG GetOptions() const > { return mpData->mnOptions; } > > void SetDoubleClickTime( ULONG nDoubleClkTime ) > { CopyData(); mpData->mnDoubleClkTime = nDoubleClkTime; } > ULONG GetDoubleClickTime() const > { return mpData->mnDoubleClkTime; } > void SetDoubleClickWidth( long nDoubleClkWidth ) > { CopyData(); mpData->mnDoubleClkWidth = nDoubleClkWidth; } > long GetDoubleClickWidth() const > { return mpData->mnDoubleClkWidth; } > void SetDoubleClickHeight( long nDoubleClkHeight ) > { CopyData(); mpData->mnDoubleClkHeight = nDoubleClkHeight; } > long GetDoubleClickHeight() const > { return mpData->mnDoubleClkHeight; } > > void SetStartDragWidth( long nDragWidth ) > { CopyData(); mpData->mnStartDragWidth = nDragWidth; } > long GetStartDragWidth() const > { return mpData->mnStartDragWidth; } > void SetStartDragHeight( long nDragHeight ) > { CopyData(); mpData->mnStartDragHeight = nDragHeight; } > long GetStartDragHeight() const > { return mpData->mnStartDragHeight; } > void SetStartDragCode( USHORT nCode ) > { CopyData(); mpData->mnStartDragCode = nCode; } > USHORT GetStartDragCode() const > { return mpData->mnStartDragCode; } > void SetDragMoveCode( USHORT nCode ) > { CopyData(); mpData->mnDragMoveCode = nCode; } > USHORT GetDragMoveCode() const > { return mpData->mnDragMoveCode; } > void SetDragCopyCode( USHORT nCode ) > { CopyData(); mpData->mnDragCopyCode = nCode; } > USHORT GetDragCopyCode() const > { return mpData->mnDragCopyCode; } > void SetDragLinkCode( USHORT nCode ) > { CopyData(); mpData->mnDragLinkCode = nCode; } > USHORT GetDragLinkCode() const > { return mpData->mnDragLinkCode; } > > void SetContextMenuCode( USHORT nCode ) > { CopyData(); mpData->mnContextMenuCode = nCode; } > USHORT GetContextMenuCode() const > { return mpData->mnContextMenuCode; } > void SetContextMenuClicks( USHORT nClicks ) > { CopyData(); mpData->mnContextMenuClicks = nClicks; } > USHORT GetContextMenuClicks() const > { return mpData->mnContextMenuClicks; } > void SetContextMenuDown( BOOL bDown ) > { CopyData(); mpData->mbContextMenuDown = bDown; } > BOOL GetContextMenuDown() const > { return mpData->mbContextMenuDown; } > > void SetScrollRepeat( ULONG nRepeat ) > { CopyData(); mpData->mnScrollRepeat = nRepeat; } > ULONG GetScrollRepeat() const > { return mpData->mnScrollRepeat; } > void SetButtonStartRepeat( ULONG nRepeat ) > { CopyData(); mpData->mnButtonStartRepeat = nRepeat; } > ULONG GetButtonStartRepeat() const > { return mpData->mnButtonStartRepeat; } > void SetButtonRepeat( ULONG nRepeat ) > { CopyData(); mpData->mnButtonRepeat = nRepeat; } > ULONG GetButtonRepeat() const > { return mpData->mnButtonRepeat; } > void SetActionDelay( ULONG nDelay ) > { CopyData(); mpData->mnActionDelay = nDelay; } > ULONG GetActionDelay() const > { return mpData->mnActionDelay; } > void SetMenuDelay( ULONG nDelay ) > { CopyData(); mpData->mnMenuDelay = nDelay; } > ULONG GetMenuDelay() const > { return mpData->mnMenuDelay; } > > void SetFollow( ULONG nFollow ) > { CopyData(); mpData->mnFollow = nFollow; } > ULONG GetFollow() const > { return mpData->mnFollow; } > > const MouseSettings& operator =( const MouseSettings& rSet ); > > BOOL operator ==( const MouseSettings& rSet ) const; > BOOL operator !=( const MouseSettings& rSet ) const > { return !(*this == rSet); } > > friend SvStream& operator>>( SvStream& rIStream, MouseSettings& rSet ); > friend SvStream& operator<<( SvStream& rOStream, const MouseSettings& rSet ); >}; > >class ImplKeyboardData >{ > friend class KeyboardSettings; > > > > > > >private: > USHORT mnRefCount; > Accelerator maStandardAccel; > ULONG mnOptions; >}; > > > >class KeyboardSettings >{ > void CopyData(); > >private: > ImplKeyboardData* mpData; > >public: > KeyboardSettings(); > KeyboardSettings( const KeyboardSettings& rSet ); > ~KeyboardSettings(); > > void SetStandardAccel( const Accelerator& rAccelerator ) > { CopyData(); mpData->maStandardAccel = rAccelerator; } > const Accelerator& GetStandardAccel() const > { return mpData->maStandardAccel; } > > void SetOptions( ULONG nOptions ) > { CopyData(); mpData->mnOptions = nOptions; } > ULONG GetOptions() const > { return mpData->mnOptions; } > > const KeyboardSettings& operator =( const KeyboardSettings& rSet ); > > BOOL operator ==( const KeyboardSettings& rSet ) const; > BOOL operator !=( const KeyboardSettings& rSet ) const > { return !(*this == rSet); } > > friend SvStream& operator>>( SvStream& rIStream, KeyboardSettings& rSet ); > friend SvStream& operator<<( SvStream& rOStream, const KeyboardSettings& rSet ); >}; > >class ImplStyleData >{ > friend class StyleSettings; > ># 295 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/vcl/settings.hxx" >private: > USHORT mnRefCount; > Color maFaceColor; > Color maCheckedColor; > Color maLightColor; > Color maLightBorderColor; > Color maShadowColor; > Color maDarkShadowColor; > Color maButtonTextColor; > Color maRadioCheckTextColor; > Color maLabelTextColor; > Color maInfoTextColor; > Color maWindowColor; > Color maWindowTextColor; > Color maDialogColor; > Color maDialogTextColor; > Color maWorkspaceColor; > Color maFieldColor; > Color maFieldTextColor; > Color maActiveColor; > Color maActiveColor2; > Color maActiveTextColor; > Color maActiveBorderColor; > Color maDeactiveColor; > Color maDeactiveColor2; > Color maDeactiveTextColor; > Color maDeactiveBorderColor; > Color maHelpTextColor; > Color maMenuColor; > Color maHighlightColor; > Color maHighlightTextColor; > Color maMenuHighlightColor; > Color maMenuHighlightTextColor; > Color maDisableColor; > Color maHelpColor; > Color maGroupTextColor; > Color maMenuTextColor; > Color maLinkColor; > Color maVisitedLinkColor; > Color maHighlightLinkColor; > Color maDummyColor1; > Color maDummyColor2; > Color maDummyColor3; > Color maDummyColor4; > Color maDummyColor5; > Color maDummyColor6; > Color maDummyColor7; > Color maDummyColor8; > Color maDummyColor9; > Color maDummyColor10; > Color maDummyColor11; > Color maDummyColor12; > Color maDummyColor13; > Color maDummyColor14; > Color maDummyColor15; > Color maDummyColor16; > Color maDummyColor17; > Color maDummyColor18; > Font maAppFont; > Font maHelpFont; > Font maTitleFont; > Font maFloatTitleFont; > Font maMenuFont; > Font maToolFont; > Font maLabelFont; > Font maInfoFont; > Font maRadioCheckFont; > Font maPushButtonFont; > Font maFieldFont; > Font maIconFont; > Font maGroupFont; > Font maDummyFont1; > Font maDummyFont2; > long mnBorderSize; > long mnTitleHeight; > long mnFloatTitleHeight; > long mnTearOffTitleHeight; > long mnScrollBarSize; > long mnSplitSize; > long mnSpinSize; > long mnCursorSize; > long mnMenuBarHeight; > long mnIconHorzSpace; > long mnIconVertSpace; > long mnDummySize1; > long mnDummySize2; > long mnDummySize3; > long mnDummySize4; > long mnDummySize5; > long mnDummySize6; > ULONG mnCursorBlinkTime; > ULONG mnDragFullOptions; > ULONG mnAnimationOptions; > ULONG mnSelectionOptions; > ULONG mnLogoDisplayTime; > ULONG mnDummyOption1; > ULONG mnDummyOption2; > ULONG mnDummyOption3; > ULONG mnDummyOption4; > ULONG mnDummyOption5; > ULONG mnOptions; > USHORT mnScreenZoom; > USHORT mnScreenFontZoom; > USHORT mnRadioButtonStyle; > USHORT mnCheckBoxStyle; > USHORT mnPushButtonStyle; > USHORT mnTabControlStyle; > USHORT mnDummyStyle1; > USHORT mnDummyStyle2; > USHORT mnDummyStyle3; > USHORT mnDummyStyle4; >}; > ># 470 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/vcl/settings.hxx" >class StyleSettings >{ > void CopyData(); > >private: > ImplStyleData* mpData; > >public: > StyleSettings(); > StyleSettings( const StyleSettings& rSet ); > ~StyleSettings(); > > void Set3DColors( const Color& rColor ); > void SetFaceColor( const Color& rColor ) > { CopyData(); mpData->maFaceColor = rColor; } > const Color& GetFaceColor() const > { return mpData->maFaceColor; } > void SetCheckedColor( const Color& rColor ) > { CopyData(); mpData->maCheckedColor = rColor; } > const Color& GetCheckedColor() const > { return mpData->maCheckedColor; } > void SetLightColor( const Color& rColor ) > { CopyData(); mpData->maLightColor = rColor; } > const Color& GetLightColor() const > { return mpData->maLightColor; } > void SetLightBorderColor( const Color& rColor ) > { CopyData(); mpData->maLightBorderColor = rColor; } > const Color& GetLightBorderColor() const > { return mpData->maLightBorderColor; } > void SetShadowColor( const Color& rColor ) > { CopyData(); mpData->maShadowColor = rColor; } > const Color& GetShadowColor() const > { return mpData->maShadowColor; } > void SetDarkShadowColor( const Color& rColor ) > { CopyData(); mpData->maDarkShadowColor = rColor; } > const Color& GetDarkShadowColor() const > { return mpData->maDarkShadowColor; } > void SetButtonTextColor( const Color& rColor ) > { CopyData(); mpData->maButtonTextColor = rColor; } > const Color& GetButtonTextColor() const > { return mpData->maButtonTextColor; } > void SetRadioCheckTextColor( const Color& rColor ) > { CopyData(); mpData->maRadioCheckTextColor = rColor; } > const Color& GetRadioCheckTextColor() const > { return mpData->maRadioCheckTextColor; } > void SetGroupTextColor( const Color& rColor ) > { CopyData(); mpData->maGroupTextColor = rColor; } > const Color& GetGroupTextColor() const > { return mpData->maGroupTextColor; } > void SetLabelTextColor( const Color& rColor ) > { CopyData(); mpData->maLabelTextColor = rColor; } > const Color& GetLabelTextColor() const > { return mpData->maLabelTextColor; } > void SetInfoTextColor( const Color& rColor ) > { CopyData(); mpData->maInfoTextColor = rColor; } > const Color& GetInfoTextColor() const > { return mpData->maInfoTextColor; } > void SetWindowColor( const Color& rColor ) > { CopyData(); mpData->maWindowColor = rColor; } > const Color& GetWindowColor() const > { return mpData->maWindowColor; } > void SetWindowTextColor( const Color& rColor ) > { CopyData(); mpData->maWindowTextColor = rColor; } > const Color& GetWindowTextColor() const > { return mpData->maWindowTextColor; } > void SetDialogColor( const Color& rColor ) > { CopyData(); mpData->maDialogColor = rColor; } > const Color& GetDialogColor() const > { return mpData->maDialogColor; } > void SetDialogTextColor( const Color& rColor ) > { CopyData(); mpData->maDialogTextColor = rColor; } > const Color& GetDialogTextColor() const > { return mpData->maDialogTextColor; } > void SetWorkspaceColor( const Color& rColor ) > { CopyData(); mpData->maWorkspaceColor = rColor; } > const Color& GetWorkspaceColor() const > { return mpData->maWorkspaceColor; } > void SetFieldColor( const Color& rColor ) > { CopyData(); mpData->maFieldColor = rColor; } > const Color& GetFieldColor() const > { return mpData->maFieldColor; } > void SetFieldTextColor( const Color& rColor ) > { CopyData(); mpData->maFieldTextColor = rColor; } > const Color& GetFieldTextColor() const > { return mpData->maFieldTextColor; } > void SetActiveColor( const Color& rColor ) > { CopyData(); mpData->maActiveColor = rColor; } > const Color& GetActiveColor() const > { return mpData->maActiveColor; } > void SetActiveColor2( const Color& rColor ) > { CopyData(); mpData->maActiveColor2 = rColor; } > const Color& GetActiveColor2() const > { return mpData->maActiveColor2; } > void SetActiveTextColor( const Color& rColor ) > { CopyData(); mpData->maActiveTextColor = rColor; } > const Color& GetActiveTextColor() const > { return mpData->maActiveTextColor; } > void SetActiveBorderColor( const Color& rColor ) > { CopyData(); mpData->maActiveBorderColor = rColor; } > const Color& GetActiveBorderColor() const > { return mpData->maActiveBorderColor; } > void SetDeactiveColor( const Color& rColor ) > { CopyData(); mpData->maDeactiveColor = rColor; } > const Color& GetDeactiveColor() const > { return mpData->maDeactiveColor; } > void SetDeactiveColor2( const Color& rColor ) > { CopyData(); mpData->maDeactiveColor2 = rColor; } > const Color& GetDeactiveColor2() const > { return mpData->maDeactiveColor2; } > void SetDeactiveTextColor( const Color& rColor ) > { CopyData(); mpData->maDeactiveTextColor = rColor; } > const Color& GetDeactiveTextColor() const > { return mpData->maDeactiveTextColor; } > void SetDeactiveBorderColor( const Color& rColor ) > { CopyData(); mpData->maDeactiveBorderColor = rColor; } > const Color& GetDeactiveBorderColor() const > { return mpData->maDeactiveBorderColor; } > void SetHighlightColor( const Color& rColor ) > { CopyData(); mpData->maHighlightColor = rColor; } > const Color& GetHighlightColor() const > { return mpData->maHighlightColor; } > void SetHighlightTextColor( const Color& rColor ) > { CopyData(); mpData->maHighlightTextColor = rColor; } > const Color& GetHighlightTextColor() const > { return mpData->maHighlightTextColor; } > void SetDisableColor( const Color& rColor ) > { CopyData(); mpData->maDisableColor = rColor; } > const Color& GetDisableColor() const > { return mpData->maDisableColor; } > void SetHelpColor( const Color& rColor ) > { CopyData(); mpData->maHelpColor = rColor; } > const Color& GetHelpColor() const > { return mpData->maHelpColor; } > void SetHelpTextColor( const Color& rColor ) > { CopyData(); mpData->maHelpTextColor = rColor; } > const Color& GetHelpTextColor() const > { return mpData->maHelpTextColor; } > void SetMenuColor( const Color& rColor ) > { CopyData(); mpData->maMenuColor = rColor; } > const Color& GetMenuColor() const > { return mpData->maMenuColor; } > void SetMenuTextColor( const Color& rColor ) > { CopyData(); mpData->maMenuTextColor = rColor; } > const Color& GetMenuTextColor() const > { return mpData->maMenuTextColor; } > void SetMenuHighlightColor( const Color& rColor ) > { CopyData(); mpData->maMenuHighlightColor = rColor; } > const Color& GetMenuHighlightColor() const > { return mpData->maMenuHighlightColor; } > void SetMenuHighlightTextColor( const Color& rColor ) > { CopyData(); mpData->maMenuHighlightTextColor = rColor; } > const Color& GetMenuHighlightTextColor() const > { return mpData->maMenuHighlightTextColor; } > void SetLinkColor( const Color& rColor ) > { CopyData(); mpData->maLinkColor = rColor; } > const Color& GetLinkColor() const > { return mpData->maLinkColor; } > void SetVisitedLinkColor( const Color& rColor ) > { CopyData(); mpData->maVisitedLinkColor = rColor; } > const Color& GetVisitedLinkColor() const > { return mpData->maVisitedLinkColor; } > void SetHighlightLinkColor( const Color& rColor ) > { CopyData(); mpData->maHighlightLinkColor = rColor; } > const Color& GetHighlightLinkColor() const > { return mpData->maHighlightLinkColor; } > > void SetAppFont( const Font& rFont ) > { CopyData(); mpData->maAppFont = rFont; } > const Font& GetAppFont() const > { return mpData->maAppFont; } > void SetHelpFont( const Font& rFont ) > { CopyData(); mpData->maHelpFont = rFont; } > const Font& GetHelpFont() const > { return mpData->maHelpFont; } > void SetTitleFont( const Font& rFont ) > { CopyData(); mpData->maTitleFont = rFont; } > const Font& GetTitleFont() const > { return mpData->maTitleFont; } > void SetFloatTitleFont( const Font& rFont ) > { CopyData(); mpData->maFloatTitleFont = rFont; } > const Font& GetFloatTitleFont() const > { return mpData->maFloatTitleFont; } > void SetMenuFont( const Font& rFont ) > { CopyData(); mpData->maMenuFont = rFont; } > const Font& GetMenuFont() const > { return mpData->maMenuFont; } > void SetToolFont( const Font& rFont ) > { CopyData(); mpData->maToolFont = rFont; } > const Font& GetToolFont() const > { return mpData->maToolFont; } > void SetGroupFont( const Font& rFont ) > { CopyData(); mpData->maGroupFont = rFont; } > const Font& GetGroupFont() const > { return mpData->maGroupFont; } > void SetLabelFont( const Font& rFont ) > { CopyData(); mpData->maLabelFont = rFont; } > const Font& GetLabelFont() const > { return mpData->maLabelFont; } > void SetInfoFont( const Font& rFont ) > { CopyData(); mpData->maInfoFont = rFont; } > const Font& GetInfoFont() const > { return mpData->maInfoFont; } > void SetRadioCheckFont( const Font& rFont ) > { CopyData(); mpData->maRadioCheckFont = rFont; } > const Font& GetRadioCheckFont() const > { return mpData->maRadioCheckFont; } > void SetPushButtonFont( const Font& rFont ) > { CopyData(); mpData->maPushButtonFont = rFont; } > const Font& GetPushButtonFont() const > { return mpData->maPushButtonFont; } > void SetFieldFont( const Font& rFont ) > { CopyData(); mpData->maFieldFont = rFont; } > const Font& GetFieldFont() const > { return mpData->maFieldFont; } > void SetIconFont( const Font& rFont ) > { CopyData(); mpData->maIconFont = rFont; } > const Font& GetIconFont() const > { return mpData->maIconFont; } > > void SetRadioButtonStyle( USHORT nStyle ) > { CopyData(); mpData->mnRadioButtonStyle = nStyle; } > USHORT GetRadioButtonStyle() const > { return mpData->mnRadioButtonStyle; } > void SetCheckBoxStyle( USHORT nStyle ) > { CopyData(); mpData->mnCheckBoxStyle = nStyle; } > USHORT GetCheckBoxStyle() const > { return mpData->mnCheckBoxStyle; } > void SetPushButtonStyle( USHORT nStyle ) > { CopyData(); mpData->mnPushButtonStyle = nStyle; } > USHORT GetPushButtonStyle() const > { return mpData->mnPushButtonStyle; } > void SetTabControlStyle( USHORT nStyle ) > { CopyData(); mpData->mnTabControlStyle = nStyle; } > USHORT GetTabControlStyle() const > { return mpData->mnTabControlStyle; } > > void SetBorderSize( long nSize ) > { CopyData(); mpData->mnBorderSize = nSize; } > long GetBorderSize() const > { return mpData->mnBorderSize; } > void SetTitleHeight( long nSize ) > { CopyData(); mpData->mnTitleHeight = nSize; } > long GetTitleHeight() const > { return mpData->mnTitleHeight; } > void SetFloatTitleHeight( long nSize ) > { CopyData(); mpData->mnFloatTitleHeight = nSize; } > long GetFloatTitleHeight() const > { return mpData->mnFloatTitleHeight; } > void SetTearOffTitleHeight( long nSize ) > { CopyData(); mpData->mnTearOffTitleHeight = nSize; } > long GetTearOffTitleHeight() const > { return mpData->mnTearOffTitleHeight; } > void SetMenuBarHeight( long nSize ) > { CopyData(); mpData->mnMenuBarHeight = nSize; } > long GetMenuBarHeight() const > { return mpData->mnMenuBarHeight; } > void SetScrollBarSize( long nSize ) > { CopyData(); mpData->mnScrollBarSize = nSize; } > long GetScrollBarSize() const > { return mpData->mnScrollBarSize; } > void SetSpinSize( long nSize ) > { CopyData(); mpData->mnSpinSize = nSize; } > long GetSpinSize() const > { return mpData->mnSpinSize; } > void SetSplitSize( long nSize ) > { CopyData(); mpData->mnSplitSize = nSize; } > long GetSplitSize() const > { return mpData->mnSplitSize; } > > void SetIconHorzSpace( long nSpace ) > { CopyData(); mpData->mnIconHorzSpace = nSpace; } > long GetIconHorzSpace() const > { return mpData->mnIconHorzSpace; } > void SetIconVertSpace( long nSpace ) > { CopyData(); mpData->mnIconVertSpace = nSpace; } > long GetIconVertSpace() const > { return mpData->mnIconVertSpace; } > > void SetCursorSize( long nSize ) > { CopyData(); mpData->mnCursorSize = nSize; } > long GetCursorSize() const > { return mpData->mnCursorSize; } > void SetCursorBlinkTime( long nBlinkTime ) > { CopyData(); mpData->mnCursorBlinkTime = nBlinkTime; } > long GetCursorBlinkTime() const > { return mpData->mnCursorBlinkTime; } > > void SetScreenZoom( USHORT nPercent ) > { CopyData(); mpData->mnScreenZoom = nPercent; } > USHORT GetScreenZoom() const > { return mpData->mnScreenZoom; } > void SetScreenFontZoom( USHORT nPercent ) > { CopyData(); mpData->mnScreenFontZoom = nPercent; } > USHORT GetScreenFontZoom() const > { return mpData->mnScreenFontZoom; } > > void SetLogoDisplayTime( ULONG nDisplayTime ) > { CopyData(); mpData->mnLogoDisplayTime = nDisplayTime; } > ULONG GetLogoDisplayTime() const > { return mpData->mnLogoDisplayTime; } > > void SetDragFullOptions( ULONG nOptions ) > { CopyData(); mpData->mnDragFullOptions = nOptions; } > ULONG GetDragFullOptions() const > { return mpData->mnDragFullOptions; } > > void SetAnimationOptions( ULONG nOptions ) > { CopyData(); mpData->mnAnimationOptions = nOptions; } > ULONG GetAnimationOptions() const > { return mpData->mnAnimationOptions; } > > void SetSelectionOptions( ULONG nOptions ) > { CopyData(); mpData->mnSelectionOptions = nOptions; } > ULONG GetSelectionOptions() const > { return mpData->mnSelectionOptions; } > > void SetOptions( ULONG nOptions ) > { CopyData(); mpData->mnOptions = nOptions; } > ULONG GetOptions() const > { return mpData->mnOptions; } > > void SetStandardStyles(); > void SetStandardWinStyles(); > void SetStandardOS2Styles(); > void SetStandardMacStyles(); > void SetStandardUnixStyles(); > > const StyleSettings& operator =( const StyleSettings& rSet ); > > BOOL operator ==( const StyleSettings& rSet ) const; > BOOL operator !=( const StyleSettings& rSet ) const > { return !(*this == rSet); } > > friend SvStream& operator>>( SvStream& rIStream, StyleSettings& rSet ); > friend SvStream& operator<<( SvStream& rOStream, const StyleSettings& rSet ); >}; > >class ImplMiscData >{ > friend class MiscSettings; > > > > > > >private: > USHORT mnRefCount; > USHORT mnTwoDigitYearStart; > USHORT mnDummy1; > USHORT mnDummy2; >}; > >class MiscSettings >{ > void CopyData(); > >private: > ImplMiscData* mpData; > >public: > MiscSettings(); > MiscSettings( const MiscSettings& rSet ); > ~MiscSettings(); > > void SetTwoDigitYearStart( USHORT nYearStart ) > { CopyData(); mpData->mnTwoDigitYearStart = nYearStart; } > USHORT GetTwoDigitYearStart() const > { return mpData->mnTwoDigitYearStart; } > > const MiscSettings& operator =( const MiscSettings& rSet ); > > BOOL operator ==( const MiscSettings& rSet ) const; > BOOL operator !=( const MiscSettings& rSet ) const > { return !(*this == rSet); } > > friend SvStream& operator>>( SvStream& rIStream, MiscSettings& rSet ); > friend SvStream& operator<<( SvStream& rOStream, const MiscSettings& rSet ); >}; > >class ImplSoundData >{ > friend class SoundSettings; > > > > > > >private: > USHORT mnRefCount; > ULONG mnOptions; >}; > > > > > > >class SoundSettings >{ > void CopyData(); > >private: > ImplSoundData* mpData; > >public: > SoundSettings(); > SoundSettings( const SoundSettings& rSet ); > ~SoundSettings(); > > void SetOptions( ULONG nOptions ) > { CopyData(); mpData->mnOptions = nOptions; } > ULONG GetOptions() const > { return mpData->mnOptions; } > > const SoundSettings& operator =( const SoundSettings& rSet ); > > BOOL operator ==( const SoundSettings& rSet ) const; > BOOL operator !=( const SoundSettings& rSet ) const > { return !(*this == rSet); } > > friend SvStream& operator>>( SvStream& rIStream, SoundSettings& rSet ); > friend SvStream& operator<<( SvStream& rOStream, const SoundSettings& rSet ); >}; > >class ImplNotificationData >{ > friend class NotificationSettings; > > > > > > >private: > USHORT mnRefCount; > ULONG mnOptions; >}; > >class NotificationSettings >{ > void CopyData(); > >private: > ImplNotificationData* mpData; > >public: > NotificationSettings(); > NotificationSettings( const NotificationSettings& rSet ); > ~NotificationSettings(); > > void SetOptions( ULONG nOptions ) > { CopyData(); mpData->mnOptions = nOptions; } > ULONG GetOptions() const > { return mpData->mnOptions; } > > const NotificationSettings& operator =( const NotificationSettings& rSet ); > > BOOL operator ==( const NotificationSettings& rSet ) const; > BOOL operator !=( const NotificationSettings& rSet ) const > { return !(*this == rSet); } > > friend SvStream& operator>>( SvStream& rIStream, NotificationSettings& rSet ); > friend SvStream& operator<<( SvStream& rOStream, const NotificationSettings& rSet ); >}; > >class ImplHelpData >{ > friend class HelpSettings; > > > > > > >private: > USHORT mnRefCount; > ULONG mnOptions; > ULONG mnTipDelay; > ULONG mnTipTimeout; > ULONG mnBalloonDelay; >}; > > > > >class HelpSettings >{ > void CopyData(); > >private: > ImplHelpData* mpData; > >public: > HelpSettings(); > HelpSettings( const HelpSettings& rSet ); > ~HelpSettings(); > > void SetOptions( ULONG nOptions ) > { CopyData(); mpData->mnOptions = nOptions; } > ULONG GetOptions() const > { return mpData->mnOptions; } > void SetTipDelay( ULONG nTipDelay ) > { CopyData(); mpData->mnTipDelay = nTipDelay; } > ULONG GetTipDelay() const > { return mpData->mnTipDelay; } > void SetTipTimeout( ULONG nTipTimeout ) > { CopyData(); mpData->mnTipTimeout = nTipTimeout; } > ULONG GetTipTimeout() const > { return mpData->mnTipTimeout; } > void SetBalloonDelay( ULONG nBalloonDelay ) > { CopyData(); mpData->mnBalloonDelay = nBalloonDelay; } > ULONG GetBalloonDelay() const > { return mpData->mnBalloonDelay; } > > const HelpSettings& operator =( const HelpSettings& rSet ); > > BOOL operator ==( const HelpSettings& rSet ) const; > BOOL operator !=( const HelpSettings& rSet ) const > { return !(*this == rSet); } > > friend SvStream& operator>>( SvStream& rIStream, HelpSettings& rSet ); > friend SvStream& operator<<( SvStream& rOStream, const HelpSettings& rSet ); >}; > >class ImplAllSettingsData >{ > friend class AllSettings; > > > > > > >private: > USHORT mnRefCount; > MachineSettings maMachineSettings; > MouseSettings maMouseSettings; > KeyboardSettings maKeyboardSettings; > StyleSettings maStyleSettings; > MiscSettings maMiscSettings; > SoundSettings maSoundSettings; > NotificationSettings maNotificationSettings; > HelpSettings maHelpSettings; > International maInternational; > ::com::sun::star::lang::Locale maLocale; > ULONG mnSystemUpdate; > ULONG mnWindowUpdate; >}; > ># 1038 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/vcl/settings.hxx" >class AllSettings >{ > void CopyData(); > >private: > ImplAllSettingsData* mpData; > >public: > AllSettings(); > AllSettings( const AllSettings& rSet ); > ~AllSettings(); > > void SetMachineSettings( const MachineSettings& rSet ) > { CopyData(); mpData->maMachineSettings = rSet; } > const MachineSettings& GetMachineSettings() const > { return mpData->maMachineSettings; } > > void SetMouseSettings( const MouseSettings& rSet ) > { CopyData(); mpData->maMouseSettings = rSet; } > const MouseSettings& GetMouseSettings() const > { return mpData->maMouseSettings; } > > void SetKeyboardSettings( const KeyboardSettings& rSet ) > { CopyData(); mpData->maKeyboardSettings = rSet; } > const KeyboardSettings& GetKeyboardSettings() const > { return mpData->maKeyboardSettings; } > > void SetStyleSettings( const StyleSettings& rSet ) > { CopyData(); mpData->maStyleSettings = rSet; } > const StyleSettings& GetStyleSettings() const > { return mpData->maStyleSettings; } > > void SetMiscSettings( const MiscSettings& rSet ) > { CopyData(); mpData->maMiscSettings = rSet; } > const MiscSettings& GetMiscSettings() const > { return mpData->maMiscSettings; } > > void SetSoundSettings( const SoundSettings& rSet ) > { CopyData(); mpData->maSoundSettings = rSet; } > const SoundSettings& GetSoundSettings() const > { return mpData->maSoundSettings; } > > void SetNotificationSettings( const NotificationSettings& rSet ) > { CopyData(); mpData->maNotificationSettings = rSet; } > const NotificationSettings& GetNotificationSettings() const > { return mpData->maNotificationSettings; } > > void SetHelpSettings( const HelpSettings& rSet ) > { CopyData(); mpData->maHelpSettings = rSet; } > const HelpSettings& GetHelpSettings() const > { return mpData->maHelpSettings; } > > void SetInternational( const International& rIntn ) > { CopyData(); mpData->maInternational = rIntn; } > const International& GetInternational() const > { return mpData->maInternational; } > > void SetLocale( const ::com::sun::star::lang::Locale& rLocale ) > { CopyData(); mpData->maLocale = rLocale; } > const ::com::sun::star::lang::Locale& GetLocale() const; > > void SetSystemUpdate( ULONG nUpdate ) > { CopyData(); mpData->mnSystemUpdate = nUpdate; } > ULONG GetSystemUpdate() const > { return mpData->mnSystemUpdate; } > void SetWindowUpdate( ULONG nUpdate ) > { CopyData(); mpData->mnWindowUpdate = nUpdate; } > ULONG GetWindowUpdate() const > { return mpData->mnWindowUpdate; } > > ULONG Update( ULONG nFlags, const AllSettings& rSettings ); > ULONG GetChangeFlags( const AllSettings& rSettings ) const; > > const AllSettings& operator =( const AllSettings& rSet ); > > BOOL operator ==( const AllSettings& rSet ) const; > BOOL operator !=( const AllSettings& rSet ) const > { return !(*this == rSet); } > > friend SvStream& operator>>( SvStream& rIStream, AllSettings& rSet ); > friend SvStream& operator<<( SvStream& rOStream, const AllSettings& rSet ); >}; > ># 34 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/vcl/outdev.hxx" 2 > > >struct ImplOutDevData; >struct ImplFontEntry; >struct ImplObjStack; >struct ImplKernPairData; >class ImplFontCache; >class ImplDevFontList; >class ImplGetDevFontList; >class ImplGetDevSizeList; >class ImplMultiTextLineInfo; >class SalGraphics; >class ImplServerGraphics; >class Gradient; >class Hatch; >class Polygon; >class PolyPolygon; >class Bitmap; >class BitmapEx; >class Image; >class TextRectInfo; >class FontInfo; >class FontMetric; >class GDIMetaFile; >class OutDev3D; >class OpenGL; >class List; >class GfxLink; >class Line; >class LineInfo; >class AlphaMask; > > > > > >namespace com { >namespace sun { >namespace star { >namespace awt { > class XGraphics; >} } } } > > > ># 10 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/vcl/gdiobj.hxx" 1 >enum PenStyle { PEN_NULL, PEN_SOLID, PEN_DOT, PEN_DASH, PEN_DASHDOT }; > >class Pen >{ > Color aColor; > PenStyle eStyle; > ULONG nWidth; > >public: > Pen() { eStyle = PEN_SOLID; nWidth = 0; } > Pen( PenStyle _eStyle ) { eStyle = _eStyle; nWidth = 0; } > Pen( const Color& rColor, ULONG _nWidth = 0, > PenStyle _eStyle = PEN_SOLID ) : > aColor( rColor ) > { eStyle = _eStyle; nWidth = _nWidth; } > > void SetColor( const Color& rColor ) { aColor = rColor; } > const Color& GetColor() const { return aColor; } > > void SetWidth( ULONG _nWidth ) { nWidth = _nWidth; } > ULONG GetWidth() const { return nWidth; } > > void SetStyle( PenStyle _eStyle ) { eStyle = _eStyle; } > PenStyle GetStyle() const { return eStyle; } > > BOOL operator==( const Pen& rPen ) const > { return ((eStyle == rPen.eStyle) && (nWidth == rPen.nWidth) && (aColor == rPen.aColor)); } > BOOL operator!=( const Pen& rPen ) const > { return !(Pen::operator==( rPen )); } > BOOL IsSameInstance( const Pen& rPen ) const > { return (this == &rPen); } >}; > > > >enum BrushStyle { BRUSH_NULL, BRUSH_SOLID, BRUSH_HORZ, BRUSH_VERT, > BRUSH_CROSS, BRUSH_DIAGCROSS, BRUSH_UPDIAG, BRUSH_DOWNDIAG, > BRUSH_25, BRUSH_50, BRUSH_75, > BRUSH_BITMAP }; > >class Brush >{ >private: > Color aColor; > Color aFillColor; > BrushStyle eStyle; > BOOL bTransparent; > >public: > Brush() : aColor( ((ColorData)(((UINT32)((UINT8)(0xFF))))|(((UINT32)((UINT8)(0xFF)))<<8)|(((UINT32)((UINT8)(0xFF)))<<16)) ) > { eStyle = BRUSH_SOLID; bTransparent = 0; } > Brush( BrushStyle _eStyle ) : aColor( ((ColorData)(((UINT32)((UINT8)(0xFF))))|(((UINT32)((UINT8)(0xFF)))<<8)|(((UINT32)((UINT8)(0xFF)))<<16)) ) > { eStyle = _eStyle; bTransparent = 0; } > Brush( const Color& rColor, > BrushStyle _eStyle = BRUSH_SOLID ) : > aColor( rColor ) > { eStyle = _eStyle; bTransparent = 1; } > Brush( const Color& rColor, const Color& rFillColor, > BrushStyle _eStyle ) : > aColor( rColor ), > aFillColor( rFillColor ) > { eStyle = _eStyle; bTransparent = 0; } > > void SetColor( const Color& rColor ) { aColor = rColor; } > const Color& GetColor() const { return aColor; } > void SetFillColor( const Color& rColor ) { aFillColor = rColor; } > const Color& GetFillColor() const { return aFillColor; } > > void SetStyle( BrushStyle _eStyle ) { eStyle = _eStyle; } > BrushStyle GetStyle() const { return eStyle; } > > void SetTransparent( BOOL _bTransparent ) { bTransparent = _bTransparent; } > BOOL GetTransparent() const { return bTransparent; } > BOOL IsTransparent() const; > BOOL IsHatched() const; > > Color GetVCLFillColor() const; > > BOOL operator==( const Brush& rBrush ) const > { return ((eStyle == rBrush.eStyle) && (aColor == rBrush.aColor)); } > BOOL operator!=( const Brush& rBrush ) const > { return !(Brush::operator==( rBrush )); } > BOOL IsSameInstance( const Brush& rBrush ) const > { return (this == &rBrush); } >}; > >inline BOOL Brush::IsTransparent() const >{ > if ( eStyle == BRUSH_SOLID ) > return 0; > else > { > if ( eStyle == BRUSH_NULL ) > return 1; > else > return bTransparent; > } >} > >inline BOOL Brush::IsHatched() const >{ > if ( (eStyle != BRUSH_SOLID) && > (eStyle != BRUSH_BITMAP) && > (eStyle != BRUSH_NULL) ) > return 1; > else > return 0; >} > ># 79 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/vcl/outdev.hxx" 2 > > >struct ImplMapRes >{ > long mnMapOfsX; > long mnMapOfsY; > long mnMapScNumX; > long mnMapScNumY; > long mnMapScDenomX; > long mnMapScDenomY; >}; > >struct ImplThresholdRes >{ > long mnThresLogToPixX; > long mnThresLogToPixY; > long mnThresPixToLogX; > long mnThresPixToLogY; >}; > >struct KerningPair >{ > sal_Unicode nChar1; > sal_Unicode nChar2; > long nKern; >}; > ># 182 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/vcl/outdev.hxx" >enum OutDevType { OUTDEV_DONTKNOW, OUTDEV_WINDOW, OUTDEV_PRINTER, OUTDEV_VIRDEV }; > >class OutputDevice : public Resource >{ > friend class Window; > friend class VirtualDevice; > friend class Printer; > friend class OpenGL; > >private: > > SalGraphics* mpGraphics; > > > > OutputDevice* mpPrevGraphics; > OutputDevice* mpNextGraphics; > GDIMetaFile* mpMetaFile; > ImplFontEntry* mpFontEntry; > ImplFontCache* mpFontCache; > ImplDevFontList* mpFontList; > ImplGetDevFontList* mpGetDevFontList; > ImplGetDevSizeList* mpGetDevSizeList; > ImplObjStack* mpObjStack; > ImplOutDevData* mpOutDevData; > List* mpUnoGraphicsList; > OutDev3D* mp3DContext; > void* mpDummy1; > void* mpDummy2; > void* mpDummy3; > void* mpDummy4; > long mnOutOffX; > long mnOutOffY; > long mnOutWidth; > long mnOutHeight; > long mnDPIX; > long mnDPIY; > long mnTextOffX; > long mnTextOffY; > ULONG mnDrawMode; > long mnDummy1; > long mnDummy2; > ImplMapRes maMapRes; > ImplThresholdRes maThresRes; > OutDevType meOutDevType; > Region maRegion; > Color maLineColor; > Color maFillColor; > Font maFont; > Color maTextColor; > Color maTextFillColorDummy; > Color maTextLineColor; > TextAlign meTextAlign; > RasterOp meRasterOp; > Wallpaper maBackground; > AllSettings maSettings; > MapMode maMapMode; > Point maRefPoint; > USHORT mnDummy3; > USHORT mnDummy4; > BOOL mbMap:1, > mbClipRegion:1, > mbBackground:1, > mbOutput:1, > mbDevOutput:1, > mbOutputClipped:1, > mbLineColor:1, > mbFillColor:1, > mbInitLineColor:1, > mbInitFillColor:1, > mbInitFont:1, > mbInitTextColor:1, > mbInitClipRegion:1, > mbClipRegionSet:1, > mbKerning:1, > mbNewFont:1, > mbTextLines:1, > mbTextSpecial:1, > mbRefPoint:1, > mbDummy1:1, > mbDummy2:1, > mbDummy3:1; > > > > > >protected: > OutputDevice(); > >private: > OutputDevice( const OutputDevice& rOutDev ); > OutputDevice& operator =( const OutputDevice& rOutDev ); > >public: > virtual ~OutputDevice(); > > OutDevType GetOutDevType() const { return meOutDevType; } > > void Set3DContext( OutDev3D* p3DContext ) { mp3DContext = p3DContext; } > OutDev3D* Get3DContext() const { return mp3DContext; } > OpenGL* GetOpenGL(); > > void DrawTextLine( const Point& rPos, long nWidth, > FontStrikeout eStrikeout, > FontUnderline eUnderline ); > > void DrawText( const Point& rStartPt, const String& rStr, > USHORT nIndex = 0, USHORT nLen = ((USHORT)0xFFFF) ); > long GetTextWidth( const String& rStr, USHORT nIndex = 0, > USHORT nLen = ((USHORT)0xFFFF) ) const; > long GetTextHeight() const; > void DrawTextArray( const Point& rStartPt, const String& rStr, > const long* pDXAry = __null, > USHORT nIndex = 0, > USHORT nLen = ((USHORT)0xFFFF) ); > long GetTextArray( const String& rStr, long* pDXAry = __null, > USHORT nIndex = 0, > USHORT nLen = ((USHORT)0xFFFF) ) const; > void DrawStretchText( const Point& rStartPt, ULONG nWidth, > const String& rStr, > USHORT nIndex = 0, USHORT nLen = ((USHORT)0xFFFF) ); > USHORT GetTextBreak( const String& rStr, long nTextWidth, > USHORT nIndex = 0, USHORT nLen = ((USHORT)0xFFFF), > long nCharExtra = 0 ) const; > USHORT GetTextBreak( const String& rStr, long nTextWidth, > USHORT nExtraChar, USHORT& rExtraCharPos, > USHORT nIndex, USHORT nLen, > long nCharExtra = 0 ) const; ># 337 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/vcl/outdev.hxx" > void GetCharWidth( sal_Unicode nFirstChar, sal_Unicode nLastChar, > long* pWidthAry ) const; > void DrawText( const Rectangle& rRect, > const String& rStr, USHORT nStyle = 0 ); > Rectangle GetTextRect( const Rectangle& rRect, > const String& rStr, USHORT nStyle = ((USHORT)0x2000), > TextRectInfo* pInfo = __null ) const; > String GetEllipsisString( const String& rStr, long nMaxWidth, > USHORT nStyle = ((USHORT)0x0400) ) const; > > void DrawCtrlText( const Point& rPos, const String& rStr, > USHORT nIndex = 0, USHORT nLen = ((USHORT)0xFFFF), > USHORT nStyle = ((USHORT)0x0002) ); > long GetCtrlTextWidth( const String& rStr, USHORT nIndex = 0, > USHORT nLen = ((USHORT)0xFFFF), > USHORT nStyle = ((USHORT)0x0002) ) const; ># 361 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/vcl/outdev.hxx" > static String GetNonMnemonicString( const String& rStr, USHORT& rMnemonicPos ); > static String GetNonMnemonicString( const String& rStr ) > { USHORT nDummy; return GetNonMnemonicString( rStr, nDummy ); } > > ULONG GetKerningPairCount() const; > void GetKerningPairs( ULONG nPairs, KerningPair* pKernPairs ) const; > > BOOL GetGlyphBoundRect( sal_Unicode cChar, Rectangle& rRect, > BOOL bOptimize = 1 ); > BOOL GetGlyphOutline( sal_Unicode cChar, PolyPolygon& rPolyPoly, > BOOL bOptimize = 1 ); > > void DrawPixel( const Point& rPt ); > void DrawPixel( const Point& rPt, const Color& rColor ); > void DrawPixel( const Polygon& rPts, const Color* pColors = __null ); > void DrawPixel( const Polygon& rPts, const Color& rColor ); > > > void DrawPoint( const Point& rPt ) { DrawPixel( rPt ); } > void InvertRect( const Rectangle& rRect ); > void HighlightRect( const Rectangle& rRect ) { InvertRect( rRect ); } > > > void DrawLine( const Point& rStartPt, const Point& rEndPt ); > void DrawLine( const Point& rStartPt, const Point& rEndPt, > const LineInfo& rLineInfo ); > void DrawPolyLine( const Polygon& rPoly ); > void DrawPolyLine( const Polygon& rPoly, > const LineInfo& rLineInfo ); > void DrawPolygon( const Polygon& rPoly ); > void DrawPolyPolygon( const PolyPolygon& rPolyPoly ); > void DrawRect( const Rectangle& rRect ); > void DrawRect( const Rectangle& rRect, > ULONG nHorzRount, ULONG nVertRound ); > void DrawEllipse( const Rectangle& rRect ); > void DrawArc( const Rectangle& rRect, > const Point& rStartPt, const Point& rEndPt ); > void DrawPie( const Rectangle& rRect, > const Point& rStartPt, const Point& rEndPt ); > void DrawChord( const Rectangle& rRect, > const Point& rStartPt, const Point& rEndPt ); > > void DrawOutDev( const Point& rDestPt, const Size& rDestSize, > const Point& rSrcPt, const Size& rSrcSize ); > void DrawOutDev( const Point& rDestPt, const Size& rDestSize, > const Point& rSrcPt, const Size& rSrcSize, > const OutputDevice& rOutDev ); > void CopyArea( const Point& rDestPt, > const Point& rSrcPt, const Size& rSrcSize, > USHORT nFlags = 0 ); > > void DrawBitmap( const Point& rDestPt, > const Bitmap& rBitmap ); > void DrawBitmap( const Point& rDestPt, const Size& rDestSize, > const Bitmap& rBitmap ); > void DrawBitmap( const Point& rDestPt, const Size& rDestSize, > const Point& rSrcPtPixel, const Size& rSrcSizePixel, > const Bitmap& rBitmap ); > > void DrawBitmapEx( const Point& rDestPt, > const BitmapEx& rBitmapEx ); > void DrawBitmapEx( const Point& rDestPt, const Size& rDestSize, > const BitmapEx& rBitmapEx ); > void DrawBitmapEx( const Point& rDestPt, const Size& rDestSize, > const Point& rSrcPtPixel, const Size& rSrcSizePixel, > const BitmapEx& rBitmapEx ); > > void DrawMask( const Point& rDestPt, > const Bitmap& rBitmap, const Color& rMaskColor ); > void DrawMask( const Point& rDestPt, const Size& rDestSize, > const Bitmap& rBitmap, const Color& rMaskColor ); > void DrawMask( const Point& rDestPt, const Size& rDestSize, > const Point& rSrcPtPixel, const Size& rSrcSizePixel, > const Bitmap& rBitmap, const Color& rMaskColor ); > > void DrawImage( const Point& rPos, > const Image& rImage, USHORT nStyle = 0 ); > void DrawImage( const Point& rPos, const Size& rSize, > const Image& rImage, USHORT nStyle = 0 ); > > void DrawGradient( const Rectangle& rRect, const Gradient& rGradient ); > void DrawGradient( const PolyPolygon& rPolyPoly, const Gradient& rGradient ); > void AddGradientActions( const Rectangle& rRect, > const Gradient& rGradient, > GDIMetaFile& rMtf ); > > void DrawHatch( const PolyPolygon& rPolyPoly, const Hatch& rHatch ); > void AddHatchActions( const PolyPolygon& rPolyPoly, > const Hatch& rHatch, > GDIMetaFile& rMtf ); > > void DrawWallpaper( const Rectangle& rRect, const Wallpaper& rWallpaper ); > void DrawWaveLine( const Point& rStartPos, const Point& rEndPos, USHORT nStyle ); > void DrawGrid( const Rectangle& rRect, const Size& rDist, ULONG nFlags ); > > void DrawTransparent( const PolyPolygon& rPolyPoly, > USHORT nTransparencePercent ); > void DrawTransparent( const GDIMetaFile& rMtf, > const Point& rPos, const Size& rSize, > const Gradient& rTransparenceGradient ); > > Color GetPixel( const Point& rPt ) const; > Color* GetPixel( const Polygon& rPts ) const; > > Bitmap GetBitmap( const Point& rSrcPt, const Size& rSize ) const; > > void EnableMapMode( BOOL bEnable = 1 ) { mbMap = (bEnable != 0); } > BOOL IsMapModeEnabled() const { return mbMap; } > > void SetConnectMetaFile( GDIMetaFile* pMtf ) { mpMetaFile = pMtf; } > GDIMetaFile* GetConnectMetaFile() const { return mpMetaFile; } > > void EnableOutput( BOOL bEnable = 1 ) { mbOutput = (bEnable != 0); } > BOOL IsOutputEnabled() const { return mbOutput; } > BOOL IsDeviceOutput() const { return mbDevOutput; } > BOOL IsDeviceOutputNecessary() const { return (mbOutput && mbDevOutput); } > BOOL IsOutputNecessary() const { return ((mbOutput && mbDevOutput) || (mpMetaFile != __null)); } > > void SetClipRegion(); > void SetClipRegion( const Region& rRegion ); > Region GetClipRegion() const; > BOOL IsClipRegion() const { return mbClipRegion; } > Region GetActiveClipRegion() const; > > void MoveClipRegion( long nHorzMove, long nVertMove ); > void IntersectClipRegion( const Rectangle& rRect ); > void IntersectClipRegion( const Region& rRegion ); > > void SetDrawMode( ULONG nDrawMode ); > ULONG GetDrawMode() const { return mnDrawMode; } > > void SetRasterOp( RasterOp eRasterOp ); > RasterOp GetRasterOp() const { return meRasterOp; } > > void SetLineColor(); > void SetLineColor( const Color& rColor ); > const Color& GetLineColor() const { return maLineColor; } > BOOL IsLineColor() const { return mbLineColor; } > > void SetFillColor(); > void SetFillColor( const Color& rColor ); > const Color& GetFillColor() const { return maFillColor; } > BOOL IsFillColor() const { return mbFillColor; } > > void SetBackground(); > void SetBackground( const Wallpaper& rBackground ); > const Wallpaper& GetBackground() const { return maBackground; } > BOOL IsBackground() const { return mbBackground; } > > void SetFont( const Font& rNewFont ); > const Font& GetFont() const { return maFont; } > void SetTextColor( const Color& rColor ); > const Color& GetTextColor() const { return maFont.GetColor(); } > void SetTextFillColor(); > void SetTextFillColor( const Color& rColor ); > Color GetTextFillColor() const; > BOOL IsTextFillColor() const { return !maFont.IsTransparent(); } > void SetTextLineColor(); > void SetTextLineColor( const Color& rColor ); > const Color& GetTextLineColor() const { return maTextLineColor; } > BOOL IsTextLineColor() const { return (maTextLineColor.GetTransparency() == 0); } > void SetTextAlign( TextAlign eAlign ); > TextAlign GetTextAlign() const { return maFont.GetAlign(); } > > void SetSettings( const AllSettings& rSettings ) { maSettings = rSettings; } > const AllSettings& GetSettings() const { return maSettings; } > > > void SetPen( const Pen& rNewPen ); > const Pen& GetPen() const; > > void SetFillInBrush( const Brush& rNewBrush ); > const Brush& GetFillInBrush() const; > > void SetBackgroundBrush( const Brush& rNewBrush ); > const Brush& GetBackgroundBrush() const; > > > void SetMapMode(); > void SetMapMode( const MapMode& rNewMapMode ); > void SetRelativeMapMode( const MapMode& rNewMapMode ); > const MapMode& GetMapMode() const { return maMapMode; } > BOOL IsMapMode() const { return mbMap; } > > void SetRefPoint(); > void SetRefPoint( const Point& rRefPoint ); > const Point& GetRefPoint() const { return maRefPoint; } > BOOL IsRefPoint() const { return mbRefPoint; } > > Point LogicToPixel( const Point& rLogicPt ) const; > Size LogicToPixel( const Size& rLogicSize ) const; > Rectangle LogicToPixel( const Rectangle& rLogicRect ) const; > Polygon LogicToPixel( const Polygon& rLogicPoly ) const; > PolyPolygon LogicToPixel( const PolyPolygon& rLogicPolyPoly ) const; > Region LogicToPixel( const Region& rLogicRegion )const; > Point LogicToPixel( const Point& rLogicPt, > const MapMode& rMapMode ) const; > Size LogicToPixel( const Size& rLogicSize, > const MapMode& rMapMode ) const; > Rectangle LogicToPixel( const Rectangle& rLogicRect, > const MapMode& rMapMode ) const; > Polygon LogicToPixel( const Polygon& rLogicPoly, > const MapMode& rMapMode ) const; > PolyPolygon LogicToPixel( const PolyPolygon& rLogicPolyPoly, > const MapMode& rMapMode ) const; > Region LogicToPixel( const Region& rLogicRegion, > const MapMode& rMapMode ) const; > Point PixelToLogic( const Point& rDevicePt ) const; > Size PixelToLogic( const Size& rDeviceSize ) const; > Rectangle PixelToLogic( const Rectangle& rDeviceRect ) const; > Polygon PixelToLogic( const Polygon& rDevicePoly ) const; > PolyPolygon PixelToLogic( const PolyPolygon& rDevicePolyPoly ) const; > Region PixelToLogic( const Region& rDeviceRegion ) const; > Point PixelToLogic( const Point& rDevicePt, > const MapMode& rMapMode ) const; > Size PixelToLogic( const Size& rDeviceSize, > const MapMode& rMapMode ) const; > Rectangle PixelToLogic( const Rectangle& rDeviceRect, > const MapMode& rMapMode ) const; > Polygon PixelToLogic( const Polygon& rDevicePoly, > const MapMode& rMapMode ) const; > PolyPolygon PixelToLogic( const PolyPolygon& rDevicePolyPoly, > const MapMode& rMapMode ) const; > Region PixelToLogic( const Region& rDeviceRegion, > const MapMode& rMapMode ) const; > > Point LogicToLogic( const Point& rPtSource, > const MapMode* pMapModeSource, > const MapMode* pMapModeDest ) const; > Size LogicToLogic( const Size& rSzSource, > const MapMode* pMapModeSource, > const MapMode* pMapModeDest ) const; > Rectangle LogicToLogic( const Rectangle& rRectSource, > const MapMode* pMapModeSource, > const MapMode* pMapModeDest ) const; > long* LogicToLogic( long* pX, > USHORT nCount, > const MapMode* pMapModeSource, > const MapMode* pMapModeDest ) const; > static Point LogicToLogic( const Point& rPtSource, > const MapMode& rMapModeSource, > const MapMode& rMapModeDest ); > static Size LogicToLogic( const Size& rSzSource, > const MapMode& rMapModeSource, > const MapMode& rMapModeDest ); > static Rectangle LogicToLogic( const Rectangle& rRectSource, > const MapMode& rMapModeSource, > const MapMode& rMapModeDest ); > static long LogicToLogic( long nLongSource, > MapUnit eUnitSource, > MapUnit eUnitDest ); > > Size GetOutputSizePixel() const > { return Size( mnOutWidth, mnOutHeight ); } > Size GetOutputSize() const > { return PixelToLogic( GetOutputSizePixel() ); } > > void Erase(); > void Erase( const Rectangle& rRect ) { DrawWallpaper( rRect, GetBackground() ); } > > USHORT GetDevFontCount() const; > FontInfo GetDevFont( USHORT nDevFont ) const; > USHORT GetDevFontSizeCount( const Font& rFont ) const; > Size GetDevFontSize( const Font& rFont, USHORT nSize ) const; > BOOL IsFontAvailable( const String& rFontName ) const; > > FontMetric GetFontMetric() const; > FontMetric GetFontMetric( const Font& rFont ) const; > > > Color GetSolidColor( const Color& rColor ) const; > > > USHORT GetBitCount() const; > ULONG GetColorCount() const; > > void Push( USHORT nFlags = ((USHORT)0xFFFF) ); > void Pop(); > > void DrawEPS( const Point& rPt, const Size& rSz, > const GfxLink& rGfxLink, GDIMetaFile* pSubst = __null ); > > ::com::sun::star::uno::Reference< ::com::sun::star::awt::XGraphics > CreateUnoGraphics(); > List* GetUnoGraphicsList() const { return mpUnoGraphicsList; } > List* CreateUnoGraphicsList() { mpUnoGraphicsList = new List; return mpUnoGraphicsList; } > > static void BeginFontSubstitution(); > static void EndFontSubstitution(); > static void AddFontSubstitute( const String& rFontName, > const String& rReplaceFontName, > USHORT nFlags = 0 ); > static void RemoveFontSubstitute( USHORT n ); > static USHORT GetFontSubstituteCount(); > static void GetFontSubstitute( USHORT n, > String& rFontName, > String& rReplaceFontName, > USHORT& rFlags ); >}; > ># 10 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/vcl/window.hxx" 2 > > > > > > ># 10 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/vcl/pointr.hxx" 1 ># 9 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/vcl/ptrstyle.hxx" 1 >typedef USHORT PointerStyle; > ># 10 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/vcl/pointr.hxx" 2 > > >class Point; > >class Pointer >{ > PointerStyle meStyle; > >public: > Pointer() > { meStyle = ((PointerStyle)0); } > Pointer( PointerStyle eStyle ) > { meStyle = eStyle; } > > PointerStyle GetStyle() const { return meStyle; } > > BOOL operator==( const Pointer& rPointer ) const > { return (meStyle == rPointer.meStyle); } > BOOL operator!=( const Pointer& rPointer ) const > { return !(Pointer::operator==( rPointer )); } >}; > ># 16 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/vcl/window.hxx" 2 > > > ># 9 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/vcl/wintypes.hxx" 1 >typedef USHORT WindowType; ># 88 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/vcl/wintypes.hxx" >typedef ULONG WinBits; > ># 204 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/vcl/wintypes.hxx" >enum WindowAlign { WINDOWALIGN_LEFT, WINDOWALIGN_TOP, WINDOWALIGN_RIGHT, WINDOWALIGN_BOTTOM }; >enum ImageAlign { IMAGEALIGN_LEFT, IMAGEALIGN_TOP, IMAGEALIGN_RIGHT, IMAGEALIGN_BOTTOM }; > ># 215 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/vcl/wintypes.hxx" >enum TriState { STATE_NOCHECK, STATE_CHECK, STATE_DONTKNOW }; > >typedef USHORT StandardButtonType; ># 19 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/vcl/window.hxx" 2 > > > ># 17 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/vcl/inputctx.hxx" 1 >class InputContext >{ >private: > Font maFont; > ULONG mnOptions; > >public: > InputContext() { mnOptions = 0; } > InputContext( const Font& rFont, ULONG nOptions = 0 ) : > maFont( rFont ) > { mnOptions = nOptions; } > > void SetFont( const Font& rFont ) { maFont = rFont; } > const Font& GetFont() const { return maFont; } > > void SetOptions( ULONG nOptions ) { mnOptions = nOptions; } > ULONG GetOptions() const { return mnOptions; } >}; > ># 22 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/vcl/window.hxx" 2 > > > > ># 14 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/vcl/event.hxx" 1 ># 7 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/sot/dtrans.hxx" 1 ># 7 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/sot/object.hxx" 1 ># 9 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/sot/sotref.hxx" 1 >enum SvCastEnum { SV_AGGREGATION_CAST }; > > >class SotObject; >class SotObjectRef >{ > protected: SotObject * pObj; public: inline SotObjectRef() { pObj = 0; } inline SotObjectRef( const SotObjectRef & rObj ); inline SotObjectRef( SotObject * pObjP ); inline void Clear(); inline ~SotObjectRef(); inline SotObjectRef & operator = ( const SotObjectRef & rObj ); inline SotObjectRef & operator = ( SotObject * pObj ); inline BOOL Is() const { return pObj != __null; } inline SotObject * operator & () const { return pObj; } inline SotObject * operator -> () const { return pObj; } inline SotObject & operator * () const { return *pObj; } inline operator SotObject * () const { return pObj; } > inline SotObjectRef( SotObject * pObjP, SvCastEnum ); >}; ># 7 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/sot/object.hxx" 2 > > > ># 16 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/sot/sotdata.hxx" 1 >class SotFactory; >class SotFactoryList; >class SotObjectList; >class SvDataTypeList; >class StringList; >struct SotData_Impl >{ > UINT32 nSvObjCount; > SotObjectList * pObjectList; > SotFactoryList * pFactoryList; > SotFactory * pSotObjectFactory; > SotFactory * pSotStorageStreamFactory; > SotFactory * pSotStorageFactory; > SotFactory * pSotDataObjectFactory; > SvDataTypeList * pEmptyList; > SotFactory * pSotDataMemberObjectFactory; > StringList* pAtomList; > SotData_Impl(); >}; > >extern SotData_Impl* SOTDATA(); > ># 10 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/sot/object.hxx" 2 > > > ># 13 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/tools/globname.hxx" 1 >struct ImpSvGlobalName >{ > BYTE szData[ 16 ]; > USHORT nRefCount; > > ImpSvGlobalName() > { > nRefCount = 0; > } > ImpSvGlobalName( const ImpSvGlobalName & rObj ); > ImpSvGlobalName( int ); > > BOOL operator == ( const ImpSvGlobalName & rObj ) const; >}; > > > > > >struct GUID; > >typedef GUID CLSID; >class SvStream; >class SvGlobalNameList; >class SvGlobalName >{ >friend SvGlobalNameList; > ImpSvGlobalName * pImp; > void NewImp(); >public: > SvGlobalName(); > SvGlobalName( const SvGlobalName & rObj ) > { > pImp = rObj.pImp; > pImp->nRefCount++; > } > SvGlobalName( ImpSvGlobalName * pImpP ) > { > pImp = pImpP; > pImp->nRefCount++; > } > SvGlobalName( UINT32 n1, USHORT n2, USHORT n3, > BYTE b8, BYTE b9, BYTE b10, BYTE b11, > BYTE b12, BYTE b13, BYTE b14, BYTE b15 ); > SvGlobalName & operator = ( const SvGlobalName & rObj ); > ~SvGlobalName(); > > friend SvStream & operator >> ( SvStream &, SvGlobalName & ); > friend SvStream & operator << ( SvStream &, const SvGlobalName & ); > > BOOL operator < ( const SvGlobalName & rObj ) const; > SvGlobalName & operator += ( UINT32 ); > SvGlobalName & operator ++ () { return operator += ( 1 ); } > > BOOL operator == ( const SvGlobalName & rObj ) const; > BOOL operator != ( const SvGlobalName & rObj ) const > { return !(*this == rObj); } > > void MakeFromMemory( void * pData ); > BOOL MakeId( const String & rId ); > String GetctorName() const; > String GetHexName() const; > String GetRegDbName() const > { > String a = '{'; > a += GetHexName(); > a += '}'; > return a; > } > > SvGlobalName( const CLSID & rId ); > const CLSID & GetCLSID() const { return *(CLSID *)pImp->szData; } >}; > >class SvGlobalNameList >{ > List aList; >public: > SvGlobalNameList(); > ~SvGlobalNameList(); > > void Append( const SvGlobalName & ); > SvGlobalName GetObject( ULONG ); > BOOL IsEntry( const SvGlobalName & rName ); > ULONG Count() const { return aList.Count(); } >private: > > SvGlobalNameList( const SvGlobalNameList & ); > SvGlobalNameList & operator = ( const SvGlobalNameList & ); >}; > ># 13 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/sot/object.hxx" 2 ># 343 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/sot/object.hxx" >class SvAggregateMemberList; >struct IUnknown; >class SotObject : virtual public SvRefBase >{ >friend class SotFactory; >friend class SvObject; > SvAggregateMemberList * pAggList; > USHORT nStrongLockCount; > USHORT nOwnerLockCount; > BOOL bOwner:1, > bSVObject:1, > bInClose:1; > > void * DownAggCast( const SotFactory * pFact ); > void RemoveInterface( ULONG ); > void RemoveInterface( SotObject * ); > > > >protected: > > virtual ~SotObject(); > void SetExtern() { bOwner = 0; } > virtual BOOL Close(); >public: > SotObject(); > private: static SotFactory ** GetFactoryAdress() { return &SOTDATA()->pSotObjectFactory; } public: static void * CreateInstance( SotObject ** = __null ); static SotFactory * ClassFactory(); virtual const SotFactory * GetSvFactory() const; virtual void * Cast( const SotFactory * ); > virtual void TestObjRef( BOOL bFree ); void TestMemberObjRef( BOOL bFree ); virtual void TestInvariant( BOOL bPrint ); void TestMemberInvariant( BOOL bPrint ); > > virtual IUnknown * GetInterface( const SvGlobalName & ); > > BOOL Owner() const { return bOwner; } > BOOL IsSvObject() const; > > BOOL ShouldDelete(); > virtual void QueryDelete(); > SvAggregateMemberList & GetAggList(); > void AddInterface( SotObject * ); > void AddInterface( SotFactory * ); > virtual SotObjectRef CreateAggObj( const SotFactory * ); > void * AggCast( const SotFactory * pFact ); > void * CastAndAddRef( const SotFactory * pFact ); > SotObject * GetMainObj() const; > > virtual USHORT FuzzyLock( BOOL bLock, BOOL bIntern, BOOL bClose ); > void Lock( BOOL bLock ) > { > FuzzyLock( bLock, 1, 1 ); > } > USHORT GetOwnerLockCount() const { return nOwnerLockCount; } > USHORT GetStrongLockCount() const { return nStrongLockCount; } > > void OwnerLock( BOOL bLock ); > BOOL DoClose(); > BOOL IsInClose() const { return bInClose; } > >private: > > SotObject & operator = ( const SotObject & ); > SotObject( const SotObject & ); >}; > >inline SotObjectRef::SotObjectRef( const SotObjectRef & rObj ) { pObj = rObj.pObj; if( pObj ) { pObj->AddNextRef(); } } inline SotObjectRef::SotObjectRef( SotObject * pObjP ) { pObj = pObjP; if( pObj ) { pObj->AddRef(); } } inline void SotObjectRef::Clear() { if( pObj ) { SotObject* const pRefObj = pObj; pObj = 0; pRefObj->ReleaseReference(); } } inline SotObjectRef::~SotObjectRef() { if( pObj ) { pObj->ReleaseReference(); } } inline SotObjectRef & SotObjectRef:: operator = ( const SotObjectRef & rObj ) { if( rObj.pObj ) rObj.pObj->AddNextRef(); SotObject* const pRefObj = pObj; pObj = rObj.pObj; if( pRefObj ) { pRefObj->ReleaseReference(); } return *this; } inline SotObjectRef & SotObjectRef::operator = ( SotObject * pObjP ) { return *this = SotObjectRef( pObjP ); } > >inline SotObjectRef::SotObjectRef( SotObject * pObjP, SvCastEnum ) >{ > if( pObjP ) > { > pObj = (SotObject *)pObjP->AggCast( SotObject::ClassFactory() ); > if( pObj ) > pObj->AddRef(); > } > else > pObj = __null; >} > >class SotObjectList : private List { public: List::Clear; List::Count; List::GetCurPos; SotObjectList( USHORT _nInitSize = 16, USHORT _nReSize = 16 ) : List( _nInitSize, _nReSize ) {} SotObjectList( USHORT _nBlockSize, USHORT _nInitSize, USHORT _nReSize ) : List( _nBlockSize, _nInitSize, _nReSize ) {} SotObjectList( const SotObjectList& rClassName ) : List( rClassName ) {} void Insert( SotObject* p, ULONG nIndex ) { List::Insert( (void*)p, nIndex ); } void Insert( SotObject* p ) { List::Insert( (void*)p ); } void Insert( SotObject* pNew, SotObject* pOld ) { List::Insert( (void*)pNew, (void*)pOld ); } SotObject* Remove() { return (SotObject*)List::Remove(); } SotObject* Remove( ULONG nIndex ) { return (SotObject*)List::Remove( nIndex ); } SotObject* Remove( SotObject* p ) { return (SotObject*)List::Remove( (void*)p ); } SotObject* Replace( SotObject* p ) { return (SotObject*)List::Replace( (void*)p ); } SotObject* Replace( SotObject* p, ULONG nIndex ) { return (SotObject*)List::Replace( (void*)p, nIndex ); } SotObject* Replace( SotObject* pNew, SotObject* pOld ) { return (SotObject*)List::Replace( (void*)pNew, (void*)pOld ); } SotObject* GetCurObject() const { return (SotObject*)List::GetCurObject(); } SotObject* GetObject( ULONG nIndex ) const { return (SotObject*)List::GetObject( nIndex ); } ULONG GetPos( const SotObject* p ) const { return List::GetPos( (const void*)p ); } ULONG GetPos( const SotObject* p, ULONG nStartIndex, BOOL bForward = 1 ) const { return List::GetPos( (const void*)p, nStartIndex, bForward ); } SotObject* Seek( ULONG nIndex ) { return (SotObject*)List::Seek( nIndex ); } SotObject* Seek( void* p ) { return (SotObject*)List::Seek( p ); } SotObject* First() { return (SotObject*)List::First(); } SotObject* Last() { return (SotObject*)List::Last(); } SotObject* Next() { return (SotObject*)List::Next(); } SotObject* Prev() { return (SotObject*)List::Prev(); } SotObjectList& operator =( const SotObjectList& rClassName ) { List::operator =( rClassName ); return *this; } BOOL operator ==( const SotObjectList& rList ) const { return List::operator ==( rList ); } BOOL operator !=( const SotObjectList& rList ) const { return List::operator !=( rList ); } };class SotObjectMemberList : public SotObjectList{public:inline SotObjectMemberList(){}inline SotObjectMemberList(USHORT nInitSize, USHORT nResize ) : SotObjectList( nInitSize, nResize ){}inline SotObjectMemberList( const SotObjectMemberList & rRef );inline ~SotObjectMemberList();inline SotObjectMemberList & operator = ( const SotObjectMemberList & rRef );inline void Clear();inline void Insert( SotObject* p ){ SotObjectList::Insert( p ); p->AddRef();}inline void Insert( SotObject* p, ULONG nIndex ){ SotObjectList::Insert( p, nIndex ); p->AddRef();}inline void Insert( SotObject* p, SotObject* pOld ){ SotObjectList::Insert( p, pOld ); p->AddRef();}inline void Append( SotObject* p ){ Insert( p, ((ULONG)0xFFFFFFFF) );}inline SotObject* Remove();inline SotObject* Remove( ULONG nIndex );inline SotObject* Remove( SotObject* p );inline SotObject* Replace( SotObject* p );inline SotObject* Replace( SotObject* p, ULONG nIndex );inline SotObject* Replace( SotObject* pNew, SotObject* pOld );inline void Append( const SotObjectMemberList & );}; >inline SotObjectMemberList::SotObjectMemberList( const SotObjectMemberList & rRef ) : SotObjectList( rRef ) { ULONG nOldCount = Count(); SotObject* pEntry = First(); while( pEntry ) { pEntry->AddRef(); pEntry = Next(); } Seek( nOldCount ); }inline SotObjectMemberList::~SotObjectMemberList() { Clear(); } inline SotObjectMemberList & SotObjectMemberList::operator = ( const SotObjectMemberList & rRef ) { SotObjectMemberList & rList = (SotObjectMemberList &)rRef; ULONG nOldCount = rList.Count(); SotObject* pEntry = rList.First(); while( pEntry ) { pEntry->AddRef(); pEntry = rList.Next(); } rList.Seek( nOldCount ); Clear(); SotObjectList::operator = ( rRef ); return *this; }inline void SotObjectMemberList::Clear() { SotObject* pEntry = Last(); while( __null != pEntry ) pEntry = Remove();}inline SotObject* SotObjectMemberList::Remove() { SotObject* p = SotObjectList::Remove(); if( p ) p->ReleaseReference(); return p; }inline SotObject* SotObjectMemberList::Remove( ULONG nIndex ) { SotObject* p = SotObjectList::Remove( nIndex ); if( p ) p->ReleaseReference(); return p; }inline SotObject* SotObjectMemberList::Remove( SotObject* p ) { p = SotObjectList::Remove( p ); if( p ) p->ReleaseReference(); return p; }inline SotObject* SotObjectMemberList::Replace( SotObject* p ) { p->AddRef(); p = SotObjectList::Replace( p ); if( p ) p->ReleaseReference(); return p; }inline SotObject* SotObjectMemberList::Replace( SotObject* p, ULONG nIndex ) { p->AddRef(); p = SotObjectList::Replace( p, nIndex ); if( p ) p->ReleaseReference(); return p; }inline SotObject* SotObjectMemberList::Replace( SotObject* pNew, SotObject* pOld ) { pNew->AddRef(); SotObjectList::Replace( pNew, pOld ); if( pOld ) pOld->ReleaseReference(); return pOld; }inline void SotObjectMemberList::Append( const SotObjectMemberList & rList ){ for( ULONG i = 0; i < rList.Count(); i++ ) Append( rList.GetObject( i ) );} > ># 7 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/sot/dtrans.hxx" 2 > > > ># 12 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/sot/factory.hxx" 1 >class SotObject; >class SotFactory; > >class SotFactoryList : private List { public: List::Clear; List::Count; List::GetCurPos; SotFactoryList( USHORT _nInitSize = 16, USHORT _nReSize = 16 ) : List( _nInitSize, _nReSize ) {} SotFactoryList( USHORT _nBlockSize, USHORT _nInitSize, USHORT _nReSize ) : List( _nBlockSize, _nInitSize, _nReSize ) {} SotFactoryList( const SotFactoryList& rClassName ) : List( rClassName ) {} void Insert( SotFactory * p, ULONG nIndex ) { List::Insert( (void*)p, nIndex ); } void Insert( SotFactory * p ) { List::Insert( (void*)p ); } void Insert( SotFactory * pNew, SotFactory * pOld ) { List::Insert( (void*)pNew, (void*)pOld ); } SotFactory * Remove() { return (SotFactory *)List::Remove(); } SotFactory * Remove( ULONG nIndex ) { return (SotFactory *)List::Remove( nIndex ); } SotFactory * Remove( SotFactory * p ) { return (SotFactory *)List::Remove( (void*)p ); } SotFactory * Replace( SotFactory * p ) { return (SotFactory *)List::Replace( (void*)p ); } SotFactory * Replace( SotFactory * p, ULONG nIndex ) { return (SotFactory *)List::Replace( (void*)p, nIndex ); } SotFactory * Replace( SotFactory * pNew, SotFactory * pOld ) { return (SotFactory *)List::Replace( (void*)pNew, (void*)pOld ); } SotFactory * GetCurObject() const { return (SotFactory *)List::GetCurObject(); } SotFactory * GetObject( ULONG nIndex ) const { return (SotFactory *)List::GetObject( nIndex ); } ULONG GetPos( const SotFactory * p ) const { return List::GetPos( (const void*)p ); } ULONG GetPos( const SotFactory * p, ULONG nStartIndex, BOOL bForward = 1 ) const { return List::GetPos( (const void*)p, nStartIndex, bForward ); } SotFactory * Seek( ULONG nIndex ) { return (SotFactory *)List::Seek( nIndex ); } SotFactory * Seek( void* p ) { return (SotFactory *)List::Seek( p ); } SotFactory * First() { return (SotFactory *)List::First(); } SotFactory * Last() { return (SotFactory *)List::Last(); } SotFactory * Next() { return (SotFactory *)List::Next(); } SotFactory * Prev() { return (SotFactory *)List::Prev(); } SotFactoryList& operator =( const SotFactoryList& rClassName ) { List::operator =( rClassName ); return *this; } BOOL operator ==( const SotFactoryList& rList ) const { return List::operator ==( rList ); } BOOL operator !=( const SotFactoryList& rList ) const { return List::operator !=( rList ); } }; >typedef void * (*CreateInstanceType)( SotObject ** ); > >class SotFactory : public SvGlobalName >{ > USHORT nSuperCount; > const SotFactory ** pSuperClasses; > CreateInstanceType pCreateFunc; > > String aClassName; > > static BOOL ExistTest( const SvGlobalName & ); >protected: > virtual ~SotFactory(); >public: > static void* CreateType(); static TypeId StaticType(); static BOOL IsOf( TypeId aSameOrSuperType ); virtual TypeId Type() const; virtual BOOL IsA( TypeId aSameOrSuperType ) const; > static void DeInit(); > static void IncSvObjectCount( SotObject * = __null ); > static void DecSvObjectCount( SotObject * = __null ); > static UINT32 GetSvObjectCount(); > static void TestInvariant(); > > static const SotFactory * Find( const SvGlobalName & ); > static const SotFactoryList * GetFactoryList(); > > SotFactory( const SvGlobalName &, > const String & rClassName, CreateInstanceType ); > > const String & GetClassName() const { return aClassName; } > void PutSuperClass( const SotFactory * ); > virtual void * CreateInstance( SotObject ** ppObj = __null ) const; > void * CastAndAddRef( SotObject * ) const; > void * AggCastAndAddRef( SotObject * ) const; > > BOOL Is( const SotFactory * pSuperClass ) const; > const SotFactory * GetSuper( USHORT nPos ) const > { > return nPos < nSuperCount ? > pSuperClasses[ nPos ] > : __null; > } > >private: > SotFactory( const SotFactory & ); > SotFactory & operator = ( const SotFactory & ); >}; > ># 10 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/sot/dtrans.hxx" 2 > > > > > >class SvStream; >class AbstractDeviceData; > ># 33 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/sot/dtrans.hxx" >class SvDataType > >{ >friend class SvDataObject; > ULONG nFormat; > AbstractDeviceData* pDevData; > USHORT nAspect; > USHORT nMedium; >protected: > void SetFormat( ULONG nF ) { nFormat = nF; } > void SetMedium( USHORT nMediumP ) { nMedium = nMediumP; } > void AddMedium( USHORT nMediumP ) { nMedium |= nMediumP; } >public: > static String GetAspectName( USHORT nAspectP ); > > SvDataType(); > SvDataType( ULONG nFormat, > USHORT nPrefered = (1 | 2 | 4 | 8 | 16 | 32) ); > SvDataType( const SvDataType & rObj ); > SvDataType & operator = ( const SvDataType & rObj ); > ~SvDataType(); > > friend SvStream& operator << (SvStream &, const SvDataType &); > friend SvStream& operator >> (SvStream &, SvDataType &); > > void SetDeviceData( const AbstractDeviceData * ); > void SetAspect( USHORT nAspectP ) { nAspect = nAspectP; } > > BOOL operator == ( const SvDataType & rObj ) const; > BOOL operator != ( const SvDataType & rObj ) const > { return !(*this == rObj); } > BOOL Match( const SvDataType & rObj ) const; > > ULONG GetFormat() const { return nFormat; } > USHORT GetMedium() const { return nMedium; } > const AbstractDeviceData * GetDeviceData() const { return pDevData; } > USHORT GetAspect() const { return nAspect; } > > BOOL HasFormat() const { return nFormat != 0; } > BOOL Is() const { return nFormat != 0; } >}; > >class SvDataTypeList >{ > > List aTypes; public: SvDataTypeList( USHORT nInitSize = 16, USHORT nReSize = 16 ) : aTypes( nInitSize, nReSize ) {} SvDataTypeList( const SvDataTypeList & rObj ) { *this = rObj; } SvDataTypeList & operator = ( const SvDataTypeList & ); ~SvDataTypeList() { Clear(); } void Clear(); void Remove() { delete (SvDataType *)aTypes.Remove(); } void Remove( SvDataType * pObj ) { delete (SvDataType *)aTypes.Remove( pObj ); } void Remove( ULONG nPos ) { delete (SvDataType *)aTypes.Remove( nPos ); } SvDataType & Insert( const SvDataType &, ULONG nPos ); SvDataType & Insert( const SvDataType & rType ) { return Insert( rType, aTypes.GetCurPos() ); } SvDataType & Append( const SvDataType & rType ) { return Insert( rType, ((ULONG)0xFFFFFFFF) ); } SvDataType & GetObject( ULONG nPos ) const { return *(SvDataType *)aTypes.GetObject( nPos ); } SvDataType & operator []( ULONG nPos ) const { return *(SvDataType *)aTypes.GetObject( nPos ); } ULONG Count() const { return aTypes.Count(); } > BOOL HasEqualType( const SvDataType & ) const; > const SvDataType * Get( const SvDataType & ) const; > const SvDataType * Get( ULONG nFormat ) const; > void Remove( const SvDataType & ); >}; > > > >class SotStorage; class SotStorageRef { protected: SotStorage * pObj; public: inline SotStorageRef() { pObj = 0; } inline SotStorageRef( const SotStorageRef & rObj ); inline SotStorageRef( SotStorage * pObjP ); inline void Clear(); inline ~SotStorageRef(); inline SotStorageRef & operator = ( const SotStorageRef & rObj ); inline SotStorageRef & operator = ( SotStorage * pObj ); inline BOOL Is() const { return pObj != __null; } inline SotStorage * operator & () const { return pObj; } inline SotStorage * operator -> () const { return pObj; } inline SotStorage & operator * () const { return *pObj; } inline operator SotStorage * () const { return pObj; } inline SotStorageRef( const SotObjectRef & ); inline SotStorageRef( SotObject * pObjP ); inline SotStorageRef( SotObject * pObjP, SvCastEnum ); }; > > > >class SotStorageStream; class SotStorageStreamRef { protected: SotStorageStream * pObj; public: inline SotStorageStreamRef() { pObj = 0; } inline SotStorageStreamRef( const SotStorageStreamRef & rObj ); inline SotStorageStreamRef( SotStorageStream * pObjP ); inline void Clear(); inline ~SotStorageStreamRef(); inline SotStorageStreamRef & operator = ( const SotStorageStreamRef & rObj ); inline SotStorageStreamRef & operator = ( SotStorageStream * pObj ); inline BOOL Is() const { return pObj != __null; } inline SotStorageStream * operator & () const { return pObj; } inline SotStorageStream * operator -> () const { return pObj; } inline SotStorageStream & operator * () const { return *pObj; } inline operator SotStorageStream * () const { return pObj; } inline SotStorageStreamRef( const SotObjectRef & ); inline SotStorageStreamRef( SotObject * pObjP ); inline SotStorageStreamRef( SotObject * pObjP, SvCastEnum ); }; > > >enum TransferOperation { TRANSFER_MOVE, TRANSFER_COPY, TRANSFER_REFERENCE }; > >class SvDataCopyStream; >class SvStorageStreamRef; >class SvStorageRef; >class GDIMetaFile; >class Bitmap; > >class SvData : public SvDataType > >{ >friend class SvDataObject; > > UINT32 nSize; > void * pData; > SvDataCopyStream * pSimpleObj; > SotStorageRef aStorage; > UINT32 nStmBeginPos; > SotStorageStreamRef aStream; > BOOL bDataOwner:1, > bSimpleObjOwner:1, > bStorageOwner:1, > bStreamOwner:1; > > void FreeMemory(); > void FreeData(); > void SetMedium( USHORT nMediumP ) > { SvDataType::SetMedium( nMediumP ); } >public: > SvData( const SvData & ); > SvData( ULONG nFormat = 0, USHORT nPrefered = (1 | 2 | 4 | 8 | 16 | 32) ); > SvData( const SvDataType & ); > ~SvData(); > SvData& operator = ( const SvData & ); > > friend SvStream& operator << (SvStream &, SvData &); > friend SvStream& operator >> (SvStream &, SvData &); > > BOOL HasMedium( USHORT nMedium ) const; > BOOL HasData() const; > > void SetData( SvData * pData, TransferOperation = TRANSFER_COPY ); > void SetData( void * pData, UINT32 nSize, TransferOperation = TRANSFER_COPY ); > void SetData( const String & rStr ); > void SetData( SvDataCopyStream * pObj, TransferOperation = TRANSFER_COPY ); > void SetData( SotStorageRef &, TransferOperation = TRANSFER_REFERENCE ); > void SetData( SotStorageStreamRef &, TransferOperation = TRANSFER_REFERENCE ); > > void SetData( SotStorageStreamRef &, UINT32 nLen, TransferOperation = TRANSFER_REFERENCE ); > void NewStreamSize(); > > UINT32 GetMemorySize() const; > UINT32 GetMinMemorySize() const; > BOOL GetData( void ** ppData, TransferOperation = TRANSFER_COPY ); > BOOL GetData( String & rStr ); > BOOL GetData( SvDataCopyStream ** ppObj, TypeId pCreateFunc, > TransferOperation = TRANSFER_COPY ); > BOOL GetData( SotStorageRef &, TransferOperation = TRANSFER_REFERENCE ); > BOOL GetData( SotStorageStreamRef &, TransferOperation = TRANSFER_REFERENCE ); > > BOOL GetData( SotStorageStreamRef &, UINT32 & rLen, TransferOperation = TRANSFER_REFERENCE ); > > BOOL GetData( SvStorageRef &, TransferOperation = TRANSFER_REFERENCE ); > BOOL GetData( SvStorageStreamRef &, TransferOperation = TRANSFER_REFERENCE ); > BOOL GetData( SvStorageStreamRef &, UINT32 & rLen, TransferOperation = TRANSFER_REFERENCE ); > BOOL GetData( GDIMetaFile ** ppFile, TransferOperation = TRANSFER_COPY ); > BOOL GetData( Bitmap ** ppBmp, TransferOperation = TRANSFER_COPY ); > > void SetData( GDIMetaFile * pFile, TransferOperation = TRANSFER_COPY ); > void SetData( Bitmap * pBmp, TransferOperation = TRANSFER_COPY ); > void SetData( SvStorageRef &, TransferOperation = TRANSFER_REFERENCE ); > void SetData( SvStorageStreamRef &, TransferOperation = TRANSFER_REFERENCE ); > void SetData( SvStorageStreamRef &, UINT32 nLen, TransferOperation = TRANSFER_REFERENCE ); >}; >class SvDataList : private List { public: List::Clear; List::Count; List::GetCurPos; SvDataList( USHORT _nInitSize = 16, USHORT _nReSize = 16 ) : List( _nInitSize, _nReSize ) {} SvDataList( USHORT _nBlockSize, USHORT _nInitSize, USHORT _nReSize ) : List( _nBlockSize, _nInitSize, _nReSize ) {} SvDataList( const SvDataList& rClassName ) : List( rClassName ) {} void Insert( SvData * p, ULONG nIndex ) { List::Insert( (void*)p, nIndex ); } void Insert( SvData * p ) { List::Insert( (void*)p ); } void Insert( SvData * pNew, SvData * pOld ) { List::Insert( (void*)pNew, (void*)pOld ); } SvData * Remove() { return (SvData *)List::Remove(); } SvData * Remove( ULONG nIndex ) { return (SvData *)List::Remove( nIndex ); } SvData * Remove( SvData * p ) { return (SvData *)List::Remove( (void*)p ); } SvData * Replace( SvData * p ) { return (SvData *)List::Replace( (void*)p ); } SvData * Replace( SvData * p, ULONG nIndex ) { return (SvData *)List::Replace( (void*)p, nIndex ); } SvData * Replace( SvData * pNew, SvData * pOld ) { return (SvData *)List::Replace( (void*)pNew, (void*)pOld ); } SvData * GetCurObject() const { return (SvData *)List::GetCurObject(); } SvData * GetObject( ULONG nIndex ) const { return (SvData *)List::GetObject( nIndex ); } ULONG GetPos( const SvData * p ) const { return List::GetPos( (const void*)p ); } ULONG GetPos( const SvData * p, ULONG nStartIndex, BOOL bForward = 1 ) const { return List::GetPos( (const void*)p, nStartIndex, bForward ); } SvData * Seek( ULONG nIndex ) { return (SvData *)List::Seek( nIndex ); } SvData * Seek( void* p ) { return (SvData *)List::Seek( p ); } SvData * First() { return (SvData *)List::First(); } SvData * Last() { return (SvData *)List::Last(); } SvData * Next() { return (SvData *)List::Next(); } SvData * Prev() { return (SvData *)List::Prev(); } SvDataList& operator =( const SvDataList& rClassName ) { List::operator =( rClassName ); return *this; } BOOL operator ==( const SvDataList& rList ) const { return List::operator ==( rList ); } BOOL operator !=( const SvDataList& rList ) const { return List::operator !=( rList ); } }; > > > >class SotDataObject; class SotDataObjectRef { protected: SotDataObject * pObj; public: inline SotDataObjectRef() { pObj = 0; } inline SotDataObjectRef( const SotDataObjectRef & rObj ); inline SotDataObjectRef( SotDataObject * pObjP ); inline void Clear(); inline ~SotDataObjectRef(); inline SotDataObjectRef & operator = ( const SotDataObjectRef & rObj ); inline SotDataObjectRef & operator = ( SotDataObject * pObj ); inline BOOL Is() const { return pObj != __null; } inline SotDataObject * operator & () const { return pObj; } inline SotDataObject * operator -> () const { return pObj; } inline SotDataObject & operator * () const { return *pObj; } inline operator SotDataObject * () const { return pObj; } inline SotDataObjectRef( const SotObjectRef & ); inline SotDataObjectRef( SotObject * pObjP ); inline SotDataObjectRef( SotObject * pObjP, SvCastEnum ); }; > > >class SotDataObject : virtual public SotObject > >{ >protected: > ~SotDataObject(); >public: > SotDataObject(); > private: static SotFactory ** GetFactoryAdress() { return &SOTDATA()->pSotDataObjectFactory; } public: static void * CreateInstance( SotObject ** = __null ); static SotFactory * ClassFactory(); virtual const SotFactory * GetSvFactory() const; virtual void * Cast( const SotFactory * ); > virtual void TestObjRef( BOOL bFree ); void TestMemberObjRef( BOOL bFree ); virtual void TestInvariant( BOOL bPrint ); void TestMemberInvariant( BOOL bPrint ); > > virtual const SvDataTypeList & GetTypeList() const; > > virtual BOOL GetData( SvData * ); > virtual BOOL GetDataHere( SvData * ); > virtual BOOL QueryDataType( SvDataType & rInOutType ); > > virtual BOOL IsSotDataMemberObject( void ); >}; >inline SotDataObjectRef::SotDataObjectRef( const SotDataObjectRef & rObj ) { pObj = rObj.pObj; if( pObj ) { pObj->AddNextRef(); } } inline SotDataObjectRef::SotDataObjectRef( SotDataObject * pObjP ) { pObj = pObjP; if( pObj ) { pObj->AddRef(); } } inline void SotDataObjectRef::Clear() { if( pObj ) { SotDataObject* const pRefObj = pObj; pObj = 0; pRefObj->ReleaseReference(); } } inline SotDataObjectRef::~SotDataObjectRef() { if( pObj ) { pObj->ReleaseReference(); } } inline SotDataObjectRef & SotDataObjectRef:: operator = ( const SotDataObjectRef & rObj ) { if( rObj.pObj ) rObj.pObj->AddNextRef(); SotDataObject* const pRefObj = pObj; pObj = rObj.pObj; if( pRefObj ) { pRefObj->ReleaseReference(); } return *this; } inline SotDataObjectRef & SotDataObjectRef::operator = ( SotDataObject * pObjP ) { return *this = SotDataObjectRef( pObjP ); } inline SotDataObjectRef::SotDataObjectRef( const SotObjectRef & r ) { pObj = (SotDataObject *)SotDataObject::ClassFactory()->CastAndAddRef( &r ); } inline SotDataObjectRef::SotDataObjectRef( SotObject * pObjP ) { pObj = (SotDataObject *)SotDataObject::ClassFactory()->CastAndAddRef( pObjP );} inline SotDataObjectRef::SotDataObjectRef( SotObject * pObjP, SvCastEnum ) { pObj = (SotDataObject *)SotDataObject::ClassFactory()->AggCastAndAddRef( pObjP );} > >class SotDataMemberObject : public SotDataObject > >{ > SvDataList aDataList; > SvDataTypeList aTypeList; > SotDataObjectRef xExtObj; >public: > SotDataMemberObject(); > SotDataMemberObject( SotDataObject * pExtObj ); > ~SotDataMemberObject(); > private: static SotFactory ** GetFactoryAdress() { return &SOTDATA()->pSotDataMemberObjectFactory; } public: static void * CreateInstance( SotObject ** = __null ); static SotFactory * ClassFactory(); virtual const SotFactory * GetSvFactory() const; virtual void * Cast( const SotFactory * ); > > virtual const SvDataTypeList & GetTypeList() const; > virtual BOOL GetData( SvData * ); > virtual BOOL GetDataHere( SvData * ); > > SvDataList & GetDataList() { return aDataList; } > void Append( SvData * ); > > virtual BOOL IsSotDataMemberObject( void ); >}; > > > >class SotDataMemberObject; class SotDataMemberObjectRef { protected: SotDataMemberObject * pObj; public: inline SotDataMemberObjectRef() { pObj = 0; } inline SotDataMemberObjectRef( const SotDataMemberObjectRef & rObj ); inline SotDataMemberObjectRef( SotDataMemberObject * pObjP ); inline void Clear(); inline ~SotDataMemberObjectRef(); inline SotDataMemberObjectRef & operator = ( const SotDataMemberObjectRef & rObj ); inline SotDataMemberObjectRef & operator = ( SotDataMemberObject * pObj ); inline BOOL Is() const { return pObj != __null; } inline SotDataMemberObject * operator & () const { return pObj; } inline SotDataMemberObject * operator -> () const { return pObj; } inline SotDataMemberObject & operator * () const { return *pObj; } inline operator SotDataMemberObject * () const { return pObj; } inline SotDataMemberObjectRef( const SotObjectRef & ); inline SotDataMemberObjectRef( SotObject * pObjP ); inline SotDataMemberObjectRef( SotObject * pObjP, SvCastEnum ); }; > >inline SotDataMemberObjectRef::SotDataMemberObjectRef( const SotDataMemberObjectRef & rObj ) { pObj = rObj.pObj; if( pObj ) { pObj->AddNextRef(); } } inline SotDataMemberObjectRef::SotDataMemberObjectRef( SotDataMemberObject * pObjP ) { pObj = pObjP; if( pObj ) { pObj->AddRef(); } } inline void SotDataMemberObjectRef::Clear() { if( pObj ) { SotDataMemberObject* const pRefObj = pObj; pObj = 0; pRefObj->ReleaseReference(); } } inline SotDataMemberObjectRef::~SotDataMemberObjectRef() { if( pObj ) { pObj->ReleaseReference(); } } inline SotDataMemberObjectRef & SotDataMemberObjectRef:: operator = ( const SotDataMemberObjectRef & rObj ) { if( rObj.pObj ) rObj.pObj->AddNextRef(); SotDataMemberObject* const pRefObj = pObj; pObj = rObj.pObj; if( pRefObj ) { pRefObj->ReleaseReference(); } return *this; } inline SotDataMemberObjectRef & SotDataMemberObjectRef::operator = ( SotDataMemberObject * pObjP ) { return *this = SotDataMemberObjectRef( pObjP ); } inline SotDataMemberObjectRef::SotDataMemberObjectRef( const SotObjectRef & r ) { pObj = (SotDataMemberObject *)SotDataMemberObject::ClassFactory()->CastAndAddRef( &r ); } inline SotDataMemberObjectRef::SotDataMemberObjectRef( SotObject * pObjP ) { pObj = (SotDataMemberObject *)SotDataMemberObject::ClassFactory()->CastAndAddRef( pObjP );} inline SotDataMemberObjectRef::SotDataMemberObjectRef( SotObject * pObjP, SvCastEnum ) { pObj = (SotDataMemberObject *)SotDataMemberObject::ClassFactory()->AggCastAndAddRef( pObjP );} > ># 14 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/vcl/event.hxx" 2 > > > > > > > ># 32 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/vcl/cmdevt.hxx" 1 >class CommandExtTextInputData >{ >private: > String maText; > const USHORT* mpTextAttr; > USHORT mnCursorPos; > USHORT mnDeltaStart; > USHORT mnOldTextLen; > BOOL mbCursorVisible; > BOOL mbOnlyCursor; > >public: > CommandExtTextInputData(); > CommandExtTextInputData( const String& rText, > const USHORT* pTextAttr, > USHORT nCursorPos, > BOOL bCursorVisible, > USHORT nDeltaStart, > USHORT nOldTextLen, > BOOL bOnlyCursor ); > > const String& GetText() const { return maText; } > const USHORT* GetTextAttr() const { return mpTextAttr; } > USHORT GetCharTextAttr( USHORT nIndex ) const; > USHORT GetCursorPos() const { return mnCursorPos; } > BOOL IsCursorVisible() const { return mbCursorVisible; } > USHORT GetDeltaStart() const { return mnDeltaStart; } > BOOL IsOnlyCursorChanged() const { return mbOnlyCursor; } >}; > >inline CommandExtTextInputData::CommandExtTextInputData() >{ > mpTextAttr = __null; > mnCursorPos = 0; > mnDeltaStart = 0; > mnOldTextLen = 0; > mbCursorVisible = 0; > mbOnlyCursor = 0; >} > >inline CommandExtTextInputData::CommandExtTextInputData( const String& rText, > const USHORT* pTextAttr, > USHORT nCursorPos, > BOOL bCursorVisible, > USHORT nDeltaStart, > USHORT nOldTextLen, > BOOL bOnlyCursor ) : > maText( rText ) >{ > mpTextAttr = pTextAttr; > mnCursorPos = nCursorPos; > mnDeltaStart = nDeltaStart; > mnOldTextLen = nOldTextLen; > mbCursorVisible = bCursorVisible; > mbOnlyCursor = bOnlyCursor; >} > >inline USHORT CommandExtTextInputData::GetCharTextAttr( USHORT nIndex ) const >{ > if ( mpTextAttr && (nIndex < maText.Len()) ) > return mpTextAttr[nIndex]; > else > return 0; >} > > > >class CommandExtTextInputPosData >{ >private: > USHORT mnFirst; > USHORT mnChars; > USHORT mnShowPos; > >public: > CommandExtTextInputPosData(); > CommandExtTextInputPosData( USHORT nFirstPos, USHORT nChars, > USHORT nShowPos = 0xFFFF ); > > USHORT GetFirstPos() const { return mnFirst; } > USHORT GetChars() const { return mnChars; } > USHORT GetShowPos() const { return mnShowPos; } > BOOL IsShowPos() const { return mnShowPos != ((USHORT)0xFFFF); } >}; > >inline CommandExtTextInputPosData::CommandExtTextInputPosData() >{ > mnFirst = 0; > mnChars = 0; > mnShowPos = 0xFFFF; >} > >inline CommandExtTextInputPosData::CommandExtTextInputPosData( USHORT nFirstPos, > USHORT nChars, > USHORT nShowPos ) >{ > mnFirst = nFirstPos; > mnChars = nChars; > mnShowPos = nShowPos; >} > >class CommandInputContextData >{ >private: > Font maFont; > >public: > CommandInputContextData(); > CommandInputContextData( const Font& rFont ); > > const Font& GetFont() const { return maFont; } >}; > >inline CommandInputContextData::CommandInputContextData() >{ >} > >inline CommandInputContextData::CommandInputContextData( const Font& rFont ) : > maFont( rFont ) >{ >} > > > > > > > >class CommandWheelData >{ >private: > long mnDelta; > long mnNotchDelta; > ULONG mnLines; > USHORT mnMode; > USHORT mnCode; > BOOL mbHorz; > >public: > CommandWheelData(); > CommandWheelData( long nWheelDelta, long nWheelNotchDelta, > ULONG nScrollLines, > USHORT nWheelMode, USHORT nKeyModifier, > BOOL mbHorz = 0 ); > > long GetDelta() const { return mnDelta; } > long GetNotchDelta() const { return mnNotchDelta; } > ULONG GetScrollLines() const { return mnLines; } > BOOL IsHorz() const { return mbHorz; } > > USHORT GetMode() const { return mnMode; } > > USHORT GetModifier() const > { return (mnCode & (((USHORT)0x1000) | ((USHORT)0x2000) | ((USHORT)0x4000))); } > BOOL IsShift() const > { return ((mnCode & ((USHORT)0x1000)) != 0); } > BOOL IsMod1() const > { return ((mnCode & ((USHORT)0x2000)) != 0); } > BOOL IsMod2() const > { return ((mnCode & ((USHORT)0x4000)) != 0); } >}; > >inline CommandWheelData::CommandWheelData() >{ > mnDelta = 0; > mnNotchDelta = 0; > mnLines = 0; > mnMode = 0; > mnCode = 0; > mbHorz = 0; >} > >inline CommandWheelData::CommandWheelData( long nWheelDelta, long nWheelNotchDelta, > ULONG nScrollLines, > USHORT nWheelMode, USHORT nKeyModifier, > BOOL bHorz ) >{ > mnDelta = nWheelDelta; > mnNotchDelta = nWheelNotchDelta; > mnLines = nScrollLines; > mnMode = nWheelMode; > mnCode = nKeyModifier; > mbHorz = bHorz; >} > >class CommandScrollData >{ >private: > long mnDeltaX; > long mnDeltaY; > >public: > CommandScrollData(); > CommandScrollData( long nDeltaX, long nDeltaY ); > > long GetDeltaX() const { return mnDeltaX; } > long GetDeltaY() const { return mnDeltaY; } >}; > >inline CommandScrollData::CommandScrollData() >{ > mnDeltaX = 0; > mnDeltaY = 0; >} > >inline CommandScrollData::CommandScrollData( long nDeltaX, long nDeltaY ) >{ > mnDeltaX = nDeltaX; > mnDeltaY = nDeltaY; >} > >enum DictationCommandType >{ > VOICECOMMANDTYPE_DICTATION, > VOICECOMMANDTYPE_CONTROL >}; > >class CommandVoiceData >{ >private: > String maText; > USHORT mnCommand; > DictationCommandType meType; > >public: > CommandVoiceData(); > CommandVoiceData( const String& rStr, > DictationCommandType eType, > USHORT nCommand ); > > const String& GetText() const { return maText; } > USHORT GetCommand() const { return mnCommand; } > DictationCommandType GetType() const { return meType; } >}; > >inline CommandVoiceData::CommandVoiceData() >{ > meType = VOICECOMMANDTYPE_DICTATION; > mnCommand = 0; >} > >inline CommandVoiceData::CommandVoiceData( const String& rStr, > DictationCommandType eType, > USHORT nCommand ) : > maText( rStr ), > meType( eType ), > mnCommand( nCommand ) >{ >} > ># 297 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/vcl/cmdevt.hxx" >class CommandEvent >{ >private: > Point maPos; > void* mpData; > USHORT mnCommand; > BOOL mbMouseEvent; > >public: > CommandEvent(); > CommandEvent( const Point& rMousePos, USHORT nCmd, > BOOL bMEvt = 0, const void* pCmdData = __null ); > > USHORT GetCommand() const { return mnCommand; } > const Point& GetMousePosPixel() const { return maPos; } > BOOL IsMouseEvent() const { return mbMouseEvent; } > void* GetData() const { return mpData; } > > const CommandExtTextInputData* GetExtTextInputData() const; > const CommandExtTextInputPosData* GetExtTextInputPosData() const; > const CommandInputContextData* GetInputContextChangeData() const; > const CommandWheelData* GetWheelData() const; > const CommandScrollData* GetAutoScrollData() const; > const CommandVoiceData* GetVoiceData() const; >}; > >inline CommandEvent::CommandEvent() >{ > mpData = __null; > mnCommand = 0; > mbMouseEvent = 0; >} > >inline CommandEvent::CommandEvent( const Point& rMousePos, > USHORT nCmd, BOOL bMEvt, const void* pCmdData ) : > maPos( rMousePos ) >{ > mpData = (void*)pCmdData; > mnCommand = nCmd; > mbMouseEvent = bMEvt; >} > >inline const CommandExtTextInputData* CommandEvent::GetExtTextInputData() const >{ > if ( mnCommand == ((USHORT)8) ) > return (const CommandExtTextInputData*)mpData; > else > return __null; >} > >inline const CommandExtTextInputPosData* CommandEvent::GetExtTextInputPosData() const >{ > if ( mnCommand == ((USHORT)10) ) > return (const CommandExtTextInputPosData*)mpData; > else > return __null; >} > >inline const CommandInputContextData* CommandEvent::GetInputContextChangeData() const >{ > if ( mnCommand == ((USHORT)11) ) > return (const CommandInputContextData*)mpData; > else > return __null; >} > >inline const CommandWheelData* CommandEvent::GetWheelData() const >{ > if ( mnCommand == ((USHORT)3) ) > return (const CommandWheelData*)mpData; > else > return __null; >} > >inline const CommandScrollData* CommandEvent::GetAutoScrollData() const >{ > if ( mnCommand == ((USHORT)5) ) > return (const CommandScrollData*)mpData; > else > return __null; >} > >inline const CommandVoiceData* CommandEvent::GetVoiceData() const >{ > if ( mnCommand == ((USHORT)6) ) > return (const CommandVoiceData*)mpData; > else > return __null; >} > ># 21 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/vcl/event.hxx" 2 > > >class AllSettings; >class OutputDevice; >class Window; >struct IDataObject; > >class KeyEvent >{ >private: > KeyCode maKeyCode; > USHORT mnRepeat; > sal_Unicode mnCharCode; > >public: > KeyEvent(); > KeyEvent( sal_Unicode nChar, const KeyCode& rKeyCode, > USHORT nRepeat = 0 ); > > sal_Unicode GetCharCode() const { return mnCharCode; } > const KeyCode& GetKeyCode() const { return maKeyCode; } > USHORT GetRepeat() const { return mnRepeat; } >}; > >inline KeyEvent::KeyEvent() >{ > mnCharCode = 0; > mnRepeat = 0; >} > >inline KeyEvent::KeyEvent( sal_Unicode nChar, const KeyCode& rKeyCode, > USHORT nRepeat ) : > maKeyCode( rKeyCode ) > >{ > mnCharCode = nChar; > mnRepeat = nRepeat; >} > ># 77 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/vcl/event.hxx" >class MouseEvent >{ >private: > Point maPos; > USHORT mnMode; > USHORT mnClicks; > USHORT mnCode; > >public: > MouseEvent(); > MouseEvent( const Point& rPos, USHORT nClicks = 1, > USHORT nMode = 0, USHORT nButtons = 0, > USHORT nModifier = 0 ); > > const Point& GetPosPixel() const { return maPos; } > USHORT GetMode() const { return mnMode; } > USHORT GetClicks() const { return mnClicks; } > > BOOL IsEnterWindow() const > { return ((mnMode & ((USHORT)0x0010)) != 0); } > BOOL IsLeaveWindow() const > { return ((mnMode & ((USHORT)0x0020)) != 0); } > BOOL IsSynthetic() const > { return ((mnMode & ((USHORT)0x0040)) != 0); } > BOOL IsModifierChanged() const > { return ((mnMode & ((USHORT)0x0080)) != 0); } > > USHORT GetButtons() const > { return (mnCode & (((USHORT)0x0001) | ((USHORT)0x0002) | ((USHORT)0x0004))); } > BOOL IsLeft() const > { return ((mnCode & ((USHORT)0x0001)) != 0); } > BOOL IsMiddle() const > { return ((mnCode & ((USHORT)0x0002)) != 0); } > BOOL IsRight() const > { return ((mnCode & ((USHORT)0x0004)) != 0); } > > USHORT GetModifier() const > { return (mnCode & (((USHORT)0x1000) | ((USHORT)0x2000) | ((USHORT)0x4000))); } > BOOL IsShift() const > { return ((mnCode & ((USHORT)0x1000)) != 0); } > BOOL IsMod1() const > { return ((mnCode & ((USHORT)0x2000)) != 0); } > BOOL IsMod2() const > { return ((mnCode & ((USHORT)0x4000)) != 0); } >}; > >inline MouseEvent::MouseEvent() >{ > mnMode = 0; > mnClicks = 0; > mnCode = 0; >} > >inline MouseEvent::MouseEvent( const Point& rPos, USHORT nClicks, > USHORT nMode, > USHORT nButtons, USHORT nModifier ) : > maPos( rPos ) >{ > mnClicks = nClicks; > mnMode = nMode; > mnCode = nButtons | nModifier; >} > > > > > > >class HelpEvent >{ >private: > Point maPos; > USHORT mnMode; > >public: > HelpEvent(); > HelpEvent( const Point& rMousePos, USHORT nHelpMode ); > > const Point& GetMousePosPixel() const { return maPos; } > USHORT GetMode() const { return mnMode; } >}; > >inline HelpEvent::HelpEvent() >{ > mnMode = ((USHORT)0x0001); >} > >inline HelpEvent::HelpEvent( const Point& rMousePos, USHORT nHelpMode ) : > maPos( rMousePos ) >{ > mnMode = nHelpMode; >} > >class UserDrawEvent >{ >private: > OutputDevice* mpOutDev; > Rectangle maOutRect; > USHORT mnItemId; > USHORT mnStyle; > >public: > UserDrawEvent(); > UserDrawEvent( OutputDevice* pOut, > const Rectangle& rOutRect, > USHORT nId, USHORT nStyle = 0 ); > > OutputDevice* GetDevice() const { return mpOutDev; } > const Rectangle& GetRect() const { return maOutRect; } > USHORT GetItemId() const { return mnItemId; } > USHORT GetStyle() const { return mnStyle; } >}; > >inline UserDrawEvent::UserDrawEvent() >{ > mpOutDev = __null; > mnItemId = 0; > mnStyle = 0; >} > >inline UserDrawEvent::UserDrawEvent( OutputDevice* pOut, > const Rectangle& rOutRect, > USHORT nId, USHORT nStyle ) : > maOutRect( rOutRect ) >{ > mpOutDev = pOut; > mnItemId = nId; > mnStyle = nStyle; >} > ># 215 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/vcl/event.hxx" >class TrackingEvent >{ >private: > MouseEvent maMEvt; > USHORT mnFlags; > >public: > TrackingEvent(); > TrackingEvent( const MouseEvent& rMEvt, > USHORT nTrackFlags = 0 ); > > const MouseEvent& GetMouseEvent() const { return maMEvt; } > > BOOL IsTrackingRepeat() const > { return ((mnFlags & ((USHORT)0x0100)) != 0); } > > BOOL IsTrackingEnded() const > { return ((mnFlags & ((USHORT)0x1000)) != 0); } > BOOL IsTrackingCanceled() const > { return ((mnFlags & ((USHORT)0x0001)) != 0); } > USHORT GetTrackingFlags() const { return mnFlags; } >}; > >inline TrackingEvent::TrackingEvent() >{ > mnFlags = 0; >} > >inline TrackingEvent::TrackingEvent( const MouseEvent& rMEvt, > USHORT nTrackFlags ) : > maMEvt( rMEvt ) >{ > mnFlags = nTrackFlags; >} > > > > >enum DropAction { DROP_NONE, DROP_CANCEL = DROP_NONE, > DROP_MOVE=0x1, DROP_COPY=0x2, DROP_LINK=0x4, > DROP_PRINT=0x8, DROP_DISCARD=0x10 }; > > > > > > >class DropEvent >{ >protected: > Point maDropPos; > DropAction meAction; > BYTE mnWindowType; > BOOL mbDefault; > USHORT mnSourceOptions; > SotDataObjectRef aData; > >public: > IDataObject* pIDataObj; > > DropEvent(); > DropEvent( const Point& rPos, SotDataObjectRef aData_, > DropAction eNewAction, USHORT mnSourceOptions_ = 0, > BYTE nWType = 0, BOOL bDefault = 0 ); > > const Point& GetPosPixel() const { return maDropPos; } > SotDataObject* GetData( void ) const { return aData; } > > BOOL SetAction( DropAction ePrefAction ); > DropAction GetAction() const { return meAction; } > BOOL IsDefaultAction() const { return mbDefault; } > USHORT GetSourceOptions() const { return mnSourceOptions; } > > BYTE GetWindowType() const { return mnWindowType; } > BOOL IsEnterWindow() const { return (mnWindowType == 2); } > BOOL IsLeaveWindow() const { return (mnWindowType == 1); } >}; > >inline DropEvent::DropEvent() >{ > meAction = DROP_COPY; > mnWindowType = 0; > mbDefault = 0; > pIDataObj = __null; >} > >inline DropEvent::DropEvent( const Point& rPos, SotDataObjectRef aData_, > DropAction eNewAction, USHORT mnSourceOptions_, > BYTE nWType, BOOL bDefault ) > :maDropPos( rPos ) >{ > aData = aData_; > meAction = eNewAction; > mnSourceOptions = mnSourceOptions_; > mnWindowType = nWType; > mbDefault = bDefault; > pIDataObj = __null; >} > >inline BOOL DropEvent::SetAction( DropAction ePrefAction ) >{ > > if ( mbDefault && ( mnSourceOptions & ePrefAction ) != 0 ) > { > meAction = ePrefAction; > return 1; > } > return 0; >} > ># 340 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/vcl/event.hxx" >class NotifyEvent >{ >private: > Window* mpWindow; > void* mpData; > USHORT mnType; > long mnRetValue; > >public: > NotifyEvent(); > NotifyEvent( USHORT nType, > Window* pWindow, > const void* pEvent = __null, > long nRet = 0 ); > > USHORT GetType() const { return mnType; } > Window* GetWindow() const { return mpWindow; } > void* GetData() const { return mpData; } > > void SetReturnValue( long nRet ) { mnRetValue = nRet; } > long GetReturnValue() const { return mnRetValue; } > > const KeyEvent* GetKeyEvent() const; > const MouseEvent* GetMouseEvent() const; > const CommandEvent* GetCommandEvent() const; > DropEvent* GetDropEvent() const; >}; > >inline NotifyEvent::NotifyEvent() >{ > mpWindow = __null; > mpData = __null; > mnType = 0; > mnRetValue = 0; >} > >inline NotifyEvent::NotifyEvent( USHORT nType, Window* pWindow, > const void* pEvent, long nRet ) >{ > mpWindow = pWindow; > mpData = (void*)pEvent; > mnType = nType; > mnRetValue = nRet; >} > >inline const KeyEvent* NotifyEvent::GetKeyEvent() const >{ > if ( (mnType == 4) || (mnType == 5) ) > return (const KeyEvent*)mpData; > else > return __null; >} > >inline const MouseEvent* NotifyEvent::GetMouseEvent() const >{ > if ( (mnType >= 1) && (mnType <= 3) ) > return (const MouseEvent*)mpData; > else > return __null; >} > >inline const CommandEvent* NotifyEvent::GetCommandEvent() const >{ > if ( mnType == 8 ) > return (const CommandEvent*)mpData; > else > return __null; >} > >inline DropEvent* NotifyEvent::GetDropEvent() const >{ > if ( (mnType == 9) || (mnType == 10) ) > return (DropEvent*)mpData; > else > return __null; >} > ># 425 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/vcl/event.hxx" >class DataChangedEvent >{ >private: > void* mpData; > ULONG mnFlags; > USHORT mnType; > >public: > DataChangedEvent(); > DataChangedEvent( USHORT nType, > const void* pData = __null, > ULONG nFlags = 0 ); > > USHORT GetType() const { return mnType; } > void* GetData() const { return mpData; } > ULONG GetFlags() const { return mnFlags; } > > const AllSettings* GetOldSettings() const; >}; > >inline DataChangedEvent::DataChangedEvent() >{ > mpData = __null; > mnFlags = 0; > mnType = 0; >} > >inline DataChangedEvent::DataChangedEvent( USHORT nType, > const void* pData, > ULONG nChangeFlags ) >{ > mpData = (void*)pData; > mnFlags = nChangeFlags; > mnType = nType; >} > >inline const AllSettings* DataChangedEvent::GetOldSettings() const >{ > if ( mnType == ((USHORT)1) ) > return (const AllSettings*)mpData; > else > return __null; >} > ># 26 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/vcl/window.hxx" 2 ># 36 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/vcl/window.hxx" >class VirtualDevice; >struct ImplDelData; >struct ImplWinData; >struct ImplOverlapData; >struct ImplFrameData; >struct ImplCalcToTopData; >struct SystemEnvData; >struct SystemParentData; >class ImplBorderWindow; >class VirtualDevice; >class Timer; >class Cursor; >class ScrollBar; >class Bitmap; >class Image; >class MouseEvent; >class KeyEvent; >class CommandEvent; >class TrackingEvent; >class HelpEvent; >class DropEvent; >class DataChangedEvent; >class NotifyEvent; >class SystemWindow; >class SalFrame; >class SalObject; >class UNOWindowData; > >struct IDataObject; >class AccessObjectRef; >class RmFrameWindow; > >class VCLXWindow; > >namespace com { >namespace sun { >namespace star { >namespace awt { > class XWindowPeer; >} >namespace uno { > class Any; >} >} } } > ># 166 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/vcl/window.hxx" >typedef USHORT StateChangedType; ># 229 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/vcl/window.hxx" >class Window : public OutputDevice >{ >private: > ImplWinData* mpWinData; > ImplOverlapData* mpOverlapData; > ImplFrameData* mpFrameData; > > SalFrame* mpFrame; > SalObject* mpSysObj; > void* mpRmEvents; > > > > > > > Window* mpFrameWindow; > Window* mpOverlapWindow; > Window* mpBorderWindow; > Window* mpClientWindow; > Window* mpParent; > Window* mpRealParent; > Window* mpFirstChild; > Window* mpLastChild; > Window* mpFirstOverlap; > Window* mpLastOverlap; > Window* mpPrev; > Window* mpNext; > Window* mpNextOverlap; > Window* mpLastFocusWindow; > Window* mpDlgCtrlDownWindow; > void* mpDummy1; > void* mpDummy2; > void* mpDummy3; > void* mpDummy4; > ImplDelData* mpFirstDel; > void* mpUserData; > Cursor* mpCursor; > Pointer maPointer; > Fraction maZoom; > String maText; > Font* mpControlFont; > Color maControlForeground; > Color maControlBackground; > long mnLeftBorder; > long mnTopBorder; > long mnRightBorder; > long mnBottomBorder; > long mnX; > long mnY; > long mnDummy1; > long mnDummy2; > Point maPos; > ULONG mnHelpId; > ULONG mnUniqId; > String maHelpText; > String maQuickHelpText; > InputContext maInputContext; > ::com::sun::star::uno::Reference< ::com::sun::star::awt::XWindowPeer > mxWindowPeer; > VCLXWindow* mpVCLXWindow; > Region maWinRegion; > Region maWinClipRegion; > Region maInvalidateRegion; > Region* mpChildClipRegion; > Region* mpPaintRegion; > WinBits mnStyle; > WinBits mnPrevStyle; > WinBits mnExtendedStyle; > WinBits mnPrevExtendedStyle; > WindowType mnType; > LanguageType meDummy1; > CharSet meDummy2; > USHORT mnWaitCount; > USHORT mnPaintFlags; > USHORT mnGetFocusFlags; > USHORT mnParentClipMode; > USHORT mnActivateMode; > USHORT mnDlgCtrlFlags; > USHORT mnDummy3; > USHORT mnDummy4; > BOOL mbFrame:1, > mbBorderWin:1, > mbOverlapWin:1, > mbSysWin:1, > mbDialog:1, > mbDockWin:1, > mbFloatWin:1, > mbPushButton:1, > mbVisible:1, > mbDisabled:1, > mbInputDisabled:1, > mbAlwaysEnableInput:1, > mbDropDisabled:1, > mbNoUpdate:1, > mbNoParentUpdate:1, > mbActive:1, > mbParentActive:1, > mbReallyVisible:1, > mbReallyShown:1, > mbInInitShow:1, > mbChildNotify:1, > mbChildPtrOverwrite:1, > mbNoPtrVisible:1, > mbPaintFrame:1, > mbInPaint:1, > mbMouseMove:1, > mbMouseButtonDown:1, > mbMouseButtonUp:1, > mbKeyInput:1, > mbKeyUp:1, > mbCommand:1, > mbDefPos:1, > mbDefSize:1, > mbCallMove:1, > mbCallResize:1, > mbWaitSystemResize:1, > mbInitWinClipRegion:1, > mbInitChildRegion:1, > mbWinRegion:1, > mbClipChildren:1, > mbClipSiblings:1, > mbChildTransparent:1, > mbPaintTransparent:1, > mbMouseTransparent:1, > mbDlgCtrlStart:1, > mbFocusVisible:1, > mbTrackVisible:1, > mbControlForeground:1, > mbControlBackground:1, > mbAlwaysOnTop:1, > mbCompoundControl:1, > mbCompoundControlHasFocus:1, > mbPaintDisabled:1, > mbAllResize:1, > mbInDtor:1, > mbExtTextInput:1, > mbInFocusHdl:1, > mbOverlapVisible:1, > mbCreatedWithToolkit:1, > mbDummy1:1, > mbDummy2:1, > mbDummy3:1, > mbDummy4:1, > mbDummy5:1; > > > > > >protected: > Window( WindowType nType ); >void SetCompoundControl( BOOL bCompound ) { mbCompoundControl = bCompound; } > >public: > Window( Window* pParent, WinBits nStyle = 0 ); > Window( Window* pParent, const ResId& rResId ); > ~Window(); > > virtual void MouseMove( const MouseEvent& rMEvt ); > virtual void MouseButtonDown( const MouseEvent& rMEvt ); > virtual void MouseButtonUp( const MouseEvent& rMEvt ); > virtual void KeyInput( const KeyEvent& rKEvt ); > virtual void KeyUp( const KeyEvent& rKEvt ); > virtual void Paint( const Rectangle& rRect ); > virtual void Draw( OutputDevice* pDev, const Point& rPos, const Size& rSize, ULONG nFlags ); > virtual void Move(); > virtual void Resize(); > virtual void Activate(); > virtual void Deactivate(); > virtual void GetFocus(); > virtual void LoseFocus(); > virtual void RequestHelp( const HelpEvent& rHEvt ); > virtual void Command( const CommandEvent& rCEvt ); > virtual void Tracking( const TrackingEvent& rTEvt ); > virtual BOOL QueryDrop( DropEvent& rDEvt ); > virtual BOOL Drop( const DropEvent& rDEvt ); > virtual void UserEvent( ULONG nEvent, void* pEventData ); > virtual void StateChanged( StateChangedType nStateChange ); > virtual void DataChanged( const DataChangedEvent& rDCEvt ); > virtual long PreNotify( NotifyEvent& rNEvt ); > virtual long Notify( NotifyEvent& rNEvt ); > > ULONG PostUserEvent( ULONG nEvent, void* pEventData = __null ); > ULONG PostUserEvent( const Link& rLink, void* pCaller = __null ); > BOOL PostUserEvent( ULONG& rEventId, ULONG nEvent, void* pEventData = __null ); > BOOL PostUserEvent( ULONG& rEventId, const Link& rLink, void* pCaller = __null ); > void RemoveUserEvent( ULONG nUserEvent ); > void PostStateChanged( StateChangedType nState ); > > void SetStyle( WinBits nStyle ); > WinBits GetStyle() const { return mnStyle; } > WinBits GetPrevStyle() const { return mnPrevStyle; } > void SetExtendedStyle( WinBits nExtendedStyle ); > WinBits GetExtendedStyle() const { return mnExtendedStyle; } > WinBits GetPrevExtendedStyle() const { return mnExtendedStyle; } > void SetType( WindowType nType ) { mnType = nType; } > WindowType GetType() const { return mnType; } > BOOL IsSystemWindow() const { return mbSysWin; } > BOOL IsDialog() const { return mbDialog; } > SystemWindow* GetSystemWindow() const; > > void EnableAllResize( BOOL bEnable = 1 ) { mbAllResize = bEnable; } > BOOL IsAllResizeEnabled() const { return mbAllResize; } > > void SetBorderStyle( USHORT nBorderStyle ); > USHORT GetBorderStyle() const; > void GetBorder( long& rLeftBorder, long& rTopBorder, > long& rRightBorder, long& rBottomBorder ) const; > Size CalcWindowSize( const Size& rOutSz ) const; > Size CalcOutputSize( const Size& rWinSz ) const; > long CalcTitleWidth() const; > > void EnableClipSiblings( BOOL bClipSiblings = 1 ); > BOOL IsClipSiblingsEnabled() const { return mbClipSiblings; } > > void EnableChildTransparentMode( BOOL bEnable = 1 ) { mbChildTransparent = bEnable; } > BOOL IsChildTransparentModeEnabled() const { return mbChildTransparent; } > > void SetMouseTransparent( BOOL bTransparent ); > BOOL IsMouseTransparent() const { return mbMouseTransparent; } > void SetPaintTransparent( BOOL bTransparent ); > BOOL IsPaintTransparent() const { return mbPaintTransparent; } > void SetDialogControlStart( BOOL bStart ) { mbDlgCtrlStart = bStart; } > BOOL IsDialogControlStart() const { return mbDlgCtrlStart; } > void SetDialogControlFlags( USHORT nFlags ) { mnDlgCtrlFlags = nFlags; } > USHORT GetDialogControlFlags() const { return mnDlgCtrlFlags; } > > void SetInputContext( const InputContext& rInputContext ); > const InputContext& GetInputContext() const { return maInputContext; } > void UpdateExtTextInputArea(); > void EndExtTextInput( USHORT nFlags ); > BOOL IsExtTextInput() const { return mbExtTextInput; } > void SetExtTextInputPos( USHORT nStart, USHORT nCount, const Rectangle* pPosAry ); > const Rectangle* GetExtTextInputPosAry() const; > USHORT GetExtTextInputPosStart() const; > USHORT GetExtTextInputPosCount() const; > > void EnableChildNotify( BOOL bEnable ) { mbChildNotify = bEnable; } > BOOL IsChildNotify() const { return mbChildNotify; } > > void SetSettings( const AllSettings& rSettings, BOOL bChild = 0 ); > void UpdateSettings( const AllSettings& rSettings, BOOL bChild = 0 ); > void NotifyAllChilds( DataChangedEvent& rDCEvt ); > > void SetPointFont( const Font& rFont ); > Font GetPointFont() const; > void SetZoomedPointFont( const Font& rFont ); > long GetDrawPixel( OutputDevice* pDev, long nPixels ) const; > Font GetDrawPixelFont( OutputDevice* pDev ) const; > void GetFontResolution( long& nDPIX, long& nDPIY ) const; > > void SetControlFont(); > void SetControlFont( const Font& rFont ); > Font GetControlFont() const; > BOOL IsControlFont() const { return (mpControlFont != 0); } > void SetControlForeground(); > void SetControlForeground( const Color& rColor ); > Color GetControlForeground() const { return maControlForeground; } > BOOL IsControlForeground() const { return mbControlForeground; } > void SetControlBackground(); > void SetControlBackground( const Color& rColor ); > Color GetControlBackground() const { return maControlBackground; } > BOOL IsControlBackground() const { return mbControlBackground; } > > void SetParentClipMode( USHORT nMode = 0 ); > USHORT GetParentClipMode() const; > > void SetWindowRegionPixel(); > void SetWindowRegionPixel( const Region& rRegion ); > const Region& GetWindowRegionPixel() const; > BOOL IsWindowRegionPixel() const; > Region GetWindowClipRegionPixel( USHORT nFlags = 0 ) const; > Region GetPaintRegion() const; > BOOL IsInPaint() const { return mbInPaint; } > > void SetParent( Window* pNewParent ); > Window* GetParent() const { return mpRealParent; } > > void Show( BOOL bVisible = 1, USHORT nFlags = 0 ); > void Hide( USHORT nFlags = 0 ) { Show( 0, nFlags ); } > BOOL IsVisible() const { return mbVisible; } > BOOL IsReallyVisible() const { return mbReallyVisible; } > > BOOL IsParentPathVisible() const { return mbReallyVisible; } > BOOL IsReallyShown() const { return mbReallyShown; } > BOOL IsInInitShow() const { return mbInInitShow; } > > void Enable( BOOL bEnable = 1, BOOL bChild = 1 ); > void Disable( BOOL bChild = 1 ) { Enable( 0, bChild ); } > BOOL IsEnabled() const { return !mbDisabled; } > > void EnableInput( BOOL bEnable = 1, BOOL bChild = 1 ); > void EnableInput( BOOL bEnable, BOOL bChild, BOOL bSysWin, > const Window* pExcludeWindow = __null ); > BOOL IsInputEnabled() const { return !mbInputDisabled; } > void AlwaysEnableInput( BOOL bAlways, BOOL bChild = 1 ); > BOOL IsAlwaysEnableInput() const { return mbAlwaysEnableInput; } > > void SetActivateMode( USHORT nMode ); > USHORT GetActivateMode() const { return mnActivateMode; } > > void ToTop( USHORT nFlags = 0 ); > void SetZOrder( Window* pRefWindow, USHORT nFlags ); > void EnableAlwaysOnTop( BOOL bEnable = 1 ); > BOOL IsAlwaysOnTopEnabled() const { return mbAlwaysOnTop; } > > virtual void SetPosSizePixel( long nX, long nY, > long nWidth, long nHeight, > USHORT nFlags = (((((USHORT)0x0001) | ((USHORT)0x0002)) | (((USHORT)0x0004) | ((USHORT)0x0008)))) ); > void SetPosPixel( const Point& rNewPos ); > Point GetPosPixel() const { return maPos; } > void SetSizePixel( const Size& rNewSize ); > Size GetSizePixel() const; > void SetPosSizePixel( const Point& rNewPos, > const Size& rNewSize ); > void SetOutputSizePixel( const Size& rNewSize ); > BOOL IsDefaultPos() const { return mbDefPos; } > BOOL IsDefaultSize() const { return mbDefSize; } > > Point OutputToScreenPixel( const Point& rPos ) const; > Point ScreenToOutputPixel( const Point& rPos ) const; > Rectangle GetDesktopRectPixel() const; > > void Scroll( long nHorzScroll, long nVertScroll, > USHORT nFlags = 0 ); > void Scroll( long nHorzScroll, long nVertScroll, > const Rectangle& rRect, USHORT nFlags = 0 ); > void Invalidate( USHORT nFlags = 0 ); > void Invalidate( const Rectangle& rRect, USHORT nFlags = 0 ); > void Invalidate( const Region& rRegion, USHORT nFlags = 0 ); > void Validate( USHORT nFlags = 0 ); > void Validate( const Rectangle& rRect, USHORT nFlags = 0 ); > void Validate( const Region& rRegion, USHORT nFlags = 0 ); > > void InvalidateForeground( USHORT nFlags = 0 ) > { Invalidate( nFlags | ((USHORT)0x0004) ); } > void InvalidateForeground( const Rectangle& rRect, USHORT nFlags = 0 ) > { Invalidate( rRect, nFlags | ((USHORT)0x0004) ); } > > BOOL HasPaintEvent() const; > void Update(); > void Flush(); > void Sync(); > > void EnablePaint( BOOL bEnable ) { mbPaintDisabled = !bEnable; } > BOOL IsPaintEnabled() const { return !mbPaintDisabled; } > void SetUpdateMode( BOOL bUpdate ); > BOOL IsUpdateMode() const { return !mbNoUpdate; } > > BOOL GetUpdateMode() const { return IsUpdateMode(); } > > void SetParentUpdateMode( BOOL bUpdate ) { mbNoParentUpdate = !bUpdate; } > BOOL IsParentUpdateMode() const { return !mbNoParentUpdate; } > > void GrabFocus(); > BOOL HasFocus() const; > BOOL HasChildPathFocus( BOOL bSystemWindow = 0 ) const; > BOOL IsActive() const { return mbActive; } > USHORT GetGetFocusFlags() const { return mnGetFocusFlags; } > > BOOL IsCompoundControl() const { return mbCompoundControl; } > BOOL HasCompoundControlFocus() const { return mbCompoundControlHasFocus; } > > static ULONG SaveFocus(); > static BOOL EndSaveFocus( ULONG nSaveId, BOOL bRestore = 1 ); > > void CaptureMouse(); > void ReleaseMouse(); > BOOL IsMouseCaptured() const; > > void SetPointer( const Pointer& rPointer ); > const Pointer& GetPointer() const { return maPointer; } > void EnableChildPointerOverwrite( BOOL bOverwrite = 1 ); > BOOL IsChildPointerOverwrite() const { return mbChildPtrOverwrite; } > void SetPointerPosPixel( const Point& rPos ); > Point GetPointerPosPixel(); > void ShowPointer( BOOL bVisible ); > BOOL IsPointerVisible() const { return !mbNoPtrVisible; } > void EnterWait(); > void LeaveWait(); > BOOL IsWait() const { return (mnWaitCount != 0); } > > void SetCursor( Cursor* pCursor ); > Cursor* GetCursor() const { return mpCursor; } > > void SetZoom( const Fraction& rZoom ); > const Fraction& GetZoom() const { return maZoom; } > BOOL IsZoom() const { return maZoom.GetNumerator() != maZoom.GetDenominator(); } > long CalcZoom( long n ) const; > > virtual void SetText( const String& rStr ); > virtual String GetText() const; > > void SetHelpText( const String& rHelpText ) { maHelpText = rHelpText; } > const String& GetHelpText() const; > > void SetQuickHelpText( const String& rHelpText ) { maQuickHelpText = rHelpText; } > const String& GetQuickHelpText() const { return maQuickHelpText; } > > void SetHelpId( ULONG nHelpId ) { mnHelpId = nHelpId; } > ULONG GetHelpId() const { return mnHelpId; } > > void SetUniqueId( ULONG nUniqueId ) { mnUniqId = nUniqueId; } > ULONG GetUniqueId() const { return mnUniqId; } > ULONG GetUniqueOrHelpId() const { return ((mnUniqId) ? mnUniqId : mnHelpId); } > > > BOOL IsSVLook() const { return 1; } > > > Window* FindWindow( const Point& rPos ) const; > > USHORT GetChildCount() const; > Window* GetChild( USHORT nChild ) const; > Window* GetWindow( USHORT nType ) const; > BOOL IsChild( const Window* pWindow, BOOL bSystemWindow = 0 ) const; > BOOL IsWindowOrChild( const Window* pWindow, BOOL bSystemWindow = 0 ) const; > > void SetData( void* pNewData ) { mpUserData = pNewData; } > void* GetData() const { return mpUserData; } > > void EnableDrop( BOOL bDrop = 1 ) { mbDropDisabled = !bDrop; } > BOOL IsDropEnabled() const { return !mbDropDisabled; } > > DropAction ExecuteDrag( const Pointer& rMovePtr, > const Pointer& rCopyPtr, > const Pointer& rLinkPtr, > USHORT nOptions = ((USHORT)0x001F), > const Region* pDropRegion = __null ); > DropAction ExecuteDrag( IDataObject *, > const Pointer& rMovePtr, > const Pointer& rCopyPtr, > const Pointer& rLinkPtr, > USHORT nOptions = ((USHORT)0x001F) ); > DropAction ExecuteDrag( const Pointer& rMovePtr, > const Pointer& rCopyPtr, > USHORT nOptions = ((USHORT)0x001F), > const Region* pDropRegion = __null ); > DropAction ExecuteDrag( IDataObject *, > const Pointer& rMovePtr, > const Pointer& rCopyPtr, > USHORT nOptions = ((USHORT)0x001F) ); > > Bitmap SnapShot() const; > > void ShowFocus( const Rectangle& rRect ); > void HideFocus(); > > void Invert( const Rectangle& rRect, USHORT nFlags = 0 ); > void Invert( const Polygon& rPoly, USHORT nFlags = 0 ); > > void ShowTracking( const Rectangle& rRect, > USHORT nFlags = ((USHORT)0x0001) ); > void HideTracking(); > void InvertTracking( const Rectangle& rRect, > USHORT nFlags = ((USHORT)0x0001) ); > void InvertTracking( const Polygon& rPoly, USHORT nFlags = 0 ); > > void StartTracking( USHORT nFlags = 0 ); > void EndTracking( USHORT nFlags = 0 ); > BOOL IsTracking() const; > > void StartAutoScroll( USHORT nFlags ); > void EndAutoScroll(); > BOOL IsAutoScroll() const; > > BOOL HandleScrollCommand( const CommandEvent& rCmd, > ScrollBar* pHScrl = __null, > ScrollBar* pVScrl = __null ); > > void SaveBackground( const Point& rPos, const Size& rSize, > const Point& rDestOff, VirtualDevice& rSaveDevice ); > > const SystemEnvData* GetSystemData() const; > ::com::sun::star::uno::Any GetSystemDataAny() const; > > virtual ::com::sun::star::uno::Reference< ::com::sun::star::awt::XWindowPeer > GetComponentInterface( BOOL bCreate = 1 ); > virtual void SetComponentInterface( ::com::sun::star::uno::Reference< ::com::sun::star::awt::XWindowPeer > xIFace ); > > VCLXWindow* GetWindowPeer() const { return mpVCLXWindow; } > void SetWindowPeer( ::com::sun::star::uno::Reference< ::com::sun::star::awt::XWindowPeer > xPeer, VCLXWindow* pVCLXWindow ); > > BOOL IsCreatedWithToolkit() const { return mbCreatedWithToolkit; } > void SetCreatedWithToolkit( BOOL b ) { mbCreatedWithToolkit = b; } > > void GetAccessObject( AccessObjectRef& rAcc ) const; >}; > >inline void Window::GetBorder( long& rLeftBorder, long& rTopBorder, > long& rRightBorder, long& rBottomBorder ) const >{ > rLeftBorder = mnLeftBorder; > rTopBorder = mnTopBorder; > rRightBorder = mnRightBorder; > rBottomBorder = mnBottomBorder; >} > >inline void Window::SetPosPixel( const Point& rNewPos ) >{ > SetPosSizePixel( rNewPos.X(), rNewPos.Y(), 0, 0, (((USHORT)0x0001) | ((USHORT)0x0002)) ); >} > >inline void Window::SetSizePixel( const Size& rNewSize ) >{ > SetPosSizePixel( 0, 0, rNewSize.Width(), rNewSize.Height(), > (((USHORT)0x0004) | ((USHORT)0x0008)) ); >} > >inline void Window::SetPosSizePixel( const Point& rNewPos, const Size& rNewSize ) >{ > SetPosSizePixel( rNewPos.X(), rNewPos.Y(), > rNewSize.Width(), rNewSize.Height(), > ((((USHORT)0x0001) | ((USHORT)0x0002)) | (((USHORT)0x0004) | ((USHORT)0x0008))) ); >} > >inline void Window::SetOutputSizePixel( const Size& rNewSize ) >{ > SetSizePixel( Size( rNewSize.Width()+mnLeftBorder+mnRightBorder, > rNewSize.Height()+mnTopBorder+mnBottomBorder ) ); >} > >inline Size Window::GetSizePixel() const >{ > return Size( mnOutWidth+mnLeftBorder+mnRightBorder, > mnOutHeight+mnTopBorder+mnBottomBorder ); >} > >inline Rectangle Window::GetDesktopRectPixel() const >{ > return Rectangle( ScreenToOutputPixel( Point() ), mpFrameWindow->GetOutputSizePixel() ); >} > ># 10 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/vcl/syswin.hxx" 2 > > >class ModalDialog; >class MenuBar; > > > > > > > >class SystemWindow : public Window >{ >private: > MenuBar* mpMenuBar; > Size maOrgSize; > Size maRollUpOutSize; > Size maMinOutSize; > BOOL mbPined; > BOOL mbRollUp; > BOOL mbRollFunc; > BOOL mbDockBtn; > BOOL mbHideBtn; > BOOL mbDummy1; > BOOL mbDummy2; > BOOL mbDummy3; > USHORT mnMenuBarMode; > USHORT mnDummy; > >protected: > SystemWindow( WindowType nType ); > >public: > virtual long Notify( NotifyEvent& rNEvt ); > > virtual BOOL Close(); > virtual void TitleButtonClick( USHORT nButton ); > virtual void Pin(); > virtual void Roll(); > virtual void Resizing( Size& rSize ); > > void SetZLevel( BYTE nLevel ); > BYTE GetZLevel() const; > > void EnableSaveBackground( BOOL bSave = 1 ); > BOOL IsSaveBackgroundEnabled() const; > > void ShowTitleButton( USHORT nButton, BOOL bVisible = 1 ); > BOOL IsTitleButtonVisible( USHORT nButton ) const; > > void SetPin( BOOL bPin ); > BOOL IsPined() const { return mbPined; } > > void RollUp(); > void RollDown(); > BOOL IsRollUp() const { return mbRollUp; } > > void SetRollUpOutputSizePixel( const Size& rSize ) { maRollUpOutSize = rSize; } > Size GetRollUpOutputSizePixel() const { return maRollUpOutSize; } > > void SetMinOutputSizePixel( const Size& rSize ); > const Size& GetMinOutputSizePixel() const { return maMinOutSize; } > > void SetMenuBar( MenuBar* pMenuBar ); > MenuBar* GetMenuBar() const { return mpMenuBar; } > void SetMenuBarMode( USHORT nMode ); > USHORT GetMenuBarMode() const { return mnMenuBarMode; } >}; > ># 10 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/vcl/dialog.hxx" 2 > > >class Dialog : public SystemWindow >{ >private: > Window* mpDialogParent; > long mnDummy; > Dialog* mpPrevExecuteDlg; > long* mpResult; > long mnDummy1; > long mnDummy2; > BOOL mbInExecute; > BOOL mbOldSaveBack; > BOOL mbInClose; > BOOL mbModalMode; > ># 41 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/vcl/dialog.hxx" >protected: > Dialog( WindowType nType ); > >public: > Dialog( Window* pParent, WinBits nStyle = (((WinBits)0x00000100) | ((WinBits)0x00000400)) ); > Dialog( Window* pParent, const ResId& rResId ); > > virtual long Notify( NotifyEvent& rNEvt ); > virtual void StateChanged( StateChangedType nStateChange ); > virtual void DataChanged( const DataChangedEvent& rDCEvt ); > > virtual BOOL Close(); > > virtual short Execute(); > BOOL IsInExecute() const { return mbInExecute; } > void EndDialog( long nResult = 0 ); > > void SetModalInputMode( BOOL bModal ); > void SetModalInputMode( BOOL bModal, BOOL bSubModalDialogs ); > BOOL IsModalInputMode() const { return mbModalMode; } > > void GrabFocusToFirstControl(); >}; > >class ModelessDialog : public Dialog >{ >public: > ModelessDialog( Window* pParent, WinBits nStyle = ((((WinBits)0x00000100) | ((WinBits)0x00000400))) ); > ModelessDialog( Window* pParent, const ResId& rResId ); >}; > >class ModalDialog : public Dialog >{ >public: > ModalDialog( Window* pParent, WinBits nStyle = ((((WinBits)0x00000100) | ((WinBits)0x00000400))) ); > ModalDialog( Window* pParent, const ResId& rResId ); > >private: > void Show( BOOL bVisible = 1 ); > void Hide(); >}; > ># 10 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/vcl/btndlg.hxx" 2 > > >struct ImplBtnDlgItem; >class ImplBtnDlgItemList; >class PushButton; > ># 24 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/vcl/btndlg.hxx" >class ButtonDialog : public Dialog >{ >private: > ImplBtnDlgItemList* mpItemList; > Size maPageSize; > Size maCtrlSize; > long mnButtonSize; > USHORT mnCurButtonId; > USHORT mnFocusButtonId; > BOOL mbFormat; > Link maClickHdl; > ># 48 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/vcl/btndlg.hxx" >protected: > ButtonDialog( WindowType nType ); > >public: > ButtonDialog( Window* pParent, WinBits nStyle = (((WinBits)0x00000100) | ((WinBits)0x00000400)) ); > ButtonDialog( Window* pParent, const ResId& rResId ); > ~ButtonDialog(); > > virtual void Resize(); > virtual void StateChanged( StateChangedType nStateChange ); > > virtual void Click(); > > void SetPageSizePixel( const Size& rSize ) { maPageSize = rSize; } > const Size& GetPageSizePixel() const { return maPageSize; } > > USHORT GetCurButtonId() const { return mnCurButtonId; } > > void AddButton( const String& rText, USHORT nId, USHORT nBtnFlags, long nSepPixel = 0 ); > void AddButton( StandardButtonType eType, USHORT nId, USHORT nBtnFlags, long nSepPixel = 0 ); > void AddButton( PushButton* pBtn, USHORT nId, USHORT nBtnFlags, long nSepPixel = 0 ); > void RemoveButton( USHORT nId ); > void Clear(); > USHORT GetButtonCount() const; > USHORT GetButtonId( USHORT nButton ) const; > PushButton* GetPushButton( USHORT nId ) const; > void SetButtonText( USHORT nId, const String& rText ); > String GetButtonText( USHORT nId ) const; > void SetButtonHelpText( USHORT nId, const String& rText ); > String GetButtonHelpText( USHORT nId ) const; > void SetButtonHelpId( USHORT nId, ULONG nHelpId ); > ULONG GetButtonHelpId( USHORT nId ) const; > > void SetFocusButton( USHORT nId = ((USHORT)0xFFFF) ) { mnFocusButtonId = nId; } > USHORT GetFocusButton() const { return mnFocusButtonId; } > > void SetClickHdl( const Link& rLink ) { maClickHdl = rLink; } > const Link& GetClickHdl() const { return maClickHdl; } >}; > ># 10 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/vcl/msgbox.hxx" 2 > > > ># 14 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/vcl/image.hxx" 1 > > >class ImplImage; >class ImplImageList; >class Bitmap; >class BitmapEx; >class Color; > > > > > > > > >class Image >{ > friend class ImageList; > >private: > ImplImage* mpImplData; > >public: > Image(); > Image( const ResId& rResId ); > Image( const Image& rImage ); > Image( const Bitmap& rBitmap ); > Image( const Bitmap& rBitmap, const Bitmap& rMaskBitmap ); > Image( const Bitmap& rBitmap, const Color& rColor ); > Image( const BitmapEx& rBitmapEx ); > ~Image(); > > Size GetSizePixel() const; > > BOOL operator!() const; > > Image& operator=( const Image& rImage ); > BOOL operator==( const Image& rImage ) const; > BOOL operator!=( const Image& rImage ) const > { return !(Image::operator==( rImage )); } >}; > >inline BOOL Image::operator!() const >{ > if ( !mpImplData ) > return 1; > else > return 0; >} > > > >class ImageList >{ >private: > ImplImageList* mpImplData; > USHORT mnInitSize; > USHORT mnGrowSize; > >public: > ImageList( USHORT nInit = 8, USHORT nGrow = 4 ); > ImageList( const ResId& rResId ); > ImageList( const ImageList& rImageList ); > ImageList( const Bitmap& rBitmap, > USHORT nInitSize, USHORT* pIdAry = __null, > USHORT nGrow = 4 ); > ImageList( const Bitmap& rBitmap, const Bitmap& rMaskBmp, > USHORT nInitSize, USHORT* pIdAry = __null, > USHORT nGrow = 4 ); > ImageList( const Bitmap& rBitmap, const Color& rColor, > USHORT nInitSize, USHORT* pIdAry = __null, > USHORT nGrow = 4 ); > ~ImageList(); > > void AddImage( USHORT nNewId, const Image& rImage ); > void CopyImage( USHORT nNewId, USHORT nCopyId ); > void ReplaceImage( USHORT nId, const Image& rImage ); > void ReplaceImage( USHORT nId, USHORT nReplaceId ); > void MergeImage( USHORT nId, USHORT nMergeId ); > void RemoveImage( USHORT nId ); > Image GetImage( USHORT nId ) const; > void Clear(); > > USHORT GetImageCount() const; > USHORT GetImagePos( USHORT nId ) const; > USHORT GetImageId( USHORT nPos ) const; > Size GetImageSize() const; > > Bitmap GetBitmap() const; > Bitmap GetMaskBitmap() const; > BOOL HasMaskBitmap() const; > Color GetMaskColor() const; > BOOL HasMaskColor() const; > > ImageList& operator=( const ImageList& rImageList ); > BOOL operator==( const ImageList& rImageList ) const; > BOOL operator!=( const ImageList& rImageList ) const > { return !(ImageList::operator==( rImageList )); } > > friend SvStream& operator>>( SvStream& rIStream, ImageList& rImageList ); > friend SvStream& operator<<( SvStream& rOStream, const ImageList& rImageList ); >}; > ># 13 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/vcl/msgbox.hxx" 2 > > >class FixedText; >class FixedImage; > ># 31 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/vcl/msgbox.hxx" >class MessBox : public ButtonDialog >{ >protected: > FixedText* mpFixedText; > FixedImage* mpFixedImage; > String maMessText; > Image maImage; > USHORT mnSoundType; > BOOL mbHelpBtn; > BOOL mbSound; > > > > > > > > >protected: > void ImplLoadRes( const ResId& rResId ); > MessBox( WindowType nType ); > >public: > MessBox( Window* pParent, WinBits nStyle, > const String& rTitle, const String& rMessage ); > MessBox( Window* pParent, const ResId& rResId ); > ~MessBox(); > > virtual void StateChanged( StateChangedType nStateChange ); > > void SetMessText( const String& rText ) { maMessText = rText; } > const String& GetMessText() const { return maMessText; } > > void SetImage( const Image& rImage ) { maImage = rImage; } > const Image& GetImage() const { return maImage; } >}; > >class InfoBox : public MessBox >{ > > > > > >public: > InfoBox( Window* pParent, const String& rMessage ); > InfoBox( Window* pParent, const ResId & rResId ); > > static Image GetStandardImage(); >}; > >class WarningBox : public MessBox >{ > > > > > >public: > WarningBox( Window* pParent, WinBits nStyle, > const String& rMessage ); > WarningBox( Window* pParent, const ResId& rResId ); > > static Image GetStandardImage(); >}; > >class ErrorBox : public MessBox >{ > > > > > >public: > ErrorBox( Window* pParent, WinBits nStyle, > const String& rMessage ); > ErrorBox( Window* pParent, const ResId& rResId ); > > static Image GetStandardImage(); >}; > >class QueryBox : public MessBox >{ > > > > > >public: > QueryBox( Window* pParent, WinBits nStyle, > const String& rMessage ); > QueryBox( Window* pParent, const ResId& rResId ); > > static Image GetStandardImage(); >}; > ># 90 "/usr/src/oo/oo_605_src/sfx2/source/doc/docfile.cxx" 2 > > > ># 13 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/vcl/button.hxx" 1 ># 9 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/vcl/symbol.hxx" 1 >typedef USHORT SymbolType; ># 13 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/vcl/button.hxx" 2 > > > ># 16 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/vcl/ctrl.hxx" 1 >class Control : public Window >{ >private: > void* mpDummy1; > long mnDummy1; > BOOL mbHasFocus; > BOOL mbDummy1; > BOOL mbDummy2; > BOOL mbDummy3; > Link maGetFocusHdl; > Link maLoseFocusHdl; > > > > > >protected: > Control( WindowType nType ); > >public: > Control( Window* pParent, WinBits nWinStyle = 0 ); > Control( Window* pParent, const ResId& rResId ); > > virtual void GetFocus(); > virtual void LoseFocus(); > virtual long Notify( NotifyEvent& rNEvt ); > > void SetGetFocusHdl( const Link& rLink ) { maGetFocusHdl = rLink; } > const Link& GetGetFocusHdl() const { return maGetFocusHdl; } > void SetLoseFocusHdl( const Link& rLink ) { maLoseFocusHdl = rLink; } > const Link& GetLoseFocusHdl() const { return maLoseFocusHdl; } >}; > ># 16 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/vcl/button.hxx" 2 > > >class Button : public Control >{ >private: > Link maClickHdl; > >protected: > Button( WindowType nType ); > >public: > Button( Window* pParent, WinBits nStyle = 0 ); > Button( Window* pParent, const ResId& rResId ); > > virtual void Click(); > > void SetClickHdl( const Link& rLink ) { maClickHdl = rLink; } > const Link& GetClickHdl() const { return maClickHdl; } > > static String GetStandardText( StandardButtonType eButton ); > static String GetStandardHelpText( StandardButtonType eButton ); >}; > > > > >class PushButton : public Button >{ >protected: > Rectangle maFocusRect; > Image maImage; > BitmapEx* mpBitmapEx; > void* mpDummy; > SymbolType meSymbol; > ImageAlign meImageAlign; > TriState meState; > TriState meSaveValue; > USHORT mnDDStyle; > USHORT mnButtonState; > BOOL mbPressed; > BOOL mbInUserDraw; > BOOL mbDummy1; > BOOL mbDummy2; > Link maToggleHdl; > ># 84 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/vcl/button.hxx" >protected: > PushButton( WindowType nType ); > >public: > PushButton( Window* pParent, WinBits nStyle = 0 ); > PushButton( Window* pParent, const ResId& rResId ); > ~PushButton(); > > virtual void MouseButtonDown( const MouseEvent& rMEvt ); > virtual void Tracking( const TrackingEvent& rTEvt ); > virtual void KeyInput( const KeyEvent& rKEvt ); > virtual void KeyUp( const KeyEvent& rKEvt ); > virtual void Paint( const Rectangle& rRect ); > virtual void Draw( OutputDevice* pDev, const Point& rPos, const Size& rSize, ULONG nFlags ); > virtual void Resize(); > virtual void GetFocus(); > virtual void LoseFocus(); > virtual void StateChanged( StateChangedType nType ); > virtual void DataChanged( const DataChangedEvent& rDCEvt ); > virtual void UserDraw( const UserDrawEvent& rUDEvt ); > > virtual void Toggle(); > > void SetImage( const Image& rImage ); > const Image& GetImage() const { return maImage; } > > void SetBitmap( const BitmapEx& rBmp ); > BitmapEx GetBitmap() const; > > void SetSymbol( SymbolType eSymbol ); > SymbolType GetSymbol() const { return meSymbol; } > > void SetImageAlign( ImageAlign eAlign ); > ImageAlign GetImageAlign() const { return meImageAlign; } > > void SetDropDown( USHORT nStyle ); > USHORT GetDropDown() const { return mnDDStyle; } > > > void SetColor() { SetControlForeground(); } > void SetColor( const Color& rColor ) { SetControlForeground( rColor ); } > Color GetColor() const { return GetControlForeground(); } > BOOL IsColor() const { return IsControlForeground(); } > > > void SetState( TriState eState ); > TriState GetState() const { return meState; } > > void Check( BOOL bCheck = 1 ); > BOOL IsChecked() const; > > void SetPressed( BOOL bPressed ); > BOOL IsPressed() const { return mbPressed; } > > void EndSelection(); > > void SaveValue() { meSaveValue = GetState(); } > TriState GetSavedValue() const { return meSaveValue; } > > Size CalcMinimumSize( long nMaxWidth = 0 ) const; > > void SetToggleHdl( const Link& rLink ) { maToggleHdl = rLink; } > const Link& GetToggleHdl() const { return maToggleHdl; } >}; > >inline void PushButton::Check( BOOL bCheck ) >{ > SetState( (bCheck) ? STATE_CHECK : STATE_NOCHECK ); >} > >inline BOOL PushButton::IsChecked() const >{ > return (GetState() == STATE_CHECK); >} > >class OKButton : public PushButton >{ > > > > > >public: > OKButton( Window* pParent, WinBits nStyle = ((WinBits)0x10000000) ); > OKButton( Window* pParent, const ResId& rResId ); > > virtual void Click(); >}; > >class CancelButton : public PushButton >{ > > > > > >public: > CancelButton( Window* pParent, WinBits nStyle = 0 ); > CancelButton( Window* pParent, const ResId& rResId ); > > virtual void Click(); >}; > >class HelpButton : public PushButton >{ > > > > > >public: > HelpButton( Window* pParent, WinBits nStyle = 0 ); > HelpButton( Window* pParent, const ResId& rResId ); > > virtual void Click(); >}; > >class RadioButton : public Button >{ >private: > Rectangle maStateRect; > Rectangle maMouseRect; > Rectangle maFocusRect; > Image maImage; > USHORT mnButtonState; > BOOL mbChecked; > BOOL mbSaveValue; > BOOL mbRadioCheck; > BOOL mbStateChanged; > BOOL mbDummy1; > BOOL mbDummy2; > Link maToggleHdl; > ># 240 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/vcl/button.hxx" >public: > RadioButton( Window* pParent, WinBits nWinStyle = 0 ); > RadioButton( Window* pParent, const ResId& rResId ); > ~RadioButton(); > > virtual void MouseButtonDown( const MouseEvent& rMEvt ); > virtual void Tracking( const TrackingEvent& rTEvt ); > virtual void KeyInput( const KeyEvent& rKEvt ); > virtual void KeyUp( const KeyEvent& rKEvt ); > virtual void Paint( const Rectangle& rRect ); > virtual void Draw( OutputDevice* pDev, const Point& rPos, const Size& rSize, ULONG nFlags ); > virtual void Resize(); > virtual void GetFocus(); > virtual void LoseFocus(); > virtual void StateChanged( StateChangedType nType ); > virtual void DataChanged( const DataChangedEvent& rDCEvt ); > > virtual void Toggle(); > > BOOL IsStateChanged() const { return mbStateChanged; } > > void EnableRadioCheck( BOOL bRadioCheck = 1 ) { mbRadioCheck = bRadioCheck; } > BOOL IsRadioCheckEnabled() const { return mbRadioCheck; } > > void SetImage( const Image& rImage ); > const Image& GetImage() const { return maImage; } > > void SetState( BOOL bCheck ); > void Check( BOOL bCheck = 1 ); > BOOL IsChecked() const { return mbChecked; } > > void SaveValue() { mbSaveValue = IsChecked(); } > BOOL GetSavedValue() const { return mbSaveValue; } > > static Image GetRadioImage( const AllSettings& rSettings, USHORT nFlags ); > > Size CalcMinimumSize( long nMaxWidth = 0 ) const; > > void SetToggleHdl( const Link& rLink ) { maToggleHdl = rLink; } > const Link& GetToggleHdl() const { return maToggleHdl; } >}; > >class CheckBox : public Button >{ >private: > Rectangle maStateRect; > Rectangle maMouseRect; > Rectangle maFocusRect; > USHORT mnButtonState; > TriState meState; > TriState meSaveValue; > BOOL mbTriState; > Link maToggleHdl; > ># 316 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/vcl/button.hxx" >public: > CheckBox( Window* pParent, WinBits nStyle = 0 ); > CheckBox( Window* pParent, const ResId& rResId ); > > virtual void MouseButtonDown( const MouseEvent& rMEvt ); > virtual void Tracking( const TrackingEvent& rTEvt ); > virtual void KeyInput( const KeyEvent& rKEvt ); > virtual void KeyUp( const KeyEvent& rKEvt ); > virtual void Paint( const Rectangle& rRect ); > virtual void Draw( OutputDevice* pDev, const Point& rPos, const Size& rSize, ULONG nFlags ); > virtual void Resize(); > virtual void GetFocus(); > virtual void LoseFocus(); > virtual void StateChanged( StateChangedType nType ); > virtual void DataChanged( const DataChangedEvent& rDCEvt ); > > virtual void Toggle(); > > void SetState( TriState eState ); > TriState GetState() const { return meState; } > > void Check( BOOL bCheck = 1 ); > BOOL IsChecked() const; > > void EnableTriState( BOOL bTriState = 1 ); > BOOL IsTriStateEnabled() const { return mbTriState; } > > void SaveValue() { meSaveValue = GetState(); } > TriState GetSavedValue() const { return meSaveValue; } > > static Image GetCheckImage( const AllSettings& rSettings, USHORT nFlags ); > > Size CalcMinimumSize( long nMaxWidth = 0 ) const; > > void SetToggleHdl( const Link& rLink ) { maToggleHdl = rLink; } > const Link& GetToggleHdl() const { return maToggleHdl; } >}; > >inline void CheckBox::Check( BOOL bCheck ) >{ > SetState( (bCheck) ? STATE_CHECK : STATE_NOCHECK ); >} > >inline BOOL CheckBox::IsChecked() const >{ > return (GetState() == STATE_CHECK); >} > >class ImageButton : public PushButton >{ >protected: > ImageButton( WindowType nType ); > >public: > ImageButton( Window* pParent, WinBits nStyle = 0 ); > ImageButton( Window* pParent, const ResId& rResId ); > ~ImageButton(); >}; > >class ImageRadioButton : public RadioButton >{ >public: > ImageRadioButton( Window* pParent, WinBits nStyle = 0 ); > ImageRadioButton( Window* pParent, const ResId& rResId ); > ~ImageRadioButton(); >}; > >class TriStateBox : public CheckBox >{ >public: > TriStateBox( Window* pParent, WinBits nStyle = 0 ); > TriStateBox( Window* pParent, const ResId& rResId ); > ~TriStateBox(); >}; > > ># 93 "/usr/src/oo/oo_605_src/sfx2/source/doc/docfile.cxx" 2 > > > > > > ># 7 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/so3/svstor.hxx" 1 ># 13 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/so3/iface.hxx" 1 ># 64 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/tools/shl.hxx" 1 >void** GetAppData( USHORT nSharedLib ); > ># 13 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/so3/iface.hxx" 2 > > ># 9 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/so3/factory.hxx" 1 ># 7 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/so3/so2ref.hxx" 1 >class SvObject; > > >class SvObject; class SvObjectRef { protected: SvObject * pObj; public: inline SvObjectRef() { pObj = 0; } inline SvObjectRef( const SvObjectRef & rObj ); inline SvObjectRef( SvObject * pObjP ); inline void Clear(); inline ~SvObjectRef(); inline SvObjectRef & operator = ( const SvObjectRef & rObj ); inline SvObjectRef & operator = ( SvObject * pObj ); inline BOOL Is() const { return pObj != __null; } inline SvObject * operator & () const { return pObj; } inline SvObject * operator -> () const { return pObj; } inline SvObject & operator * () const { return *pObj; } inline operator SvObject * () const { return pObj; } inline SvObjectRef( const SotObjectRef & ); inline SvObjectRef( SotObject * pObjP ); inline SvObjectRef( SotObject * pObjP, SvCastEnum ); }; ># 9 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/so3/factory.hxx" 2 > > ># 10 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/svtools/brdcst.hxx" 1 >class SfxListener; >class SfxHint; > > >typedef SvPtrarr SfxListenerArr_Impl; ># 25 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/svtools/brdcst.hxx" >class SfxBroadcaster >{ >friend class SfxListener; > > SfxListenerArr_Impl aListeners; > >private: > > BOOL > > > > AddListener( SfxListener& rListener ); > void RemoveListener( SfxListener& rListener ); > const SfxBroadcaster& operator=(const SfxBroadcaster &); > >protected: > void Forward( SfxBroadcaster& rBC, const SfxHint& rHint ); > > virtual void ListenersGone(); > >public: > static void* CreateType(); static TypeId StaticType(); static BOOL IsOf( TypeId aSameOrSuperType ); virtual TypeId Type() const; virtual BOOL IsA( TypeId aSameOrSuperType ) const; > > SfxBroadcaster(); > SfxBroadcaster( const SfxBroadcaster &rBC ); > virtual ~SfxBroadcaster(); > > void Broadcast( const SfxHint &rHint ); > void BroadcastDelayed( const SfxHint& rHint ); > void BroadcastInIdle( const SfxHint& rHint ); > > BOOL HasListeners() const; > USHORT GetListenerCount() const { return aListeners.Count(); } > SfxListener* GetListener( USHORT nNo ) const > { return (SfxListener*) aListeners[nNo]; } >}; > ># 11 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/so3/factory.hxx" 2 ># 19 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/so3/factory.hxx" >class SvObject; >class SvStorage; >class SvDataObject; >class SotDataObject; >class SvFactory; >class ImpFactory; >class SvClassManager; >struct IClassFactory; > >class PlugInManager; > > >namespace inet { > class INetWrapper; >} > > > > >typedef SvGlobalName SvUniqueName; > >class SvFactory : public SotFactory > >{ >friend ImpFactory; >friend class SvFactory_Impl; > SvFactory_Impl * pImp; > ULONG nRegisterId; > > void Revoke(); >protected: > virtual ~SvFactory(); >public: > static void* CreateType(); static TypeId StaticType(); static BOOL IsOf( TypeId aSameOrSuperType ); virtual TypeId Type() const; virtual BOOL IsA( TypeId aSameOrSuperType ) const; > > static void IncAliveCount(); > static void DecAliveCount( BOOL bImmediate = 1 ); > static UINT32 GetAliveCount(); > static void SetAliveHdl( const Link & rAliveHdl ); > > static void InsertInReleaseList( SvObject * pReleaseObj ); > static void ClearReleaseList(); > > static void RemoveExtConObj( SvObject * pExtConObj ); > static void InsertExtConObj( SvObject * pExtConObj ); > static void CloseExtConObj( BOOL bOnlyPseudoObj ); > > static BOOL Init(); > static void ClearDemandObjects(); > static void DeInit(); > static SvClassManager & GetInfoClassManager(); > > static String GetConfigFileName(); > > > static inet::INetWrapper * GetINetWrapper(); > > > > > static PlugInManager * GetPlugInManager(); > > static void SetDefaultPlugInFactory( SvFactory * ); > static SvFactory * GetDefaultPlugInFactory(); > > static void SetDefaultAppletFactory( SvFactory * ); > static SvFactory * GetDefaultAppletFactory(); > ># 96 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/so3/factory.hxx" > static BOOL IsOwnFormat( BOOL & bStorFilled, SotDataObject * pDO, > ULONG nFormat, SvStorage * pStor ); > static SvObjectRef Create( const SvGlobalName & rSvClassName, > const SvGlobalName & pOleClassName ); > SvObjectRef Create( const SvGlobalName & rSvClassName ) const; > SvObjectRef CreateAndLoad( SvStorage *, BOOL bLink = 0 ) const; > SvObjectRef CreateAndLoad( SvStream &, ULONG * nLen = __null ) const; > SvObjectRef CreateAndInit( const SvGlobalName & rSvClassName, > SvStorage * ) const; > SvObjectRef CreateAndInit( SotDataObject *, > SvStorage *, BOOL bLink = 0 ) const; > SvObjectRef CreateAndInit( SotDataObject *, SvStorage *, > BOOL bLink, BOOL bStorFilled ) const; > SvObjectRef CreateAndInit( const String & rFileName, > SvStorage *, BOOL bLink = 0 ) const; > > SvFactory( const SvGlobalName &, > const String & rClassName, CreateInstanceType ); > > void Register(); > BOOL IsRegistered() const { return nRegisterId != 0; } > > static void SetAutoTreatAs( const SvGlobalName & rOldClass, > const String & rOldFullUserTypeName, > const SvGlobalName & rNewClass ); > static SvGlobalName GetAutoTreatAs( const SvGlobalName & rClass ); > > static void SetAutoConvertTo( const SvGlobalName & rOldClass, > const String & rOldFullUserTypeName, > const SvGlobalName & rNewClass ); > static SvGlobalName GetAutoConvertTo( const SvGlobalName & rClass ); > static SvGlobalName GetSvClass31( const SvGlobalName & rClass ); > static SvGlobalName GetSvClass( INT32 nFileFormat, const SvGlobalName & rClass ); > static BOOL IsIntern31( const SvGlobalName & rClass ); > static SvGlobalName GetServerName( long nStorageFormat ); > >private: > SvFactory( const SvFactory & ); > SvFactory & operator = ( const SvFactory & ); >}; > >class SvOleFactory : public SvFactory >{ > SvGlobalNameList aOleIfaceList; >public: > static void* CreateType(); static TypeId StaticType(); static BOOL IsOf( TypeId aSameOrSuperType ); virtual TypeId Type() const; virtual BOOL IsA( TypeId aSameOrSuperType ) const; > > SvOleFactory( const SvGlobalName &, > const String & rClassName, CreateInstanceType ); > void AddOleInterfaceName( const SvGlobalName & rName ) > { > aOleIfaceList.Append( rName ); > } > SvGlobalName GetOleInterfaceName( ULONG nIdx ) > { > return aOleIfaceList.GetObject( nIdx ); > } > BOOL IsEntry( const SvGlobalName & rName ) > { > return aOleIfaceList.IsEntry( rName ); > } >}; > ># 169 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/so3/factory.hxx" >class SvOneInstanceFactory : public SvFactory >{ > SotObject * pObj; > ULONG nRegId; >public: > static void* CreateType(); static TypeId StaticType(); static BOOL IsOf( TypeId aSameOrSuperType ); virtual TypeId Type() const; virtual BOOL IsA( TypeId aSameOrSuperType ) const; > > SvOneInstanceFactory( const SvGlobalName &, > const String & rClassName, > CreateInstanceType ); > virtual void * CreateInstance( SotObject ** ppObj = __null ) const; > void SetObject( SotObject * ); > void RemoveObject(); > SotObject * GetObject() const { return pObj; } >}; > ># 15 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/so3/iface.hxx" 2 > ># 7 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/so3/so2dll.hxx" 1 ># 7 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/tools/pstm.hxx" 1 ># 14 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/tools/table.hxx" 1 >class Table : private Container >{ >private: > ULONG nCount; > > > >public: > Table( USHORT nInitSize = 16, USHORT nReSize = 16 ); > Table( const Table& rTable ) : Container( rTable ) > { nCount = rTable.nCount; } > > BOOL Insert( ULONG nKey, void* p ); > void* Remove( ULONG nKey ); > void* Replace( ULONG nKey, void* p ); > void* Get( ULONG nKey ) const; > > void Clear() { Container::Clear(); nCount = 0; } > ULONG Count() const { return( nCount ); } > > void* GetCurObject() const; > ULONG GetCurKey() const { return (ULONG)Container::GetCurObject(); } > ULONG GetKey( const void* p ) const; > BOOL IsKeyValid( ULONG nKey ) const; > > void* GetObject( ULONG nPos ) const > { return Container::GetObject( (nPos*2)+1 ); } > ULONG GetObjectKey( ULONG nPos ) const > { return (ULONG)Container::GetObject( nPos*2 ); } > ULONG GetUniqueKey( ULONG nStartKey = 1 ) const; > ULONG SearchKey( ULONG nKey, ULONG* pPos = __null ) const; > > void* Seek( ULONG nKey ); > void* Seek( void* p ); > void* First(); > void* Last(); > void* Next(); > void* Prev(); > > Table& operator =( const Table& rTable ); > > BOOL operator ==( const Table& rTable ) const > { return Container::operator ==( rTable ); } > BOOL operator !=( const Table& rTable ) const > { return Container::operator !=( rTable ); } >}; > >inline Table& Table::operator =( const Table& r ) >{ > Container::operator =( r ); > nCount = r.nCount; > return *this; >} > ># 7 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/tools/pstm.hxx" 2 > > > > ># 15 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/tools/unqidx.hxx" 1 >class UniqueIndex : private Container >{ >private: > ULONG nReSize; > ULONG nStartIndex; > ULONG nUniqIndex; > ULONG nCount; > >public: > Container::GetCurObject; > > UniqueIndex( ULONG nStartIndex = 0, > ULONG nInitSize = 16, > ULONG nReSize = 16 ); > UniqueIndex( const UniqueIndex& rIdx ); > > ULONG Insert( ULONG nIndex, void* p ); > ULONG Insert( void* p ); > void* Remove( ULONG nIndex ); > void* Replace( ULONG nIndex, void* p ); > void* Get( ULONG nIndex ) const; > > void Clear(); > ULONG Count() const { return nCount; } > > ULONG GetCurIndex() const; > ULONG GetIndex( const void* p ) const; > BOOL IsIndexValid( ULONG nIndex ) const; > > void* Seek( ULONG nIndex ); > void* Seek( void* p ); > void* First(); > void* Last(); > void* Next(); > void* Prev(); > > ULONG GetStartIndex() const { return nStartIndex; } > ULONG GetCurMaxIndex() const > { return (nStartIndex + Container::GetSize()); } > > UniqueIndex& operator =( const UniqueIndex& rIdx ); > > BOOL operator ==( const UniqueIndex& rIdx ) const; > BOOL operator !=( const UniqueIndex& rIdx ) const > { return !(UniqueIndex::operator==( rIdx )); } >}; > >inline void UniqueIndex::Clear() >{ > Container::Clear(); > nCount = 0; > nUniqIndex = 0; >} > ># 11 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/tools/pstm.hxx" 2 ># 27 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/tools/pstm.hxx" >class SvPersistBase; >typedef void * (*SvCreateInstancePersist)( SvPersistBase ** ); > > > >class SvClassManager >{ > Table aAssocTable; >public: > void Register( USHORT nClassId, SvCreateInstancePersist pFunc ); > SvCreateInstancePersist Get( USHORT nClassId ); >}; > >class SvRttiBase : public SvRefBase >{ >public: > static void* CreateType(); static TypeId StaticType(); static BOOL IsOf( TypeId aSameOrSuperType ); virtual TypeId Type() const; virtual BOOL IsA( TypeId aSameOrSuperType ) const; >}; >class SvRttiBase; class SvRttiBaseRef { protected: SvRttiBase * pObj; public: inline SvRttiBaseRef() { pObj = 0; } inline SvRttiBaseRef( const SvRttiBaseRef & rObj ); inline SvRttiBaseRef( SvRttiBase * pObjP ); inline void Clear(); inline ~SvRttiBaseRef(); inline SvRttiBaseRef & operator = ( const SvRttiBaseRef & rObj ); inline SvRttiBaseRef & operator = ( SvRttiBase * pObj ); inline BOOL Is() const { return pObj != __null; } inline SvRttiBase * operator & () const { return pObj; } inline SvRttiBase * operator -> () const { return pObj; } inline SvRttiBase & operator * () const { return *pObj; } inline operator SvRttiBase * () const { return pObj; } }; inline SvRttiBaseRef::SvRttiBaseRef( const SvRttiBaseRef & rObj ) { pObj = rObj.pObj; if( pObj ) { pObj->AddNextRef(); } } inline SvRttiBaseRef::SvRttiBaseRef( SvRttiBase * pObjP ) { pObj = pObjP; if( pObj ) { pObj->AddRef(); } } inline void SvRttiBaseRef::Clear() { if( pObj ) { SvRttiBase* const pRefObj = pObj; pObj = 0; pRefObj->ReleaseReference(); } } inline SvRttiBaseRef::~SvRttiBaseRef() { if( pObj ) { pObj->ReleaseReference(); } } inline SvRttiBaseRef & SvRttiBaseRef:: operator = ( const SvRttiBaseRef & rObj ) { if( rObj.pObj ) rObj.pObj->AddNextRef(); SvRttiBase* const pRefObj = pObj; pObj = rObj.pObj; if( pRefObj ) { pRefObj->ReleaseReference(); } return *this; } inline SvRttiBaseRef & SvRttiBaseRef::operator = ( SvRttiBase * pObjP ) { return *this = SvRttiBaseRef( pObjP ); } > ># 85 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/tools/pstm.hxx" >class SvPersistStream; >class SvPersistBase : public SvRttiBase >{ >public: > virtual USHORT GetClassId() const = 0; > virtual void Load( SvPersistStream & ) = 0; > virtual void Save( SvPersistStream & ) = 0; > friend SvPersistStream& operator >> ( SvPersistStream & rStm, > SvPersistBase *& rpObj ); >}; >class SvPersistBase; class SvPersistBaseRef { protected: SvPersistBase * pObj; public: inline SvPersistBaseRef() { pObj = 0; } inline SvPersistBaseRef( const SvPersistBaseRef & rObj ); inline SvPersistBaseRef( SvPersistBase * pObjP ); inline void Clear(); inline ~SvPersistBaseRef(); inline SvPersistBaseRef & operator = ( const SvPersistBaseRef & rObj ); inline SvPersistBaseRef & operator = ( SvPersistBase * pObj ); inline BOOL Is() const { return pObj != __null; } inline SvPersistBase * operator & () const { return pObj; } inline SvPersistBase * operator -> () const { return pObj; } inline SvPersistBase & operator * () const { return *pObj; } inline operator SvPersistBase * () const { return pObj; } }; inline SvPersistBaseRef::SvPersistBaseRef( const SvPersistBaseRef & rObj ) { pObj = rObj.pObj; if( pObj ) { pObj->AddNextRef(); } } inline SvPersistBaseRef::SvPersistBaseRef( SvPersistBase * pObjP ) { pObj = pObjP; if( pObj ) { pObj->AddRef(); } } inline void SvPersistBaseRef::Clear() { if( pObj ) { SvPersistBase* const pRefObj = pObj; pObj = 0; pRefObj->ReleaseReference(); } } inline SvPersistBaseRef::~SvPersistBaseRef() { if( pObj ) { pObj->ReleaseReference(); } } inline SvPersistBaseRef & SvPersistBaseRef:: operator = ( const SvPersistBaseRef & rObj ) { if( rObj.pObj ) rObj.pObj->AddNextRef(); SvPersistBase* const pRefObj = pObj; pObj = rObj.pObj; if( pRefObj ) { pRefObj->ReleaseReference(); } return *this; } inline SvPersistBaseRef & SvPersistBaseRef::operator = ( SvPersistBase * pObjP ) { return *this = SvPersistBaseRef( pObjP ); } > >typedef SvPersistBase SuperSvPersistBase; > >class SuperSvPersistBaseList : private List { public: List::Clear; List::Count; List::GetCurPos; SuperSvPersistBaseList( USHORT _nInitSize = 16, USHORT _nReSize = 16 ) : List( _nInitSize, _nReSize ) {} SuperSvPersistBaseList( USHORT _nBlockSize, USHORT _nInitSize, USHORT _nReSize ) : List( _nBlockSize, _nInitSize, _nReSize ) {} SuperSvPersistBaseList( const SuperSvPersistBaseList& rClassName ) : List( rClassName ) {} void Insert( SuperSvPersistBase* p, ULONG nIndex ) { List::Insert( (void*)p, nIndex ); } void Insert( SuperSvPersistBase* p ) { List::Insert( (void*)p ); } void Insert( SuperSvPersistBase* pNew, SuperSvPersistBase* pOld ) { List::Insert( (void*)pNew, (void*)pOld ); } SuperSvPersistBase* Remove() { return (SuperSvPersistBase*)List::Remove(); } SuperSvPersistBase* Remove( ULONG nIndex ) { return (SuperSvPersistBase*)List::Remove( nIndex ); } SuperSvPersistBase* Remove( SuperSvPersistBase* p ) { return (SuperSvPersistBase*)List::Remove( (void*)p ); } SuperSvPersistBase* Replace( SuperSvPersistBase* p ) { return (SuperSvPersistBase*)List::Replace( (void*)p ); } SuperSvPersistBase* Replace( SuperSvPersistBase* p, ULONG nIndex ) { return (SuperSvPersistBase*)List::Replace( (void*)p, nIndex ); } SuperSvPersistBase* Replace( SuperSvPersistBase* pNew, SuperSvPersistBase* pOld ) { return (SuperSvPersistBase*)List::Replace( (void*)pNew, (void*)pOld ); } SuperSvPersistBase* GetCurObject() const { return (SuperSvPersistBase*)List::GetCurObject(); } SuperSvPersistBase* GetObject( ULONG nIndex ) const { return (SuperSvPersistBase*)List::GetObject( nIndex ); } ULONG GetPos( const SuperSvPersistBase* p ) const { return List::GetPos( (const void*)p ); } ULONG GetPos( const SuperSvPersistBase* p, ULONG nStartIndex, BOOL bForward = 1 ) const { return List::GetPos( (const void*)p, nStartIndex, bForward ); } SuperSvPersistBase* Seek( ULONG nIndex ) { return (SuperSvPersistBase*)List::Seek( nIndex ); } SuperSvPersistBase* Seek( void* p ) { return (SuperSvPersistBase*)List::Seek( p ); } SuperSvPersistBase* First() { return (SuperSvPersistBase*)List::First(); } SuperSvPersistBase* Last() { return (SuperSvPersistBase*)List::Last(); } SuperSvPersistBase* Next() { return (SuperSvPersistBase*)List::Next(); } SuperSvPersistBase* Prev() { return (SuperSvPersistBase*)List::Prev(); } SuperSvPersistBaseList& operator =( const SuperSvPersistBaseList& rClassName ) { List::operator =( rClassName ); return *this; } BOOL operator ==( const SuperSvPersistBaseList& rList ) const { return List::operator ==( rList ); } BOOL operator !=( const SuperSvPersistBaseList& rList ) const { return List::operator !=( rList ); } };class SuperSvPersistBaseMemberList : public SuperSvPersistBaseList{public: SuperSvPersistBaseMemberList(){} SuperSvPersistBaseMemberList(USHORT nInitSize, USHORT nResize ) : SuperSvPersistBaseList( nInitSize, nResize ){} SuperSvPersistBaseMemberList( const SuperSvPersistBaseMemberList & rRef ); ~SuperSvPersistBaseMemberList(); SuperSvPersistBaseMemberList & operator = ( const SuperSvPersistBaseMemberList & rRef ); void Clear(); void Insert( SuperSvPersistBase* p ){ SuperSvPersistBaseList::Insert( p ); p->AddRef();} void Insert( SuperSvPersistBase* p, ULONG nIndex ){ SuperSvPersistBaseList::Insert( p, nIndex ); p->AddRef();} void Insert( SuperSvPersistBase* p, SuperSvPersistBase* pOld ){ SuperSvPersistBaseList::Insert( p, pOld ); p->AddRef();} void Append( SuperSvPersistBase* p ){ Insert( p, ((ULONG)0xFFFFFFFF) );} SuperSvPersistBase* Remove(); SuperSvPersistBase* Remove( ULONG nIndex ); SuperSvPersistBase* Remove( SuperSvPersistBase* p ); SuperSvPersistBase* Replace( SuperSvPersistBase* p ); SuperSvPersistBase* Replace( SuperSvPersistBase* p, ULONG nIndex ); SuperSvPersistBase* Replace( SuperSvPersistBase* pNew, SuperSvPersistBase* pOld ); void Append( const SuperSvPersistBaseMemberList & );}; > > >class SvPersistBaseMemberList : public SuperSvPersistBaseMemberList >{ >public: > SvPersistBaseMemberList(){} > SvPersistBaseMemberList(USHORT nInitSize, USHORT nResize ) > : SuperSvPersistBaseMemberList( nInitSize, nResize ){} > > void WriteObjects( SvPersistStream &, BOOL bOnlyStreamedObj = 0 ) const; > friend SvPersistStream& operator << (SvPersistStream &, const SvPersistBaseMemberList &); > friend SvPersistStream& operator >> (SvPersistStream &, SvPersistBaseMemberList &); >}; > ># 131 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/tools/pstm.hxx" >typedef UniqueIndex SvPersistUIdx; > > >class SvStream; >class SvPersistStream : public SvStream > >{ > SvClassManager & rClassMgr; > SvStream * pStm; > Table aPTable; > SvPersistUIdx aPUIdx; > ULONG nStartIdx; > const SvPersistStream * pRefStm; > UINT32 nFlags; > > virtual ULONG GetData( void* pData, ULONG nSize ); > virtual ULONG PutData( const void* pData, ULONG nSize ); > virtual ULONG SeekPos( ULONG nPos ); > virtual void FlushData(); >protected: > ULONG GetCurMaxIndex( const SvPersistUIdx & ) const; > ULONG GetCurMaxIndex() const > { return GetCurMaxIndex( aPUIdx ); } > > void WriteObj( BYTE nHdr, SvPersistBase * pObj ); > UINT32 ReadObj( SvPersistBase * & rpObj, > BOOL bRegister ); >public: > BOOL IsStreamed( SvPersistBase * pObj ) const > { return 0 != GetIndex( pObj ); } > virtual void ResetError(); > > SvPersistStream( SvClassManager &, SvStream * pStream, > UINT32 nStartIdx = 1 ); > SvPersistStream( SvClassManager &, SvStream * pStream, > const SvPersistStream & rPersStm ); > ~SvPersistStream(); > > void SetStream( SvStream * pStream ); > SvStream * GetStream() const { return pStm; } > virtual USHORT IsA() const; > > SvPersistBase * GetObject( ULONG nIdx ) const; > ULONG GetIndex( SvPersistBase * ) const; > > void SetContextFlags( UINT32 n ) { nFlags = n; } > UINT32 GetContextFlags() const { return nFlags; } > > static void WriteCompressed( SvStream & rStm, UINT32 nVal ); > static UINT32 ReadCompressed( SvStream & rStm ); > > UINT32 WriteDummyLen(); > void WriteLen( UINT32 nLenPos ); > UINT32 ReadLen( UINT32 * pTestPos ); > > SvPersistStream& WritePointer( SvPersistBase * pObj ); > SvPersistStream& ReadPointer( SvPersistBase * & rpObj ); > friend SvPersistStream& operator << (SvPersistStream &, SvPersistBase *); > friend SvPersistStream& operator >> (SvPersistStream &, SvPersistBase * &); > > friend SvStream& operator >> ( SvStream &, SvPersistStream & ); > friend SvStream& operator << ( SvStream &, SvPersistStream & ); > ULONG InsertObj( SvPersistBase * ); > ULONG RemoveObj( SvPersistBase * ); >}; > ># 7 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/so3/so2dll.hxx" 2 ># 15 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/so3/so2dll.hxx" >class ImpFactory; >class SotFactory; >class SvObjectList; >class SotFactoryList; >class SvAdviseSinkIndex; >class SvDataTypeList; >class SvInPlaceClient; >class SvInPlaceClientList; >class SvInPlaceObjectList; >class WorkWindow; >class MDIWindow; >class ImpSO2Clipboard; >class ResMgr; >class SvSoIPCServer; >class SvIPCServerInfo; >class ImplSvEditObjectProtocol; >class Impl_DeathTimer; >class Timer; >class SvContainerEnvironmentList; >class SvInPlaceEnvironment; >class SvDataObject; >class SvVerbList; >struct SvBindingData; > >class PlugInManager; > > >namespace inet { > class INetWrapper; >} > > > > >struct ConvertTo_Impl > >{ > SvGlobalName aName; > SvGlobalName aSvName; > long aFormat; > > ConvertTo_Impl() {}; > ConvertTo_Impl( const SvGlobalName & a1, long a2 ) > : aName( a1 ) > , aSvName( a1 ) > , aFormat( a2 ) > {} > ConvertTo_Impl( const SvGlobalName & a1, > const SvGlobalName & rSvClass, > long a2 ) > : aName( a1 ) > , aSvName( rSvClass ) > , aFormat( a2 ) > {} >}; > > >class SoDll >{ >friend ImpFactory; >friend class SvFactory; >friend Impl_DeathTimer; > UINT32 nAliveCount; > Link aAliveHdl; > BOOL bInit; > BOOL bSelfInit; > SvObjectList * pReleaseList; >public: > > SotFactory * pSvObjectFactory; > SotFactory * pSvStorageStreamFactory; > SotFactory * pSvStorageFactory; > SotFactory * pSvEmbeddedObjectFactory; > SotFactory * pSvEmbeddedClientFactory; > SotFactory * pSvInPlaceObjectFactory; > SotFactory * pSvPlugInObjectFactory; > SotFactory * pSvAppletObjectFactory; > SotFactory * pSvInPlaceClientFactory; > SotFactory * pSvLinkNameFactory; > SotFactory * pSvLinkObjectFactory; > SotFactory * pSvAdviseFactory; > SotFactory * pSvAdviseSinkFactory; > SotFactory * pSvDataObjectFactory; > SotFactory * pSvDropTargetFactory; > SotFactory * pSvPersistFactory; > SotFactory * pSvPseudoObjectFactory; > SotFactory * pSvSimplePersistFactory; > SotFactory * pSvDDEMonikerFactory; > SotFactory * pSvStatusCallbackFactory; > SotFactory * pSvBindContextFactory; > SotFactory * pSvObjectContainerFactory; > SotFactory * pSvFactory_ImplFactory; > SotFactory * pDfltPlugInFactory; > SotFactory * pDfltAppletFactory; > SotFactory * pSoBindingFactory; > > SvContainerEnvironmentList *pContEnvList; > SvDataTypeList * pDataObjectEmptyFormatList; > SvAdviseSinkIndex * pASIndexList; > > SvDataTypeList * pEmbeddedStdFormatList; > ImpSO2Clipboard * pOwnClipboard; > SvDataObject * pClipboardObj; > SvDataObject * pDragDropObj; > ULONG nCFSVMetaFile; > ULONG nEmbeddedFormat; > ULONG nEmbeddedDescriptorFormat; > ULONG nEmbeddedLinkFormat; > ULONG nEmbeddedLinkDescriptorFormat; > ULONG nEmbeddedObjectFormat; > > BOOL bInEnableModelessCall; > BOOL bInExtHelpCall; > BOOL bExtDisableModeless; > > SvGlobalName aFileMoniker; > SvGlobalName aItemMoniker; > SvGlobalName aAntiMoniker; > SvGlobalName aPackagerMoniker; > SvGlobalName aCompositeMoniker; > SvGlobalName aURLMoniker; > > SvInPlaceClientList * pIPActiveClientList; > SvInPlaceObjectList * pIPActiveObjectList; > SvInPlaceEnvironment * pUIShowIPEnv; > ImplSvEditObjectProtocol * pIEOPDflt; > > ResMgr * pResMgr; > SvClassManager aInfoClassMgr; > SvGlobalName aSvInterface; > > SvVerbList * pPlugInVerbList; > ULONG nPlugInDocFormat; > > PlugInManager * pPlugInManager; > > > inet::INetWrapper * pINetWrapper; > > > > > SvVerbList * pAppletVerbList; > ULONG nAppletDocFormat; > > Timer * pDeathTimer; > SvObjectList * pExtConObjList; > void * pDead; > SvBindingData* pBindingData; > ConvertTo_Impl (*pConvTable)[4]; > USHORT nConvTableEntries; > > SoDll(); > ~SoDll(); > ResMgr * GetResMgr(); > SvIPCServerInfo * GetIPCServerInfo(); >}; > ># 16 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/so3/iface.hxx" 2 > > > >struct IUnknown; >class SvSoIPCClient; >class SvSoIPCService; > >class SoDll; ># 172 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/so3/iface.hxx" >class SvRegistry; >class SvObjectRegistryInfo >{ >public: > String aCompanyName; > SvGlobalName aClassName; > String aServerPath; > > String aAppName; > String aObjName; > USHORT nMajorVers; > USHORT nMinorVers; > > String aHumanAppName; > String aHumanShortTypeName; > > SvObjectRegistryInfo( const SvGlobalName &, SvRegistry & ); > SvObjectRegistryInfo(); > > void SetDefaults(); > void Fill( const SvGlobalName &, SvRegistry & ); > String GetLongName() const; > String GetLongAppName() const; >}; > > > > > >class SvObject : virtual public SotObject >{ >friend IUnknown; >friend SvSoIPCService; >friend SvSoIPCClient; >friend class SvFactory; > union > { > IUnknown * pObj; > SvSoIPCClient * pClient; > SvSoIPCService * pService; > }; > USHORT nExtCount; > > > > >protected: > > virtual ~SvObject(); > void DeInit( IUnknown * ); > void DeInit( SvSoIPCService * ); > void DeInit( SvSoIPCClient * ); > virtual void MakeUnknown(); >public: > SvObject(); > private: static SotFactory ** GetFactoryAdress() { return &(*(SoDll**)GetAppData(18))->pSvObjectFactory; } public: static void * CreateInstance( SotObject ** = __null ); static SotFactory * ClassFactory(); virtual const SotFactory * GetSvFactory() const; virtual void * Cast( const SotFactory * ); virtual IUnknown * GetInterface( const SvGlobalName & ); IUnknown * GetMemberInterface( const SvGlobalName & ); virtual void TestObjRef( BOOL bFree ); void TestMemberObjRef( BOOL bFree ); virtual void TestInvariant( BOOL bPrint ); void TestMemberInvariant( BOOL bPrint ); > void Init( SvSoIPCClient * pObj ); > void OwnerInit( SvSoIPCService * pObj ); > SvSoIPCService * GetIPCService() const; > SvSoIPCClient * GetIPCClient() const; > > IUnknown * DownAggInterface( const SvGlobalName & rName ); > IUnknown * AggInterface( const SvGlobalName & rName ); > > USHORT GetExtRefCount() const { return nExtCount; } > UINT32 AddExtRef(); > UINT32 ReleaseExt(); > UINT32 ReleaseRef(); > > virtual USHORT FuzzyLock( BOOL bLock, BOOL bIntern, BOOL bClose ); > void ClearExtCon(); >private: > > SvObject & operator = ( const SvObject & ); > SvObject( const SvObject & ); >}; > > > > > > > > >inline SvObjectRef::SvObjectRef( const SvObjectRef & rObj ) { pObj = rObj.pObj; if( pObj ) { pObj->AddNextRef(); } } inline SvObjectRef::SvObjectRef( SvObject * pObjP ) { pObj = pObjP; if( pObj ) { pObj->AddRef(); } } inline void SvObjectRef::Clear() { if( pObj ) { SvObject* const pRefObj = pObj; pObj = 0; pRefObj->ReleaseReference(); } } inline SvObjectRef::~SvObjectRef() { if( pObj ) { pObj->ReleaseReference(); } } inline SvObjectRef & SvObjectRef:: operator = ( const SvObjectRef & rObj ) { if( rObj.pObj ) rObj.pObj->AddNextRef(); SvObject* const pRefObj = pObj; pObj = rObj.pObj; if( pRefObj ) { pRefObj->ReleaseReference(); } return *this; } inline SvObjectRef & SvObjectRef::operator = ( SvObject * pObjP ) { return *this = SvObjectRef( pObjP ); } inline SvObjectRef::SvObjectRef( const SotObjectRef & r ) { pObj = (SvObject *)SvObject::ClassFactory()->CastAndAddRef( &r ); } inline SvObjectRef::SvObjectRef( SotObject * pObjP ) { pObj = (SvObject *)SvObject::ClassFactory()->CastAndAddRef( pObjP );} inline SvObjectRef::SvObjectRef( SotObject * pObjP, SvCastEnum ) { pObj = (SvObject *)SvObject::ClassFactory()->AggCastAndAddRef( pObjP );} > > >class SvObjectList : private List { public: List::Clear; List::Count; List::GetCurPos; SvObjectList( USHORT _nInitSize = 16, USHORT _nReSize = 16 ) : List( _nInitSize, _nReSize ) {} SvObjectList( USHORT _nBlockSize, USHORT _nInitSize, USHORT _nReSize ) : List( _nBlockSize, _nInitSize, _nReSize ) {} SvObjectList( const SvObjectList& rClassName ) : List( rClassName ) {} void Insert( SvObject* p, ULONG nIndex ) { List::Insert( (void*)p, nIndex ); } void Insert( SvObject* p ) { List::Insert( (void*)p ); } void Insert( SvObject* pNew, SvObject* pOld ) { List::Insert( (void*)pNew, (void*)pOld ); } SvObject* Remove() { return (SvObject*)List::Remove(); } SvObject* Remove( ULONG nIndex ) { return (SvObject*)List::Remove( nIndex ); } SvObject* Remove( SvObject* p ) { return (SvObject*)List::Remove( (void*)p ); } SvObject* Replace( SvObject* p ) { return (SvObject*)List::Replace( (void*)p ); } SvObject* Replace( SvObject* p, ULONG nIndex ) { return (SvObject*)List::Replace( (void*)p, nIndex ); } SvObject* Replace( SvObject* pNew, SvObject* pOld ) { return (SvObject*)List::Replace( (void*)pNew, (void*)pOld ); } SvObject* GetCurObject() const { return (SvObject*)List::GetCurObject(); } SvObject* GetObject( ULONG nIndex ) const { return (SvObject*)List::GetObject( nIndex ); } ULONG GetPos( const SvObject* p ) const { return List::GetPos( (const void*)p ); } ULONG GetPos( const SvObject* p, ULONG nStartIndex, BOOL bForward = 1 ) const { return List::GetPos( (const void*)p, nStartIndex, bForward ); } SvObject* Seek( ULONG nIndex ) { return (SvObject*)List::Seek( nIndex ); } SvObject* Seek( void* p ) { return (SvObject*)List::Seek( p ); } SvObject* First() { return (SvObject*)List::First(); } SvObject* Last() { return (SvObject*)List::Last(); } SvObject* Next() { return (SvObject*)List::Next(); } SvObject* Prev() { return (SvObject*)List::Prev(); } SvObjectList& operator =( const SvObjectList& rClassName ) { List::operator =( rClassName ); return *this; } BOOL operator ==( const SvObjectList& rList ) const { return List::operator ==( rList ); } BOOL operator !=( const SvObjectList& rList ) const { return List::operator !=( rList ); } };class SvObjectMemberList : public SvObjectList{public:inline SvObjectMemberList(){}inline SvObjectMemberList(USHORT nInitSize, USHORT nResize ) : SvObjectList( nInitSize, nResize ){}inline SvObjectMemberList( const SvObjectMemberList & rRef );inline ~SvObjectMemberList();inline SvObjectMemberList & operator = ( const SvObjectMemberList & rRef );inline void Clear();inline void Insert( SvObject* p ){ SvObjectList::Insert( p ); p->AddRef();}inline void Insert( SvObject* p, ULONG nIndex ){ SvObjectList::Insert( p, nIndex ); p->AddRef();}inline void Insert( SvObject* p, SvObject* pOld ){ SvObjectList::Insert( p, pOld ); p->AddRef();}inline void Append( SvObject* p ){ Insert( p, ((ULONG)0xFFFFFFFF) );}inline SvObject* Remove();inline SvObject* Remove( ULONG nIndex );inline SvObject* Remove( SvObject* p );inline SvObject* Replace( SvObject* p );inline SvObject* Replace( SvObject* p, ULONG nIndex );inline SvObject* Replace( SvObject* pNew, SvObject* pOld );inline void Append( const SvObjectMemberList & );}; >inline SvObjectMemberList::SvObjectMemberList( const SvObjectMemberList & rRef ) : SvObjectList( rRef ) { ULONG nOldCount = Count(); SvObject* pEntry = First(); while( pEntry ) { pEntry->AddRef(); pEntry = Next(); } Seek( nOldCount ); }inline SvObjectMemberList::~SvObjectMemberList() { Clear(); } inline SvObjectMemberList & SvObjectMemberList::operator = ( const SvObjectMemberList & rRef ) { SvObjectMemberList & rList = (SvObjectMemberList &)rRef; ULONG nOldCount = rList.Count(); SvObject* pEntry = rList.First(); while( pEntry ) { pEntry->AddRef(); pEntry = rList.Next(); } rList.Seek( nOldCount ); Clear(); SvObjectList::operator = ( rRef ); return *this; }inline void SvObjectMemberList::Clear() { SvObject* pEntry = Last(); while( __null != pEntry ) pEntry = Remove();}inline SvObject* SvObjectMemberList::Remove() { SvObject* p = SvObjectList::Remove(); if( p ) p->ReleaseReference(); return p; }inline SvObject* SvObjectMemberList::Remove( ULONG nIndex ) { SvObject* p = SvObjectList::Remove( nIndex ); if( p ) p->ReleaseReference(); return p; }inline SvObject* SvObjectMemberList::Remove( SvObject* p ) { p = SvObjectList::Remove( p ); if( p ) p->ReleaseReference(); return p; }inline SvObject* SvObjectMemberList::Replace( SvObject* p ) { p->AddRef(); p = SvObjectList::Replace( p ); if( p ) p->ReleaseReference(); return p; }inline SvObject* SvObjectMemberList::Replace( SvObject* p, ULONG nIndex ) { p->AddRef(); p = SvObjectList::Replace( p, nIndex ); if( p ) p->ReleaseReference(); return p; }inline SvObject* SvObjectMemberList::Replace( SvObject* pNew, SvObject* pOld ) { pNew->AddRef(); SvObjectList::Replace( pNew, pOld ); if( pOld ) pOld->ReleaseReference(); return pOld; }inline void SvObjectMemberList::Append( const SvObjectMemberList & rList ){ for( ULONG i = 0; i < rList.Count(); i++ ) Append( rList.GetObject( i ) );} > > > >struct IClassFactory; >class SvFactory_Impl : public SvObject > >{ >friend ImpFactory; >friend SvFactory; > IClassFactory * pObjI; > SvFactory * pFact; >public: > SvFactory_Impl(); > SvFactory_Impl( SvFactory * ); > ~SvFactory_Impl(); > > private: static SotFactory ** GetFactoryAdress() { return &(*(SoDll**)GetAppData(18))->pSvFactory_ImplFactory; } public: static void * CreateInstance( SotObject ** = __null ); static SotFactory * ClassFactory(); virtual const SotFactory * GetSvFactory() const; virtual void * Cast( const SotFactory * ); virtual IUnknown * GetInterface( const SvGlobalName & ); IUnknown * GetMemberInterface( const SvGlobalName & ); virtual void TestObjRef( BOOL bFree ); void TestMemberObjRef( BOOL bFree ); virtual void TestInvariant( BOOL bPrint ); void TestMemberInvariant( BOOL bPrint ); > > IClassFactory * GetClassFactory() const; >}; ># 295 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/so3/iface.hxx" >class SvBorder >{ > long nTop, nRight, nBottom, nLeft; >public: > SvBorder() > { nTop = nRight = nBottom = nLeft = 0; } > SvBorder( const Size & rSz ) > { nTop = nBottom = rSz.Height(); nRight = nLeft = rSz.Width(); } > SvBorder( const Rectangle & rOuter, const Rectangle & rInner ); > SvBorder( long nLeftP, long nTopP, long nRightP, long nBottomP ) > { nLeft = nLeftP; nTop = nTopP; nRight = nRightP; nBottom = nBottomP; } > BOOL operator == ( const SvBorder & rObj ) const > { > return nTop == rObj.nTop && nRight == rObj.nRight && > nBottom == rObj.nBottom && nLeft == rObj.nLeft; > } > BOOL operator != ( const SvBorder & rObj ) const > { return !(*this == rObj); } > SvBorder & operator += ( const SvBorder & rBorder ) > { > Left() += rBorder.Left(); > Top() += rBorder.Top(); > Right() += rBorder.Right(); > Bottom() += rBorder.Bottom(); > return *this; > } > SvBorder & operator -= ( const SvBorder & rBorder ) > { > Left() -= rBorder.Left(); > Top() -= rBorder.Top(); > Right() -= rBorder.Right(); > Bottom() -= rBorder.Bottom(); > return *this; > } > BOOL IsInside( const SvBorder & rInside ) > { > return nTop >= rInside.nTop && nRight >= rInside.nRight && > nBottom >= rInside.nBottom && nLeft >= rInside.nLeft; > } > long & Top() { return nTop; } > long & Right() { return nRight; } > long & Bottom() { return nBottom; } > long & Left() { return nLeft; } > long Top() const { return nTop; } > long Right() const { return nRight; } > long Bottom() const { return nBottom; } > long Left() const { return nLeft; } >}; >Rectangle & operator += ( Rectangle & rRect, const SvBorder & rBorder ); >Rectangle & operator -= ( Rectangle & rRect, const SvBorder & rBorder ); > > > > > > > > >class SvObjectDyingHint: public SfxHint { SvObject* pObj; BOOL bIsOwner; public: static void* CreateType(); static TypeId StaticType(); static BOOL IsOf( TypeId aSameOrSuperType ); virtual TypeId Type() const; virtual BOOL IsA( TypeId aSameOrSuperType ) const; SvObjectDyingHint( SvObject* Object, BOOL bOwnedByHint = 0 ); ~SvObjectDyingHint(); SvObject* GetObject() const { return pObj; } BOOL IsOwner() const { return bIsOwner; } }; > ># 7 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/so3/svstor.hxx" 2 > > > ># 23 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/sot/storage.hxx" 1 >typedef short StorageMode; > >class SotStorage; >class StorageStream; >class SotStorageStream : virtual public SotObject, public SvStream >{ >friend SotStorage; >friend class ImpStream; > StorageStream * pOwnStm; >protected: > virtual ULONG GetData( void* pData, ULONG nSize ); > virtual ULONG PutData( const void* pData, ULONG nSize ); > virtual ULONG SeekPos( ULONG nPos ); > virtual void FlushData(); > ~SotStorageStream(); >public: > SotStorageStream( const String &, > StreamMode = ((0x0001 | 0x0002) | 0x0800), > StorageMode = 0 ); > SotStorageStream( StorageStream *pStm ); > SotStorageStream(); > private: static SotFactory ** GetFactoryAdress() { return &SOTDATA()->pSotStorageStreamFactory; } public: static void * CreateInstance( SotObject ** = __null ); static SotFactory * ClassFactory(); virtual const SotFactory * GetSvFactory() const; virtual void * Cast( const SotFactory * ); > virtual void TestObjRef( BOOL bFree ); void TestMemberObjRef( BOOL bFree ); virtual void TestInvariant( BOOL bPrint ); void TestMemberInvariant( BOOL bPrint ); > > virtual void SyncSvStream(); > void SyncSysStream() { SvStream::SyncSysStream(); } > > virtual void ResetError(); > > virtual void SetSize( ULONG nNewSize ); > UINT32 GetSize() const; > BOOL CopyTo( SotStorageStream * pDestStm ); > virtual BOOL Commit(); > virtual BOOL Revert(); >}; > > > > >inline SotStorageStreamRef::SotStorageStreamRef( const SotStorageStreamRef & rObj ) { pObj = rObj.pObj; if( pObj ) { pObj->AddNextRef(); } } inline SotStorageStreamRef::SotStorageStreamRef( SotStorageStream * pObjP ) { pObj = pObjP; if( pObj ) { pObj->AddRef(); } } inline void SotStorageStreamRef::Clear() { if( pObj ) { SotStorageStream* const pRefObj = pObj; pObj = 0; pRefObj->ReleaseReference(); } } inline SotStorageStreamRef::~SotStorageStreamRef() { if( pObj ) { pObj->ReleaseReference(); } } inline SotStorageStreamRef & SotStorageStreamRef:: operator = ( const SotStorageStreamRef & rObj ) { if( rObj.pObj ) rObj.pObj->AddNextRef(); SotStorageStream* const pRefObj = pObj; pObj = rObj.pObj; if( pRefObj ) { pRefObj->ReleaseReference(); } return *this; } inline SotStorageStreamRef & SotStorageStreamRef::operator = ( SotStorageStream * pObjP ) { return *this = SotStorageStreamRef( pObjP ); } inline SotStorageStreamRef::SotStorageStreamRef( const SotObjectRef & r ) { pObj = (SotStorageStream *)SotStorageStream::ClassFactory()->CastAndAddRef( &r ); } inline SotStorageStreamRef::SotStorageStreamRef( SotObject * pObjP ) { pObj = (SotStorageStream *)SotStorageStream::ClassFactory()->CastAndAddRef( pObjP );} inline SotStorageStreamRef::SotStorageStreamRef( SotObject * pObjP, SvCastEnum ) { pObj = (SotStorageStream *)SotStorageStream::ClassFactory()->AggCastAndAddRef( pObjP );} > >class SvStorageInfoList; >class Storage; >class SotStorage : virtual public SotObject >{ >friend class SotStorageStream; >friend class SvStorage; > Storage * pTmpStg; > Storage * pOwnStg; > SvStream * pStorStm; > ULONG nError; > String aName; > BOOL bIsRoot:1, > bDelStm:1; > ByteString aKey; > long nVersion; >protected: > ~SotStorage(); >public: > SotStorage( const String &, > StreamMode = ((0x0001 | 0x0002) | 0x0800), > StorageMode = 0 ); > SotStorage( Storage * ); > SotStorage( SvStream & rStm ); > SotStorage( SvStream * pStm, BOOL bDelete ); > SotStorage(); > private: static SotFactory ** GetFactoryAdress() { return &SOTDATA()->pSotStorageFactory; } public: static void * CreateInstance( SotObject ** = __null ); static SotFactory * ClassFactory(); virtual const SotFactory * GetSvFactory() const; virtual void * Cast( const SotFactory * ); > virtual void TestObjRef( BOOL bFree ); void TestMemberObjRef( BOOL bFree ); virtual void TestInvariant( BOOL bPrint ); void TestMemberInvariant( BOOL bPrint ); > > SvMemoryStream * CreateMemoryStream(); > const SvStream * GetSvStream(); > > static BOOL IsStorageFile( const String & rFileName ); > virtual const String & GetName() const; > > virtual BOOL Validate(); > > void SetKey( const ByteString& rKey ) > { aKey = rKey; } > const ByteString & GetKey() const { return aKey; } > > void SetVersion( long nVers ) > { > nVersion = nVers; > } > long GetVersion() const > { > return nVersion; > } > > ULONG GetErrorCode() const { return nError; } > ULONG GetError() const { return ERRCODE_TOERROR(nError); } > void SetError( ULONG nErrorCode ) > { > if( nError == (0UL) ) > nError = nErrorCode; > } > virtual void ResetError(); > > BOOL IsRoot() const { return bIsRoot; } > void SignAsRoot( BOOL b = 1 ) { bIsRoot = b; } > void SetDeleteStream( BOOL bDelete ) { bDelStm = bDelete; } > > virtual void SetClass( const SvGlobalName & rClass, > ULONG bOriginalClipFormat, > const String & rUserTypeName ); > virtual void SetConvertClass( const SvGlobalName & rConvertClass, > ULONG bOriginalClipFormat, > const String & rUserTypeName ); > virtual SvGlobalName GetClassName(); > virtual ULONG GetFormat(); > virtual String GetUserName(); > virtual BOOL ShouldConvert(); > void SetName( const String& rName ); > > virtual void FillInfoList( SvStorageInfoList * ) const; > virtual BOOL CopyTo( SotStorage * pDestStg ); > virtual BOOL Commit(); > virtual BOOL Revert(); > > SotStorageStream * OpenSotStream( const String & rEleName, > StreamMode = ((0x0001 | 0x0002) | 0x0800), > StorageMode = 0 ); > SotStorage * OpenSotStorage( const String & rEleName, > StreamMode = ((0x0001 | 0x0002) | 0x0800), > StorageMode = 0x04 ); > > virtual BOOL IsStream( const String & rEleName ) const; > virtual BOOL IsStorage( const String & rEleName ) const; > virtual BOOL IsContained( const String & rEleName ) const; > > virtual BOOL Remove( const String & rEleName ); > > virtual BOOL Rename( const String & rEleName, > const String & rNewName ); > virtual BOOL CopyTo( const String & rEleName, SotStorage * pDest, > const String & rNewName ); > virtual BOOL MoveTo( const String & rEleName, SotStorage * pDest, > const String & rNewName ); > > SvStream* GetTargetSvStream() const; >}; > > > > > >inline SotStorageRef::SotStorageRef( const SotStorageRef & rObj ) { pObj = rObj.pObj; if( pObj ) { pObj->AddNextRef(); } } inline SotStorageRef::SotStorageRef( SotStorage * pObjP ) { pObj = pObjP; if( pObj ) { pObj->AddRef(); } } inline void SotStorageRef::Clear() { if( pObj ) { SotStorage* const pRefObj = pObj; pObj = 0; pRefObj->ReleaseReference(); } } inline SotStorageRef::~SotStorageRef() { if( pObj ) { pObj->ReleaseReference(); } } inline SotStorageRef & SotStorageRef:: operator = ( const SotStorageRef & rObj ) { if( rObj.pObj ) rObj.pObj->AddNextRef(); SotStorage* const pRefObj = pObj; pObj = rObj.pObj; if( pRefObj ) { pRefObj->ReleaseReference(); } return *this; } inline SotStorageRef & SotStorageRef::operator = ( SotStorage * pObjP ) { return *this = SotStorageRef( pObjP ); } inline SotStorageRef::SotStorageRef( const SotObjectRef & r ) { pObj = (SotStorage *)SotStorage::ClassFactory()->CastAndAddRef( &r ); } inline SotStorageRef::SotStorageRef( SotObject * pObjP ) { pObj = (SotStorage *)SotStorage::ClassFactory()->CastAndAddRef( pObjP );} inline SotStorageRef::SotStorageRef( SotObject * pObjP, SvCastEnum ) { pObj = (SotStorage *)SotStorage::ClassFactory()->AggCastAndAddRef( pObjP );} > ># 10 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/so3/svstor.hxx" 2 > > > > >class SvStorage; >class StorageStream; >class SvStorageStream : virtual public SvObject, public SotStorageStream >{ >friend SvStorage; >friend class ImpStream; > void * pObjI; > void * pRelease; > virtual ULONG GetData( void* pData, ULONG nSize ); > virtual ULONG PutData( const void* pData, ULONG nSize ); > virtual ULONG SeekPos( ULONG nPos ); > virtual void FlushData(); >protected: > ~SvStorageStream(); >public: > static void Ole2SvStreamMode( ULONG nOleMode, > StreamMode *, StorageMode * ); > static ULONG Sv2OleStreamMode( StreamMode, StorageMode ); > SvStorageStream( const String &, > StreamMode = ((0x0001 | 0x0002) | 0x0800), > StorageMode = 0 ); > SvStorageStream( StorageStream *pStm ); > SvStorageStream(); > private: static SotFactory ** GetFactoryAdress() { return &(*(SoDll**)GetAppData(18))->pSvStorageStreamFactory; } public: static void * CreateInstance( SotObject ** = __null ); static SotFactory * ClassFactory(); virtual const SotFactory * GetSvFactory() const; virtual void * Cast( const SotFactory * ); virtual IUnknown * GetInterface( const SvGlobalName & ); IUnknown * GetMemberInterface( const SvGlobalName & ); virtual void TestObjRef( BOOL bFree ); void TestMemberObjRef( BOOL bFree ); virtual void TestInvariant( BOOL bPrint ); void TestMemberInvariant( BOOL bPrint ); > > virtual USHORT IsA() const; > virtual void SyncSvStream(); > > virtual void SetSize( ULONG nNewSize ); > virtual BOOL Commit(); > virtual BOOL Revert(); >}; > > >class SvStorageStream; class SvStorageStreamRef { protected: SvStorageStream * pObj; public: inline SvStorageStreamRef() { pObj = 0; } inline SvStorageStreamRef( const SvStorageStreamRef & rObj ); inline SvStorageStreamRef( SvStorageStream * pObjP ); inline void Clear(); inline ~SvStorageStreamRef(); inline SvStorageStreamRef & operator = ( const SvStorageStreamRef & rObj ); inline SvStorageStreamRef & operator = ( SvStorageStream * pObj ); inline BOOL Is() const { return pObj != __null; } inline SvStorageStream * operator & () const { return pObj; } inline SvStorageStream * operator -> () const { return pObj; } inline SvStorageStream & operator * () const { return *pObj; } inline operator SvStorageStream * () const { return pObj; } inline SvStorageStreamRef( const SotObjectRef & ); inline SvStorageStreamRef( SotObject * pObjP ); inline SvStorageStreamRef( SotObject * pObjP, SvCastEnum ); }; > >inline SvStorageStreamRef::SvStorageStreamRef( const SvStorageStreamRef & rObj ) { pObj = rObj.pObj; if( pObj ) { pObj->AddNextRef(); } } inline SvStorageStreamRef::SvStorageStreamRef( SvStorageStream * pObjP ) { pObj = pObjP; if( pObj ) { pObj->AddRef(); } } inline void SvStorageStreamRef::Clear() { if( pObj ) { SvStorageStream* const pRefObj = pObj; pObj = 0; pRefObj->ReleaseReference(); } } inline SvStorageStreamRef::~SvStorageStreamRef() { if( pObj ) { pObj->ReleaseReference(); } } inline SvStorageStreamRef & SvStorageStreamRef:: operator = ( const SvStorageStreamRef & rObj ) { if( rObj.pObj ) rObj.pObj->AddNextRef(); SvStorageStream* const pRefObj = pObj; pObj = rObj.pObj; if( pRefObj ) { pRefObj->ReleaseReference(); } return *this; } inline SvStorageStreamRef & SvStorageStreamRef::operator = ( SvStorageStream * pObjP ) { return *this = SvStorageStreamRef( pObjP ); } inline SvStorageStreamRef::SvStorageStreamRef( const SotObjectRef & r ) { pObj = (SvStorageStream *)SvStorageStream::ClassFactory()->CastAndAddRef( &r ); } inline SvStorageStreamRef::SvStorageStreamRef( SotObject * pObjP ) { pObj = (SvStorageStream *)SvStorageStream::ClassFactory()->CastAndAddRef( pObjP );} inline SvStorageStreamRef::SvStorageStreamRef( SotObject * pObjP, SvCastEnum ) { pObj = (SvStorageStream *)SvStorageStream::ClassFactory()->AggCastAndAddRef( pObjP );} > >class ImpPersistFile; >class SvStorageInfoList; >class Storage; >class SvStorage : virtual public SvObject, public SotStorage >{ >friend SvStorageStream; >friend ImpPersistFile; > void * pRelease; > void * pObjI; >protected: > ~SvStorage(); >public: > SvStorage( const String &, > StreamMode = ((0x0001 | 0x0002) | 0x0800), > StorageMode = 0 ); > SvStorage( Storage * ); > SvStorage( SvStream & rStm ); > SvStorage( SvStream * pStm, BOOL bDelete ); > SvStorage(); > private: static SotFactory ** GetFactoryAdress() { return &(*(SoDll**)GetAppData(18))->pSvStorageFactory; } public: static void * CreateInstance( SotObject ** = __null ); static SotFactory * ClassFactory(); virtual const SotFactory * GetSvFactory() const; virtual void * Cast( const SotFactory * ); virtual IUnknown * GetInterface( const SvGlobalName & ); IUnknown * GetMemberInterface( const SvGlobalName & ); virtual void TestObjRef( BOOL bFree ); void TestMemberObjRef( BOOL bFree ); virtual void TestInvariant( BOOL bPrint ); void TestMemberInvariant( BOOL bPrint ); > > static BOOL IsStorageFile( const String & rFileName ); > const String & GetName() const; > > void SetClass( const SvGlobalName & rClass, > ULONG bOriginalClipFormat, > const String & rUserTypeName ); > void SetConvertClass( const SvGlobalName & rConvertClass, > ULONG bOriginalClipFormat, > const String & rUserTypeName ); > SvGlobalName GetClassName(); > ULONG GetFormat(); > String GetUserName(); > BOOL ShouldConvert(); > > void FillInfoList( SvStorageInfoList * ) const; > BOOL CopyTo( SotStorage * pDestStg ); > BOOL Commit(); > BOOL Revert(); > > SotStorageStream * OpenSotStream( const String & rEleName, > StreamMode = ((0x0001 | 0x0002) | 0x0800), > StorageMode = 0 ); > SotStorage * OpenSotStorage( const String & rEleName, > StreamMode = ((0x0001 | 0x0002) | 0x0800), > StorageMode = 0x04 ); > SvStorageStream * OpenStream( const String & rEleName, > StreamMode a = ((0x0001 | 0x0002) | 0x0800), > StorageMode b = 0 ) > { return (SvStorageStream*)OpenSotStream( rEleName, a, b ); } > SvStorage * OpenStorage( const String & rEleName, > StreamMode a = ((0x0001 | 0x0002) | 0x0800), > StorageMode b = 0x04 ) > { return (SvStorage*)OpenSotStorage( rEleName, a, b ); } > > BOOL IsStream( const String & rEleName ) const; > BOOL IsStorage( const String & rEleName ) const; > BOOL IsContained( const String & rEleName ) const; > > BOOL Remove( const String & rEleName ); > > BOOL Rename( const String & rEleName, > const String & rNewName ); > BOOL CopyTo( const String & rEleName, SotStorage * pDest, > const String & rNewName ); > BOOL MoveTo( const String & rEleName, SotStorage * pDest, > const String & rNewName ); >}; > > > >class SvStorage; class SvStorageRef { protected: SvStorage * pObj; public: inline SvStorageRef() { pObj = 0; } inline SvStorageRef( const SvStorageRef & rObj ); inline SvStorageRef( SvStorage * pObjP ); inline void Clear(); inline ~SvStorageRef(); inline SvStorageRef & operator = ( const SvStorageRef & rObj ); inline SvStorageRef & operator = ( SvStorage * pObj ); inline BOOL Is() const { return pObj != __null; } inline SvStorage * operator & () const { return pObj; } inline SvStorage * operator -> () const { return pObj; } inline SvStorage & operator * () const { return *pObj; } inline operator SvStorage * () const { return pObj; } inline SvStorageRef( const SotObjectRef & ); inline SvStorageRef( SotObject * pObjP ); inline SvStorageRef( SotObject * pObjP, SvCastEnum ); }; > >inline SvStorageRef::SvStorageRef( const SvStorageRef & rObj ) { pObj = rObj.pObj; if( pObj ) { pObj->AddNextRef(); } } inline SvStorageRef::SvStorageRef( SvStorage * pObjP ) { pObj = pObjP; if( pObj ) { pObj->AddRef(); } } inline void SvStorageRef::Clear() { if( pObj ) { SvStorage* const pRefObj = pObj; pObj = 0; pRefObj->ReleaseReference(); } } inline SvStorageRef::~SvStorageRef() { if( pObj ) { pObj->ReleaseReference(); } } inline SvStorageRef & SvStorageRef:: operator = ( const SvStorageRef & rObj ) { if( rObj.pObj ) rObj.pObj->AddNextRef(); SvStorage* const pRefObj = pObj; pObj = rObj.pObj; if( pRefObj ) { pRefObj->ReleaseReference(); } return *this; } inline SvStorageRef & SvStorageRef::operator = ( SvStorage * pObjP ) { return *this = SvStorageRef( pObjP ); } inline SvStorageRef::SvStorageRef( const SotObjectRef & r ) { pObj = (SvStorage *)SvStorage::ClassFactory()->CastAndAddRef( &r ); } inline SvStorageRef::SvStorageRef( SotObject * pObjP ) { pObj = (SvStorage *)SvStorage::ClassFactory()->CastAndAddRef( pObjP );} inline SvStorageRef::SvStorageRef( SotObject * pObjP, SvCastEnum ) { pObj = (SvStorage *)SvStorage::ClassFactory()->AggCastAndAddRef( pObjP );} > ># 99 "/usr/src/oo/oo_605_src/sfx2/source/doc/docfile.cxx" 2 > > > ># 10 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/vcl/fixed.hxx" 1 ># 13 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/vcl/bitmap.hxx" 1 ># 39 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/vcl/bitmap.hxx" >enum BmpConversion >{ > BMP_CONVERSION_NONE = 0, > BMP_CONVERSION_1BIT_THRESHOLD = 1, > BMP_CONVERSION_1BIT_MATRIX = 2, > BMP_CONVERSION_4BIT_GREYS = 3, > BMP_CONVERSION_4BIT_COLORS = 4, > BMP_CONVERSION_8BIT_GREYS = 5, > BMP_CONVERSION_8BIT_COLORS = 6, > BMP_CONVERSION_24BIT = 7, > BMP_CONVERSION_4BIT_TRANS = 8, > BMP_CONVERSION_8BIT_TRANS = 9, > BMP_CONVERSION_GHOSTED = 10 >}; > >enum BmpCombine >{ > BMP_COMBINE_COPY = 0, > BMP_COMBINE_INVERT = 1, > BMP_COMBINE_AND = 2, > BMP_COMBINE_NAND = 3, > BMP_COMBINE_OR = 4, > BMP_COMBINE_NOR = 5, > BMP_COMBINE_XOR = 6, > BMP_COMBINE_NXOR = 7 >}; > >enum BmpReduce >{ > BMP_REDUCE_SIMPLE = 0, > BMP_REDUCE_POPULAR = 1, > BMP_REDUCE_MEDIAN = 2 >}; > >enum BmpEmboss >{ > BMP_EMBOSS_TOPLEFT = 0, > BMP_EMBOSS_TOP = 1, > BMP_EMBOSS_TOPRIGHT = 2, > BMP_EMBOSS_LEFT = 3, > BMP_EMBOSS_MIDDLE = 4, > BMP_EMBOSS_RIGHT = 5, > BMP_EMBOSS_BOTTOMLEFT = 6, > BMP_EMBOSS_BOTTOM = 7, > BMP_EMBOSS_BOTTOMRIGHT = 8 >}; > >enum BmpFilter >{ > BMP_FILTER_SMOOTH = 0, > BMP_FILTER_SHARPEN = 1, > BMP_FILTER_REMOVENOISE = 2, > BMP_FILTER_SOBEL_GREY = 3, > BMP_FILTER_EMBOSS_GREY = 4, > BMP_FILTER_SOLARIZE = 5, > BMP_FILTER_SEPIA = 6, > BMP_FILTER_MOSAIC = 7, > > BMP_FILTER_UNKNOWN = 65535 >}; > >class BmpFilterParam >{ > friend class Bitmap; > friend class BitmapEx; > friend class Animation; > >private: > BmpFilter meFilter; > ULONG mnProgressStart; > ULONG mnProgressEnd; > > union > { > USHORT mnSepiaPercent; > BYTE mcSolarGreyThreshold; > > struct > { > ULONG mnTileWidth; > ULONG mnTileHeight; > } > maMosaicTileSize; > > struct > { > USHORT mnAzimuthAngle100; > USHORT mnElevationAngle100; > } > maEmbossAngles; > }; > >public: > > BmpFilterParam( ULONG nProgressStart = 0, ULONG nProgressEnd = 0 ) : > meFilter( BMP_FILTER_UNKNOWN ), mnProgressStart( nProgressStart ), mnProgressEnd( nProgressEnd ) {} > > BmpFilterParam( BYTE cSolarGreyThreshold, ULONG nProgressStart = 0, ULONG nProgressEnd = 0 ) : > meFilter( BMP_FILTER_SOLARIZE ), mnProgressStart( nProgressStart ), mnProgressEnd( nProgressEnd ), > mcSolarGreyThreshold( cSolarGreyThreshold ) {} > > BmpFilterParam( USHORT nSepiaPercent, ULONG nProgressStart = 0, ULONG nProgressEnd = 0 ) : > meFilter( BMP_FILTER_SEPIA ), mnProgressStart( nProgressStart ), mnProgressEnd( nProgressEnd ), > mnSepiaPercent( nSepiaPercent ) {} > > BmpFilterParam( const Size& rMosaicTileSize, ULONG nProgressStart = 0, ULONG nProgressEnd = 0 ) : > meFilter( BMP_FILTER_MOSAIC ), mnProgressStart( nProgressStart ), mnProgressEnd( nProgressEnd ) > { > maMosaicTileSize.mnTileWidth = rMosaicTileSize.Width(); > maMosaicTileSize.mnTileHeight= rMosaicTileSize.Height(); > } > BmpFilterParam( USHORT nEmbossAzimuthAngle100, USHORT nEmbossElevationAngle100, > ULONG nProgressStart = 0, ULONG nProgressEnd = 0 ) : > meFilter( BMP_FILTER_EMBOSS_GREY ), mnProgressStart( nProgressStart ), mnProgressEnd( nProgressEnd ) > { > maEmbossAngles.mnAzimuthAngle100 = nEmbossAzimuthAngle100; > maEmbossAngles.mnElevationAngle100 = nEmbossElevationAngle100; > } >}; > >class BitmapReadAccess; >class BitmapWriteAccess; >class BitmapPalette; >class ImpBitmap; >class Color; >class SvStream; >struct DIBInfoHeader; >class ResId; >class RMBitmap; >class GDIMetaFile; >class AlphaMask; > >class Bitmap >{ >private: > > ImpBitmap* mpImpBmp; > RMBitmap* mpRMBitmap; > MapMode maPrefMapMode; > Size maPrefSize; > ># 253 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/vcl/bitmap.hxx" >public: > > Bitmap(); > Bitmap( const Bitmap& rBitmap ); > Bitmap( const Size& rSizePixel, USHORT nBitCount, const BitmapPalette* pPal = __null ); > Bitmap( const ResId& rResId ); > ~Bitmap(); > > Bitmap& operator=( const Bitmap& rBitmap ); > inline BOOL operator!() const; > inline BOOL operator==( const Bitmap& rBitmap ) const; > inline BOOL operator!=( const Bitmap& rBitmap ) const; > > inline BOOL IsSameInstance( const Bitmap& rBmp ) const; > BOOL IsEqual( const Bitmap& rBmp ) const; > > inline BOOL IsEmpty() const; > void SetEmpty(); > > inline const MapMode& GetPrefMapMode() const; > inline void SetPrefMapMode( const MapMode& rMapMode ); > > inline const Size& GetPrefSize() const; > inline void SetPrefSize( const Size& rSize ); > > Size GetSizePixel() const; > void SetSizePixel( const Size& rNewSize ); > > USHORT GetBitCount() const; > inline ULONG GetColorCount() const; > inline ULONG GetSizeBytes() const; > BOOL HasGreyPalette() const; > > ULONG GetChecksum() const; > > Bitmap CreateDisplayBitmap( OutputDevice* pDisplay ); > > static const BitmapPalette& GetGreyPalette( USHORT nEntries ); > >public: > > BOOL Convert( BmpConversion eConversion ); > BOOL ReduceColors( USHORT nNewColorCount, > BmpReduce eReduce = BMP_REDUCE_SIMPLE ); > BOOL Dither( ULONG nDitherFlags = 0x00000001UL, > const BitmapPalette* pDitherPal = __null ); > BOOL Crop( const Rectangle& rRectPixel ); > BOOL Expand( ULONG nDX, ULONG nDY, > const Color* pInitColor = __null ); > BOOL CopyPixel( const Rectangle& rRectDst, > const Rectangle& rRectSrc, > const Bitmap* pBmpSrc = __null ); > BOOL CombineSimple( const Bitmap& rMask, > BmpCombine eCombine ); > BOOL Erase( const Color& rFillColor ); > BOOL Invert(); > BOOL Mirror( ULONG nMirrorFlags ); > BOOL Scale( const Size& rNewSize, > ULONG nScaleFlag = 0x00000001UL ); > BOOL Scale( const double& rScaleX, const double& rScaleY, > ULONG nScaleFlag = 0x00000001UL ); > BOOL Rotate( long nAngle10, const Color& rFillColor ); > Bitmap CreateMask( const Color& rTransColor, ULONG nTol = 0UL ) const; > Region CreateRegion( const Color& rColor, const Rectangle& rRect ) const; > BOOL Replace( const Bitmap& rMask, const Color& rReplaceColor ); > BOOL Replace( const AlphaMask& rAlpha, const Color& rMergeColor ); > BOOL Replace( const Color& rSearchColor, const Color& rReplaceColor, ULONG nTol = 0 ); > BOOL Replace( const Color* pSearchColors, const Color* rReplaceColors, > ULONG nColorCount, ULONG* pTols = __null ); > BOOL Vectorize( PolyPolygon& rPolyPoly, > ULONG nFlags = 0x00000002UL, > const Link* pProgress = __null ); > BOOL Vectorize( GDIMetaFile& rMtf, BYTE cReduce = 0, > ULONG nFlags = 0x00000001UL, > const Link* pProgress = __null ); > BOOL Adjust( short nLuminancePercent = 0, > short nContrastPercent = 0, > short nChannelRPercent = 0, > short nChannelGPercent = 0, > short nChannelBPercent = 0, > double fGamma = 1.0, > BOOL bInvert = 0 ); > BOOL Filter( BmpFilter eFilter, > const BmpFilterParam* pFilterParam = __null, > const Link* pProgress = __null ); > >public: > > BitmapReadAccess* AcquireReadAccess(); > BitmapWriteAccess* AcquireWriteAccess(); > void ReleaseAccess( BitmapReadAccess* pAccess ); > >public: > > BOOL Read( SvStream& rIStm, BOOL bFileHeader = 1 ); > BOOL Write( SvStream& rOStm, BOOL bCompressed = 1, BOOL bFileHeader = 1 ) const; > > friend SvStream& operator>>( SvStream& rIStm, Bitmap& rBitmap ); > friend SvStream& operator<<( SvStream& rOStm, const Bitmap& rBitmap ); >}; > >inline BOOL Bitmap::operator!() const >{ > return( mpImpBmp == __null ); >} > >inline BOOL Bitmap::operator==( const Bitmap& rBitmap ) const >{ > return( rBitmap.mpImpBmp == mpImpBmp ); >} > >inline BOOL Bitmap::operator!=( const Bitmap& rBitmap ) const >{ > return( rBitmap.mpImpBmp != mpImpBmp ); >} > >inline BOOL Bitmap::IsSameInstance( const Bitmap& rBitmap ) const >{ > return( rBitmap.mpImpBmp == mpImpBmp ); >} > >inline BOOL Bitmap::IsEmpty() const >{ > return( mpImpBmp == __null ); >} > >inline const MapMode& Bitmap::GetPrefMapMode() const >{ > return maPrefMapMode; >} > >inline void Bitmap::SetPrefMapMode( const MapMode& rMapMode ) >{ > maPrefMapMode = rMapMode; >} > >inline const Size& Bitmap::GetPrefSize() const >{ > return maPrefSize; >} > >inline void Bitmap::SetPrefSize( const Size& rSize ) >{ > maPrefSize = rSize; >} > >inline ULONG Bitmap::GetColorCount() const >{ > return( 1UL << (ULONG) GetBitCount() ); >} > >inline ULONG Bitmap::GetSizeBytes() const >{ > const Size aSizePix( GetSizePixel() ); > return( ( (ULONG) aSizePix.Width() * aSizePix.Height() * GetBitCount() ) >> 3UL ); >} > ># 10 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/vcl/fixed.hxx" 2 ># 18 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/vcl/fixed.hxx" >class FixedText : public Control >{ ># 33 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/vcl/fixed.hxx" >public: > FixedText( Window* pParent, WinBits nStyle = 0 ); > FixedText( Window* pParent, const ResId& rResId ); > > virtual void Paint( const Rectangle& rRect ); > virtual void Draw( OutputDevice* pDev, const Point& rPos, const Size& rSize, ULONG nFlags ); > virtual void Resize(); > virtual void StateChanged( StateChangedType nType ); > virtual void DataChanged( const DataChangedEvent& rDCEvt ); > > Size CalcMinimumSize( long nMaxWidth = 0 ) const; >}; > >class FixedLine : public Control >{ ># 57 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/vcl/fixed.hxx" >public: > FixedLine( Window* pParent, WinBits nStyle = ((WinBits)0x00001000) ); > FixedLine( Window* pParent, const ResId& rResId ); > > virtual void Paint( const Rectangle& rRect ); > virtual void Draw( OutputDevice* pDev, const Point& rPos, const Size& rSize, ULONG nFlags ); > virtual void Resize(); > virtual void StateChanged( StateChangedType nType ); > virtual void DataChanged( const DataChangedEvent& rDCEvt ); >}; > >class FixedBitmap : public Control >{ >private: > Bitmap maBitmap; > ># 87 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/vcl/fixed.hxx" >public: > FixedBitmap( Window* pParent, WinBits nStyle = 0 ); > FixedBitmap( Window* pParent, const ResId& rResId ); > ~FixedBitmap(); > > virtual void Paint( const Rectangle& rRect ); > virtual void Draw( OutputDevice* pDev, const Point& rPos, const Size& rSize, ULONG nFlags ); > virtual void Resize(); > virtual void StateChanged( StateChangedType nType ); > virtual void DataChanged( const DataChangedEvent& rDCEvt ); > > void SetBitmap( const Bitmap& rBitmap ); > const Bitmap& GetBitmap() const { return maBitmap; } >}; > >class FixedImage : public Control >{ >private: > Image maImage; > BOOL mbInUserDraw; > ># 122 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/vcl/fixed.hxx" >public: > FixedImage( Window* pParent, WinBits nStyle = 0 ); > FixedImage( Window* pParent, const ResId& rResId ); > ~FixedImage(); > > virtual void Paint( const Rectangle& rRect ); > virtual void Draw( OutputDevice* pDev, const Point& rPos, const Size& rSize, ULONG nFlags ); > virtual void Resize(); > virtual void StateChanged( StateChangedType nType ); > virtual void DataChanged( const DataChangedEvent& rDCEvt ); > virtual void UserDraw( const UserDrawEvent& rUDEvt ); > > void SetImage( const Image& rImage ); > const Image& GetImage() const { return maImage; } > > Point CalcImagePos( const Point& rPos, > const Size& rObjSize, const Size& rWinSize ); >}; > ># 102 "/usr/src/oo/oo_605_src/sfx2/source/doc/docfile.cxx" 2 > > > ># 9 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/tools/urlobj.hxx" 1 >class International; > ># 52 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/tools/urlobj.hxx" >enum >{ > URL_PREFIX_PRIV_SOFFICE_LEN > = (sizeof( "private:" )-1) >}; > > >enum >{ > URL_PREFIX_PRIV_OBSOLETE_LEN > = (sizeof( "private:" )-1) >}; > > >enum >{ > URL_PREFIX_PRIV_EXTERN_LEN = (sizeof( "staroffice:" )-1) >}; > >enum INetProtocol >{ > INET_PROT_NOT_VALID = 0, > INET_PROT_FTP = 1, > INET_PROT_HTTP = 2, > INET_PROT_FILE = 3, > INET_PROT_MAILTO = 4, > INET_PROT_NEWS = 6, > INET_PROT_PRIV_SOFFICE = 7, > INET_PROT_PRIVATE = INET_PROT_PRIV_SOFFICE, > INET_PROT_HTTPS = 9, > INET_PROT_SLOT = 10, > INET_PROT_MACRO = 11, > INET_PROT_JAVASCRIPT = 12, > INET_PROT_IMAP = 13, > INET_PROT_POP3 = 14, > INET_PROT_DATA = 15, > INET_PROT_CID = 16, > INET_PROT_OUT = 17, > INET_PROT_VIM = 20, > INET_PROT_UNO = 21, > INET_PROT_COMPONENT = 22, > INET_PROT_LDAP = 24, > INET_PROT_DB = 25, > INET_PROT_END = 27 >}; > >class INetURLObject >{ >public: > > > enum EncodeMechanism > { > > ENCODE_ALL, > > > WAS_ENCODED, > > > NOT_CANONIC > }; > > > enum DecodeMechanism > { > > NO_DECODE, > > > DECODE_TO_IURI, > > > DECODE_WITH_CHARSET, > > > DECODE_UNAMBIGUOUS > }; > > inline INetURLObject(): > m_eScheme(INET_PROT_NOT_VALID), m_eSmartScheme(INET_PROT_HTTP) {} > > inline bool HasError() const { return m_eScheme == INET_PROT_NOT_VALID; } > > inline String GetMainURL(DecodeMechanism eMechanism = DECODE_TO_IURI, > rtl_TextEncoding eCharset > = ((rtl_TextEncoding)76)) const > { return decode(m_aAbsURIRef, getEscapePrefix(), eMechanism, eCharset); } > > String GetURLNoPass(DecodeMechanism eMechanism = DECODE_TO_IURI, > rtl_TextEncoding eCharset = ((rtl_TextEncoding)76)) > const; > > String GetURLNoMark(DecodeMechanism eMechanism = DECODE_TO_IURI, > rtl_TextEncoding eCharset = ((rtl_TextEncoding)76)) > const; > > bool operator ==(INetURLObject const & rObject) const; > > inline bool operator !=(INetURLObject const & rObject) const > { return !(*this == rObject); } > > bool operator <(INetURLObject const & rObject) const; > > inline bool operator >(INetURLObject const & rObject) const > { return rObject < *this; } > > inline INetURLObject(ByteString const & rTheAbsURIRef, > EncodeMechanism eMechanism = WAS_ENCODED, > rtl_TextEncoding eCharset = ((rtl_TextEncoding)76)); > > inline INetURLObject(String const & rTheAbsURIRef, > EncodeMechanism eMechanism = WAS_ENCODED, > rtl_TextEncoding eCharset = ((rtl_TextEncoding)76)); > > inline bool SetURL(ByteString const & rTheAbsURIRef, > EncodeMechanism eMechanism = WAS_ENCODED, > rtl_TextEncoding eCharset = ((rtl_TextEncoding)76)); > > inline bool SetURL(String const & rTheAbsURIRef, > EncodeMechanism eMechanism = WAS_ENCODED, > rtl_TextEncoding eCharset = ((rtl_TextEncoding)76)); > > bool ConcatData(INetProtocol eTheScheme, String const & rTheUser, > String const & rThePassword, > String const & rTheHost, sal_uInt32 nThePort, > String const & rThePath, > EncodeMechanism eMechanism = WAS_ENCODED, > rtl_TextEncoding eCharset = ((rtl_TextEncoding)76)); > > > enum FSysStyle > { > > FSYS_VOS = 0x1, > > > FSYS_UNX = 0x2, > > > FSYS_DOS = 0x4, > > > FSYS_MAC = 0x8, > > > FSYS_DETECT = FSYS_VOS | FSYS_UNX | FSYS_DOS | FSYS_MAC > }; > > inline INetURLObject(String const & rTheAbsURIRef, > INetProtocol eTheSmartScheme, > EncodeMechanism eMechanism = WAS_ENCODED, > rtl_TextEncoding eCharset = ((rtl_TextEncoding)76), > FSysStyle eStyle = FSYS_DETECT); > > inline void SetSmartProtocol(INetProtocol eTheSmartScheme) > { m_eSmartScheme = eTheSmartScheme; } > > inline bool > SetSmartURL(ByteString const & rTheAbsURIRef, > EncodeMechanism eMechanism = WAS_ENCODED, > rtl_TextEncoding eCharset = ((rtl_TextEncoding)76), > FSysStyle eStyle = FSYS_DETECT); > > inline bool > SetSmartURL(String const & rTheAbsURIRef, > EncodeMechanism eMechanism = WAS_ENCODED, > rtl_TextEncoding eCharset = ((rtl_TextEncoding)76), > FSysStyle eStyle = FSYS_DETECT); > > inline INetURLObject > smartRel2Abs(ByteString const & rTheRelURIRef, > bool & rWasAbsolute, > bool bIgnoreFragment = false, > EncodeMechanism eMechanism = WAS_ENCODED, > rtl_TextEncoding eCharset = ((rtl_TextEncoding)76), > bool bRelativeNonURIs = false, > FSysStyle eStyle = FSYS_DETECT) const; > > inline INetURLObject > smartRel2Abs(String const & rTheRelURIRef, > bool & rWasAbsolute, > bool bIgnoreFragment = false, > EncodeMechanism eMechanism = WAS_ENCODED, > rtl_TextEncoding eCharset = ((rtl_TextEncoding)76), > bool bRelativeNonURIs = false, > FSysStyle eStyle = FSYS_DETECT) const; > > static String FindFirstURLInText(String const & rText, > USHORT & rBegin, > USHORT & rEnd, > International const & rInternational, > String const * = 0, > EncodeMechanism eMechanism > = WAS_ENCODED, > rtl_TextEncoding eCharset > = ((rtl_TextEncoding)76)); > > inline bool > GetNewAbsURL(ByteString const & rTheRelURIRef, > INetURLObject * pTheAbsURIRef, > EncodeMechanism eMechanism = WAS_ENCODED, > rtl_TextEncoding eCharset = ((rtl_TextEncoding)76), > FSysStyle eStyle = FSYS_DETECT) const; > > inline bool > GetNewAbsURL(String const & rTheRelURIRef, > INetURLObject * pTheAbsURIRef, > EncodeMechanism eMechanism = WAS_ENCODED, > rtl_TextEncoding eCharset = ((rtl_TextEncoding)76), > FSysStyle eStyle = FSYS_DETECT) const; > > static inline String > GetRelURL(ByteString const & rTheBaseURIRef, > ByteString const & rTheAbsURIRef, > EncodeMechanism eEncodeMechanism = WAS_ENCODED, > DecodeMechanism eDecodeMechanism = DECODE_TO_IURI, > rtl_TextEncoding eCharset = ((rtl_TextEncoding)76), > FSysStyle eStyle = FSYS_DETECT); > > static inline String > GetRelURL(String const & rTheBaseURIRef, > String const & rTheAbsURIRef, > EncodeMechanism eEncodeMechanism = WAS_ENCODED, > DecodeMechanism eDecodeMechanism = DECODE_TO_IURI, > rtl_TextEncoding eCharset = ((rtl_TextEncoding)76), > FSysStyle eStyle = FSYS_DETECT); > > String getExternalURL(DecodeMechanism eMechanism = DECODE_TO_IURI, > rtl_TextEncoding eCharset > = ((rtl_TextEncoding)76)) const; > > static inline bool translateToExternal(ByteString const & rTheIntURIRef, > String & rTheExtURIRef, > EncodeMechanism eEncodeMechanism > = WAS_ENCODED, > DecodeMechanism eDecodeMechanism > = DECODE_TO_IURI, > rtl_TextEncoding eCharset > = ((rtl_TextEncoding)76)); > > static inline bool translateToExternal(String const & rTheIntURIRef, > String & rTheExtURIRef, > EncodeMechanism eEncodeMechanism > = WAS_ENCODED, > DecodeMechanism eDecodeMechanism > = DECODE_TO_IURI, > rtl_TextEncoding eCharset > = ((rtl_TextEncoding)76)); > > static inline bool translateToInternal(ByteString const & rTheExtURIRef, > String & rTheIntURIRef, > EncodeMechanism eEncodeMechanism > = WAS_ENCODED, > DecodeMechanism eDecodeMechanism > = DECODE_TO_IURI, > rtl_TextEncoding eCharset > = ((rtl_TextEncoding)76)); > > static inline bool translateToInternal(String const & rTheExtURIRef, > String & rTheIntURIRef, > EncodeMechanism eEncodeMechanism > = WAS_ENCODED, > DecodeMechanism eDecodeMechanism > = DECODE_TO_IURI, > rtl_TextEncoding eCharset > = ((rtl_TextEncoding)76)); > > struct SchemeInfo; > > inline INetProtocol GetProtocol() const { return m_eScheme; } > > > static String GetScheme(INetProtocol eTheScheme); > > static inline INetProtocol CompareProtocolScheme(ByteString const & > rTheAbsURIRef) > { return CompareProtocolScheme(extend(rTheAbsURIRef)); } > > static INetProtocol CompareProtocolScheme(String const & > rTheAbsURIRef); > > inline bool HasUserData() const { return m_aUser.isPresent(); } > > inline bool IsEmptyUser() const > { return m_aUser.isPresent() && m_aUser.isEmpty(); } > > bool hasPassword() const; > > inline bool IsEmptyPass() const > { return hasPassword() && m_aAuth.isEmpty(); } > > inline String GetUser(DecodeMechanism eMechanism = DECODE_TO_IURI, > rtl_TextEncoding eCharset > = ((rtl_TextEncoding)76)) const > { return decode(m_aUser, getEscapePrefix(), eMechanism, eCharset); } > > inline String GetPass(DecodeMechanism eMechanism = DECODE_TO_IURI, > rtl_TextEncoding eCharset > = ((rtl_TextEncoding)76)) const > { return decode(m_aAuth, getEscapePrefix(), eMechanism, eCharset); } > > inline bool SetUser(ByteString const & rTheUser, > EncodeMechanism eMechanism = WAS_ENCODED, > rtl_TextEncoding eCharset = ((rtl_TextEncoding)76)) > { return setUser(extend(rTheUser), true, eMechanism, eCharset); } > > inline bool SetUser(String const & rTheUser, > EncodeMechanism eMechanism = WAS_ENCODED, > rtl_TextEncoding eCharset = ((rtl_TextEncoding)76)) > { return setUser(rTheUser, false, eMechanism, eCharset); } > > void makeAuthCanonic(); > > inline bool SetPass(ByteString const & rThePassword, > EncodeMechanism eMechanism = WAS_ENCODED, > rtl_TextEncoding eCharset = ((rtl_TextEncoding)76)); > > inline bool SetPass(String const & rThePassword, > EncodeMechanism eMechanism = WAS_ENCODED, > rtl_TextEncoding eCharset = ((rtl_TextEncoding)76)); > > inline bool SetUserAndPass(ByteString const & rTheUser, > ByteString const & rThePassword, > EncodeMechanism eMechanism = WAS_ENCODED, > rtl_TextEncoding eCharset > = ((rtl_TextEncoding)76)); > > inline bool SetUserAndPass(String const & rTheUser, > String const & rThePassword, > EncodeMechanism eMechanism = WAS_ENCODED, > rtl_TextEncoding eCharset > = ((rtl_TextEncoding)76)); > > inline bool HasPort() const { return m_aPort.isPresent(); } > > inline String GetHost(DecodeMechanism eMechanism = DECODE_TO_IURI, > rtl_TextEncoding eCharset > = ((rtl_TextEncoding)76)) const > { return decode(m_aHost, getEscapePrefix(), eMechanism, eCharset); } > > String GetHostPort(DecodeMechanism eMechanism = DECODE_TO_IURI, > rtl_TextEncoding eCharset = ((rtl_TextEncoding)76)); > > sal_uInt32 GetPort() const; > > inline bool SetHost(ByteString const & rTheHost, > EncodeMechanism eMechanism = WAS_ENCODED, > rtl_TextEncoding eCharset = ((rtl_TextEncoding)76)) > { return setHost(extend(rTheHost), true, eMechanism, eCharset); } > > inline bool SetHost(String const & rTheHost, > EncodeMechanism eMechanism = WAS_ENCODED, > rtl_TextEncoding eCharset = ((rtl_TextEncoding)76)) > { return setHost(rTheHost, false, eMechanism, eCharset); } > > bool SetPort(sal_uInt32 nThePort); > > void makePortCanonic(); > > > static inline String encodeHostPort(ByteString const & rTheHostPort, > EncodeMechanism eMechanism, > rtl_TextEncoding eCharset > = ((rtl_TextEncoding)76)); > > > static inline String encodeHostPort(String const & rTheHostPort, > EncodeMechanism eMechanism, > rtl_TextEncoding eCharset > = ((rtl_TextEncoding)76)) > { return encodeHostPort(rTheHostPort, false, eMechanism, eCharset); } > > static bool parseHost(sal_Unicode const *& rBegin, > sal_Unicode const * pEnd, bool bOctets, > EncodeMechanism eMechanism, > rtl_TextEncoding eCharset, String & rCanonic); > > inline bool HasURLPath() const { return !m_aPath.isEmpty(); } > > inline String GetURLPath(DecodeMechanism eMechanism = DECODE_TO_IURI, > rtl_TextEncoding eCharset > = ((rtl_TextEncoding)76)) const > { return decode(m_aPath, getEscapePrefix(), eMechanism, eCharset); } > > inline bool SetURLPath(ByteString const & rThePath, > EncodeMechanism eMechanism = WAS_ENCODED, > rtl_TextEncoding eCharset = ((rtl_TextEncoding)76)) > { return setPath(extend(rThePath), true, eMechanism, eCharset); } > > inline bool SetURLPath(String const & rThePath, > EncodeMechanism eMechanism = WAS_ENCODED, > rtl_TextEncoding eCharset = ((rtl_TextEncoding)76)) > { return setPath(rThePath, false, eMechanism, eCharset); } > > > enum { LAST_SEGMENT = -1 }; > > > sal_Int32 getSegmentCount(bool bIgnoreFinalSlash = true) const; > > > bool removeSegment(sal_Int32 nIndex = LAST_SEGMENT, > bool bIgnoreFinalSlash = true); > > > inline bool insertName(String const & rTheName, > bool bAppendFinalSlash = false, > sal_Int32 nIndex = LAST_SEGMENT, > bool bIgnoreFinalSlash = true, > EncodeMechanism eMechanism = WAS_ENCODED, > rtl_TextEncoding eCharset = ((rtl_TextEncoding)76)); > > > String getName(sal_Int32 nIndex = LAST_SEGMENT, > bool bIgnoreFinalSlash = true, > DecodeMechanism eMechanism = DECODE_TO_IURI, > rtl_TextEncoding eCharset = ((rtl_TextEncoding)76)) > const; > > > bool setName(String const & rTheName, sal_Int32 nIndex = LAST_SEGMENT, > bool bIgnoreFinalSlash = true, > EncodeMechanism eMechanism = WAS_ENCODED, > rtl_TextEncoding eCharset = ((rtl_TextEncoding)76)); > > > String getBase(sal_Int32 nIndex = LAST_SEGMENT, > bool bIgnoreFinalSlash = true, > DecodeMechanism eMechanism = DECODE_TO_IURI, > rtl_TextEncoding eCharset = ((rtl_TextEncoding)76)) > const; > > > bool setBase(String const & rTheBase, sal_Int32 nIndex = LAST_SEGMENT, > bool bIgnoreFinalSlash = true, > EncodeMechanism eMechanism = WAS_ENCODED, > rtl_TextEncoding eCharset = ((rtl_TextEncoding)76)); > > > bool hasExtension(sal_Int32 nIndex = LAST_SEGMENT, > bool bIgnoreFinalSlash = true) const; > > > String getExtension(sal_Int32 nIndex = LAST_SEGMENT, > bool bIgnoreFinalSlash = true, > DecodeMechanism eMechanism = DECODE_TO_IURI, > rtl_TextEncoding eCharset = ((rtl_TextEncoding)76)) > const; > > > bool setExtension(String const & rTheExtension, > sal_Int32 nIndex = LAST_SEGMENT, > bool bIgnoreFinalSlash = true, > EncodeMechanism eMechanism = WAS_ENCODED, > rtl_TextEncoding eCharset = ((rtl_TextEncoding)76)); > > > bool removeExtension(sal_Int32 nIndex = LAST_SEGMENT, > bool bIgnoreFinalSlash = true); > > > bool hasFinalSlash() const; > > > bool setFinalSlash(); > > > bool removeFinalSlash(); > > inline bool HasParam() const { return m_aQuery.isPresent(); } > > inline String GetParam(DecodeMechanism eMechanism = DECODE_TO_IURI, > rtl_TextEncoding eCharset > = ((rtl_TextEncoding)76)) const > { return decode(m_aQuery, getEscapePrefix(), eMechanism, eCharset); } > > inline bool SetParam(ByteString const & rTheQuery, > EncodeMechanism eMechanism = WAS_ENCODED, > rtl_TextEncoding eCharset = ((rtl_TextEncoding)76)); > > inline bool SetParam(String const & rTheQuery, > EncodeMechanism eMechanism = WAS_ENCODED, > rtl_TextEncoding eCharset = ((rtl_TextEncoding)76)); > > inline bool HasMark() const { return m_aFragment.isPresent(); } > > inline String GetMark(DecodeMechanism eMechanism = DECODE_TO_IURI, > rtl_TextEncoding eCharset > = ((rtl_TextEncoding)76)) const > { return decode(m_aFragment, getEscapePrefix(), eMechanism, eCharset); } > > inline bool SetMark(ByteString const & rTheFragment, > EncodeMechanism eMechanism = WAS_ENCODED, > rtl_TextEncoding eCharset = ((rtl_TextEncoding)76)); > > inline bool SetMark(String const & rTheFragment, > EncodeMechanism eMechanism = WAS_ENCODED, > rtl_TextEncoding eCharset = ((rtl_TextEncoding)76)); > > static String createFragment(String const & rText); > > > inline INetURLObject(String const & rFSysPath, FSysStyle eStyle); > > > bool setFSysPath(String const & rFSysPath, FSysStyle eStyle); > > > String getFSysPath(FSysStyle eStyle, sal_Unicode * pDelimiter = 0) > const; > > bool HasMsgId() const; > > String GetMsgId(DecodeMechanism eMechanism = DECODE_TO_IURI, > rtl_TextEncoding eCharset = ((rtl_TextEncoding)76)) > const; > > enum Part > { > PART_OBSOLETE_NORMAL = 0x001, > PART_OBSOLETE_FILE = 0x002, > PART_OBSOLETE_PARAM = 0x004, > PART_USER_PASSWORD = 0x008, > PART_IMAP_ACHAR = 0x010, > PART_VIM = 0x020, > PART_HOST_EXTRA = 0x040, > PART_FPATH = 0x080, > PART_AUTHORITY = 0x100, > PART_PATH_SEGMENTS_EXTRA = 0x200, > PART_REL_SEGMENT_EXTRA = 0x400, > PART_URIC = 0x800, > PART_HTTP_PATH = 0x1000, > PART_FILE_SEGMENT_EXTRA = 0x2000, > PART_MESSAGE_ID = 0x4000, > PART_MESSAGE_ID_PATH = 0x8000, > PART_MAILTO = 0x10000, > PART_PATH_BEFORE_QUERY = 0x20000, > PART_PCHAR = 0x40000, > PART_FRAGMENT = 0x80000, > PART_VISIBLE = 0x100000, > PART_VISIBLE_NONSPECIAL = 0x200000, > PART_CREATEFRAGMENT = 0x400000, > PART_UNO_PARAM_VALUE = 0x800000, > PART_UNAMBIGUOUS = 0x1000000, > max_part = 0x80000000 > > }; > > enum EscapeType > { > ESCAPE_NO, > ESCAPE_OCTET, > ESCAPE_UTF32 > }; > > > static inline String encode(ByteString const & rText, Part ePart, > sal_Char cEscapePrefix, > EncodeMechanism eMechanism, > rtl_TextEncoding eCharset > = ((rtl_TextEncoding)76)); > > > static inline String encode(String const & rText, Part ePart, > sal_Char cEscapePrefix, > EncodeMechanism eMechanism, > rtl_TextEncoding eCharset > = ((rtl_TextEncoding)76)); > > > static inline String decode(String const & rText, > sal_Char cEscapePrefix, > DecodeMechanism eMechanism, > rtl_TextEncoding eCharset > = ((rtl_TextEncoding)76)); > > static void appendUCS4Escape(String & rTheText, sal_Char cEscapePrefix, > sal_uInt32 nUCS4); > > static void appendUCS4(String & rTheText, sal_uInt32 nUCS4, > EscapeType eEscapeType, bool bOctets, Part ePart, > sal_Char cEscapePrefix, rtl_TextEncoding eCharset, > bool bKeepVisibleEscapes); > > static sal_uInt32 getUTF32(sal_Unicode const *& rBegin, > sal_Unicode const * pEnd, bool bOctets, > sal_Char cEscapePrefix, > EncodeMechanism eMechanism, > rtl_TextEncoding eCharset, > EscapeType & rEscapeType); > > static sal_uInt32 scanDomain(sal_Unicode const *& rBegin, > sal_Unicode const * pEnd, > bool bEager = true); > > static bool scanIPv6reference(sal_Unicode const *& rBegin, > sal_Unicode const * pEnd, > bool bEager = true); > > static String > RelToAbs(ByteString const & rTheRelURIRef, > bool bIgnoreFragment = false, > EncodeMechanism eEncodeMechanism = WAS_ENCODED, > DecodeMechanism eDecodeMechanism = DECODE_TO_IURI, > rtl_TextEncoding eCharset = ((rtl_TextEncoding)76), > FSysStyle eStyle = FSYS_DETECT); > > > static String > RelToAbs(String const & rTheRelURIRef, > bool bIgnoreFragment = false, > EncodeMechanism eEncodeMechanism = WAS_ENCODED, > DecodeMechanism eDecodeMechanism = DECODE_TO_IURI, > rtl_TextEncoding eCharset = ((rtl_TextEncoding)76), > FSysStyle eStyle = FSYS_DETECT); > > static String > AbsToRel(ByteString const & rTheAbsURIRef, > EncodeMechanism eEncodeMechanism = WAS_ENCODED, > DecodeMechanism eDecodeMechanism = DECODE_TO_IURI, > rtl_TextEncoding eCharset = ((rtl_TextEncoding)76), > FSysStyle eStyle = FSYS_DETECT); > > static String > AbsToRel(String const & rTheAbsURIRef, > EncodeMechanism eEncodeMechanism = WAS_ENCODED, > DecodeMechanism eDecodeMechanism = DECODE_TO_IURI, > rtl_TextEncoding eCharset = ((rtl_TextEncoding)76), > FSysStyle eStyle = FSYS_DETECT); > > static bool SetBaseURL(ByteString const & rTheBaseURIRef, > EncodeMechanism eMechanism = WAS_ENCODED, > rtl_TextEncoding eCharset = ((rtl_TextEncoding)76)); > > static bool SetBaseURL(String const & rTheBaseURIRef, > EncodeMechanism eMechanism = WAS_ENCODED, > rtl_TextEncoding eCharset = ((rtl_TextEncoding)76)); > > static String GetBaseURL(DecodeMechanism eMechanism = DECODE_TO_IURI, > rtl_TextEncoding eCharset > = ((rtl_TextEncoding)76)); > > String GetPartBeforeLastName(DecodeMechanism eMechanism > = DECODE_TO_IURI, > rtl_TextEncoding eCharset > = ((rtl_TextEncoding)76)) const; > > > String GetLastName(DecodeMechanism eMechanism = DECODE_TO_IURI, > rtl_TextEncoding eCharset = ((rtl_TextEncoding)76)) > const; > > > String GetFileExtension(DecodeMechanism eMechanism = DECODE_TO_IURI, > rtl_TextEncoding eCharset > = ((rtl_TextEncoding)76)) const; > > inline bool Append(ByteString const & rTheSegment, > EncodeMechanism eMechanism = WAS_ENCODED, > rtl_TextEncoding eCharset = ((rtl_TextEncoding)76)) > { return appendSegment(extend(rTheSegment), true, eMechanism, eCharset); } > > inline bool Append(String const & rTheSegment, > EncodeMechanism eMechanism = WAS_ENCODED, > rtl_TextEncoding eCharset = ((rtl_TextEncoding)76)) > { return appendSegment(rTheSegment, false, eMechanism, eCharset); } > > bool CutLastName(); > > String PathToFileName() const; > > String GetFull() const; > > String GetPath() const; > > void SetBase(String const & rTheBase); > > String GetBase() const; > > void SetName(String const & rTheName, > EncodeMechanism eMechanism = WAS_ENCODED, > rtl_TextEncoding eCharset = ((rtl_TextEncoding)76)); > > inline String GetName(DecodeMechanism eMechanism = DECODE_TO_IURI, > rtl_TextEncoding eCharset > = ((rtl_TextEncoding)76)) const > { return GetLastName(eMechanism, eCharset); } > > String CutName(DecodeMechanism eMechanism = DECODE_TO_IURI, > rtl_TextEncoding eCharset = ((rtl_TextEncoding)76)); > > void SetExtension(String const & rTheExtension, > EncodeMechanism eMechanism = WAS_ENCODED, > rtl_TextEncoding eCharset = ((rtl_TextEncoding)76)); > > inline String GetExtension(DecodeMechanism eMechanism = DECODE_TO_IURI, > rtl_TextEncoding eCharset > = ((rtl_TextEncoding)76)) const > { return GetFileExtension(eMechanism, eCharset); } > > String CutExtension(DecodeMechanism eMechanism = DECODE_TO_IURI, > rtl_TextEncoding eCharset = ((rtl_TextEncoding)76)); > > bool IsCaseSensitive() const; > >private: > > class SubString > { > USHORT m_nBegin; > USHORT m_nLength; > > public: > explicit inline SubString(USHORT nTheBegin = ((USHORT)0xFFFF), > USHORT nTheLength = 0): > m_nBegin(nTheBegin), m_nLength(nTheLength) {} > > inline bool isPresent() const { return m_nBegin != ((USHORT)0xFFFF); } > > inline bool isEmpty() const { return m_nLength == 0; } > > inline USHORT getBegin() const { return m_nBegin; } > > inline USHORT getLength() const { return m_nLength; } > > inline USHORT getEnd() const { return m_nBegin + m_nLength; } > > inline sal_Int32 clear(); > > inline sal_Int32 set(String & rString, > String const & rSubString); > > inline sal_Int32 set(String & rString, > String const & rSubString, > USHORT nTheBegin); > > inline void operator +=(sal_Int32 nDelta); > > bool equals(SubString const & rOther, String const & rThisString, > String const & rOtherString) const; > }; > > String m_aAbsURIRef; > SubString m_aUser; > SubString m_aAuth; > SubString m_aHost; > SubString m_aPort; > SubString m_aPath; > SubString m_aQuery; > SubString m_aFragment; > INetProtocol m_eScheme; > INetProtocol m_eSmartScheme; > > void setInvalid(); > > bool setAbsURIRef(String const & rTheAbsURIRef, bool bOctets, > EncodeMechanism eMechanism, rtl_TextEncoding eCharset, > bool bSmart, FSysStyle eStyle); > > static INetURLObject m_aBaseURIRef; > > bool convertRelToAbs(String const & rTheRelURIRef, bool bOctets, > INetURLObject & rTheAbsURIRef, bool & rWasAbsolute, > EncodeMechanism eMechanism, > rtl_TextEncoding eCharset, bool bIgnoreFragment, > bool bSmart, bool bRelativeNonURIs, FSysStyle eStyle) > const; > > bool convertAbsToRel(String const & rTheAbsURIRef, bool bOctets, > String & rTheRelURIRef, > EncodeMechanism eEncodeMechanism, > DecodeMechanism eDecodeMechanism, > rtl_TextEncoding eCharset, FSysStyle eStyle) const; > > static bool convertIntToExt(String const & rTheIntURIRef, bool bOctets, > String & rTheExtURIRef, > EncodeMechanism eEncodeMechanism, > DecodeMechanism eDecodeMechanism, > rtl_TextEncoding eCharset); > > static bool convertExtToInt(String const & rTheExtURIRef, bool bOctets, > String & rTheIntURIRef, > EncodeMechanism eEncodeMechanism, > DecodeMechanism eDecodeMechanism, > rtl_TextEncoding eCharset); > > struct PrefixInfo; > > static inline SchemeInfo const & getSchemeInfo(INetProtocol eTheScheme); > > inline SchemeInfo const & getSchemeInfo() const; > > static PrefixInfo const * getPrefix(sal_Unicode const *& rBegin, > sal_Unicode const * pEnd); > > SubString getAuthority() const; > > bool setUser(String const & rTheUser, bool bOctets, > EncodeMechanism eMechanism, rtl_TextEncoding eCharset); > > bool clearPassword(); > > bool setPassword(String const & rThePassword, bool bOctets, > EncodeMechanism eMechanism, rtl_TextEncoding eCharset); > > static String encodeHostPort(String const & rTheHostPort, > bool bOctets, EncodeMechanism eMechanism, > rtl_TextEncoding eCharset); > > bool setHost(String const & rTheHost, bool bOctets, > EncodeMechanism eMechanism, rtl_TextEncoding eCharset); > > bool parsePath(sal_Unicode const ** pBegin, > sal_Unicode const * pEnd, > bool bOctets, > EncodeMechanism eMechanism, > rtl_TextEncoding eCharset, > bool bSkippedInitialSlash, > sal_uInt32 nSegmentDelimiter, > sal_uInt32 nAltSegmentDelimiter, > sal_uInt32 nQueryDelimiter, > sal_uInt32 nFragmentDelimiter, > String * pSynPath); > > bool setPath(String const & rThePath, bool bOctets, > EncodeMechanism eMechanism, rtl_TextEncoding eCharset); > > bool appendSegment(String const & rTheSegment, bool bOctets, > EncodeMechanism eMechanism, rtl_TextEncoding eCharset); > > SubString getSegment(sal_Int32 nIndex, bool bIgnoreFinalSlash) const; > > bool insertName(String const & rTheName, bool bOctets, > bool bAppendFinalSlash, sal_Int32 nIndex, > bool bIgnoreFinalSlash, EncodeMechanism eMechanism, > rtl_TextEncoding eCharset); > > bool clearQuery(); > > bool setQuery(String const & rTheQuery, bool bOctets, > EncodeMechanism eMechanism, rtl_TextEncoding eCharset); > > bool clearFragment(); > > bool setFragment(String const & rTheMark, bool bOctets, > EncodeMechanism eMechanism, rtl_TextEncoding eCharset); > > enum FTPType { FTP_TYPE_NONE, FTP_TYPE_A, FTP_TYPE_I, FTP_TYPE_D }; > > FTPType getFTPType() const; > > sal_uInt32 getIMAPUID() const; > > static inline String extend(ByteString const & rOctets) > { return String(rOctets, ((rtl_TextEncoding)12)); } > > static inline sal_Char getEscapePrefix(INetProtocol eTheScheme) > { return eTheScheme == INET_PROT_VIM ? '=' : '%'; } > > inline sal_Char getEscapePrefix() const > { return getEscapePrefix(m_eScheme); } > > static inline void appendEscape(String & rTheText, > sal_Char cEscapePrefix, > sal_uInt32 nOctet); > > static inline void appendUTF32(String & rTheText, sal_uInt32 nUTF32); > > static String encodeText(sal_Unicode const * pBegin, > sal_Unicode const * pEnd, bool bOctets, > Part ePart, sal_Char cEscapePrefix, > EncodeMechanism eMechanism, > rtl_TextEncoding eCharset, > bool bKeepVisibleEscapes); > > static inline String encodeText(String const & rTheText, > bool bOctets, Part ePart, > sal_Char cEscapePrefix, > EncodeMechanism eMechanism, > rtl_TextEncoding eCharset, > bool bKeepVisibleEscapes); > > static String decode(sal_Unicode const * pBegin, > sal_Unicode const * pEnd, sal_Char cEscapePrefix, > DecodeMechanism, rtl_TextEncoding eCharset); > > inline String decode(SubString const & rSubString, > sal_Char cEscapePrefix, > DecodeMechanism eMechanism, > rtl_TextEncoding eCharset) const; >}; > >inline String INetURLObject::encodeText(String const & rTheText, > bool bOctets, Part ePart, > sal_Char cEscapePrefix, > EncodeMechanism eMechanism, > rtl_TextEncoding eCharset, > bool bKeepVisibleEscapes) >{ > return encodeText(rTheText.GetBuffer(), > rTheText.GetBuffer() + rTheText.Len(), bOctets, ePart, > cEscapePrefix, eMechanism, eCharset, > bKeepVisibleEscapes); >} > >inline String INetURLObject::decode(SubString const & rSubString, > sal_Char cEscapePrefix, > DecodeMechanism eMechanism, > rtl_TextEncoding eCharset) const >{ > return decode(m_aAbsURIRef.GetBuffer() + rSubString.getBegin(), > m_aAbsURIRef.GetBuffer() + rSubString.getEnd(), > cEscapePrefix, eMechanism, eCharset); >} > >inline INetURLObject::INetURLObject(ByteString const & rTheAbsURIRef, > EncodeMechanism eMechanism, > rtl_TextEncoding eCharset): > m_eScheme(INET_PROT_NOT_VALID), m_eSmartScheme(INET_PROT_HTTP) >{ > setAbsURIRef(extend(rTheAbsURIRef), true, eMechanism, eCharset, false, > FSysStyle(0)); >} > >inline INetURLObject::INetURLObject(String const & rTheAbsURIRef, > EncodeMechanism eMechanism, > rtl_TextEncoding eCharset): > m_eScheme(INET_PROT_NOT_VALID), m_eSmartScheme(INET_PROT_HTTP) >{ > setAbsURIRef(rTheAbsURIRef, false, eMechanism, eCharset, false, > FSysStyle(0)); >} > >inline bool INetURLObject::SetURL(ByteString const & rTheAbsURIRef, > EncodeMechanism eMechanism, > rtl_TextEncoding eCharset) >{ > return setAbsURIRef(extend(rTheAbsURIRef), true, eMechanism, eCharset, > false, FSysStyle(0)); >} > >inline bool INetURLObject::SetURL(String const & rTheAbsURIRef, > EncodeMechanism eMechanism, > rtl_TextEncoding eCharset) >{ > return setAbsURIRef(rTheAbsURIRef, false, eMechanism, eCharset, false, > FSysStyle(0)); >} > >inline INetURLObject::INetURLObject(String const & rTheAbsURIRef, > INetProtocol eTheSmartScheme, > EncodeMechanism eMechanism, > rtl_TextEncoding eCharset, > FSysStyle eStyle): > m_eScheme(INET_PROT_NOT_VALID), m_eSmartScheme(eTheSmartScheme) >{ > setAbsURIRef(rTheAbsURIRef, false, eMechanism, eCharset, true, eStyle); >} > >inline bool INetURLObject::SetSmartURL(ByteString const & rTheAbsURIRef, > EncodeMechanism eMechanism, > rtl_TextEncoding eCharset, > FSysStyle eStyle) >{ > return setAbsURIRef(extend(rTheAbsURIRef), true, eMechanism, eCharset, > true, eStyle); >} > >inline bool INetURLObject::SetSmartURL(String const & rTheAbsURIRef, > EncodeMechanism eMechanism, > rtl_TextEncoding eCharset, > FSysStyle eStyle) >{ > return setAbsURIRef(rTheAbsURIRef, false, eMechanism, eCharset, true, > eStyle); >} > >inline INetURLObject >INetURLObject::smartRel2Abs(ByteString const & rTheRelURIRef, > bool & rWasAbsolute, > bool bIgnoreFragment, > EncodeMechanism eMechanism, > rtl_TextEncoding eCharset, > bool bRelativeNonURIs, > FSysStyle eStyle) const >{ > INetURLObject aTheAbsURIRef; > convertRelToAbs(extend(rTheRelURIRef), true, aTheAbsURIRef, rWasAbsolute, > eMechanism, eCharset, bIgnoreFragment, true, > bRelativeNonURIs, eStyle); > return aTheAbsURIRef; >} > >inline INetURLObject >INetURLObject::smartRel2Abs(String const & rTheRelURIRef, > bool & rWasAbsolute, > bool bIgnoreFragment, > EncodeMechanism eMechanism, > rtl_TextEncoding eCharset, > bool bRelativeNonURIs, > FSysStyle eStyle) const >{ > INetURLObject aTheAbsURIRef; > convertRelToAbs(rTheRelURIRef, false, aTheAbsURIRef, rWasAbsolute, > eMechanism, eCharset, bIgnoreFragment, true, > bRelativeNonURIs, eStyle); > return aTheAbsURIRef; >} > >inline bool INetURLObject::GetNewAbsURL(ByteString const & rTheRelURIRef, > INetURLObject * pTheAbsURIRef, > EncodeMechanism eMechanism, > rtl_TextEncoding eCharset, > FSysStyle eStyle) const >{ > INetURLObject aTheAbsURIRef; > bool bWasAbsolute; > if (!convertRelToAbs(extend(rTheRelURIRef), true, aTheAbsURIRef, > bWasAbsolute, eMechanism, eCharset, false, false, > false, eStyle)) > return false; > if (pTheAbsURIRef) > *pTheAbsURIRef = aTheAbsURIRef; > return true; >} > >inline bool INetURLObject::GetNewAbsURL(String const & rTheRelURIRef, > INetURLObject * pTheAbsURIRef, > EncodeMechanism eMechanism, > rtl_TextEncoding eCharset, > FSysStyle eStyle) const >{ > INetURLObject aTheAbsURIRef; > bool bWasAbsolute; > if (!convertRelToAbs(rTheRelURIRef, false, aTheAbsURIRef, bWasAbsolute, > eMechanism, eCharset, false, false, false, eStyle)) > return false; > if (pTheAbsURIRef) > *pTheAbsURIRef = aTheAbsURIRef; > return true; >} > >inline String INetURLObject::GetRelURL(ByteString const & rTheBaseURIRef, > ByteString const & rTheAbsURIRef, > EncodeMechanism eEncodeMechanism, > DecodeMechanism eDecodeMechanism, > rtl_TextEncoding eCharset, > FSysStyle eStyle) >{ > String aTheRelURIRef; > INetURLObject(rTheBaseURIRef, eEncodeMechanism, eCharset). > convertAbsToRel(extend(rTheAbsURIRef), true, aTheRelURIRef, > eEncodeMechanism, eDecodeMechanism, eCharset, eStyle); > return aTheRelURIRef; >} > >inline String INetURLObject::GetRelURL(String const & rTheBaseURIRef, > String const & rTheAbsURIRef, > EncodeMechanism eEncodeMechanism, > DecodeMechanism eDecodeMechanism, > rtl_TextEncoding eCharset, > FSysStyle eStyle) >{ > String aTheRelURIRef; > INetURLObject(rTheBaseURIRef, eEncodeMechanism, eCharset). > convertAbsToRel(rTheAbsURIRef, false, aTheRelURIRef, eEncodeMechanism, > eDecodeMechanism, eCharset, eStyle); > return aTheRelURIRef; >} > >inline bool INetURLObject::translateToExternal(ByteString const & > rTheIntURIRef, > String & rTheExtURIRef, > EncodeMechanism > eEncodeMechanism, > DecodeMechanism > eDecodeMechanism, > rtl_TextEncoding eCharset) >{ > return convertIntToExt(extend(rTheIntURIRef), true, rTheExtURIRef, > eEncodeMechanism, eDecodeMechanism, eCharset); >} > >inline bool INetURLObject::translateToExternal(String const & > rTheIntURIRef, > String & rTheExtURIRef, > EncodeMechanism > eEncodeMechanism, > DecodeMechanism > eDecodeMechanism, > rtl_TextEncoding eCharset) >{ > return convertIntToExt(rTheIntURIRef, false, rTheExtURIRef, > eEncodeMechanism, eDecodeMechanism, eCharset); >} > >inline bool INetURLObject::translateToInternal(ByteString const & > rTheExtURIRef, > String & rTheIntURIRef, > EncodeMechanism > eEncodeMechanism, > DecodeMechanism > eDecodeMechanism, > rtl_TextEncoding eCharset) >{ > return convertExtToInt(extend(rTheExtURIRef), true, rTheIntURIRef, > eEncodeMechanism, eDecodeMechanism, eCharset); >} > >inline bool INetURLObject::translateToInternal(String const & > rTheExtURIRef, > String & rTheIntURIRef, > EncodeMechanism > eEncodeMechanism, > DecodeMechanism > eDecodeMechanism, > rtl_TextEncoding eCharset) >{ > return convertExtToInt(rTheExtURIRef, false, rTheIntURIRef, > eEncodeMechanism, eDecodeMechanism, eCharset); >} > >inline bool INetURLObject::SetPass(ByteString const & rThePassword, > EncodeMechanism eMechanism, > rtl_TextEncoding eCharset) >{ > return rThePassword.Len() == 0 ? > clearPassword() : > setPassword(extend(rThePassword), true, eMechanism, eCharset); >} > >inline bool INetURLObject::SetPass(String const & rThePassword, > EncodeMechanism eMechanism, > rtl_TextEncoding eCharset) >{ > return rThePassword.Len() == 0 ? > clearPassword() : > setPassword(rThePassword, false, eMechanism, eCharset); >} > >inline bool INetURLObject::SetUserAndPass(ByteString const & rTheUser, > ByteString const & rThePassword, > EncodeMechanism eMechanism, > rtl_TextEncoding eCharset) >{ > return setUser(extend(rTheUser), true, eMechanism, eCharset) > && (rThePassword.Len() == 0 ? > clearPassword() : > setPassword(extend(rThePassword), true, eMechanism, > eCharset)); >} > >inline bool INetURLObject::SetUserAndPass(String const & rTheUser, > String const & rThePassword, > EncodeMechanism eMechanism, > rtl_TextEncoding eCharset) >{ > return setUser(rTheUser, false, eMechanism, eCharset) > && (rThePassword.Len() == 0 ? > clearPassword() : > setPassword(rThePassword, false, eMechanism, eCharset)); >} > >inline String INetURLObject::encodeHostPort(ByteString const & > rTheHostPort, > EncodeMechanism eMechanism, > rtl_TextEncoding eCharset) >{ > return encodeHostPort(extend(rTheHostPort), true, eMechanism, eCharset); >} > >inline bool INetURLObject::insertName(String const & rTheName, > bool bAppendFinalSlash, > sal_Int32 nIndex, > bool bIgnoreFinalSlash, > EncodeMechanism eMechanism, > rtl_TextEncoding eCharset) >{ > return insertName(rTheName, false, bAppendFinalSlash, nIndex, > bIgnoreFinalSlash, eMechanism, eCharset); >} > >inline bool INetURLObject::SetParam(ByteString const & rTheQuery, > EncodeMechanism eMechanism, > rtl_TextEncoding eCharset) >{ > return rTheQuery.Len() == 0 ? > clearQuery() : > setQuery(extend(rTheQuery), true, eMechanism, eCharset); >} > >inline bool INetURLObject::SetParam(String const & rTheQuery, > EncodeMechanism eMechanism, > rtl_TextEncoding eCharset) >{ > return rTheQuery.Len() == 0 ? > clearQuery() : > setQuery(rTheQuery, false, eMechanism, eCharset); >} > >inline bool INetURLObject::SetMark(ByteString const & rTheFragment, > EncodeMechanism eMechanism, > rtl_TextEncoding eCharset) >{ > return rTheFragment.Len() == 0 ? > clearFragment() : > setFragment(extend(rTheFragment), true, eMechanism, eCharset); >} > >inline bool INetURLObject::SetMark(String const & rTheFragment, > EncodeMechanism eMechanism, > rtl_TextEncoding eCharset) >{ > return rTheFragment.Len() == 0 ? > clearFragment() : > setFragment(rTheFragment, false, eMechanism, eCharset); >} > >inline INetURLObject::INetURLObject(String const & rFSysPath, > FSysStyle eStyle): > m_eScheme(INET_PROT_NOT_VALID), m_eSmartScheme(INET_PROT_HTTP) >{ > setFSysPath(rFSysPath, eStyle); >} > >inline String INetURLObject::encode(ByteString const & rText, Part ePart, > sal_Char cEscapePrefix, > EncodeMechanism eMechanism, > rtl_TextEncoding eCharset) >{ > return encodeText(extend(rText), true, ePart, cEscapePrefix, eMechanism, > eCharset, false); >} > >inline String INetURLObject::encode(String const & rText, Part ePart, > sal_Char cEscapePrefix, > EncodeMechanism eMechanism, > rtl_TextEncoding eCharset) >{ > return encodeText(rText, false, ePart, cEscapePrefix, eMechanism, > eCharset, false); >} > >inline String INetURLObject::decode(String const & rText, > sal_Char cEscapePrefix, > DecodeMechanism eMechanism, > rtl_TextEncoding eCharset) >{ > return decode(rText.GetBuffer(), rText.GetBuffer() + rText.Len(), > cEscapePrefix, eMechanism, eCharset); >} > ># 105 "/usr/src/oo/oo_605_src/sfx2/source/doc/docfile.cxx" 2 > > > > ># 15 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/inet/inetcfg.hxx" 1 ># 78 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/vos/ref.hxx" 1 ># 67 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/vos/refernce.hxx" 1 > > > > > > ># 71 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/vos/object.hxx" 1 > > > >namespace vos >{ > > > > > >struct OClassInfo; >struct OCreateParam; > > > > > >class OObject >{ >public: > > > OObject(); > > > OObject(const OCreateParam& rParam); > > > > >private: > OObject(const OObject& objectSrc); > void operator=(const OObject& objectSrc); > >public: > virtual ~OObject(); > >public: > > > > > > > > > void* operator new(unsigned int size); > void* operator new(unsigned int size, void* p); > > > void operator delete(void* p); > > >public: > > > virtual const OClassInfo& getClassInfo() const; > > > sal_Bool isKindOf(const OClassInfo& rClass) const; > > >public: > static const OClassInfo& classInfo(); > >public: > static OClassInfo __ClassInfo__; >}; > > > > > >struct OCreateParam >{ > sal_uInt32 m_Size; > void* m_pParam; > > > OCreateParam(void *pParam) > { > m_Size = sizeof(OCreateParam); > m_pParam = pParam; > } >}; > > > >struct OClassInfo >{ > > const sal_Char *m_pClassName; > > sal_Int32 m_nObjectSize; > > sal_uInt32 m_wSchema; > > > OObject* ( * m_pfnCreateObject)(const OCreateParam&); > > > const OClassInfo* m_pBaseClass; > > const OClassInfo* m_pNextClass; > > > OObject* createObject(const OCreateParam& rParam) const; > > > sal_Bool isDerivedFrom(const OClassInfo& rBaseClass) const; > > > static const OClassInfo* getClassInfo(const sal_Char* pClassName); > > > OClassInfo(const sal_Char *pClassName, sal_Int32 ObjectSize, > const OClassInfo* pBaseClass = __null, sal_uInt32 Schema = (sal_uInt32)-1, > OObject* ( * fnCreateObject)(const OCreateParam&) = __null); >}; > > > > > > > > > > > > >struct VOS_CLASSINIT >{ VOS_CLASSINIT(vos::OClassInfo* pNewClass); }; > ># 236 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/vos/object.hxx" >} ># 73 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/vos/refernce.hxx" 2 > > > >namespace vos >{ > > > > >class IReference >{ >public: > > IReference() { } > virtual ~IReference() { } > > typedef oslInterlockedCount RefCount; > > virtual RefCount acquire()=0; > virtual RefCount release()=0; > > virtual RefCount referenced() const=0; >}; > >class ORefCount >{ >public: > typedef IReference::RefCount RefCount; > > ORefCount() { m_RefCount = 0; } > ORefCount(RefCount n) { m_RefCount = n; } > virtual ~ORefCount(); > > RefCount acquire() { return (osl_incrementInterlockedCount(&m_RefCount)); }; > RefCount release() { return (osl_decrementInterlockedCount(&m_RefCount)); }; > > RefCount operator++() { return acquire(); } > > > RefCount operator--() { return release(); } > > > RefCount referenced() const > { return (m_RefCount); } > >protected: > RefCount m_RefCount; > >private: > > ORefCount(const ORefCount&); > ORefCount& operator= (const ORefCount&); >}; > >class OReference : public vos::IReference >{ >public: > OReference(); > virtual ~OReference(); > > virtual RefCount acquire(); > virtual RefCount release(); > > virtual RefCount referenced() const > { return (m_RefCount.referenced()); } > >protected: > ORefCount m_RefCount; > >private: > > OReference(const OReference&); > OReference& operator= (const OReference&); >}; > > >} ># 78 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/vos/ref.hxx" 2 > > > ># 69 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/vos/diagnose.hxx" 1 ># 71 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/osl/diagnose.h" 1 >extern "C" { > > > > > > >void osl_breakDebug(void); >sal_Bool osl_assertFailedLine(const sal_Char* pszFileName, sal_Int32 nLine, const sal_Char* pszMessage); >void osl_trace(const sal_Char* pszFormat, ...); >sal_Int32 osl_reportError(sal_uInt32 nType, const sal_Char* pszErrorMessage); > > >} ># 69 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/vos/diagnose.hxx" 2 ># 81 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/vos/ref.hxx" 2 > > > >namespace vos >{ > > > >template <class T> >class ORef >{ >public: > > > > > ORef(); > > > > > ORef(T* pBody); ># 115 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/vos/ref.hxx" > ORef(const ORef<T>& handle); > > > > inline ~ORef(); > > > > > > ORef<T>& operator= (const ORef<T>& handle); ># 137 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/vos/ref.hxx" > void bind(T* pBody); ># 146 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/vos/ref.hxx" > ORef<T>& unbind(); > > > > void operator= (T* pBody); > > > > T& operator() () const; > > > > T& operator* () const; > > > > T* operator->() const; > > > > T& getBody() const; > > > > > > T* getBodyPtr() const; > > > > > sal_Bool isEmpty() const; > > > > > sal_Bool isValid() const; > > > > sal_Bool isEqualBody(const ORef<T>& handle) const; > > > > sal_Bool operator== (const ORef<T>& handle) const; > > > > sal_Bool operator!= (const ORef<T>& handle) const; > > > > sal_Bool operator== (const T* pBody) const; > > > > > sal_Bool operator< (const ORef<T>& handle) const; > > > > > sal_Bool operator> (const ORef<T>& handle) const; > >protected: > > T* m_refBody; >}; > > > ># 69 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/vos/ref.inl" 1 >template <class T> >inline ORef<T>::ORef() >{ > m_refBody= 0; >} > >template <class T> >inline ORef<T>::ORef(T* pBody) >{ > m_refBody= pBody; > > if (m_refBody) > (m_refBody)->acquire(); >} > >template <class T> >inline ORef<T>::ORef(const ORef<T>& handle) >{ > m_refBody= handle.m_refBody; > > if (m_refBody) > (m_refBody)->acquire(); >} > >template <class T> >inline ORef<T>::~ORef() >{ > if (m_refBody) > (m_refBody)->release(); >} > >template <class T> >inline ORef<T>& ORef<T>::operator= (const ORef<T>& handle) >{ > if (m_refBody) > (m_refBody)->release(); > > m_refBody= handle.m_refBody; > > if (m_refBody) > (m_refBody)->acquire(); > > return *this; >} > >template <class T> >inline void ORef<T>::bind(T* pBody) >{ > if (m_refBody) > (m_refBody)->release(); > > m_refBody= pBody; > > if (m_refBody) > (m_refBody)->acquire(); >} > >template <class T> >inline ORef<T>& ORef<T>::unbind() >{ > if (m_refBody) > { > (m_refBody)->release(); > m_refBody = 0; > } > return *this; >} > >template <class T> >inline void ORef<T>::operator= (T* pBody) >{ > bind(pBody); >} > >template <class T> >inline T& ORef<T>::operator() () const >{ > ((void)0); > return *m_refBody; >} > >template <class T> >inline T& ORef<T>::operator* () const >{ > ((void)0); > return *m_refBody; >} > >template <class T> >inline T* ORef<T>::operator->() const >{ > ((void)0); > return m_refBody; >} > >template <class T> >inline T& ORef<T>::getBody() const >{ > ((void)0); > return *m_refBody; >} > >template <class T> >inline T* ORef<T>::getBodyPtr() const >{ > > return m_refBody; >} > >template <class T> >inline sal_Bool ORef<T>::isEmpty() const >{ > return m_refBody == 0; >} > >template <class T> >inline sal_Bool ORef<T>::isValid() const >{ > return m_refBody != 0; >} > >template <class T> >inline sal_Bool ORef<T>::isEqualBody(const ORef<T>& handle) const >{ > return m_refBody == handle.m_refBody; >} > >template <class T> >inline sal_Bool ORef<T>::operator== (const ORef<T>& handle) const >{ > return m_refBody == handle.m_refBody; >} > >template <class T> >inline sal_Bool ORef<T>::operator!= (const ORef<T>& handle) const >{ > return m_refBody != handle.m_refBody; >} > >template <class T> >inline sal_Bool ORef<T>::operator== (const T* pBody) const >{ > return m_refBody == pBody; >} > >template <class T> >inline sal_Bool ORef<T>::operator< (const ORef<T>& handle) const >{ > return m_refBody < handle.m_refBody; >} > >template <class T> >inline sal_Bool ORef<T>::operator> (const ORef<T>& handle) const >{ > return m_refBody > handle.m_refBody; >} ># 217 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/vos/ref.hxx" 2 > > >} ># 15 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/inet/inetcfg.hxx" 2 > > > > > > > > > > >namespace inet { > > >enum INetProtocolPorts >{ > eINET_FTP_PORT = 21, > eINET_SMTP_PORT = 25, > eINET_HTTP_PORT = 80, > eINET_POP3_PORT = 110, > eINET_NNTP_PORT = 119, > eINET_IMAP_PORT = 143, > eINET_LDAP_PORT = 389, > eINET_HTTPS_PORT = 443, > eINET_SOCKS_PORT = 1080 >}; > >class INetProxyConfig >{ > > rtl::OUString m_aHttpProxyName; > sal_uInt16 m_nHttpProxyPort; > > > rtl::OUString m_aFtpProxyName; > sal_uInt16 m_nFtpProxyPort; > > > rtl::OUString m_aSecureSocketProxyName; > sal_uInt16 m_nSecureSocketProxyPort; > > > rtl::OUString m_aSocksProxyName; > sal_uInt16 m_nSocksProxyPort; > > > rtl::OUString m_aNoProxyList; > >public: > > INetProxyConfig (void); > INetProxyConfig (const INetProxyConfig& rOther); > virtual ~INetProxyConfig (void) {} > > > INetProxyConfig& operator= (const INetProxyConfig& rOther); > > > sal_Bool operator== (const INetProxyConfig& rOther); > > > const rtl::OUString& getHttpProxyName (void) const; > sal_uInt16 getHttpProxyPort (void) const; > sal_Bool hasHttpProxy (void) const; > void setHttpProxy ( > const rtl::OUString& rName, sal_uInt16 nPort = eINET_HTTP_PORT); > > > const rtl::OUString& getFtpProxyName (void) const; > sal_uInt16 getFtpProxyPort (void) const; > sal_Bool hasFtpProxy (void) const; > void setFtpProxy ( > const rtl::OUString& rName, sal_uInt16 nPort = eINET_HTTP_PORT); > > > const rtl::OUString& getSecureSocketProxyName (void) const; > sal_uInt16 getSecureSocketProxyPort (void) const; > sal_Bool hasSecureSocketProxy (void) const; > void setSecureSocketProxy ( > const rtl::OUString& rName, sal_uInt16 nPort = eINET_HTTP_PORT); > > > const rtl::OUString& getSocksProxyName (void) const; > sal_uInt16 getSocksProxyPort (void) const; > sal_Bool hasSocksProxy (void) const; > void setSocksProxy ( > const rtl::OUString& rName, sal_uInt16 nPort = eINET_SOCKS_PORT); > > > const rtl::OUString& getNoProxyList (void) const; > void setNoProxyList (const rtl::OUString& rNoProxyList); >}; > >inline INetProxyConfig::INetProxyConfig (void) > : m_nHttpProxyPort (eINET_HTTP_PORT), > m_nFtpProxyPort (eINET_HTTP_PORT), > m_nSecureSocketProxyPort (eINET_HTTP_PORT), > m_nSocksProxyPort (eINET_SOCKS_PORT) >{ >} > >inline INetProxyConfig::INetProxyConfig (const INetProxyConfig& rOther) > : m_aHttpProxyName (rOther.m_aHttpProxyName), > m_nHttpProxyPort (rOther.m_nHttpProxyPort), > m_aFtpProxyName (rOther.m_aFtpProxyName), > m_nFtpProxyPort (rOther.m_nFtpProxyPort), > m_aSecureSocketProxyName (rOther.m_aSecureSocketProxyName), > m_nSecureSocketProxyPort (rOther.m_nSecureSocketProxyPort), > m_aSocksProxyName (rOther.m_aSocksProxyName), > m_nSocksProxyPort (rOther.m_nSocksProxyPort), > m_aNoProxyList (rOther.m_aNoProxyList) >{ >} > >inline INetProxyConfig& >INetProxyConfig::operator= (const INetProxyConfig& rOther) >{ > if (this != &rOther) > { > m_aHttpProxyName = rOther.m_aHttpProxyName; > m_nHttpProxyPort = rOther.m_nHttpProxyPort; > > m_aFtpProxyName = rOther.m_aFtpProxyName; > m_nFtpProxyPort = rOther.m_nFtpProxyPort; > > m_aSecureSocketProxyName = rOther.m_aSecureSocketProxyName; > m_nSecureSocketProxyPort = rOther.m_nSecureSocketProxyPort; > > m_aSocksProxyName = rOther.m_aSocksProxyName; > m_nSocksProxyPort = rOther.m_nSocksProxyPort; > > m_aNoProxyList = rOther.m_aNoProxyList; > } > return *this; >} > >inline sal_Bool INetProxyConfig::operator== (const INetProxyConfig& rOther) >{ > return ( > (m_aHttpProxyName == rOther.m_aHttpProxyName ) && > (m_nHttpProxyPort == rOther.m_nHttpProxyPort ) && > (m_aFtpProxyName == rOther.m_aFtpProxyName ) && > (m_nFtpProxyPort == rOther.m_nFtpProxyPort ) && > (m_aSecureSocketProxyName == rOther.m_aSecureSocketProxyName) && > (m_nSecureSocketProxyPort == rOther.m_nSecureSocketProxyPort) && > (m_aSocksProxyName == rOther.m_aSocksProxyName ) && > (m_nSocksProxyPort == rOther.m_nSocksProxyPort ) && > (m_aNoProxyList == rOther.m_aNoProxyList ) ); >} > >inline const rtl::OUString& >INetProxyConfig::getHttpProxyName (void) const >{ > return m_aHttpProxyName; >} > >inline sal_uInt16 INetProxyConfig::getHttpProxyPort (void) const >{ > return m_nHttpProxyPort; >} > >inline sal_Bool INetProxyConfig::hasHttpProxy (void) const >{ > return ((m_aHttpProxyName.getLength() > 0) && > (m_nHttpProxyPort > 0) ); >} > >inline void INetProxyConfig::setHttpProxy ( > const rtl::OUString& rName, sal_uInt16 nPort) >{ > m_aHttpProxyName = rName; > m_nHttpProxyPort = nPort; >} > >inline const rtl::OUString& >INetProxyConfig::getFtpProxyName (void) const >{ > return m_aFtpProxyName; >} > >inline sal_uInt16 INetProxyConfig::getFtpProxyPort (void) const >{ > return m_nFtpProxyPort; >} > >inline sal_Bool INetProxyConfig::hasFtpProxy (void) const >{ > return ((m_aFtpProxyName.getLength() > 0) && > (m_nFtpProxyPort > 0) ); >} > >inline void INetProxyConfig::setFtpProxy ( > const rtl::OUString& rName, sal_uInt16 nPort) >{ > m_aFtpProxyName = rName; > m_nFtpProxyPort = nPort; >} > >inline const rtl::OUString& >INetProxyConfig::getSecureSocketProxyName (void) const >{ > return m_aSecureSocketProxyName; >} > >inline sal_uInt16 INetProxyConfig::getSecureSocketProxyPort (void) const >{ > return m_nSecureSocketProxyPort; >} > >inline sal_Bool INetProxyConfig::hasSecureSocketProxy (void) const >{ > return ((m_aSecureSocketProxyName.getLength() > 0) && > (m_nSecureSocketProxyPort > 0) ); >} > >inline void INetProxyConfig::setSecureSocketProxy ( > const rtl::OUString& rName, sal_uInt16 nPort) >{ > m_aSecureSocketProxyName = rName; > m_nSecureSocketProxyPort = nPort; >} > >inline const rtl::OUString& >INetProxyConfig::getSocksProxyName (void) const >{ > return m_aSocksProxyName; >} > >inline sal_uInt16 INetProxyConfig::getSocksProxyPort (void) const >{ > return m_nSocksProxyPort; >} > >inline sal_Bool INetProxyConfig::hasSocksProxy (void) const >{ > return ((m_aSocksProxyName.getLength() > 0) && > (m_nSocksProxyPort > 0) ); >} > >inline void INetProxyConfig::setSocksProxy ( > const rtl::OUString& rName, sal_uInt16 nPort) >{ > m_aSocksProxyName = rName; > m_nSocksProxyPort = nPort; >} > >inline const rtl::OUString& INetProxyConfig::getNoProxyList (void) const >{ > return m_aNoProxyList; >} > >inline void INetProxyConfig::setNoProxyList (const rtl::OUString& rNoProxyList) >{ > m_aNoProxyList = rNoProxyList; >} > >class INetProxyPolicy : public vos::IReference >{ >public: > virtual sal_Bool shouldUseProxy ( > const rtl::OUString& rUrl, INetProxyConfig& rProxyConfig) = 0; >}; > >class INetConfig : > public vos::OReference, > public vos::OObject >{ > public: static const vos::VOS_CLASSINIT __ClassInit__; static vos::OClassInfo __ClassInfo__; public: virtual const vos::OClassInfo& getClassInfo() const; static const vos::OClassInfo& classInfo(); > >public: > > static sal_Bool getOrCreate ( > vos::ORef<INetConfig> &rxConfig); > > > const rtl::OUString& getDomainNameServer (void) const; > void setDomainNameServer ( > const rtl::OUString& rDomainNameServer); > > > const rtl::OUString& getUserAgent (void) const; > void setUserAgent (const rtl::OUString& rUserAgent); > > > const INetProxyConfig& getProxyConfig (void) const; > void setProxyConfig (const INetProxyConfig& rProxyConfig); > > > virtual vos::ORef<INetProxyPolicy> getProxyPolicy (void) const; > void setProxyPolicy ( > const vos::ORef<INetProxyPolicy> &rxProxyPolicy); > > > virtual void setSecureSocketCertificatePath ( > const rtl::OUString &rPath); > > > virtual void setSecureSocketCipherLevel (sal_uInt16 nLevel); > >protected: > INetConfig (void); > virtual ~INetConfig (void); > >private: > > static INetConfig *m_pThis; > > > rtl::OUString m_aDomainNameServer; > rtl::OUString m_aUserAgent; > > vos::ORef<INetProxyPolicy> m_xProxyPolicy; > INetProxyConfig m_aProxyConfig; > > > INetConfig (const INetConfig&); > INetConfig& operator= (const INetConfig&); >}; > >inline const rtl::OUString& >INetConfig::getDomainNameServer (void) const >{ > return m_aDomainNameServer; >} > >inline void INetConfig::setDomainNameServer ( > const rtl::OUString& rDomainNameServer) >{ > m_aDomainNameServer = rDomainNameServer; >} > >inline const rtl::OUString& INetConfig::getUserAgent (void) const >{ > return m_aUserAgent; >} > >inline void INetConfig::setUserAgent ( > const rtl::OUString& rUserAgent) >{ > m_aUserAgent = rUserAgent; >} > >inline const INetProxyConfig& INetConfig::getProxyConfig (void) const >{ > return m_aProxyConfig; >} > >inline void INetConfig::setProxyConfig ( > const INetProxyConfig& rProxyConfig) >{ > m_aProxyConfig = rProxyConfig; >} > >inline void INetConfig::setProxyPolicy ( > const vos::ORef<INetProxyPolicy> &rxProxyPolicy) >{ > m_xProxyPolicy = rxProxyPolicy; >} > > >} ># 109 "/usr/src/oo/oo_605_src/sfx2/source/doc/docfile.cxx" 2 > > > > ># 66 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/unotools/streamhelper.hxx" 1 ># 6 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/io/XOutputStream.hpp" 1 ># 16 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/io/XOutputStream.hdl" 1 ># 10 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/io/BufferSizeExceededException.hdl" 1 ># 12 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/io/IOException.hdl" 1 >namespace com >{ >namespace sun >{ >namespace star >{ >namespace io >{ > >class IOException : public ::com::sun::star::uno::Exception >{ >public: > inline IOException() { } > > inline IOException(const ::rtl::OUString& __Message, const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >& __Context); > >}; > >} >} >} >} > >namespace com { namespace sun { namespace star { namespace uno { >class Type; >} } } } > >inline const ::com::sun::star::uno::Type& getCppuType( const ::com::sun::star::io::IOException* ); > ># 10 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/io/BufferSizeExceededException.hdl" 2 > > >namespace com >{ >namespace sun >{ >namespace star >{ >namespace io >{ > >class BufferSizeExceededException : public ::com::sun::star::io::IOException >{ >public: > inline BufferSizeExceededException() { } > > inline BufferSizeExceededException(const ::rtl::OUString& __Message, const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >& __Context); > >}; > >} >} >} >} > >namespace com { namespace sun { namespace star { namespace uno { >class Type; >} } } } > >inline const ::com::sun::star::uno::Type& getCppuType( const ::com::sun::star::io::BufferSizeExceededException* ); > ># 16 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/io/XOutputStream.hdl" 2 > > > > > > ># 12 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/io/NotConnectedException.hdl" 1 >namespace com >{ >namespace sun >{ >namespace star >{ >namespace io >{ > >class NotConnectedException : public ::com::sun::star::io::IOException >{ >public: > inline NotConnectedException() { } > > inline NotConnectedException(const ::rtl::OUString& __Message, const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >& __Context); > >}; > >} >} >} >} > >namespace com { namespace sun { namespace star { namespace uno { >class Type; >} } } } > >inline const ::com::sun::star::uno::Type& getCppuType( const ::com::sun::star::io::NotConnectedException* ); > ># 22 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/io/XOutputStream.hdl" 2 ># 36 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/io/XOutputStream.hdl" >namespace com >{ >namespace sun >{ >namespace star >{ >namespace io >{ > >class XOutputStream : public ::com::sun::star::uno::XInterface >{ >public: > > > virtual void writeBytes( const ::com::sun::star::uno::Sequence< sal_Int8 >& aData ) throw(::com::sun::star::io::NotConnectedException, ::com::sun::star::io::BufferSizeExceededException, ::com::sun::star::io::IOException, ::com::sun::star::uno::RuntimeException) = 0; > virtual void flush( ) throw(::com::sun::star::io::NotConnectedException, ::com::sun::star::io::BufferSizeExceededException, ::com::sun::star::io::IOException, ::com::sun::star::uno::RuntimeException) = 0; > virtual void closeOutput( ) throw(::com::sun::star::io::NotConnectedException, ::com::sun::star::io::BufferSizeExceededException, ::com::sun::star::io::IOException, ::com::sun::star::uno::RuntimeException) = 0; >}; > >} >} >} >} > >namespace com { namespace sun { namespace star { namespace uno { >class Type; >} } } } > >inline const ::com::sun::star::uno::Type& getCppuType( const ::com::sun::star::uno::Reference< ::com::sun::star::io::XOutputStream >* ); > ># 6 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/io/XOutputStream.hpp" 2 ># 24 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/io/XOutputStream.hpp" ># 18 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/io/BufferSizeExceededException.hpp" 1 ># 20 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/io/IOException.hpp" 1 >namespace com >{ >namespace sun >{ >namespace star >{ >namespace io >{ > >inline IOException::IOException(const ::rtl::OUString& __Message, const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >& __Context) > : ::com::sun::star::uno::Exception(__Message, __Context) >{ } > >} >} >} >} > > > > > >inline const ::com::sun::star::uno::Type& getCppuType( const ::com::sun::star::io::IOException* ) >{ > > static typelib_TypeDescriptionReference * s_pType_com_sun_star_io_IOException = 0; > > > if ( !s_pType_com_sun_star_io_IOException ) > { > typelib_static_compound_type_init( &s_pType_com_sun_star_io_IOException, typelib_TypeClass_EXCEPTION, "com.sun.star.io.IOException", * ::typelib_static_type_getByTypeClass( typelib_TypeClass_EXCEPTION ), 0, 0 ); > } > return * reinterpret_cast< const ::com::sun::star::uno::Type * >( &s_pType_com_sun_star_io_IOException ); >} > ># 18 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/io/BufferSizeExceededException.hpp" 2 > > >namespace com >{ >namespace sun >{ >namespace star >{ >namespace io >{ > >inline BufferSizeExceededException::BufferSizeExceededException(const ::rtl::OUString& __Message, const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >& __Context) > : ::com::sun::star::io::IOException(__Message, __Context) >{ } > >} >} >} >} > > > > > >inline const ::com::sun::star::uno::Type& getCppuType( const ::com::sun::star::io::BufferSizeExceededException* ) >{ > > static typelib_TypeDescriptionReference * s_pType_com_sun_star_io_BufferSizeExceededException = 0; > > > if ( !s_pType_com_sun_star_io_BufferSizeExceededException ) > { > const ::com::sun::star::uno::Type& rBaseType = getCppuType( ( const ::com::sun::star::io::IOException *)0 ); > > typelib_static_compound_type_init( &s_pType_com_sun_star_io_BufferSizeExceededException, typelib_TypeClass_EXCEPTION, "com.sun.star.io.BufferSizeExceededException", rBaseType.getTypeLibType(), 0, 0 ); > } > return * reinterpret_cast< const ::com::sun::star::uno::Type * >( &s_pType_com_sun_star_io_BufferSizeExceededException ); >} > ># 24 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/io/XOutputStream.hpp" 2 > > > > > > ># 20 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/io/NotConnectedException.hpp" 1 >namespace com >{ >namespace sun >{ >namespace star >{ >namespace io >{ > >inline NotConnectedException::NotConnectedException(const ::rtl::OUString& __Message, const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >& __Context) > : ::com::sun::star::io::IOException(__Message, __Context) >{ } > >} >} >} >} > > > > > >inline const ::com::sun::star::uno::Type& getCppuType( const ::com::sun::star::io::NotConnectedException* ) >{ > > static typelib_TypeDescriptionReference * s_pType_com_sun_star_io_NotConnectedException = 0; > > > if ( !s_pType_com_sun_star_io_NotConnectedException ) > { > const ::com::sun::star::uno::Type& rBaseType = getCppuType( ( const ::com::sun::star::io::IOException *)0 ); > > typelib_static_compound_type_init( &s_pType_com_sun_star_io_NotConnectedException, typelib_TypeClass_EXCEPTION, "com.sun.star.io.NotConnectedException", rBaseType.getTypeLibType(), 0, 0 ); > } > return * reinterpret_cast< const ::com::sun::star::uno::Type * >( &s_pType_com_sun_star_io_NotConnectedException ); >} > ># 30 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/io/XOutputStream.hpp" 2 ># 45 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/io/XOutputStream.hpp" >inline const ::com::sun::star::uno::Type& getCppuType( const ::com::sun::star::uno::Reference< ::com::sun::star::io::XOutputStream >* ) >{ > > static typelib_TypeDescriptionReference * s_pType_com_sun_star_io_XOutputStream = 0; > > > if ( !s_pType_com_sun_star_io_XOutputStream ) > { > typelib_static_interface_type_init( &s_pType_com_sun_star_io_XOutputStream, "com.sun.star.io.XOutputStream", 0 ); > } > return * reinterpret_cast< ::com::sun::star::uno::Type * >( &s_pType_com_sun_star_io_XOutputStream ); >} > ># 66 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/unotools/streamhelper.hxx" 2 > > > ># 6 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/io/XInputStream.hpp" 1 ># 36 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/io/XInputStream.hdl" 1 >namespace com >{ >namespace sun >{ >namespace star >{ >namespace io >{ > >class XInputStream : public ::com::sun::star::uno::XInterface >{ >public: > > > virtual sal_Int32 readBytes( ::com::sun::star::uno::Sequence< sal_Int8 >& aData, sal_Int32 nBytesToRead ) throw(::com::sun::star::io::NotConnectedException, ::com::sun::star::io::BufferSizeExceededException, ::com::sun::star::io::IOException, ::com::sun::star::uno::RuntimeException) = 0; > virtual sal_Int32 readSomeBytes( ::com::sun::star::uno::Sequence< sal_Int8 >& aData, sal_Int32 nMaxBytesToRead ) throw(::com::sun::star::io::NotConnectedException, ::com::sun::star::io::BufferSizeExceededException, ::com::sun::star::io::IOException, ::com::sun::star::uno::RuntimeException) = 0; > virtual void skipBytes( sal_Int32 nBytesToSkip ) throw(::com::sun::star::io::NotConnectedException, ::com::sun::star::io::BufferSizeExceededException, ::com::sun::star::io::IOException, ::com::sun::star::uno::RuntimeException) = 0; > virtual sal_Int32 available( ) throw(::com::sun::star::io::NotConnectedException, ::com::sun::star::io::IOException, ::com::sun::star::uno::RuntimeException) = 0; > virtual void closeInput( ) throw(::com::sun::star::io::NotConnectedException, ::com::sun::star::io::IOException, ::com::sun::star::uno::RuntimeException) = 0; >}; > >} >} >} >} > >namespace com { namespace sun { namespace star { namespace uno { >class Type; >} } } } > >inline const ::com::sun::star::uno::Type& getCppuType( const ::com::sun::star::uno::Reference< ::com::sun::star::io::XInputStream >* ); > ># 6 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/io/XInputStream.hpp" 2 ># 45 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/io/XInputStream.hpp" >inline const ::com::sun::star::uno::Type& getCppuType( const ::com::sun::star::uno::Reference< ::com::sun::star::io::XInputStream >* ) >{ > > static typelib_TypeDescriptionReference * s_pType_com_sun_star_io_XInputStream = 0; > > > if ( !s_pType_com_sun_star_io_XInputStream ) > { > typelib_static_interface_type_init( &s_pType_com_sun_star_io_XInputStream, "com.sun.star.io.XInputStream", 0 ); > } > return * reinterpret_cast< ::com::sun::star::uno::Type * >( &s_pType_com_sun_star_io_XInputStream ); >} > ># 69 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/unotools/streamhelper.hxx" 2 > > > ># 6 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/io/XSeekable.hpp" 1 ># 16 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/io/XSeekable.hdl" 1 ># 12 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/lang/IllegalArgumentException.hdl" 1 >namespace com >{ >namespace sun >{ >namespace star >{ >namespace lang >{ > >class IllegalArgumentException : public ::com::sun::star::uno::Exception >{ >public: > inline IllegalArgumentException() { } > > inline IllegalArgumentException(const ::rtl::OUString& __Message, const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >& __Context, const sal_Int16& __ArgumentPosition); > > sal_Int16 ArgumentPosition; >}; > >} >} >} >} > >namespace com { namespace sun { namespace star { namespace uno { >class Type; >} } } } > >inline const ::com::sun::star::uno::Type& getCppuType( const ::com::sun::star::lang::IllegalArgumentException* ); > ># 16 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/io/XSeekable.hdl" 2 ># 30 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/io/XSeekable.hdl" >namespace com >{ >namespace sun >{ >namespace star >{ >namespace io >{ > >class XSeekable : public ::com::sun::star::uno::XInterface >{ >public: > > > virtual void seek( sal_Int64 location ) throw(::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::io::IOException, ::com::sun::star::uno::RuntimeException) = 0; > virtual sal_Int64 getPosition( ) throw(::com::sun::star::io::IOException, ::com::sun::star::uno::RuntimeException) = 0; > virtual sal_Int64 getLength( ) throw(::com::sun::star::io::IOException, ::com::sun::star::uno::RuntimeException) = 0; >}; > >} >} >} >} > >namespace com { namespace sun { namespace star { namespace uno { >class Type; >} } } } > >inline const ::com::sun::star::uno::Type& getCppuType( const ::com::sun::star::uno::Reference< ::com::sun::star::io::XSeekable >* ); > ># 6 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/io/XSeekable.hpp" 2 ># 24 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/io/XSeekable.hpp" ># 20 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/lang/IllegalArgumentException.hpp" 1 >namespace com >{ >namespace sun >{ >namespace star >{ >namespace lang >{ > >inline IllegalArgumentException::IllegalArgumentException(const ::rtl::OUString& __Message, const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >& __Context, const sal_Int16& __ArgumentPosition) > : ::com::sun::star::uno::Exception(__Message, __Context) > , ArgumentPosition(__ArgumentPosition) >{ } > >} >} >} >} > > > > > >inline const ::com::sun::star::uno::Type& getCppuType( const ::com::sun::star::lang::IllegalArgumentException* ) >{ > > static typelib_TypeDescriptionReference * s_pType_com_sun_star_lang_IllegalArgumentException = 0; > > > if ( !s_pType_com_sun_star_lang_IllegalArgumentException ) > { > typelib_TypeDescriptionReference * aMemberRefs[1]; > const ::com::sun::star::uno::Type& rMemberType_short = getCppuType( ( const sal_Int16 *)0 ); > aMemberRefs[0] = rMemberType_short.getTypeLibType(); > > typelib_static_compound_type_init( &s_pType_com_sun_star_lang_IllegalArgumentException, typelib_TypeClass_EXCEPTION, "com.sun.star.lang.IllegalArgumentException", * ::typelib_static_type_getByTypeClass( typelib_TypeClass_EXCEPTION ), 1, aMemberRefs ); > } > return * reinterpret_cast< const ::com::sun::star::uno::Type * >( &s_pType_com_sun_star_lang_IllegalArgumentException ); >} > ># 24 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/io/XSeekable.hpp" 2 ># 39 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/io/XSeekable.hpp" >inline const ::com::sun::star::uno::Type& getCppuType( const ::com::sun::star::uno::Reference< ::com::sun::star::io::XSeekable >* ) >{ > > static typelib_TypeDescriptionReference * s_pType_com_sun_star_io_XSeekable = 0; > > > if ( !s_pType_com_sun_star_io_XSeekable ) > { > typelib_static_interface_type_init( &s_pType_com_sun_star_io_XSeekable, "com.sun.star.io.XSeekable", 0 ); > } > return * reinterpret_cast< ::com::sun::star::uno::Type * >( &s_pType_com_sun_star_io_XSeekable ); >} > ># 72 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/unotools/streamhelper.hxx" 2 > > > > > > ># 66 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/cppuhelper/implbase1.hxx" 1 ># 69 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/cppuhelper/implbase.hxx" 1 ># 72 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/cppuhelper/weak.hxx" 1 ># 70 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/cppuhelper/weakref.hxx" 1 >namespace com >{ > >namespace sun >{ > >namespace star >{ > >namespace uno >{ > >class OWeakRefListener; ># 95 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/cppuhelper/weakref.hxx" >class WeakReferenceHelper >{ >public: > > WeakReferenceHelper() > : m_pImpl( 0 ) > {} > > > WeakReferenceHelper( const WeakReferenceHelper & rWeakRef ); > > > > > WeakReferenceHelper( const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > & xInt ); > > > > ~WeakReferenceHelper(); > > > > > WeakReferenceHelper & operator = ( const WeakReferenceHelper & rWeakRef ); > > > > > > WeakReferenceHelper & operator = ( const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > & xInt ) > { return operator = ( WeakReferenceHelper( xInt ) ); } > > > > > sal_Bool operator == ( const WeakReferenceHelper & rObj ) const > { return (get() == rObj.get()); } > > > > > > > ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > get() const; > > > > > > operator Reference< XInterface > () const > { return get(); } > >protected: > > OWeakRefListener * m_pImpl; >}; > >template< class interface_type > >class WeakReference : public WeakReferenceHelper >{ >public: > > WeakReference() > : WeakReferenceHelper() > {} > > > > > WeakReference( const Reference<interface_type > & rRef ) > : WeakReferenceHelper( rRef ) > {} > > > > > operator Reference< interface_type > () const > { return Reference< interface_type >::query( get() ); } >}; > >} >} >} >} > ># 72 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/cppuhelper/weak.hxx" 2 > > > ># 73 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/cppuhelper/queryinterface.hxx" 1 >namespace cppu >{ > > > > > > >template< class Interface1 > >inline ::com::sun::star::uno::Any queryInterface( > const ::com::sun::star::uno::Type & rType, > Interface1 * p1 ) >{ > if (rType == ::getCppuType( (::com::sun::star::uno::Reference< Interface1 > *)0 )) > return ::com::sun::star::uno::Any( &p1, rType ); > else > return ::com::sun::star::uno::Any(); >} > > > > > > > >template< class Interface1, class Interface2 > >inline ::com::sun::star::uno::Any queryInterface( > const ::com::sun::star::uno::Type & rType, > Interface1 * p1, Interface2 * p2 ) >{ > if (rType == ::getCppuType( (::com::sun::star::uno::Reference< Interface1 > *)0 )) > return ::com::sun::star::uno::Any( &p1, rType ); > else if (rType == ::getCppuType( (::com::sun::star::uno::Reference< Interface2 > *)0 )) > return ::com::sun::star::uno::Any( &p2, rType ); > else > return ::com::sun::star::uno::Any(); >} ># 118 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/cppuhelper/queryinterface.hxx" >template< class Interface1, class Interface2, class Interface3 > >inline ::com::sun::star::uno::Any queryInterface( > const ::com::sun::star::uno::Type & rType, > Interface1 * p1, Interface2 * p2, Interface3 * p3 ) >{ > if (rType == ::getCppuType( (::com::sun::star::uno::Reference< Interface1 > *)0 )) > return ::com::sun::star::uno::Any( &p1, rType ); > else if (rType == ::getCppuType( (::com::sun::star::uno::Reference< Interface2 > *)0 )) > return ::com::sun::star::uno::Any( &p2, rType ); > else if (rType == ::getCppuType( (::com::sun::star::uno::Reference< Interface3 > *)0 )) > return ::com::sun::star::uno::Any( &p3, rType ); > else > return ::com::sun::star::uno::Any(); >} ># 141 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/cppuhelper/queryinterface.hxx" >template< class Interface1, class Interface2, class Interface3, class Interface4 > >inline ::com::sun::star::uno::Any queryInterface( > const ::com::sun::star::uno::Type & rType, > Interface1 * p1, Interface2 * p2, Interface3 * p3, Interface4 * p4 ) >{ > if (rType == ::getCppuType( (::com::sun::star::uno::Reference< Interface1 > *)0 )) > return ::com::sun::star::uno::Any( &p1, rType ); > else if (rType == ::getCppuType( (::com::sun::star::uno::Reference< Interface2 > *)0 )) > return ::com::sun::star::uno::Any( &p2, rType ); > else if (rType == ::getCppuType( (::com::sun::star::uno::Reference< Interface3 > *)0 )) > return ::com::sun::star::uno::Any( &p3, rType ); > else if (rType == ::getCppuType( (::com::sun::star::uno::Reference< Interface4 > *)0 )) > return ::com::sun::star::uno::Any( &p4, rType ); > else > return ::com::sun::star::uno::Any(); >} ># 167 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/cppuhelper/queryinterface.hxx" >template< class Interface1, class Interface2, class Interface3, class Interface4, class Interface5 > >inline ::com::sun::star::uno::Any queryInterface( > const ::com::sun::star::uno::Type & rType, > Interface1 * p1, Interface2 * p2, Interface3 * p3, Interface4 * p4, Interface5 * p5 ) >{ > if (rType == ::getCppuType( (::com::sun::star::uno::Reference< Interface1 > *)0 )) > return ::com::sun::star::uno::Any( &p1, rType ); > else if (rType == ::getCppuType( (::com::sun::star::uno::Reference< Interface2 > *)0 )) > return ::com::sun::star::uno::Any( &p2, rType ); > else if (rType == ::getCppuType( (::com::sun::star::uno::Reference< Interface3 > *)0 )) > return ::com::sun::star::uno::Any( &p3, rType ); > else if (rType == ::getCppuType( (::com::sun::star::uno::Reference< Interface4 > *)0 )) > return ::com::sun::star::uno::Any( &p4, rType ); > else if (rType == ::getCppuType( (::com::sun::star::uno::Reference< Interface5 > *)0 )) > return ::com::sun::star::uno::Any( &p5, rType ); > else > return ::com::sun::star::uno::Any(); >} ># 196 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/cppuhelper/queryinterface.hxx" >template< class Interface1, class Interface2, class Interface3, class Interface4, class Interface5, > class Interface6 > >inline ::com::sun::star::uno::Any queryInterface( > const ::com::sun::star::uno::Type & rType, > Interface1 * p1, Interface2 * p2, Interface3 * p3, Interface4 * p4, Interface5 * p5, > Interface6 * p6 ) >{ > if (rType == ::getCppuType( (::com::sun::star::uno::Reference< Interface1 > *)0 )) > return ::com::sun::star::uno::Any( &p1, rType ); > else if (rType == ::getCppuType( (::com::sun::star::uno::Reference< Interface2 > *)0 )) > return ::com::sun::star::uno::Any( &p2, rType ); > else if (rType == ::getCppuType( (::com::sun::star::uno::Reference< Interface3 > *)0 )) > return ::com::sun::star::uno::Any( &p3, rType ); > else if (rType == ::getCppuType( (::com::sun::star::uno::Reference< Interface4 > *)0 )) > return ::com::sun::star::uno::Any( &p4, rType ); > else if (rType == ::getCppuType( (::com::sun::star::uno::Reference< Interface5 > *)0 )) > return ::com::sun::star::uno::Any( &p5, rType ); > else if (rType == ::getCppuType( (::com::sun::star::uno::Reference< Interface6 > *)0 )) > return ::com::sun::star::uno::Any( &p6, rType ); > else > return ::com::sun::star::uno::Any(); >} ># 230 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/cppuhelper/queryinterface.hxx" >template< class Interface1, class Interface2, class Interface3, class Interface4, class Interface5, > class Interface6, class Interface7 > >inline ::com::sun::star::uno::Any queryInterface( > const ::com::sun::star::uno::Type & rType, > Interface1 * p1, Interface2 * p2, Interface3 * p3, Interface4 * p4, Interface5 * p5, > Interface6 * p6, Interface7 * p7 ) >{ > if (rType == ::getCppuType( (::com::sun::star::uno::Reference< Interface1 > *)0 )) > return ::com::sun::star::uno::Any( &p1, rType ); > else if (rType == ::getCppuType( (::com::sun::star::uno::Reference< Interface2 > *)0 )) > return ::com::sun::star::uno::Any( &p2, rType ); > else if (rType == ::getCppuType( (::com::sun::star::uno::Reference< Interface3 > *)0 )) > return ::com::sun::star::uno::Any( &p3, rType ); > else if (rType == ::getCppuType( (::com::sun::star::uno::Reference< Interface4 > *)0 )) > return ::com::sun::star::uno::Any( &p4, rType ); > else if (rType == ::getCppuType( (::com::sun::star::uno::Reference< Interface5 > *)0 )) > return ::com::sun::star::uno::Any( &p5, rType ); > else if (rType == ::getCppuType( (::com::sun::star::uno::Reference< Interface6 > *)0 )) > return ::com::sun::star::uno::Any( &p6, rType ); > else if (rType == ::getCppuType( (::com::sun::star::uno::Reference< Interface7 > *)0 )) > return ::com::sun::star::uno::Any( &p7, rType ); > else > return ::com::sun::star::uno::Any(); >} ># 267 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/cppuhelper/queryinterface.hxx" >template< class Interface1, class Interface2, class Interface3, class Interface4, class Interface5, > class Interface6, class Interface7, class Interface8 > >inline ::com::sun::star::uno::Any queryInterface( > const ::com::sun::star::uno::Type & rType, > Interface1 * p1, Interface2 * p2, Interface3 * p3, Interface4 * p4, Interface5 * p5, > Interface6 * p6, Interface7 * p7, Interface8 * p8 ) >{ > if (rType == ::getCppuType( (::com::sun::star::uno::Reference< Interface1 > *)0 )) > return ::com::sun::star::uno::Any( &p1, rType ); > else if (rType == ::getCppuType( (::com::sun::star::uno::Reference< Interface2 > *)0 )) > return ::com::sun::star::uno::Any( &p2, rType ); > else if (rType == ::getCppuType( (::com::sun::star::uno::Reference< Interface3 > *)0 )) > return ::com::sun::star::uno::Any( &p3, rType ); > else if (rType == ::getCppuType( (::com::sun::star::uno::Reference< Interface4 > *)0 )) > return ::com::sun::star::uno::Any( &p4, rType ); > else if (rType == ::getCppuType( (::com::sun::star::uno::Reference< Interface5 > *)0 )) > return ::com::sun::star::uno::Any( &p5, rType ); > else if (rType == ::getCppuType( (::com::sun::star::uno::Reference< Interface6 > *)0 )) > return ::com::sun::star::uno::Any( &p6, rType ); > else if (rType == ::getCppuType( (::com::sun::star::uno::Reference< Interface7 > *)0 )) > return ::com::sun::star::uno::Any( &p7, rType ); > else if (rType == ::getCppuType( (::com::sun::star::uno::Reference< Interface8 > *)0 )) > return ::com::sun::star::uno::Any( &p8, rType ); > else > return ::com::sun::star::uno::Any(); >} ># 307 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/cppuhelper/queryinterface.hxx" >template< class Interface1, class Interface2, class Interface3, class Interface4, class Interface5, > class Interface6, class Interface7, class Interface8, class Interface9 > >inline ::com::sun::star::uno::Any queryInterface( > const ::com::sun::star::uno::Type & rType, > Interface1 * p1, Interface2 * p2, Interface3 * p3, Interface4 * p4, Interface5 * p5, > Interface6 * p6, Interface7 * p7, Interface8 * p8, Interface9 * p9 ) >{ > if (rType == ::getCppuType( (::com::sun::star::uno::Reference< Interface1 > *)0 )) > return ::com::sun::star::uno::Any( &p1, rType ); > else if (rType == ::getCppuType( (::com::sun::star::uno::Reference< Interface2 > *)0 )) > return ::com::sun::star::uno::Any( &p2, rType ); > else if (rType == ::getCppuType( (::com::sun::star::uno::Reference< Interface3 > *)0 )) > return ::com::sun::star::uno::Any( &p3, rType ); > else if (rType == ::getCppuType( (::com::sun::star::uno::Reference< Interface4 > *)0 )) > return ::com::sun::star::uno::Any( &p4, rType ); > else if (rType == ::getCppuType( (::com::sun::star::uno::Reference< Interface5 > *)0 )) > return ::com::sun::star::uno::Any( &p5, rType ); > else if (rType == ::getCppuType( (::com::sun::star::uno::Reference< Interface6 > *)0 )) > return ::com::sun::star::uno::Any( &p6, rType ); > else if (rType == ::getCppuType( (::com::sun::star::uno::Reference< Interface7 > *)0 )) > return ::com::sun::star::uno::Any( &p7, rType ); > else if (rType == ::getCppuType( (::com::sun::star::uno::Reference< Interface8 > *)0 )) > return ::com::sun::star::uno::Any( &p8, rType ); > else if (rType == ::getCppuType( (::com::sun::star::uno::Reference< Interface9 > *)0 )) > return ::com::sun::star::uno::Any( &p9, rType ); > else > return ::com::sun::star::uno::Any(); >} ># 350 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/cppuhelper/queryinterface.hxx" >template< class Interface1, class Interface2, class Interface3, class Interface4, class Interface5, > class Interface6, class Interface7, class Interface8, class Interface9, class Interface10 > >inline ::com::sun::star::uno::Any queryInterface( > const ::com::sun::star::uno::Type & rType, > Interface1 * p1, Interface2 * p2, Interface3 * p3, Interface4 * p4, Interface5 * p5, > Interface6 * p6, Interface7 * p7, Interface8 * p8, Interface9 * p9, Interface10 * p10 ) >{ > if (rType == ::getCppuType( (::com::sun::star::uno::Reference< Interface1 > *)0 )) > return ::com::sun::star::uno::Any( &p1, rType ); > else if (rType == ::getCppuType( (::com::sun::star::uno::Reference< Interface2 > *)0 )) > return ::com::sun::star::uno::Any( &p2, rType ); > else if (rType == ::getCppuType( (::com::sun::star::uno::Reference< Interface3 > *)0 )) > return ::com::sun::star::uno::Any( &p3, rType ); > else if (rType == ::getCppuType( (::com::sun::star::uno::Reference< Interface4 > *)0 )) > return ::com::sun::star::uno::Any( &p4, rType ); > else if (rType == ::getCppuType( (::com::sun::star::uno::Reference< Interface5 > *)0 )) > return ::com::sun::star::uno::Any( &p5, rType ); > else if (rType == ::getCppuType( (::com::sun::star::uno::Reference< Interface6 > *)0 )) > return ::com::sun::star::uno::Any( &p6, rType ); > else if (rType == ::getCppuType( (::com::sun::star::uno::Reference< Interface7 > *)0 )) > return ::com::sun::star::uno::Any( &p7, rType ); > else if (rType == ::getCppuType( (::com::sun::star::uno::Reference< Interface8 > *)0 )) > return ::com::sun::star::uno::Any( &p8, rType ); > else if (rType == ::getCppuType( (::com::sun::star::uno::Reference< Interface9 > *)0 )) > return ::com::sun::star::uno::Any( &p9, rType ); > else if (rType == ::getCppuType( (::com::sun::star::uno::Reference< Interface10 > *)0 )) > return ::com::sun::star::uno::Any( &p10, rType ); > else > return ::com::sun::star::uno::Any(); >} ># 396 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/cppuhelper/queryinterface.hxx" >template< class Interface1, class Interface2, class Interface3, class Interface4, class Interface5, > class Interface6, class Interface7, class Interface8, class Interface9, class Interface10, > class Interface11 > >inline ::com::sun::star::uno::Any queryInterface( > const ::com::sun::star::uno::Type & rType, > Interface1 * p1, Interface2 * p2, Interface3 * p3, Interface4 * p4, Interface5 * p5, > Interface6 * p6, Interface7 * p7, Interface8 * p8, Interface9 * p9, Interface10 * p10, > Interface11 * p11 ) >{ > if (rType == ::getCppuType( (::com::sun::star::uno::Reference< Interface1 > *)0 )) > return ::com::sun::star::uno::Any( &p1, rType ); > else if (rType == ::getCppuType( (::com::sun::star::uno::Reference< Interface2 > *)0 )) > return ::com::sun::star::uno::Any( &p2, rType ); > else if (rType == ::getCppuType( (::com::sun::star::uno::Reference< Interface3 > *)0 )) > return ::com::sun::star::uno::Any( &p3, rType ); > else if (rType == ::getCppuType( (::com::sun::star::uno::Reference< Interface4 > *)0 )) > return ::com::sun::star::uno::Any( &p4, rType ); > else if (rType == ::getCppuType( (::com::sun::star::uno::Reference< Interface5 > *)0 )) > return ::com::sun::star::uno::Any( &p5, rType ); > else if (rType == ::getCppuType( (::com::sun::star::uno::Reference< Interface6 > *)0 )) > return ::com::sun::star::uno::Any( &p6, rType ); > else if (rType == ::getCppuType( (::com::sun::star::uno::Reference< Interface7 > *)0 )) > return ::com::sun::star::uno::Any( &p7, rType ); > else if (rType == ::getCppuType( (::com::sun::star::uno::Reference< Interface8 > *)0 )) > return ::com::sun::star::uno::Any( &p8, rType ); > else if (rType == ::getCppuType( (::com::sun::star::uno::Reference< Interface9 > *)0 )) > return ::com::sun::star::uno::Any( &p9, rType ); > else if (rType == ::getCppuType( (::com::sun::star::uno::Reference< Interface10 > *)0 )) > return ::com::sun::star::uno::Any( &p10, rType ); > else if (rType == ::getCppuType( (::com::sun::star::uno::Reference< Interface11 > *)0 )) > return ::com::sun::star::uno::Any( &p11, rType ); > else > return ::com::sun::star::uno::Any(); >} ># 447 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/cppuhelper/queryinterface.hxx" >template< class Interface1, class Interface2, class Interface3, class Interface4, class Interface5, > class Interface6, class Interface7, class Interface8, class Interface9, class Interface10, > class Interface11, class Interface12 > >inline ::com::sun::star::uno::Any queryInterface( > const ::com::sun::star::uno::Type & rType, > Interface1 * p1, Interface2 * p2, Interface3 * p3, Interface4 * p4, Interface5 * p5, > Interface6 * p6, Interface7 * p7, Interface8 * p8, Interface9 * p9, Interface10 * p10, > Interface11 * p11, Interface12 * p12 ) >{ > if (rType == ::getCppuType( (::com::sun::star::uno::Reference< Interface1 > *)0 )) > return ::com::sun::star::uno::Any( &p1, rType ); > else if (rType == ::getCppuType( (::com::sun::star::uno::Reference< Interface2 > *)0 )) > return ::com::sun::star::uno::Any( &p2, rType ); > else if (rType == ::getCppuType( (::com::sun::star::uno::Reference< Interface3 > *)0 )) > return ::com::sun::star::uno::Any( &p3, rType ); > else if (rType == ::getCppuType( (::com::sun::star::uno::Reference< Interface4 > *)0 )) > return ::com::sun::star::uno::Any( &p4, rType ); > else if (rType == ::getCppuType( (::com::sun::star::uno::Reference< Interface5 > *)0 )) > return ::com::sun::star::uno::Any( &p5, rType ); > else if (rType == ::getCppuType( (::com::sun::star::uno::Reference< Interface6 > *)0 )) > return ::com::sun::star::uno::Any( &p6, rType ); > else if (rType == ::getCppuType( (::com::sun::star::uno::Reference< Interface7 > *)0 )) > return ::com::sun::star::uno::Any( &p7, rType ); > else if (rType == ::getCppuType( (::com::sun::star::uno::Reference< Interface8 > *)0 )) > return ::com::sun::star::uno::Any( &p8, rType ); > else if (rType == ::getCppuType( (::com::sun::star::uno::Reference< Interface9 > *)0 )) > return ::com::sun::star::uno::Any( &p9, rType ); > else if (rType == ::getCppuType( (::com::sun::star::uno::Reference< Interface10 > *)0 )) > return ::com::sun::star::uno::Any( &p10, rType ); > else if (rType == ::getCppuType( (::com::sun::star::uno::Reference< Interface11 > *)0 )) > return ::com::sun::star::uno::Any( &p11, rType ); > else if (rType == ::getCppuType( (::com::sun::star::uno::Reference< Interface12 > *)0 )) > return ::com::sun::star::uno::Any( &p12, rType ); > else > return ::com::sun::star::uno::Any(); >} > >} > ># 75 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/cppuhelper/weak.hxx" 2 > > > ># 6 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/uno/XWeak.hpp" 1 ># 21 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/uno/XWeak.hdl" 1 >namespace com { namespace sun { namespace star { namespace uno { >class XAdapter; >} } } } > > > > > >namespace com >{ >namespace sun >{ >namespace star >{ >namespace uno >{ > >class XWeak : public ::com::sun::star::uno::XInterface >{ >public: > > > virtual ::com::sun::star::uno::Reference< ::com::sun::star::uno::XAdapter > queryAdapter( ) throw(::com::sun::star::uno::RuntimeException) = 0; >}; > >} >} >} >} > >namespace com { namespace sun { namespace star { namespace uno { >class Type; >} } } } > >inline const ::com::sun::star::uno::Type& getCppuType( const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XWeak >* ); > ># 6 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/uno/XWeak.hpp" 2 ># 27 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/uno/XWeak.hpp" ># 6 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/uno/XAdapter.hpp" 1 ># 24 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/uno/XAdapter.hdl" 1 >namespace com { namespace sun { namespace star { namespace uno { >class XReference; >} } } } > > >namespace com >{ >namespace sun >{ >namespace star >{ >namespace uno >{ > >class XAdapter : public ::com::sun::star::uno::XInterface >{ >public: > > > virtual ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > queryAdapted( ) throw(::com::sun::star::uno::RuntimeException) = 0; > virtual void addReference( const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XReference >& xRef ) throw(::com::sun::star::uno::RuntimeException) = 0; > virtual void removeReference( const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XReference >& xRef ) throw(::com::sun::star::uno::RuntimeException) = 0; >}; > >} >} >} >} > >namespace com { namespace sun { namespace star { namespace uno { >class Type; >} } } } > >inline const ::com::sun::star::uno::Type& getCppuType( const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XAdapter >* ); > ># 6 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/uno/XAdapter.hpp" 2 ># 30 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/uno/XAdapter.hpp" ># 6 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/uno/XReference.hpp" 1 ># 24 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/uno/XReference.hdl" 1 >namespace com >{ >namespace sun >{ >namespace star >{ >namespace uno >{ > >class XReference : public ::com::sun::star::uno::XInterface >{ >public: > > > virtual void dispose( ) throw(::com::sun::star::uno::RuntimeException) = 0; >}; > >} >} >} >} > >namespace com { namespace sun { namespace star { namespace uno { >class Type; >} } } } > >inline const ::com::sun::star::uno::Type& getCppuType( const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XReference >* ); > ># 6 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/uno/XReference.hpp" 2 ># 33 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/uno/XReference.hpp" >inline const ::com::sun::star::uno::Type& getCppuType( const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XReference >* ) >{ > > static typelib_TypeDescriptionReference * s_pType_com_sun_star_uno_XReference = 0; > > > if ( !s_pType_com_sun_star_uno_XReference ) > { > typelib_static_interface_type_init( &s_pType_com_sun_star_uno_XReference, "com.sun.star.uno.XReference", 0 ); > } > return * reinterpret_cast< ::com::sun::star::uno::Type * >( &s_pType_com_sun_star_uno_XReference ); >} > ># 30 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/uno/XAdapter.hpp" 2 > > > > > > >inline const ::com::sun::star::uno::Type& getCppuType( const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XAdapter >* ) >{ > > static typelib_TypeDescriptionReference * s_pType_com_sun_star_uno_XAdapter = 0; > > > if ( !s_pType_com_sun_star_uno_XAdapter ) > { > typelib_static_interface_type_init( &s_pType_com_sun_star_uno_XAdapter, "com.sun.star.uno.XAdapter", 0 ); > } > return * reinterpret_cast< ::com::sun::star::uno::Type * >( &s_pType_com_sun_star_uno_XAdapter ); >} > ># 27 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/uno/XWeak.hpp" 2 ># 36 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/uno/XWeak.hpp" >inline const ::com::sun::star::uno::Type& getCppuType( const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XWeak >* ) >{ > > static typelib_TypeDescriptionReference * s_pType_com_sun_star_uno_XWeak = 0; > > > if ( !s_pType_com_sun_star_uno_XWeak ) > { > typelib_static_interface_type_init( &s_pType_com_sun_star_uno_XWeak, "com.sun.star.uno.XWeak", 0 ); > } > return * reinterpret_cast< ::com::sun::star::uno::Type * >( &s_pType_com_sun_star_uno_XWeak ); >} > ># 78 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/cppuhelper/weak.hxx" 2 > > > >namespace cppu >{ > >class OWeakConnectionPoint; ># 95 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/cppuhelper/weak.hxx" >class OWeakObject : public ::com::sun::star::uno::XWeak >{ > friend class OWeakConnectionPoint; >protected: > > > > virtual ~OWeakObject() throw(::com::sun::star::uno::RuntimeException); > > > > > oslInterlockedCount m_refCount; > > > > > > > OWeakConnectionPoint * m_pWeakConnectionPoint; >public: > > static void * operator new( size_t nSize ) throw() > { return ::rtl_allocateMemory( nSize ); } > static void operator delete( void * pMem ) throw() > { ::rtl_freeMemory( pMem ); } > > > > > OWeakObject() throw() > : m_refCount( 0 ) > , m_pWeakConnectionPoint( 0 ) > {} > > > > OWeakObject( const OWeakObject & rObj ) throw() > : m_refCount( 0 ) > , m_pWeakConnectionPoint( 0 ) > {} > > > > > inline OWeakObject & operator = ( const OWeakObject & rObj) throw() > { return *this; } > > > virtual ::com::sun::star::uno::Any queryInterface( const ::com::sun::star::uno::Type & rType ) throw(::com::sun::star::uno::RuntimeException); > virtual void acquire() throw(); > virtual void release() throw(); > > > virtual ::com::sun::star::uno::Reference< ::com::sun::star::uno::XAdapter > queryAdapter() throw(); > > > inline operator ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > () throw() > { return this; } >}; > >} > ># 69 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/cppuhelper/implbase.hxx" 2 > > > ># 69 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/cppuhelper/weakagg.hxx" 1 ># 6 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/uno/XAggregation.hpp" 1 ># 30 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/uno/XAggregation.hdl" 1 >namespace com >{ >namespace sun >{ >namespace star >{ >namespace uno >{ > >class XAggregation : public ::com::sun::star::uno::XInterface >{ >public: > > > virtual void setDelegator( const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >& pDelegator ) throw(::com::sun::star::uno::RuntimeException) = 0; > virtual ::com::sun::star::uno::Any queryAggregation( const ::com::sun::star::uno::Type& aType ) throw(::com::sun::star::uno::RuntimeException) = 0; >}; > >} >} >} >} > >namespace com { namespace sun { namespace star { namespace uno { >class Type; >} } } } > >inline const ::com::sun::star::uno::Type& getCppuType( const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XAggregation >* ); > ># 6 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/uno/XAggregation.hpp" 2 ># 39 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/uno/XAggregation.hpp" >inline const ::com::sun::star::uno::Type& getCppuType( const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XAggregation >* ) >{ > > static typelib_TypeDescriptionReference * s_pType_com_sun_star_uno_XAggregation = 0; > > > if ( !s_pType_com_sun_star_uno_XAggregation ) > { > typelib_static_interface_type_init( &s_pType_com_sun_star_uno_XAggregation, "com.sun.star.uno.XAggregation", 0 ); > } > return * reinterpret_cast< ::com::sun::star::uno::Type * >( &s_pType_com_sun_star_uno_XAggregation ); >} > ># 69 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/cppuhelper/weakagg.hxx" 2 > > > >namespace cppu >{ ># 85 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/cppuhelper/weakagg.hxx" >class OWeakAggObject : public ::cppu::OWeakObject, public ::com::sun::star::uno::XAggregation >{ >public: > > > > OWeakAggObject() > {} > > > > > > > virtual void acquire() throw(); > > > > > > virtual void release() throw(); > > > > > > virtual ::com::sun::star::uno::Any queryInterface( const ::com::sun::star::uno::Type & rType ) > throw(::com::sun::star::uno::RuntimeException); > > > > > > > > virtual void setDelegator( const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > & Delegator ) > throw(::com::sun::star::uno::RuntimeException); > > > > > > virtual ::com::sun::star::uno::Any queryAggregation( const ::com::sun::star::uno::Type & rType ) > throw(::com::sun::star::uno::RuntimeException); > >protected: > > > > virtual ~OWeakAggObject(); > > > > > > ::com::sun::star::uno::WeakReferenceHelper xDelegator; >private: > OWeakAggObject( const OWeakObject & rObj ); > > OWeakObject & operator = ( const OWeakObject & rObj ); >}; > >} > ># 72 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/cppuhelper/implbase.hxx" 2 > > > ># 6 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/lang/XTypeProvider.hpp" 1 ># 30 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/lang/XTypeProvider.hdl" 1 >namespace com >{ >namespace sun >{ >namespace star >{ >namespace lang >{ > >class XTypeProvider : public ::com::sun::star::uno::XInterface >{ >public: > > > virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type > getTypes( ) throw(::com::sun::star::uno::RuntimeException) = 0; > virtual ::com::sun::star::uno::Sequence< sal_Int8 > getImplementationId( ) throw(::com::sun::star::uno::RuntimeException) = 0; >}; > >} >} >} >} > >namespace com { namespace sun { namespace star { namespace uno { >class Type; >} } } } > >inline const ::com::sun::star::uno::Type& getCppuType( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XTypeProvider >* ); > ># 6 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/lang/XTypeProvider.hpp" 2 ># 39 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/lang/XTypeProvider.hpp" >inline const ::com::sun::star::uno::Type& getCppuType( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XTypeProvider >* ) >{ > > static typelib_TypeDescriptionReference * s_pType_com_sun_star_lang_XTypeProvider = 0; > > > if ( !s_pType_com_sun_star_lang_XTypeProvider ) > { > typelib_static_interface_type_init( &s_pType_com_sun_star_lang_XTypeProvider, "com.sun.star.lang.XTypeProvider", 0 ); > } > return * reinterpret_cast< ::com::sun::star::uno::Type * >( &s_pType_com_sun_star_lang_XTypeProvider ); >} > ># 75 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/cppuhelper/implbase.hxx" 2 > ># 6 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/lang/XMultiServiceFactory.hpp" 1 ># 39 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/lang/XMultiServiceFactory.hdl" 1 >namespace com >{ >namespace sun >{ >namespace star >{ >namespace lang >{ > >class XMultiServiceFactory : public ::com::sun::star::uno::XInterface >{ >public: > > > virtual ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > createInstance( const ::rtl::OUString& aServiceSpecifier ) throw(::com::sun::star::uno::Exception, ::com::sun::star::uno::RuntimeException) = 0; > virtual ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > createInstanceWithArguments( const ::rtl::OUString& ServiceSpecifier, const ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Any >& Arguments ) throw(::com::sun::star::uno::Exception, ::com::sun::star::uno::RuntimeException) = 0; > virtual ::com::sun::star::uno::Sequence< ::rtl::OUString > getAvailableServiceNames( ) throw(::com::sun::star::uno::RuntimeException) = 0; >}; > >} >} >} >} > >namespace com { namespace sun { namespace star { namespace uno { >class Type; >} } } } > >inline const ::com::sun::star::uno::Type& getCppuType( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >* ); > ># 6 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/lang/XMultiServiceFactory.hpp" 2 ># 42 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/lang/XMultiServiceFactory.hpp" >inline const ::com::sun::star::uno::Type& getCppuType( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >* ) >{ > > static typelib_TypeDescriptionReference * s_pType_com_sun_star_lang_XMultiServiceFactory = 0; > > > if ( !s_pType_com_sun_star_lang_XMultiServiceFactory ) > { > typelib_static_interface_type_init( &s_pType_com_sun_star_lang_XMultiServiceFactory, "com.sun.star.lang.XMultiServiceFactory", 0 ); > } > return * reinterpret_cast< ::com::sun::star::uno::Type * >( &s_pType_com_sun_star_lang_XMultiServiceFactory ); >} > ># 76 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/cppuhelper/implbase.hxx" 2 > > >namespace cppu >{ > >struct Type_Offset >{ > sal_Int32 nOffset; > typelib_InterfaceTypeDescription * pTD; >}; >struct ClassDataBase >{ > sal_Bool bOffsetsInit; > sal_Int32 nType2Offset; > > sal_Int32 nClassCode; > ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type > * pTypes; > ::com::sun::star::uno::Sequence< sal_Int8 > * pId; > > ClassDataBase(); > ClassDataBase( sal_Int32 nClassCode ); > ~ClassDataBase(); >}; >struct ClassData : public ClassDataBase >{ > Type_Offset arType2Offset[1]; > > void initTypeProvider(); > void writeTypeOffset( const ::com::sun::star::uno::Type & rType, sal_Int32 nOffset ); > > ::com::sun::star::uno::Any query( > const ::com::sun::star::uno::Type & rType, ::com::sun::star::lang::XTypeProvider * pBase ); > ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type > getTypes(); > ::com::sun::star::uno::Sequence< sal_Int8 > getImplementationId(); >}; > >} > > > > > > ># 66 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/cppuhelper/implbase1.hxx" 2 > > > > > >namespace cppu { struct ClassData1 : public ClassDataBase { Type_Offset arType2Offset[ 1 ]; ClassData1( sal_Int32 nClassCode ) : ClassDataBase( nClassCode ) {} }; template< class Ifc1 > class ImplHelperBase1 : public ::com::sun::star::lang::XTypeProvider, public Ifc1 { protected: ClassData & getClassData( ClassDataBase & s_aCD ) { ClassData & rCD = * static_cast< ClassData * >( &s_aCD ); if (! rCD.bOffsetsInit) { ::osl::MutexGuard aGuard( ::osl::Mutex::getGlobalMutex() ); if (! rCD.bOffsetsInit) { char * pBase = (char *)this; > rCD.writeTypeOffset( ::getCppuType( (const ::com::sun::star::uno::Reference< Ifc1 > *)0 ), (char *)(Ifc1 *)this - pBase ); >rCD.bOffsetsInit = ((unsigned char)1); } } return rCD; } }; template< class Ifc1 > class ImplHelper1 : public ImplHelperBase1< Ifc1 > { static ClassData1 s_aCD; public: virtual ::com::sun::star::uno::Any queryInterface( const ::com::sun::star::uno::Type & rType ) throw (::com::sun::star::uno::RuntimeException) { return getClassData( s_aCD ).query( rType, (ImplHelperBase1< Ifc1 > *)this ); } virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type > getTypes() throw (::com::sun::star::uno::RuntimeException) { return getClassData( s_aCD ).getTypes(); } virtual ::com::sun::star::uno::Sequence< sal_Int8 > getImplementationId() throw (::com::sun::star::uno::RuntimeException) { return getClassData( s_aCD ).getImplementationId(); } }; template< class Ifc1 > class WeakImplHelper1 : public ::cppu::OWeakObject , public ImplHelperBase1< Ifc1 > { static ClassData1 s_aCD; public: virtual ::com::sun::star::uno::Any queryInterface( const ::com::sun::star::uno::Type & rType ) throw(::com::sun::star::uno::RuntimeException) { ::com::sun::star::uno::Any aRet( getClassData( s_aCD ).query( rType, (ImplHelperBase1< Ifc1 > *)this ) ); return (aRet.hasValue() ? aRet : OWeakObject::queryInterface( rType )); } virtual void acquire() throw() { OWeakObject::acquire(); } virtual void release() throw() { OWeakObject::release(); } virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type > getTypes() throw (::com::sun::star::uno::RuntimeException) { return getClassData( s_aCD ).getTypes(); } virtual ::com::sun::star::uno::Sequence< sal_Int8 > getImplementationId() throw (::com::sun::star::uno::RuntimeException) { return getClassData( s_aCD ).getImplementationId(); } }; template< class Ifc1 > class WeakAggImplHelper1 : public ::cppu::OWeakAggObject , public ImplHelperBase1< Ifc1 > { static ClassData1 s_aCD; public: virtual ::com::sun::star::uno::Any queryInterface( const ::com::sun::star::uno::Type & rType ) throw(::com::sun::star::uno::RuntimeException) { return OWeakAggObject::queryInterface( rType ); } virtual ::com::sun::star::uno::Any queryAggregation( const ::com::sun::star::uno::Type & rType ) throw(::com::sun::star::uno::RuntimeException) { ::com::sun::star::uno::Any aRet( getClassData( s_aCD ).query( rType, (ImplHelperBase1< Ifc1 > *)this ) ); return (aRet.hasValue() ? aRet : OWeakAggObject::queryAggregation( rType )); } virtual void acquire() throw() { OWeakAggObject::acquire(); } virtual void release() throw() { OWeakAggObject::release(); } virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type > getTypes() throw (::com::sun::star::uno::RuntimeException) { return getClassData( s_aCD ).getTypes(); } virtual ::com::sun::star::uno::Sequence< sal_Int8 > getImplementationId() throw (::com::sun::star::uno::RuntimeException) { return getClassData( s_aCD ).getImplementationId(); } }; template< class Ifc1 > ClassData1 ImplHelper1< Ifc1 >::s_aCD = ClassData1( 0 ); template< class Ifc1 > ClassData1 WeakImplHelper1< Ifc1 >::s_aCD = ClassData1( 1 ); template< class Ifc1 > ClassData1 WeakAggImplHelper1< Ifc1 >::s_aCD = ClassData1( 2 ); } > ># 78 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/unotools/streamhelper.hxx" 2 > > > ># 71 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/cppuhelper/implbase2.hxx" 1 >namespace cppu { struct ClassData2 : public ClassDataBase { Type_Offset arType2Offset[ 2 ]; ClassData2( sal_Int32 nClassCode ) : ClassDataBase( nClassCode ) {} }; template< class Ifc1, class Ifc2 > class ImplHelperBase2 : public ::com::sun::star::lang::XTypeProvider, public Ifc1, public Ifc2 { protected: ClassData & getClassData( ClassDataBase & s_aCD ) { ClassData & rCD = * static_cast< ClassData * >( &s_aCD ); if (! rCD.bOffsetsInit) { ::osl::MutexGuard aGuard( ::osl::Mutex::getGlobalMutex() ); if (! rCD.bOffsetsInit) { char * pBase = (char *)this; > rCD.writeTypeOffset( ::getCppuType( (const ::com::sun::star::uno::Reference< Ifc1 > *)0 ), (char *)(Ifc1 *)this - pBase ); rCD.writeTypeOffset( ::getCppuType( (const ::com::sun::star::uno::Reference< Ifc2 > *)0 ), (char *)(Ifc2 *)this - pBase ); >rCD.bOffsetsInit = ((unsigned char)1); } } return rCD; } }; template< class Ifc1, class Ifc2 > class ImplHelper2 : public ImplHelperBase2< Ifc1, Ifc2 > { static ClassData2 s_aCD; public: virtual ::com::sun::star::uno::Any queryInterface( const ::com::sun::star::uno::Type & rType ) throw (::com::sun::star::uno::RuntimeException) { return getClassData( s_aCD ).query( rType, (ImplHelperBase2< Ifc1, Ifc2 > *)this ); } virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type > getTypes() throw (::com::sun::star::uno::RuntimeException) { return getClassData( s_aCD ).getTypes(); } virtual ::com::sun::star::uno::Sequence< sal_Int8 > getImplementationId() throw (::com::sun::star::uno::RuntimeException) { return getClassData( s_aCD ).getImplementationId(); } }; template< class Ifc1, class Ifc2 > class WeakImplHelper2 : public ::cppu::OWeakObject , public ImplHelperBase2< Ifc1, Ifc2 > { static ClassData2 s_aCD; public: virtual ::com::sun::star::uno::Any queryInterface( const ::com::sun::star::uno::Type & rType ) throw(::com::sun::star::uno::RuntimeException) { ::com::sun::star::uno::Any aRet( getClassData( s_aCD ).query( rType, (ImplHelperBase2< Ifc1, Ifc2 > *)this ) ); return (aRet.hasValue() ? aRet : OWeakObject::queryInterface( rType )); } virtual void acquire() throw() { OWeakObject::acquire(); } virtual void release() throw() { OWeakObject::release(); } virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type > getTypes() throw (::com::sun::star::uno::RuntimeException) { return getClassData( s_aCD ).getTypes(); } virtual ::com::sun::star::uno::Sequence< sal_Int8 > getImplementationId() throw (::com::sun::star::uno::RuntimeException) { return getClassData( s_aCD ).getImplementationId(); } }; template< class Ifc1, class Ifc2 > class WeakAggImplHelper2 : public ::cppu::OWeakAggObject , public ImplHelperBase2< Ifc1, Ifc2 > { static ClassData2 s_aCD; public: virtual ::com::sun::star::uno::Any queryInterface( const ::com::sun::star::uno::Type & rType ) throw(::com::sun::star::uno::RuntimeException) { return OWeakAggObject::queryInterface( rType ); } virtual ::com::sun::star::uno::Any queryAggregation( const ::com::sun::star::uno::Type & rType ) throw(::com::sun::star::uno::RuntimeException) { ::com::sun::star::uno::Any aRet( getClassData( s_aCD ).query( rType, (ImplHelperBase2< Ifc1, Ifc2 > *)this ) ); return (aRet.hasValue() ? aRet : OWeakAggObject::queryAggregation( rType )); } virtual void acquire() throw() { OWeakAggObject::acquire(); } virtual void release() throw() { OWeakAggObject::release(); } virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type > getTypes() throw (::com::sun::star::uno::RuntimeException) { return getClassData( s_aCD ).getTypes(); } virtual ::com::sun::star::uno::Sequence< sal_Int8 > getImplementationId() throw (::com::sun::star::uno::RuntimeException) { return getClassData( s_aCD ).getImplementationId(); } }; template< class Ifc1, class Ifc2 > ClassData2 ImplHelper2< Ifc1, Ifc2 >::s_aCD = ClassData2( 0 ); template< class Ifc1, class Ifc2 > ClassData2 WeakImplHelper2< Ifc1, Ifc2 >::s_aCD = ClassData2( 1 ); template< class Ifc1, class Ifc2 > ClassData2 WeakAggImplHelper2< Ifc1, Ifc2 >::s_aCD = ClassData2( 2 ); } > ># 81 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/unotools/streamhelper.hxx" 2 > > > > > >namespace utl >{ > namespace stario = ::com::sun::star::io; > namespace staruno = ::com::sun::star::uno; > > > > > > > > typedef ::cppu::WeakImplHelper2<stario::XInputStream, stario::XSeekable> InputStreamHelper_Base; > >class OInputStreamHelper : public InputStreamHelper_Base >{ > ::osl::Mutex m_aMutex; > SvLockBytesRef m_xLockBytes; > sal_uInt32 m_nActPos; > sal_Int32 m_nAvailable; > >public: > OInputStreamHelper(const SvLockBytesRef& _xLockBytes, > sal_uInt32 _nAvailable, > sal_uInt32 _nPos = 0) > :m_xLockBytes(_xLockBytes) > ,m_nActPos(_nPos) > ,m_nAvailable(_nAvailable){} > > > virtual void acquire() throw (); > virtual void release() throw (); > > > virtual sal_Int32 readBytes( staruno::Sequence< sal_Int8 >& aData, sal_Int32 nBytesToRead ) throw(stario::NotConnectedException, stario::BufferSizeExceededException, stario::IOException, staruno::RuntimeException); > virtual sal_Int32 readSomeBytes( staruno::Sequence< sal_Int8 >& aData, sal_Int32 nMaxBytesToRead ) throw(stario::NotConnectedException, stario::BufferSizeExceededException, stario::IOException, staruno::RuntimeException); > virtual void skipBytes( sal_Int32 nBytesToSkip ) throw(stario::NotConnectedException, stario::BufferSizeExceededException, stario::IOException, staruno::RuntimeException); > virtual sal_Int32 available( ) throw(stario::NotConnectedException, stario::IOException, staruno::RuntimeException); > virtual void closeInput( ) throw (stario::NotConnectedException, stario::IOException, staruno::RuntimeException); > > virtual void seek( sal_Int64 location ) throw(::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::io::IOException, ::com::sun::star::uno::RuntimeException); > virtual sal_Int64 getPosition( ) throw(::com::sun::star::io::IOException, ::com::sun::star::uno::RuntimeException); > virtual sal_Int64 getLength( ) throw(::com::sun::star::io::IOException, ::com::sun::star::uno::RuntimeException); >}; > > > > > > > >typedef ::cppu::WeakImplHelper1<stario::XOutputStream> OutputStreamHelper_Base; > >class OOutputStreamHelper : public OutputStreamHelper_Base >{ > ::osl::Mutex m_aMutex; > SvLockBytesRef m_xLockBytes; > sal_uInt32 m_nActPos; > >public: > OOutputStreamHelper(const SvLockBytesRef& _xLockBytes, sal_uInt32 _nPos = 0) > :m_xLockBytes(_xLockBytes) > ,m_nActPos(_nPos){} > > > virtual void acquire() throw (); > virtual void release() throw (); > > > virtual void writeBytes( const staruno::Sequence< sal_Int8 >& aData ) throw(stario::NotConnectedException, stario::BufferSizeExceededException, stario::IOException, staruno::RuntimeException); > virtual void flush( ) throw(stario::NotConnectedException, stario::BufferSizeExceededException, stario::IOException, staruno::RuntimeException); > virtual void closeOutput( ) throw(stario::NotConnectedException, stario::BufferSizeExceededException, stario::IOException, staruno::RuntimeException); >}; > >} > > ># 113 "/usr/src/oo/oo_605_src/sfx2/source/doc/docfile.cxx" 2 > > > ># 7 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/svtools/intitem.hxx" 1 ># 13 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/svtools/cintitem.hxx" 1 >; > >class CntByteItem: public SfxPoolItem >{ > BYTE m_nValue; > >public: > static void* CreateType(); static TypeId StaticType(); static BOOL IsOf( TypeId aSameOrSuperType ); virtual TypeId Type() const; virtual BOOL IsA( TypeId aSameOrSuperType ) const; > > CntByteItem(USHORT nWhich = 0, BYTE nTheValue = 0): > SfxPoolItem(nWhich), m_nValue(nTheValue) {; } > > CntByteItem(USHORT nWhich, SvStream & rStream); > > CntByteItem(const CntByteItem & rItem): > SfxPoolItem(rItem), m_nValue(rItem.m_nValue) > {; } > > virtual ~CntByteItem() {; } > > virtual int operator ==(const SfxPoolItem & rItem) const; > > virtual int Compare(const SfxPoolItem & rWith) const; > > virtual SfxItemPresentation GetPresentation(SfxItemPresentation, > SfxMapUnit, SfxMapUnit, > String & rText, > const International * = 0) > const; > > virtual BOOL QueryValue(com::sun::star::uno::Any& rVal, > BYTE nMemberId = 0) const; > > virtual BOOL PutValue(const com::sun::star::uno::Any& rVal, > BYTE nMemberId = 0); > > virtual SfxPoolItem * Create(SvStream & rStream, USHORT) const; > > virtual SvStream & Store(SvStream & rStream, USHORT) const; > > virtual SfxPoolItem * Clone(SfxItemPool * = 0) const; > > virtual BYTE GetMin() const; > > virtual BYTE GetMax() const; > > virtual SfxFieldUnit GetUnit() const; > > BYTE GetValue() const { return m_nValue; } > > inline void SetValue(BYTE nTheValue); >}; > >inline void CntByteItem::SetValue(BYTE nTheValue) >{ >; > m_nValue = nTheValue; >} > >; > >class CntUInt16Item: public SfxPoolItem >{ > UINT16 m_nValue; > >public: > static void* CreateType(); static TypeId StaticType(); static BOOL IsOf( TypeId aSameOrSuperType ); virtual TypeId Type() const; virtual BOOL IsA( TypeId aSameOrSuperType ) const; > > CntUInt16Item(USHORT nWhich = 0, UINT16 nTheValue = 0): > SfxPoolItem(nWhich), m_nValue(nTheValue) > {; } > > CntUInt16Item(USHORT nWhich, SvStream & rStream); > > CntUInt16Item(const CntUInt16Item & rItem): > SfxPoolItem(rItem), m_nValue(rItem.m_nValue) > {; } > > virtual ~CntUInt16Item() {; } > > virtual int operator ==(const SfxPoolItem & rItem) const; > > virtual int Compare(const SfxPoolItem & rWith) const; > > virtual SfxItemPresentation GetPresentation(SfxItemPresentation, > SfxMapUnit, SfxMapUnit, > String & rText, > const International * = 0) > const; > > virtual BOOL QueryValue(com::sun::star::uno::Any& rVal, > BYTE nMemberId = 0) const; > > virtual BOOL PutValue(const com::sun::star::uno::Any& rVal, > BYTE nMemberId = 0); > > virtual SfxPoolItem * Create(SvStream & rStream, USHORT) const; > > virtual SvStream & Store(SvStream & rStream, USHORT) const; > > virtual SfxPoolItem * Clone(SfxItemPool * = 0) const; > > virtual UINT16 GetMin() const; > > virtual UINT16 GetMax() const; > > virtual SfxFieldUnit GetUnit() const; > > INT16 GetValue() const { return m_nValue; } > > inline void SetValue(UINT16 nTheValue); >}; > >inline void CntUInt16Item::SetValue(UINT16 nTheValue) >{ >; > m_nValue = nTheValue; >} > >; > >class CntInt32Item: public SfxPoolItem >{ > INT32 m_nValue; > >public: > static void* CreateType(); static TypeId StaticType(); static BOOL IsOf( TypeId aSameOrSuperType ); virtual TypeId Type() const; virtual BOOL IsA( TypeId aSameOrSuperType ) const; > > CntInt32Item(USHORT nWhich = 0, INT32 nTheValue = 0): > SfxPoolItem(nWhich), m_nValue(nTheValue) > {; } > > CntInt32Item(USHORT nWhich, SvStream & rStream); > > CntInt32Item(const CntInt32Item & rItem): > SfxPoolItem(rItem), m_nValue(rItem.m_nValue) > {; } > > virtual ~CntInt32Item() {; } > > virtual int operator ==(const SfxPoolItem & rItem) const; > > virtual int Compare(const SfxPoolItem & rWith) const; > > virtual SfxItemPresentation GetPresentation(SfxItemPresentation, > SfxMapUnit, SfxMapUnit, > String & rText, > const International * = 0) > const; > > virtual BOOL QueryValue(com::sun::star::uno::Any& rVal, > BYTE nMemberId = 0) const; > > virtual BOOL PutValue(const com::sun::star::uno::Any& rVal, > BYTE nMemberId = 0); > > virtual SfxPoolItem * Create(SvStream & rStream, USHORT) const; > > virtual SvStream & Store(SvStream &, USHORT) const; > > virtual SfxPoolItem * Clone(SfxItemPool * = 0) const; > > virtual INT32 GetMin() const; > > virtual INT32 GetMax() const; > > virtual SfxFieldUnit GetUnit() const; > > INT32 GetValue() const { return m_nValue; } > > inline void SetValue(INT32 nTheValue); >}; > >inline void CntInt32Item::SetValue(INT32 nTheValue) >{ >; > m_nValue = nTheValue; >} > >; > >class CntUInt32Item: public SfxPoolItem >{ > UINT32 m_nValue; > >public: > static void* CreateType(); static TypeId StaticType(); static BOOL IsOf( TypeId aSameOrSuperType ); virtual TypeId Type() const; virtual BOOL IsA( TypeId aSameOrSuperType ) const; > > CntUInt32Item(USHORT nWhich = 0, UINT32 nTheValue = 0): > SfxPoolItem(nWhich), m_nValue(nTheValue) > {; } > > CntUInt32Item(USHORT nWhich, SvStream & rStream); > > CntUInt32Item(const CntUInt32Item & rItem): > SfxPoolItem(rItem), m_nValue(rItem.m_nValue) > {; } > > virtual ~CntUInt32Item() {; } > > virtual int operator ==(const SfxPoolItem & rItem) const; > > virtual int Compare(const SfxPoolItem & rWith) const; > > virtual SfxItemPresentation GetPresentation(SfxItemPresentation, > SfxMapUnit, SfxMapUnit, > String & rText, > const International * = 0) > const; > > virtual BOOL QueryValue(com::sun::star::uno::Any& rVal, > BYTE nMemberId = 0) const; > > virtual BOOL PutValue(const com::sun::star::uno::Any& rVal, > BYTE nMemberId = 0); > > virtual SfxPoolItem * Create(SvStream & rStream, USHORT) const; > > virtual SvStream & Store(SvStream & rStream, USHORT) const; > > virtual SfxPoolItem * Clone(SfxItemPool * = 0) const; > > virtual UINT32 GetMin() const; > > virtual UINT32 GetMax() const; > > virtual SfxFieldUnit GetUnit() const; > > UINT32 GetValue() const { return m_nValue; } > > inline void SetValue(UINT32 nTheValue); >}; > >inline void CntUInt32Item::SetValue(UINT32 nTheValue) >{ >; > m_nValue = nTheValue; >} > ># 7 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/svtools/intitem.hxx" 2 > > >class SfxArguments; > >class SfxByteItem: public CntByteItem >{ >public: > static void* CreateType(); static TypeId StaticType(); static BOOL IsOf( TypeId aSameOrSuperType ); virtual TypeId Type() const; virtual BOOL IsA( TypeId aSameOrSuperType ) const; > > SfxByteItem(USHORT nWhich = 0, BYTE nValue = 0): > CntByteItem(nWhich, nValue) {} > > SfxByteItem(USHORT nWhich, SvStream & rStream): > CntByteItem(nWhich, rStream) {} > > virtual SfxPoolItem * Create(SvStream & rStream, USHORT) const; > > virtual SfxPoolItem * Clone(SfxItemPool * = 0) const > { return new SfxByteItem(*this); } >}; > >; > >class SfxInt16Item: public SfxPoolItem >{ > INT16 m_nValue; > >public: > static void* CreateType(); static TypeId StaticType(); static BOOL IsOf( TypeId aSameOrSuperType ); virtual TypeId Type() const; virtual BOOL IsA( TypeId aSameOrSuperType ) const; > > SfxInt16Item(USHORT nWhich = 0, INT16 nTheValue = 0): > SfxPoolItem(nWhich), m_nValue(nTheValue) > {; } > > SfxInt16Item(USHORT nWhich, SvStream & rStream); > > SfxInt16Item(const SfxInt16Item & rItem): > SfxPoolItem(rItem), m_nValue(rItem.m_nValue) > {; } > > virtual ~SfxInt16Item() {; } > > virtual int operator ==(const SfxPoolItem & rItem) const; > > virtual int Compare(const SfxPoolItem & rWith) const; > > virtual SfxItemPresentation GetPresentation(SfxItemPresentation, > SfxMapUnit, SfxMapUnit, > String & rText, > const International * = 0) > const; > > virtual BOOL QueryValue( com::sun::star::uno::Any& rVal, > BYTE nMemberId = 0 ) const; > > virtual BOOL PutValue( const com::sun::star::uno::Any& rVal, > BYTE nMemberId = 0 ); > > virtual SfxPoolItem * Create(SvStream & rStream, USHORT) const; > > virtual SvStream & Store(SvStream & rStream, USHORT) const; > > virtual SfxPoolItem * Clone(SfxItemPool * = 0) const; > > virtual INT16 GetMin() const; > > virtual INT16 GetMax() const; > > virtual SfxFieldUnit GetUnit() const; > > INT16 GetValue() const { return m_nValue; } > > inline void SetValue(INT16 nTheValue); >}; > >inline void SfxInt16Item::SetValue(INT16 nTheValue) >{ >; > m_nValue = nTheValue; >} > >class SfxUInt16Item: public CntUInt16Item >{ >public: > static void* CreateType(); static TypeId StaticType(); static BOOL IsOf( TypeId aSameOrSuperType ); virtual TypeId Type() const; virtual BOOL IsA( TypeId aSameOrSuperType ) const; > > SfxUInt16Item(USHORT nWhich = 0, UINT16 nValue = 0): > CntUInt16Item(nWhich, nValue) {} > > SfxUInt16Item(USHORT nWhich, SvStream & rStream): > CntUInt16Item(nWhich, rStream) {} > > virtual SfxPoolItem * Create(SvStream & rStream, USHORT) const > { return new SfxUInt16Item(Which(), rStream); } > > virtual SfxPoolItem * Clone(SfxItemPool * = 0) const > { return new SfxUInt16Item(*this); } >}; > >class SfxInt32Item: public CntInt32Item >{ >public: > static void* CreateType(); static TypeId StaticType(); static BOOL IsOf( TypeId aSameOrSuperType ); virtual TypeId Type() const; virtual BOOL IsA( TypeId aSameOrSuperType ) const; > > SfxInt32Item(USHORT nWhich = 0, INT32 nValue = 0): > CntInt32Item(nWhich, nValue) {} > > SfxInt32Item(USHORT nWhich, SvStream & rStream): > CntInt32Item(nWhich, rStream) {} > > virtual SfxPoolItem * Create(SvStream & rStream, USHORT) const > { return new SfxInt32Item(Which(), rStream); } > > virtual SfxPoolItem * Clone(SfxItemPool * = 0) const > { return new SfxInt32Item(*this); } > >}; > >class SfxUInt32Item: public CntUInt32Item >{ >public: > static void* CreateType(); static TypeId StaticType(); static BOOL IsOf( TypeId aSameOrSuperType ); virtual TypeId Type() const; virtual BOOL IsA( TypeId aSameOrSuperType ) const; > > SfxUInt32Item(USHORT nWhich = 0, UINT32 nValue = 0): > CntUInt32Item(nWhich, nValue) {} > > SfxUInt32Item(USHORT nWhich, SvStream & rStream): > CntUInt32Item(nWhich, rStream) {} > > virtual SfxPoolItem * Create(SvStream & rStream, USHORT) const > { return new SfxUInt32Item(Which(), rStream); } > > virtual SfxPoolItem * Clone(SfxItemPool * = 0) const > { return new SfxUInt32Item(*this); } >}; > ># 116 "/usr/src/oo/oo_605_src/sfx2/source/doc/docfile.cxx" 2 > > ># 29 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/tools/zcodec.hxx" 1 >class SvStream; > >class ZCodec >{ >private: > > ULONG mbInit; > BOOL mbStatus; > BOOL mbFinish; > ULONG mnMemUsage; > SvStream* mpIStm; > BYTE* mpInBuf; > ULONG mnInBufSize; > ULONG mnInToRead; > SvStream* mpOStm; > BYTE* mpOutBuf; > ULONG mnOutBufSize; > > ULONG mnCRC; > ULONG mnCompressMethod; > void* mpsC_Stream; > > void ImplInitBuf( BOOL nIOFlag ); > void ImplWriteBack( void ); > >public: > ZCodec( ULONG nInBuf, ULONG nOutBuf, ULONG nMemUsage = 8 ); > ZCodec( void ); > ~ZCodec(); > > virtual void BeginCompression( ULONG nCompressMethod = ( (0x00000006UL) | (0x00000000UL) ) ); > virtual long EndCompression(); > BOOL IsFinished () const { return mbFinish; } > > long Compress( SvStream& rIStm, SvStream& rOStm ); > long Decompress( SvStream& rIStm, SvStream& rOStm ); > > long Write( SvStream& rOStm, const BYTE* pData, ULONG nSize ); > long Read( SvStream& rIStm, BYTE* pData, ULONG nSize ); > long ReadAsynchron( SvStream& rIStm, BYTE* pData, ULONG nSize ); > > void SetBreak( ULONG ); > ULONG GetBreak( void ); > void SetCRC( ULONG nCurrentCRC ); > ULONG UpdateCRC( ULONG nLatestCRC, ULONG nSource ); > ULONG UpdateCRC( ULONG nLatestCRC, BYTE* pSource, long nDatSize ); > ULONG GetCRC(); >}; > >class GZCodec : public ZCodec >{ > >public: > GZCodec(){}; > ~GZCodec(){}; > virtual void BeginCompression( ULONG nCompressMethod = ( (0x00000006UL) | (0x00000000UL) ) ); >}; > ># 118 "/usr/src/oo/oo_605_src/sfx2/source/doc/docfile.cxx" 2 > > ># 9 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/tools/tempfile.hxx" 1 >struct TempFile_Impl; >class TempFile >{ > TempFile_Impl* pImp; > sal_Bool bKillingFileEnabled; > >public: > > TempFile( const String* pParent=__null, sal_Bool bDirectory=((unsigned char)0) ); > > TempFile( const String& rLeadingChars, const String* pExtension=__null, const String* pParent=__null, sal_Bool bDirectory=((unsigned char)0) ); > > ~TempFile(); > > sal_Bool IsValid() const; > > String GetName() const; > > void EnableKillingFile( sal_Bool bEnable=((unsigned char)1) ) > { bKillingFileEnabled = bEnable; } > > sal_Bool IsKillingFileEnabled() const > { return bKillingFileEnabled; } > > static String CreateTempName( const String* pParent=__null ); > > static String SetTempNameBaseDirectory( const String &rBaseName ); > static String GetTempNameBaseDirectory(); >}; > ># 120 "/usr/src/oo/oo_605_src/sfx2/source/doc/docfile.cxx" 2 > > > > ># 131 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/svtools/svstdarr.hxx" 1 >typedef String* StringPtr; >typedef ByteString* ByteStringPtr; > ># 145 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/svtools/svstdarr.hxx" >typedef BOOL (*FnForEach_SvStringsDtor)( const StringPtr &, void* );class SvStringsDtor: public SvPtrarr {public: SvStringsDtor( BYTE nIni=1, BYTE nG=1 ) : SvPtrarr(nIni,nG) {} ~SvStringsDtor() { DeleteAndDestroy( 0, Count() ); } void Insert( const SvStringsDtor *pI, USHORT nP, USHORT nS = 0, USHORT nE = 65535 ) { SvPtrarr::Insert((const SvPtrarr*)pI, nP, nS, nE); } void Insert( const StringPtr & aE, USHORT nP ) { SvPtrarr::Insert((const VoidPtr &)aE, nP ); } void Insert( const StringPtr *pE, USHORT nL, USHORT nP ) { SvPtrarr::Insert( (const VoidPtr *)pE, nL, nP ); } void Replace( const StringPtr & aE, USHORT nP ) { SvPtrarr::Replace( (const VoidPtr &)aE, nP ); } void Replace( const StringPtr *pE, USHORT nL, USHORT nP ) { SvPtrarr::Replace( (const VoidPtr*)pE, nL, nP ); } void Remove( USHORT nP, USHORT nL = 1) { SvPtrarr::Remove(nP,nL); } const StringPtr* GetData() const { return (const StringPtr*)SvPtrarr::GetData(); } void ForEach( FnForEach_SvStringsDtor fnForEach, void* pArgs = 0 ) { _ForEach( 0, nA, (FnForEach_SvPtrarr)fnForEach, pArgs ); } void ForEach( USHORT nS, USHORT nE, FnForEach_SvStringsDtor fnForEach, void* pArgs = 0 ) { _ForEach( nS, nE, (FnForEach_SvPtrarr)fnForEach, pArgs ); } StringPtr operator[]( USHORT nP )const { return (StringPtr)SvPtrarr::operator[](nP); } StringPtr GetObject( USHORT nP )const { return (StringPtr)SvPtrarr::GetObject(nP); } USHORT GetPos( const StringPtr & aE ) const { return SvPtrarr::GetPos((const VoidPtr &)aE); } void DeleteAndDestroy( USHORT nP, USHORT nL=1 );private: SvStringsDtor( const SvStringsDtor& ); SvStringsDtor& operator=( const SvStringsDtor& );}; ># 124 "/usr/src/oo/oo_605_src/sfx2/source/doc/docfile.cxx" 2 > > > ># 6 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/util/DiskFullException.hpp" 1 ># 10 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/util/DiskFullException.hdl" 1 ># 12 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/util/FileIOException.hdl" 1 >namespace com >{ >namespace sun >{ >namespace star >{ >namespace util >{ > >class FileIOException : public ::com::sun::star::uno::Exception >{ >public: > inline FileIOException() { } > > inline FileIOException(const ::rtl::OUString& __Message, const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >& __Context); > >}; > >} >} >} >} > >namespace com { namespace sun { namespace star { namespace uno { >class Type; >} } } } > >inline const ::com::sun::star::uno::Type& getCppuType( const ::com::sun::star::util::FileIOException* ); > ># 10 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/util/DiskFullException.hdl" 2 > > >namespace com >{ >namespace sun >{ >namespace star >{ >namespace util >{ > >class DiskFullException : public ::com::sun::star::util::FileIOException >{ >public: > inline DiskFullException() { } > > inline DiskFullException(const ::rtl::OUString& __Message, const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >& __Context); > >}; > >} >} >} >} > >namespace com { namespace sun { namespace star { namespace uno { >class Type; >} } } } > >inline const ::com::sun::star::uno::Type& getCppuType( const ::com::sun::star::util::DiskFullException* ); > ># 6 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/util/DiskFullException.hpp" 2 ># 18 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/util/DiskFullException.hpp" ># 20 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/util/FileIOException.hpp" 1 >namespace com >{ >namespace sun >{ >namespace star >{ >namespace util >{ > >inline FileIOException::FileIOException(const ::rtl::OUString& __Message, const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >& __Context) > : ::com::sun::star::uno::Exception(__Message, __Context) >{ } > >} >} >} >} > > > > > >inline const ::com::sun::star::uno::Type& getCppuType( const ::com::sun::star::util::FileIOException* ) >{ > > static typelib_TypeDescriptionReference * s_pType_com_sun_star_util_FileIOException = 0; > > > if ( !s_pType_com_sun_star_util_FileIOException ) > { > typelib_static_compound_type_init( &s_pType_com_sun_star_util_FileIOException, typelib_TypeClass_EXCEPTION, "com.sun.star.util.FileIOException", * ::typelib_static_type_getByTypeClass( typelib_TypeClass_EXCEPTION ), 0, 0 ); > } > return * reinterpret_cast< const ::com::sun::star::uno::Type * >( &s_pType_com_sun_star_util_FileIOException ); >} > ># 18 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/util/DiskFullException.hpp" 2 > > >namespace com >{ >namespace sun >{ >namespace star >{ >namespace util >{ > >inline DiskFullException::DiskFullException(const ::rtl::OUString& __Message, const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >& __Context) > : ::com::sun::star::util::FileIOException(__Message, __Context) >{ } > >} >} >} >} > > > > > >inline const ::com::sun::star::uno::Type& getCppuType( const ::com::sun::star::util::DiskFullException* ) >{ > > static typelib_TypeDescriptionReference * s_pType_com_sun_star_util_DiskFullException = 0; > > > if ( !s_pType_com_sun_star_util_DiskFullException ) > { > const ::com::sun::star::uno::Type& rBaseType = getCppuType( ( const ::com::sun::star::util::FileIOException *)0 ); > > typelib_static_compound_type_init( &s_pType_com_sun_star_util_DiskFullException, typelib_TypeClass_EXCEPTION, "com.sun.star.util.DiskFullException", rBaseType.getTypeLibType(), 0, 0 ); > } > return * reinterpret_cast< const ::com::sun::star::uno::Type * >( &s_pType_com_sun_star_util_DiskFullException ); >} > ># 127 "/usr/src/oo/oo_605_src/sfx2/source/doc/docfile.cxx" 2 > > > > > > ># 6 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/util/XArchiver.hpp" 1 ># 16 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/util/XArchiver.hdl" 1 ># 13 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/beans/PropertyValue.hdl" 1 ># 8 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/beans/PropertyState.hdl" 1 >namespace com >{ >namespace sun >{ >namespace star >{ >namespace beans >{ > >enum PropertyState >{ > PropertyState_DIRECT_VALUE = 0, > PropertyState_DEFAULT_VALUE = 1, > PropertyState_AMBIGUOUS_VALUE = 2, > PropertyState_MAKE_FIXED_SIZE = 0x7fffffff >}; > >} >} >} >} > >namespace com { namespace sun { namespace star { namespace uno { >class Type; >} } } } > >inline const ::com::sun::star::uno::Type& getCppuType( const ::com::sun::star::beans::PropertyState* ); > ># 13 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/beans/PropertyValue.hdl" 2 > > > > > >namespace com >{ >namespace sun >{ >namespace star >{ >namespace beans >{ > > > > > > > >struct PropertyValue >{ > inline PropertyValue(); > > PropertyValue(const ::rtl::OUString& __Name, const sal_Int32& __Handle, const ::com::sun::star::uno::Any& __Value, const ::com::sun::star::beans::PropertyState& __State); > > ::rtl::OUString Name; > sal_Int32 Handle; > ::com::sun::star::uno::Any Value; > ::com::sun::star::beans::PropertyState State; >}; > > > > > > > >} >} >} >} > >namespace com { namespace sun { namespace star { namespace uno { >class Type; >} } } } > >inline const ::com::sun::star::uno::Type& getCppuType( const ::com::sun::star::beans::PropertyValue* ); > ># 16 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/util/XArchiver.hdl" 2 ># 24 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/util/XArchiver.hdl" >namespace com { namespace sun { namespace star { namespace container { >class XIndexAccess; >} } } } > ># 41 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/util/XArchiver.hdl" >namespace com >{ >namespace sun >{ >namespace star >{ >namespace util >{ > >class XArchiver : public ::com::sun::star::uno::XInterface >{ >public: > > > virtual sal_Bool pack( const ::com::sun::star::uno::Sequence< ::rtl::OUString >& input, const ::rtl::OUString& destination, const ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue >& aArgs ) throw(::com::sun::star::uno::RuntimeException) = 0; > virtual sal_Bool unpack( const ::rtl::OUString& destinationpath, const ::rtl::OUString& source, const ::com::sun::star::uno::Sequence< ::rtl::OUString >& files, const ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue >& aArgs ) throw(::com::sun::star::uno::RuntimeException) = 0; > virtual ::com::sun::star::uno::Reference< ::com::sun::star::container::XIndexAccess > getContent( const ::rtl::OUString& source ) throw(::com::sun::star::uno::RuntimeException) = 0; > virtual ::rtl::OUString getExtraData( const ::rtl::OUString& source ) throw(::com::sun::star::uno::RuntimeException) = 0; >}; > >} >} >} >} > >namespace com { namespace sun { namespace star { namespace uno { >class Type; >} } } } > >inline const ::com::sun::star::uno::Type& getCppuType( const ::com::sun::star::uno::Reference< ::com::sun::star::util::XArchiver >* ); > ># 6 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/util/XArchiver.hpp" 2 ># 24 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/util/XArchiver.hpp" ># 21 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/beans/PropertyValue.hpp" 1 ># 20 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/beans/PropertyState.hpp" 1 >inline const ::com::sun::star::uno::Type& getCppuType( const ::com::sun::star::beans::PropertyState* ) >{ > > static typelib_TypeDescriptionReference * s_pType_com_sun_star_beans_PropertyState = 0; > > > if ( !s_pType_com_sun_star_beans_PropertyState ) > { > typelib_static_enum_type_init( &s_pType_com_sun_star_beans_PropertyState, > "com.sun.star.beans.PropertyState", > ::com::sun::star::beans::PropertyState_DIRECT_VALUE ); > } > return * reinterpret_cast< ::com::sun::star::uno::Type * >( &s_pType_com_sun_star_beans_PropertyState ); >} > ># 21 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/beans/PropertyValue.hpp" 2 > > >namespace com >{ >namespace sun >{ >namespace star >{ >namespace beans >{ > >inline PropertyValue::PropertyValue() > : Name() > , Handle((sal_Int32)0) > , Value() > , State(::com::sun::star::beans::PropertyState_DIRECT_VALUE) >{ >} > >inline PropertyValue::PropertyValue(const ::rtl::OUString& __Name, const sal_Int32& __Handle, const ::com::sun::star::uno::Any& __Value, const ::com::sun::star::beans::PropertyState& __State) > : Name(__Name) > , Handle(__Handle) > , Value(__Value) > , State(__State) >{ >} > >} >} >} >} > > > > > >inline const ::com::sun::star::uno::Type& getCppuType( const ::com::sun::star::beans::PropertyValue* ) >{ > > static typelib_TypeDescriptionReference * s_pType_com_sun_star_beans_PropertyValue = 0; > > > if ( !s_pType_com_sun_star_beans_PropertyValue ) > { > typelib_TypeDescriptionReference * aMemberRefs[4]; > const ::com::sun::star::uno::Type& rMemberType_string = getCppuType( ( const ::rtl::OUString *)0 ); > aMemberRefs[0] = rMemberType_string.getTypeLibType(); > const ::com::sun::star::uno::Type& rMemberType_long = getCppuType( ( const sal_Int32 *)0 ); > aMemberRefs[1] = rMemberType_long.getTypeLibType(); > const ::com::sun::star::uno::Type& rMemberType_any = getCppuType( ( const ::com::sun::star::uno::Any *)0 ); > aMemberRefs[2] = rMemberType_any.getTypeLibType(); > const ::com::sun::star::uno::Type& rMemberType_com_sun_star_beans_PropertyState = getCppuType( ( const ::com::sun::star::beans::PropertyState *)0 ); > aMemberRefs[3] = rMemberType_com_sun_star_beans_PropertyState.getTypeLibType(); > > typelib_static_compound_type_init( &s_pType_com_sun_star_beans_PropertyValue, typelib_TypeClass_STRUCT, "com.sun.star.beans.PropertyValue", 0, 4, aMemberRefs ); > } > return * reinterpret_cast< const ::com::sun::star::uno::Type * >( &s_pType_com_sun_star_beans_PropertyValue ); >} > ># 24 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/util/XArchiver.hpp" 2 > > > ># 6 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/container/XIndexAccess.hpp" 1 ># 19 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/container/XIndexAccess.hdl" 1 ># 27 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/container/XElementAccess.hdl" 1 >namespace com >{ >namespace sun >{ >namespace star >{ >namespace container >{ > >class XElementAccess : public ::com::sun::star::uno::XInterface >{ >public: > > > virtual ::com::sun::star::uno::Type getElementType( ) throw(::com::sun::star::uno::RuntimeException) = 0; > virtual sal_Bool hasElements( ) throw(::com::sun::star::uno::RuntimeException) = 0; >}; > >} >} >} >} > >namespace com { namespace sun { namespace star { namespace uno { >class Type; >} } } } > >inline const ::com::sun::star::uno::Type& getCppuType( const ::com::sun::star::uno::Reference< ::com::sun::star::container::XElementAccess >* ); > ># 19 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/container/XIndexAccess.hdl" 2 > > > ># 12 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/lang/IndexOutOfBoundsException.hdl" 1 >namespace com >{ >namespace sun >{ >namespace star >{ >namespace lang >{ > >class IndexOutOfBoundsException : public ::com::sun::star::uno::Exception >{ >public: > inline IndexOutOfBoundsException() { } > > inline IndexOutOfBoundsException(const ::rtl::OUString& __Message, const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >& __Context); > >}; > >} >} >} >} > >namespace com { namespace sun { namespace star { namespace uno { >class Type; >} } } } > >inline const ::com::sun::star::uno::Type& getCppuType( const ::com::sun::star::lang::IndexOutOfBoundsException* ); > ># 22 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/container/XIndexAccess.hdl" 2 > > > ># 15 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/lang/WrappedTargetException.hdl" 1 >namespace com >{ >namespace sun >{ >namespace star >{ >namespace lang >{ > >class WrappedTargetException : public ::com::sun::star::uno::Exception >{ >public: > inline WrappedTargetException() { } > > inline WrappedTargetException(const ::rtl::OUString& __Message, const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >& __Context, const ::com::sun::star::uno::Any& __TargetException); > > ::com::sun::star::uno::Any TargetException; >}; > >} >} >} >} > >namespace com { namespace sun { namespace star { namespace uno { >class Type; >} } } } > >inline const ::com::sun::star::uno::Type& getCppuType( const ::com::sun::star::lang::WrappedTargetException* ); > ># 25 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/container/XIndexAccess.hdl" 2 ># 33 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/container/XIndexAccess.hdl" >namespace com >{ >namespace sun >{ >namespace star >{ >namespace container >{ > >class XIndexAccess : public ::com::sun::star::container::XElementAccess >{ >public: > > > virtual sal_Int32 getCount( ) throw(::com::sun::star::uno::RuntimeException) = 0; > virtual ::com::sun::star::uno::Any getByIndex( sal_Int32 Index ) throw(::com::sun::star::lang::IndexOutOfBoundsException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException) = 0; >}; > >} >} >} >} > >namespace com { namespace sun { namespace star { namespace uno { >class Type; >} } } } > >inline const ::com::sun::star::uno::Type& getCppuType( const ::com::sun::star::uno::Reference< ::com::sun::star::container::XIndexAccess >* ); > ># 6 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/container/XIndexAccess.hpp" 2 ># 24 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/container/XIndexAccess.hpp" ># 36 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/container/XElementAccess.hpp" 1 >inline const ::com::sun::star::uno::Type& getCppuType( const ::com::sun::star::uno::Reference< ::com::sun::star::container::XElementAccess >* ) >{ > > static typelib_TypeDescriptionReference * s_pType_com_sun_star_container_XElementAccess = 0; > > > if ( !s_pType_com_sun_star_container_XElementAccess ) > { > typelib_static_interface_type_init( &s_pType_com_sun_star_container_XElementAccess, "com.sun.star.container.XElementAccess", 0 ); > } > return * reinterpret_cast< ::com::sun::star::uno::Type * >( &s_pType_com_sun_star_container_XElementAccess ); >} > ># 24 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/container/XIndexAccess.hpp" 2 > > > ># 20 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/lang/IndexOutOfBoundsException.hpp" 1 >namespace com >{ >namespace sun >{ >namespace star >{ >namespace lang >{ > >inline IndexOutOfBoundsException::IndexOutOfBoundsException(const ::rtl::OUString& __Message, const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >& __Context) > : ::com::sun::star::uno::Exception(__Message, __Context) >{ } > >} >} >} >} > > > > > >inline const ::com::sun::star::uno::Type& getCppuType( const ::com::sun::star::lang::IndexOutOfBoundsException* ) >{ > > static typelib_TypeDescriptionReference * s_pType_com_sun_star_lang_IndexOutOfBoundsException = 0; > > > if ( !s_pType_com_sun_star_lang_IndexOutOfBoundsException ) > { > typelib_static_compound_type_init( &s_pType_com_sun_star_lang_IndexOutOfBoundsException, typelib_TypeClass_EXCEPTION, "com.sun.star.lang.IndexOutOfBoundsException", * ::typelib_static_type_getByTypeClass( typelib_TypeClass_EXCEPTION ), 0, 0 ); > } > return * reinterpret_cast< const ::com::sun::star::uno::Type * >( &s_pType_com_sun_star_lang_IndexOutOfBoundsException ); >} > ># 27 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/container/XIndexAccess.hpp" 2 > > > ># 23 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/lang/WrappedTargetException.hpp" 1 >namespace com >{ >namespace sun >{ >namespace star >{ >namespace lang >{ > >inline WrappedTargetException::WrappedTargetException(const ::rtl::OUString& __Message, const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >& __Context, const ::com::sun::star::uno::Any& __TargetException) > : ::com::sun::star::uno::Exception(__Message, __Context) > , TargetException(__TargetException) >{ } > >} >} >} >} > > > > > >inline const ::com::sun::star::uno::Type& getCppuType( const ::com::sun::star::lang::WrappedTargetException* ) >{ > > static typelib_TypeDescriptionReference * s_pType_com_sun_star_lang_WrappedTargetException = 0; > > > if ( !s_pType_com_sun_star_lang_WrappedTargetException ) > { > typelib_TypeDescriptionReference * aMemberRefs[1]; > const ::com::sun::star::uno::Type& rMemberType_any = getCppuType( ( const ::com::sun::star::uno::Any *)0 ); > aMemberRefs[0] = rMemberType_any.getTypeLibType(); > > typelib_static_compound_type_init( &s_pType_com_sun_star_lang_WrappedTargetException, typelib_TypeClass_EXCEPTION, "com.sun.star.lang.WrappedTargetException", * ::typelib_static_type_getByTypeClass( typelib_TypeClass_EXCEPTION ), 1, aMemberRefs ); > } > return * reinterpret_cast< const ::com::sun::star::uno::Type * >( &s_pType_com_sun_star_lang_WrappedTargetException ); >} > ># 30 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/container/XIndexAccess.hpp" 2 ># 42 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/container/XIndexAccess.hpp" >inline const ::com::sun::star::uno::Type& getCppuType( const ::com::sun::star::uno::Reference< ::com::sun::star::container::XIndexAccess >* ) >{ > > static typelib_TypeDescriptionReference * s_pType_com_sun_star_container_XIndexAccess = 0; > > > if ( !s_pType_com_sun_star_container_XIndexAccess ) > { > const ::com::sun::star::uno::Type& rSuperType = getCppuType( ( const ::com::sun::star::uno::Reference< ::com::sun::star::container::XElementAccess > *)0 ); > typelib_static_interface_type_init( &s_pType_com_sun_star_container_XIndexAccess, "com.sun.star.container.XIndexAccess", rSuperType.getTypeLibType() ); > } > return * reinterpret_cast< ::com::sun::star::uno::Type * >( &s_pType_com_sun_star_container_XIndexAccess ); >} > ># 27 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/util/XArchiver.hpp" 2 ># 42 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/util/XArchiver.hpp" >inline const ::com::sun::star::uno::Type& getCppuType( const ::com::sun::star::uno::Reference< ::com::sun::star::util::XArchiver >* ) >{ > > static typelib_TypeDescriptionReference * s_pType_com_sun_star_util_XArchiver = 0; > > > if ( !s_pType_com_sun_star_util_XArchiver ) > { > typelib_static_interface_type_init( &s_pType_com_sun_star_util_XArchiver, "com.sun.star.util.XArchiver", 0 ); > } > return * reinterpret_cast< ::com::sun::star::uno::Type * >( &s_pType_com_sun_star_util_XArchiver ); >} > ># 133 "/usr/src/oo/oo_605_src/sfx2/source/doc/docfile.cxx" 2 > > > ># 6 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/io/XConnectable.hpp" 1 ># 24 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/io/XConnectable.hdl" 1 >namespace com >{ >namespace sun >{ >namespace star >{ >namespace io >{ > >class XConnectable : public ::com::sun::star::uno::XInterface >{ >public: > > > virtual void setPredecessor( const ::com::sun::star::uno::Reference< ::com::sun::star::io::XConnectable >& aPredecessor ) throw(::com::sun::star::uno::RuntimeException) = 0; > virtual ::com::sun::star::uno::Reference< ::com::sun::star::io::XConnectable > getPredecessor( ) throw(::com::sun::star::uno::RuntimeException) = 0; > virtual void setSuccessor( const ::com::sun::star::uno::Reference< ::com::sun::star::io::XConnectable >& aSuccessor ) throw(::com::sun::star::uno::RuntimeException) = 0; > virtual ::com::sun::star::uno::Reference< ::com::sun::star::io::XConnectable > getSuccessor( ) throw(::com::sun::star::uno::RuntimeException) = 0; >}; > >} >} >} >} > >namespace com { namespace sun { namespace star { namespace uno { >class Type; >} } } } > >inline const ::com::sun::star::uno::Type& getCppuType( const ::com::sun::star::uno::Reference< ::com::sun::star::io::XConnectable >* ); > ># 6 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/io/XConnectable.hpp" 2 ># 33 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/io/XConnectable.hpp" >inline const ::com::sun::star::uno::Type& getCppuType( const ::com::sun::star::uno::Reference< ::com::sun::star::io::XConnectable >* ) >{ > > static typelib_TypeDescriptionReference * s_pType_com_sun_star_io_XConnectable = 0; > > > if ( !s_pType_com_sun_star_io_XConnectable ) > { > typelib_static_interface_type_init( &s_pType_com_sun_star_io_XConnectable, "com.sun.star.io.XConnectable", 0 ); > } > return * reinterpret_cast< ::com::sun::star::uno::Type * >( &s_pType_com_sun_star_io_XConnectable ); >} > ># 136 "/usr/src/oo/oo_605_src/sfx2/source/doc/docfile.cxx" 2 > > > > > > ># 6 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/io/XDataOutputStream.hpp" 1 ># 30 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/io/XDataOutputStream.hdl" 1 >namespace com >{ >namespace sun >{ >namespace star >{ >namespace io >{ > >class XDataOutputStream : public ::com::sun::star::io::XOutputStream >{ >public: > > > virtual void writeBoolean( sal_Bool Value ) throw(::com::sun::star::io::IOException, ::com::sun::star::uno::RuntimeException) = 0; > virtual void writeByte( sal_Int8 Value ) throw(::com::sun::star::io::IOException, ::com::sun::star::uno::RuntimeException) = 0; > virtual void writeChar( sal_Unicode Value ) throw(::com::sun::star::io::IOException, ::com::sun::star::uno::RuntimeException) = 0; > virtual void writeShort( sal_Int16 Value ) throw(::com::sun::star::io::IOException, ::com::sun::star::uno::RuntimeException) = 0; > virtual void writeLong( sal_Int32 Value ) throw(::com::sun::star::io::IOException, ::com::sun::star::uno::RuntimeException) = 0; > virtual void writeHyper( sal_Int64 Value ) throw(::com::sun::star::io::IOException, ::com::sun::star::uno::RuntimeException) = 0; > virtual void writeFloat( float Value ) throw(::com::sun::star::io::IOException, ::com::sun::star::uno::RuntimeException) = 0; > virtual void writeDouble( double Value ) throw(::com::sun::star::io::IOException, ::com::sun::star::uno::RuntimeException) = 0; > virtual void writeUTF( const ::rtl::OUString& Value ) throw(::com::sun::star::io::IOException, ::com::sun::star::uno::RuntimeException) = 0; >}; > >} >} >} >} > >namespace com { namespace sun { namespace star { namespace uno { >class Type; >} } } } > >inline const ::com::sun::star::uno::Type& getCppuType( const ::com::sun::star::uno::Reference< ::com::sun::star::io::XDataOutputStream >* ); > ># 6 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/io/XDataOutputStream.hpp" 2 ># 36 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/io/XDataOutputStream.hpp" >inline const ::com::sun::star::uno::Type& getCppuType( const ::com::sun::star::uno::Reference< ::com::sun::star::io::XDataOutputStream >* ) >{ > > static typelib_TypeDescriptionReference * s_pType_com_sun_star_io_XDataOutputStream = 0; > > > if ( !s_pType_com_sun_star_io_XDataOutputStream ) > { > const ::com::sun::star::uno::Type& rSuperType = getCppuType( ( const ::com::sun::star::uno::Reference< ::com::sun::star::io::XOutputStream > *)0 ); > typelib_static_interface_type_init( &s_pType_com_sun_star_io_XDataOutputStream, "com.sun.star.io.XDataOutputStream", rSuperType.getTypeLibType() ); > } > return * reinterpret_cast< ::com::sun::star::uno::Type * >( &s_pType_com_sun_star_io_XDataOutputStream ); >} > ># 142 "/usr/src/oo/oo_605_src/sfx2/source/doc/docfile.cxx" 2 > > > ># 6 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/io/XActiveDataControl.hpp" 1 ># 15 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/io/XActiveDataControl.hdl" 1 >namespace com { namespace sun { namespace star { namespace io { >class XStreamListener; >} } } } > ># 29 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/io/XActiveDataControl.hdl" >namespace com >{ >namespace sun >{ >namespace star >{ >namespace io >{ > >class XActiveDataControl : public ::com::sun::star::uno::XInterface >{ >public: > > > virtual void addListener( const ::com::sun::star::uno::Reference< ::com::sun::star::io::XStreamListener >& aListener ) throw(::com::sun::star::uno::RuntimeException) = 0; > virtual void removeListener( const ::com::sun::star::uno::Reference< ::com::sun::star::io::XStreamListener >& aListener ) throw(::com::sun::star::uno::RuntimeException) = 0; > virtual void start( ) throw(::com::sun::star::uno::RuntimeException) = 0; > virtual void terminate( ) throw(::com::sun::star::uno::RuntimeException) = 0; >}; > >} >} >} >} > >namespace com { namespace sun { namespace star { namespace uno { >class Type; >} } } } > >inline const ::com::sun::star::uno::Type& getCppuType( const ::com::sun::star::uno::Reference< ::com::sun::star::io::XActiveDataControl >* ); > ># 6 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/io/XActiveDataControl.hpp" 2 ># 21 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/io/XActiveDataControl.hpp" ># 6 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/io/XStreamListener.hpp" 1 ># 19 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/io/XStreamListener.hdl" 1 ># 13 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/lang/XEventListener.hdl" 1 ># 12 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/lang/EventObject.hdl" 1 >namespace com { namespace sun { namespace star { namespace uno { >class XInterface; >} } } } > > >namespace com >{ >namespace sun >{ >namespace star >{ >namespace lang >{ > > > > > > > >struct EventObject >{ > inline EventObject(); > > EventObject(const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >& __Source); > > ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > Source; >}; > > > > > > > >} >} >} >} > >namespace com { namespace sun { namespace star { namespace uno { >class Type; >} } } } > >inline const ::com::sun::star::uno::Type& getCppuType( const ::com::sun::star::lang::EventObject* ); > ># 13 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/lang/XEventListener.hdl" 2 ># 27 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/lang/XEventListener.hdl" >namespace com >{ >namespace sun >{ >namespace star >{ >namespace lang >{ > >class XEventListener : public ::com::sun::star::uno::XInterface >{ >public: > > > virtual void disposing( const ::com::sun::star::lang::EventObject& Source ) throw(::com::sun::star::uno::RuntimeException) = 0; >}; > >} >} >} >} > >namespace com { namespace sun { namespace star { namespace uno { >class Type; >} } } } > >inline const ::com::sun::star::uno::Type& getCppuType( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XEventListener >* ); > ># 19 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/io/XStreamListener.hdl" 2 ># 27 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/io/XStreamListener.hdl" >namespace com >{ >namespace sun >{ >namespace star >{ >namespace io >{ > >class XStreamListener : public ::com::sun::star::lang::XEventListener >{ >public: > > > virtual void started( ) throw(::com::sun::star::uno::RuntimeException) = 0; > virtual void closed( ) throw(::com::sun::star::uno::RuntimeException) = 0; > virtual void terminated( ) throw(::com::sun::star::uno::RuntimeException) = 0; > virtual void error( const ::com::sun::star::uno::Any& aException ) throw(::com::sun::star::uno::RuntimeException) = 0; >}; > >} >} >} >} > >namespace com { namespace sun { namespace star { namespace uno { >class Type; >} } } } > >inline const ::com::sun::star::uno::Type& getCppuType( const ::com::sun::star::uno::Reference< ::com::sun::star::io::XStreamListener >* ); > ># 6 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/io/XStreamListener.hpp" 2 ># 24 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/io/XStreamListener.hpp" ># 21 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/lang/XEventListener.hpp" 1 ># 20 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/lang/EventObject.hpp" 1 >namespace com >{ >namespace sun >{ >namespace star >{ >namespace lang >{ > >inline EventObject::EventObject() > : Source() >{ >} > >inline EventObject::EventObject(const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >& __Source) > : Source(__Source) >{ >} > >} >} >} >} > > > > > >inline const ::com::sun::star::uno::Type& getCppuType( const ::com::sun::star::lang::EventObject* ) >{ > > static typelib_TypeDescriptionReference * s_pType_com_sun_star_lang_EventObject = 0; > > > if ( !s_pType_com_sun_star_lang_EventObject ) > { > typelib_TypeDescriptionReference * aMemberRefs[1]; > const ::com::sun::star::uno::Type& rMemberType_com_sun_star_uno_XInterface = getCppuType( ( const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > *)0 ); > aMemberRefs[0] = rMemberType_com_sun_star_uno_XInterface.getTypeLibType(); > > typelib_static_compound_type_init( &s_pType_com_sun_star_lang_EventObject, typelib_TypeClass_STRUCT, "com.sun.star.lang.EventObject", 0, 1, aMemberRefs ); > } > return * reinterpret_cast< const ::com::sun::star::uno::Type * >( &s_pType_com_sun_star_lang_EventObject ); >} > ># 21 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/lang/XEventListener.hpp" 2 ># 36 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/lang/XEventListener.hpp" >inline const ::com::sun::star::uno::Type& getCppuType( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XEventListener >* ) >{ > > static typelib_TypeDescriptionReference * s_pType_com_sun_star_lang_XEventListener = 0; > > > if ( !s_pType_com_sun_star_lang_XEventListener ) > { > typelib_static_interface_type_init( &s_pType_com_sun_star_lang_XEventListener, "com.sun.star.lang.XEventListener", 0 ); > } > return * reinterpret_cast< ::com::sun::star::uno::Type * >( &s_pType_com_sun_star_lang_XEventListener ); >} > ># 24 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/io/XStreamListener.hpp" 2 ># 36 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/io/XStreamListener.hpp" >inline const ::com::sun::star::uno::Type& getCppuType( const ::com::sun::star::uno::Reference< ::com::sun::star::io::XStreamListener >* ) >{ > > static typelib_TypeDescriptionReference * s_pType_com_sun_star_io_XStreamListener = 0; > > > if ( !s_pType_com_sun_star_io_XStreamListener ) > { > const ::com::sun::star::uno::Type& rSuperType = getCppuType( ( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XEventListener > *)0 ); > typelib_static_interface_type_init( &s_pType_com_sun_star_io_XStreamListener, "com.sun.star.io.XStreamListener", rSuperType.getTypeLibType() ); > } > return * reinterpret_cast< ::com::sun::star::uno::Type * >( &s_pType_com_sun_star_io_XStreamListener ); >} > ># 21 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/io/XActiveDataControl.hpp" 2 ># 36 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/io/XActiveDataControl.hpp" >inline const ::com::sun::star::uno::Type& getCppuType( const ::com::sun::star::uno::Reference< ::com::sun::star::io::XActiveDataControl >* ) >{ > > static typelib_TypeDescriptionReference * s_pType_com_sun_star_io_XActiveDataControl = 0; > > > if ( !s_pType_com_sun_star_io_XActiveDataControl ) > { > typelib_static_interface_type_init( &s_pType_com_sun_star_io_XActiveDataControl, "com.sun.star.io.XActiveDataControl", 0 ); > } > return * reinterpret_cast< ::com::sun::star::uno::Type * >( &s_pType_com_sun_star_io_XActiveDataControl ); >} > ># 145 "/usr/src/oo/oo_605_src/sfx2/source/doc/docfile.cxx" 2 > > > ># 6 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/io/XDataInputStream.hpp" 1 ># 30 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/io/XDataInputStream.hdl" 1 >namespace com >{ >namespace sun >{ >namespace star >{ >namespace io >{ > >class XDataInputStream : public ::com::sun::star::io::XInputStream >{ >public: > > > virtual sal_Int8 readBoolean( ) throw(::com::sun::star::io::IOException, ::com::sun::star::uno::RuntimeException) = 0; > virtual sal_Int8 readByte( ) throw(::com::sun::star::io::IOException, ::com::sun::star::uno::RuntimeException) = 0; > virtual sal_Unicode readChar( ) throw(::com::sun::star::io::IOException, ::com::sun::star::uno::RuntimeException) = 0; > virtual sal_Int16 readShort( ) throw(::com::sun::star::io::IOException, ::com::sun::star::uno::RuntimeException) = 0; > virtual sal_Int32 readLong( ) throw(::com::sun::star::io::IOException, ::com::sun::star::uno::RuntimeException) = 0; > virtual sal_Int64 readHyper( ) throw(::com::sun::star::io::IOException, ::com::sun::star::uno::RuntimeException) = 0; > virtual float readFloat( ) throw(::com::sun::star::io::IOException, ::com::sun::star::uno::RuntimeException) = 0; > virtual double readDouble( ) throw(::com::sun::star::io::IOException, ::com::sun::star::uno::RuntimeException) = 0; > virtual ::rtl::OUString readUTF( ) throw(::com::sun::star::io::IOException, ::com::sun::star::uno::RuntimeException) = 0; >}; > >} >} >} >} > >namespace com { namespace sun { namespace star { namespace uno { >class Type; >} } } } > >inline const ::com::sun::star::uno::Type& getCppuType( const ::com::sun::star::uno::Reference< ::com::sun::star::io::XDataInputStream >* ); > ># 6 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/io/XDataInputStream.hpp" 2 ># 36 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/io/XDataInputStream.hpp" >inline const ::com::sun::star::uno::Type& getCppuType( const ::com::sun::star::uno::Reference< ::com::sun::star::io::XDataInputStream >* ) >{ > > static typelib_TypeDescriptionReference * s_pType_com_sun_star_io_XDataInputStream = 0; > > > if ( !s_pType_com_sun_star_io_XDataInputStream ) > { > const ::com::sun::star::uno::Type& rSuperType = getCppuType( ( const ::com::sun::star::uno::Reference< ::com::sun::star::io::XInputStream > *)0 ); > typelib_static_interface_type_init( &s_pType_com_sun_star_io_XDataInputStream, "com.sun.star.io.XDataInputStream", rSuperType.getTypeLibType() ); > } > return * reinterpret_cast< ::com::sun::star::uno::Type * >( &s_pType_com_sun_star_io_XDataInputStream ); >} > ># 148 "/usr/src/oo/oo_605_src/sfx2/source/doc/docfile.cxx" 2 > > > ># 6 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/io/XMarkableStream.hpp" 1 ># 30 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/io/XMarkableStream.hdl" 1 >namespace com >{ >namespace sun >{ >namespace star >{ >namespace io >{ > >class XMarkableStream : public ::com::sun::star::uno::XInterface >{ >public: > > > virtual sal_Int32 createMark( ) throw(::com::sun::star::io::IOException, ::com::sun::star::uno::RuntimeException) = 0; > virtual void deleteMark( sal_Int32 Mark ) throw(::com::sun::star::io::IOException, ::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::uno::RuntimeException) = 0; > virtual void jumpToMark( sal_Int32 nMark ) throw(::com::sun::star::io::IOException, ::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::uno::RuntimeException) = 0; > virtual void jumpToFurthest( ) throw(::com::sun::star::io::IOException, ::com::sun::star::uno::RuntimeException) = 0; > virtual sal_Int32 offsetToMark( sal_Int32 nMark ) throw(::com::sun::star::io::IOException, ::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::uno::RuntimeException) = 0; >}; > >} >} >} >} > >namespace com { namespace sun { namespace star { namespace uno { >class Type; >} } } } > >inline const ::com::sun::star::uno::Type& getCppuType( const ::com::sun::star::uno::Reference< ::com::sun::star::io::XMarkableStream >* ); > ># 6 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/io/XMarkableStream.hpp" 2 ># 39 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/io/XMarkableStream.hpp" >inline const ::com::sun::star::uno::Type& getCppuType( const ::com::sun::star::uno::Reference< ::com::sun::star::io::XMarkableStream >* ) >{ > > static typelib_TypeDescriptionReference * s_pType_com_sun_star_io_XMarkableStream = 0; > > > if ( !s_pType_com_sun_star_io_XMarkableStream ) > { > typelib_static_interface_type_init( &s_pType_com_sun_star_io_XMarkableStream, "com.sun.star.io.XMarkableStream", 0 ); > } > return * reinterpret_cast< ::com::sun::star::uno::Type * >( &s_pType_com_sun_star_io_XMarkableStream ); >} > ># 151 "/usr/src/oo/oo_605_src/sfx2/source/doc/docfile.cxx" 2 ># 160 "/usr/src/oo/oo_605_src/sfx2/source/doc/docfile.cxx" ># 6 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/io/XActiveDataSink.hpp" 1 ># 15 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/io/XActiveDataSink.hdl" 1 >namespace com { namespace sun { namespace star { namespace io { >class XInputStream; >} } } } > ># 29 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/io/XActiveDataSink.hdl" >namespace com >{ >namespace sun >{ >namespace star >{ >namespace io >{ > >class XActiveDataSink : public ::com::sun::star::uno::XInterface >{ >public: > > > virtual void setInputStream( const ::com::sun::star::uno::Reference< ::com::sun::star::io::XInputStream >& aStream ) throw(::com::sun::star::uno::RuntimeException) = 0; > virtual ::com::sun::star::uno::Reference< ::com::sun::star::io::XInputStream > getInputStream( ) throw(::com::sun::star::uno::RuntimeException) = 0; >}; > >} >} >} >} > >namespace com { namespace sun { namespace star { namespace uno { >class Type; >} } } } > >inline const ::com::sun::star::uno::Type& getCppuType( const ::com::sun::star::uno::Reference< ::com::sun::star::io::XActiveDataSink >* ); > ># 6 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/io/XActiveDataSink.hpp" 2 ># 36 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/io/XActiveDataSink.hpp" >inline const ::com::sun::star::uno::Type& getCppuType( const ::com::sun::star::uno::Reference< ::com::sun::star::io::XActiveDataSink >* ) >{ > > static typelib_TypeDescriptionReference * s_pType_com_sun_star_io_XActiveDataSink = 0; > > > if ( !s_pType_com_sun_star_io_XActiveDataSink ) > { > typelib_static_interface_type_init( &s_pType_com_sun_star_io_XActiveDataSink, "com.sun.star.io.XActiveDataSink", 0 ); > } > return * reinterpret_cast< ::com::sun::star::uno::Type * >( &s_pType_com_sun_star_io_XActiveDataSink ); >} > ># 160 "/usr/src/oo/oo_605_src/sfx2/source/doc/docfile.cxx" 2 > > > ># 6 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/io/XActiveDataSource.hpp" 1 ># 15 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/io/XActiveDataSource.hdl" 1 >namespace com { namespace sun { namespace star { namespace io { >class XOutputStream; >} } } } > ># 29 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/io/XActiveDataSource.hdl" >namespace com >{ >namespace sun >{ >namespace star >{ >namespace io >{ > >class XActiveDataSource : public ::com::sun::star::uno::XInterface >{ >public: > > > virtual void setOutputStream( const ::com::sun::star::uno::Reference< ::com::sun::star::io::XOutputStream >& aStream ) throw(::com::sun::star::uno::RuntimeException) = 0; > virtual ::com::sun::star::uno::Reference< ::com::sun::star::io::XOutputStream > getOutputStream( ) throw(::com::sun::star::uno::RuntimeException) = 0; >}; > >} >} >} >} > >namespace com { namespace sun { namespace star { namespace uno { >class Type; >} } } } > >inline const ::com::sun::star::uno::Type& getCppuType( const ::com::sun::star::uno::Reference< ::com::sun::star::io::XActiveDataSource >* ); > ># 6 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/io/XActiveDataSource.hpp" 2 ># 36 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/io/XActiveDataSource.hpp" >inline const ::com::sun::star::uno::Type& getCppuType( const ::com::sun::star::uno::Reference< ::com::sun::star::io::XActiveDataSource >* ) >{ > > static typelib_TypeDescriptionReference * s_pType_com_sun_star_io_XActiveDataSource = 0; > > > if ( !s_pType_com_sun_star_io_XActiveDataSource ) > { > typelib_static_interface_type_init( &s_pType_com_sun_star_io_XActiveDataSource, "com.sun.star.io.XActiveDataSource", 0 ); > } > return * reinterpret_cast< ::com::sun::star::uno::Type * >( &s_pType_com_sun_star_io_XActiveDataSource ); >} > ># 163 "/usr/src/oo/oo_605_src/sfx2/source/doc/docfile.cxx" 2 > > > > > > ># 6 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/lang/XInitialization.hpp" 1 ># 33 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/lang/XInitialization.hdl" 1 >namespace com >{ >namespace sun >{ >namespace star >{ >namespace lang >{ > >class XInitialization : public ::com::sun::star::uno::XInterface >{ >public: > > > virtual void initialize( const ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Any >& aArguments ) throw(::com::sun::star::uno::Exception, ::com::sun::star::uno::RuntimeException) = 0; >}; > >} >} >} >} > >namespace com { namespace sun { namespace star { namespace uno { >class Type; >} } } } > >inline const ::com::sun::star::uno::Type& getCppuType( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XInitialization >* ); > ># 6 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/lang/XInitialization.hpp" 2 ># 42 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/lang/XInitialization.hpp" >inline const ::com::sun::star::uno::Type& getCppuType( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XInitialization >* ) >{ > > static typelib_TypeDescriptionReference * s_pType_com_sun_star_lang_XInitialization = 0; > > > if ( !s_pType_com_sun_star_lang_XInitialization ) > { > typelib_static_interface_type_init( &s_pType_com_sun_star_lang_XInitialization, "com.sun.star.lang.XInitialization", 0 ); > } > return * reinterpret_cast< ::com::sun::star::uno::Type * >( &s_pType_com_sun_star_lang_XInitialization ); >} > ># 169 "/usr/src/oo/oo_605_src/sfx2/source/doc/docfile.cxx" 2 > > > > ># 6 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/ucb/InsertCommandArgument.hpp" 1 ># 12 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/ucb/InsertCommandArgument.hdl" 1 >namespace com { namespace sun { namespace star { namespace io { >class XInputStream; >} } } } > > >namespace com >{ >namespace sun >{ >namespace star >{ >namespace ucb >{ > > > > > > > >struct InsertCommandArgument >{ > inline InsertCommandArgument(); > > InsertCommandArgument(const ::com::sun::star::uno::Reference< ::com::sun::star::io::XInputStream >& __Data, const sal_Bool& __ReplaceExisting); > > ::com::sun::star::uno::Reference< ::com::sun::star::io::XInputStream > Data; > sal_Bool ReplaceExisting; >}; > > > > > > > >} >} >} >} > >namespace com { namespace sun { namespace star { namespace uno { >class Type; >} } } } > >inline const ::com::sun::star::uno::Type& getCppuType( const ::com::sun::star::ucb::InsertCommandArgument* ); > ># 6 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/ucb/InsertCommandArgument.hpp" 2 ># 20 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/ucb/InsertCommandArgument.hpp" >namespace com >{ >namespace sun >{ >namespace star >{ >namespace ucb >{ > >inline InsertCommandArgument::InsertCommandArgument() > : Data() > , ReplaceExisting(((unsigned char)0)) >{ >} > >inline InsertCommandArgument::InsertCommandArgument(const ::com::sun::star::uno::Reference< ::com::sun::star::io::XInputStream >& __Data, const sal_Bool& __ReplaceExisting) > : Data(__Data) > , ReplaceExisting(__ReplaceExisting) >{ >} > >} >} >} >} > > > > > >inline const ::com::sun::star::uno::Type& getCppuType( const ::com::sun::star::ucb::InsertCommandArgument* ) >{ > > static typelib_TypeDescriptionReference * s_pType_com_sun_star_ucb_InsertCommandArgument = 0; > > > if ( !s_pType_com_sun_star_ucb_InsertCommandArgument ) > { > typelib_TypeDescriptionReference * aMemberRefs[2]; > const ::com::sun::star::uno::Type& rMemberType_com_sun_star_io_XInputStream = getCppuType( ( const ::com::sun::star::uno::Reference< ::com::sun::star::io::XInputStream > *)0 ); > aMemberRefs[0] = rMemberType_com_sun_star_io_XInputStream.getTypeLibType(); > const ::com::sun::star::uno::Type& rMemberType_boolean = getCppuType( ( const sal_Bool *)0 ); > aMemberRefs[1] = rMemberType_boolean.getTypeLibType(); > > typelib_static_compound_type_init( &s_pType_com_sun_star_ucb_InsertCommandArgument, typelib_TypeClass_STRUCT, "com.sun.star.ucb.InsertCommandArgument", 0, 2, aMemberRefs ); > } > return * reinterpret_cast< const ::com::sun::star::uno::Type * >( &s_pType_com_sun_star_ucb_InsertCommandArgument ); >} > ># 173 "/usr/src/oo/oo_605_src/sfx2/source/doc/docfile.cxx" 2 > > > ># 6 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/ucb/NameClash.hpp" 1 ># 9 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/ucb/NameClash.hdl" 1 >namespace com >{ >namespace sun >{ >namespace star >{ >namespace ucb >{ >namespace NameClash >{ > >static const sal_Int32 ERROR = (sal_Int32)0; >static const sal_Int32 OVERWRITE = (sal_Int32)1; >static const sal_Int32 RENAME = (sal_Int32)2; >static const sal_Int32 KEEP = (sal_Int32)3; > >} >} >} >} >} > ># 6 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/ucb/NameClash.hpp" 2 ># 176 "/usr/src/oo/oo_605_src/sfx2/source/doc/docfile.cxx" 2 > > > ># 6 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/ucb/TransferInfo.hpp" 1 ># 12 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/ucb/TransferInfo.hdl" 1 >namespace com >{ >namespace sun >{ >namespace star >{ >namespace ucb >{ > > > > > > > >struct TransferInfo >{ > inline TransferInfo(); > > TransferInfo(const sal_Bool& __MoveData, const ::rtl::OUString& __SourceURL, const ::rtl::OUString& __NewTitle, const sal_Int32& __NameClash); > > sal_Bool MoveData; > ::rtl::OUString SourceURL; > ::rtl::OUString NewTitle; > sal_Int32 NameClash; >}; > > > > > > > >} >} >} >} > >namespace com { namespace sun { namespace star { namespace uno { >class Type; >} } } } > >inline const ::com::sun::star::uno::Type& getCppuType( const ::com::sun::star::ucb::TransferInfo* ); > ># 6 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/ucb/TransferInfo.hpp" 2 ># 17 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/ucb/TransferInfo.hpp" >namespace com >{ >namespace sun >{ >namespace star >{ >namespace ucb >{ > >inline TransferInfo::TransferInfo() > : MoveData(((unsigned char)0)) > , SourceURL() > , NewTitle() > , NameClash((sal_Int32)0) >{ >} > >inline TransferInfo::TransferInfo(const sal_Bool& __MoveData, const ::rtl::OUString& __SourceURL, const ::rtl::OUString& __NewTitle, const sal_Int32& __NameClash) > : MoveData(__MoveData) > , SourceURL(__SourceURL) > , NewTitle(__NewTitle) > , NameClash(__NameClash) >{ >} > >} >} >} >} > > > > > >inline const ::com::sun::star::uno::Type& getCppuType( const ::com::sun::star::ucb::TransferInfo* ) >{ > > static typelib_TypeDescriptionReference * s_pType_com_sun_star_ucb_TransferInfo = 0; > > > if ( !s_pType_com_sun_star_ucb_TransferInfo ) > { > typelib_TypeDescriptionReference * aMemberRefs[4]; > const ::com::sun::star::uno::Type& rMemberType_boolean = getCppuType( ( const sal_Bool *)0 ); > aMemberRefs[0] = rMemberType_boolean.getTypeLibType(); > const ::com::sun::star::uno::Type& rMemberType_string = getCppuType( ( const ::rtl::OUString *)0 ); > aMemberRefs[1] = rMemberType_string.getTypeLibType(); > aMemberRefs[2] = rMemberType_string.getTypeLibType(); > const ::com::sun::star::uno::Type& rMemberType_long = getCppuType( ( const sal_Int32 *)0 ); > aMemberRefs[3] = rMemberType_long.getTypeLibType(); > > typelib_static_compound_type_init( &s_pType_com_sun_star_ucb_TransferInfo, typelib_TypeClass_STRUCT, "com.sun.star.ucb.TransferInfo", 0, 4, aMemberRefs ); > } > return * reinterpret_cast< const ::com::sun::star::uno::Type * >( &s_pType_com_sun_star_ucb_TransferInfo ); >} > ># 179 "/usr/src/oo/oo_605_src/sfx2/source/doc/docfile.cxx" 2 > > > > ># 68 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/unotools/processfactory.hxx" 1 >namespace com { namespace sun { namespace star { namespace lang { > class XMultiServiceFactory; >} } } } > >namespace utl >{ > > > > > > >void setProcessServiceFactory(const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >& xSMgr); > > > > > > > >::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory > getProcessServiceFactory(); > >} > ># 183 "/usr/src/oo/oo_605_src/sfx2/source/doc/docfile.cxx" 2 > > > ># 6 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/ucb/XContent.hpp" 1 ># 15 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/ucb/XContent.hdl" 1 >namespace com { namespace sun { namespace star { namespace ucb { >class XContentEventListener; >} } } } > > >namespace com { namespace sun { namespace star { namespace ucb { >class XContentIdentifier; >} } } } > ># 37 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/ucb/XContent.hdl" >namespace com >{ >namespace sun >{ >namespace star >{ >namespace ucb >{ > >class XContent : public ::com::sun::star::uno::XInterface >{ >public: > > > virtual ::com::sun::star::uno::Reference< ::com::sun::star::ucb::XContentIdentifier > getIdentifier( ) throw(::com::sun::star::uno::RuntimeException) = 0; > virtual ::rtl::OUString getContentType( ) throw(::com::sun::star::uno::RuntimeException) = 0; > virtual void addContentEventListener( const ::com::sun::star::uno::Reference< ::com::sun::star::ucb::XContentEventListener >& Listener ) throw(::com::sun::star::uno::RuntimeException) = 0; > virtual void removeContentEventListener( const ::com::sun::star::uno::Reference< ::com::sun::star::ucb::XContentEventListener >& Listener ) throw(::com::sun::star::uno::RuntimeException) = 0; >}; > >} >} >} >} > >namespace com { namespace sun { namespace star { namespace uno { >class Type; >} } } } > >inline const ::com::sun::star::uno::Type& getCppuType( const ::com::sun::star::uno::Reference< ::com::sun::star::ucb::XContent >* ); > ># 6 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/ucb/XContent.hpp" 2 ># 21 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/ucb/XContent.hpp" ># 6 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/ucb/XContentEventListener.hpp" 1 ># 19 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/ucb/XContentEventListener.hdl" 1 ># 15 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/ucb/ContentEvent.hdl" 1 >namespace com { namespace sun { namespace star { namespace ucb { >class XContent; >} } } } > > >namespace com { namespace sun { namespace star { namespace ucb { >class XContentIdentifier; >} } } } > > >namespace com >{ >namespace sun >{ >namespace star >{ >namespace ucb >{ > > > > > > > >struct ContentEvent : public ::com::sun::star::lang::EventObject >{ > inline ContentEvent(); > > ContentEvent(const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >& __Source, const sal_Int32& __Action, const ::com::sun::star::uno::Reference< ::com::sun::star::ucb::XContent >& __Content, const ::com::sun::star::uno::Reference< ::com::sun::star::ucb::XContentIdentifier >& __Id); > > sal_Int32 Action; > ::com::sun::star::uno::Reference< ::com::sun::star::ucb::XContent > Content; > ::com::sun::star::uno::Reference< ::com::sun::star::ucb::XContentIdentifier > Id; >}; > > > > > > > >} >} >} >} > >namespace com { namespace sun { namespace star { namespace uno { >class Type; >} } } } > >inline const ::com::sun::star::uno::Type& getCppuType( const ::com::sun::star::ucb::ContentEvent* ); > ># 19 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/ucb/XContentEventListener.hdl" 2 ># 27 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/ucb/XContentEventListener.hdl" >namespace com >{ >namespace sun >{ >namespace star >{ >namespace ucb >{ > >class XContentEventListener : public ::com::sun::star::lang::XEventListener >{ >public: > > > virtual void contentEvent( const ::com::sun::star::ucb::ContentEvent& evt ) throw(::com::sun::star::uno::RuntimeException) = 0; >}; > >} >} >} >} > >namespace com { namespace sun { namespace star { namespace uno { >class Type; >} } } } > >inline const ::com::sun::star::uno::Type& getCppuType( const ::com::sun::star::uno::Reference< ::com::sun::star::ucb::XContentEventListener >* ); > ># 6 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/ucb/XContentEventListener.hpp" 2 ># 24 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/ucb/XContentEventListener.hpp" ># 24 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/ucb/ContentEvent.hpp" 1 ># 6 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/ucb/XContentIdentifier.hpp" 1 ># 27 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/ucb/XContentIdentifier.hdl" 1 >namespace com >{ >namespace sun >{ >namespace star >{ >namespace ucb >{ > >class XContentIdentifier : public ::com::sun::star::uno::XInterface >{ >public: > > > virtual ::rtl::OUString getContentIdentifier( ) throw(::com::sun::star::uno::RuntimeException) = 0; > virtual ::rtl::OUString getContentProviderScheme( ) throw(::com::sun::star::uno::RuntimeException) = 0; >}; > >} >} >} >} > >namespace com { namespace sun { namespace star { namespace uno { >class Type; >} } } } > >inline const ::com::sun::star::uno::Type& getCppuType( const ::com::sun::star::uno::Reference< ::com::sun::star::ucb::XContentIdentifier >* ); > ># 6 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/ucb/XContentIdentifier.hpp" 2 ># 33 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/ucb/XContentIdentifier.hpp" >inline const ::com::sun::star::uno::Type& getCppuType( const ::com::sun::star::uno::Reference< ::com::sun::star::ucb::XContentIdentifier >* ) >{ > > static typelib_TypeDescriptionReference * s_pType_com_sun_star_ucb_XContentIdentifier = 0; > > > if ( !s_pType_com_sun_star_ucb_XContentIdentifier ) > { > typelib_static_interface_type_init( &s_pType_com_sun_star_ucb_XContentIdentifier, "com.sun.star.ucb.XContentIdentifier", 0 ); > } > return * reinterpret_cast< ::com::sun::star::uno::Type * >( &s_pType_com_sun_star_ucb_XContentIdentifier ); >} > ># 24 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/ucb/ContentEvent.hpp" 2 > > >namespace com >{ >namespace sun >{ >namespace star >{ >namespace ucb >{ > >inline ContentEvent::ContentEvent() > : ::com::sun::star::lang::EventObject() > , Action((sal_Int32)0) > , Content() > , Id() >{ >} > >inline ContentEvent::ContentEvent(const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >& __Source, const sal_Int32& __Action, const ::com::sun::star::uno::Reference< ::com::sun::star::ucb::XContent >& __Content, const ::com::sun::star::uno::Reference< ::com::sun::star::ucb::XContentIdentifier >& __Id) > : ::com::sun::star::lang::EventObject(__Source) > , Action(__Action) > , Content(__Content) > , Id(__Id) >{ >} > >} >} >} >} > > > > > >inline const ::com::sun::star::uno::Type& getCppuType( const ::com::sun::star::ucb::ContentEvent* ) >{ > > static typelib_TypeDescriptionReference * s_pType_com_sun_star_ucb_ContentEvent = 0; > > > if ( !s_pType_com_sun_star_ucb_ContentEvent ) > { > const ::com::sun::star::uno::Type& rBaseType = getCppuType( ( const ::com::sun::star::lang::EventObject *)0 ); > > typelib_TypeDescriptionReference * aMemberRefs[3]; > const ::com::sun::star::uno::Type& rMemberType_long = getCppuType( ( const sal_Int32 *)0 ); > aMemberRefs[0] = rMemberType_long.getTypeLibType(); > const ::com::sun::star::uno::Type& rMemberType_com_sun_star_ucb_XContent = getCppuType( ( const ::com::sun::star::uno::Reference< ::com::sun::star::ucb::XContent > *)0 ); > aMemberRefs[1] = rMemberType_com_sun_star_ucb_XContent.getTypeLibType(); > const ::com::sun::star::uno::Type& rMemberType_com_sun_star_ucb_XContentIdentifier = getCppuType( ( const ::com::sun::star::uno::Reference< ::com::sun::star::ucb::XContentIdentifier > *)0 ); > aMemberRefs[2] = rMemberType_com_sun_star_ucb_XContentIdentifier.getTypeLibType(); > > typelib_static_compound_type_init( &s_pType_com_sun_star_ucb_ContentEvent, typelib_TypeClass_STRUCT, "com.sun.star.ucb.ContentEvent", rBaseType.getTypeLibType(), 3, aMemberRefs ); > } > return * reinterpret_cast< const ::com::sun::star::uno::Type * >( &s_pType_com_sun_star_ucb_ContentEvent ); >} > ># 24 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/ucb/XContentEventListener.hpp" 2 ># 36 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/ucb/XContentEventListener.hpp" >inline const ::com::sun::star::uno::Type& getCppuType( const ::com::sun::star::uno::Reference< ::com::sun::star::ucb::XContentEventListener >* ) >{ > > static typelib_TypeDescriptionReference * s_pType_com_sun_star_ucb_XContentEventListener = 0; > > > if ( !s_pType_com_sun_star_ucb_XContentEventListener ) > { > const ::com::sun::star::uno::Type& rSuperType = getCppuType( ( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XEventListener > *)0 ); > typelib_static_interface_type_init( &s_pType_com_sun_star_ucb_XContentEventListener, "com.sun.star.ucb.XContentEventListener", rSuperType.getTypeLibType() ); > } > return * reinterpret_cast< ::com::sun::star::uno::Type * >( &s_pType_com_sun_star_ucb_XContentEventListener ); >} > ># 21 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/ucb/XContent.hpp" 2 ># 39 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/ucb/XContent.hpp" >inline const ::com::sun::star::uno::Type& getCppuType( const ::com::sun::star::uno::Reference< ::com::sun::star::ucb::XContent >* ) >{ > > static typelib_TypeDescriptionReference * s_pType_com_sun_star_ucb_XContent = 0; > > > if ( !s_pType_com_sun_star_ucb_XContent ) > { > typelib_static_interface_type_init( &s_pType_com_sun_star_ucb_XContent, "com.sun.star.ucb.XContent", 0 ); > } > return * reinterpret_cast< ::com::sun::star::uno::Type * >( &s_pType_com_sun_star_ucb_XContent ); >} > ># 186 "/usr/src/oo/oo_605_src/sfx2/source/doc/docfile.cxx" 2 > >using namespace ::com::sun::star::uno; >using namespace ::com::sun::star::ucb; > > ># 19 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/svtools/lckbitem.hxx" 1 >class SfxArguments; > >class SfxLockBytesItem: public SfxPoolItem >{ > SvLockBytesRef _xVal; > >public: > static void* CreateType(); static TypeId StaticType(); static BOOL IsOf( TypeId aSameOrSuperType ); virtual TypeId Type() const; virtual BOOL IsA( TypeId aSameOrSuperType ) const; > SfxLockBytesItem(); > SfxLockBytesItem( USHORT nWhich, > SvLockBytes *pLockBytes ); > SfxLockBytesItem( USHORT nWhich, SvStream & ); > SfxLockBytesItem( const SfxLockBytesItem& ); > ~SfxLockBytesItem(); > > virtual int operator==( const SfxPoolItem& ) const; > virtual SfxPoolItem* Clone( SfxItemPool *pPool = 0 ) const; > virtual SfxPoolItem* Create(SvStream &, USHORT nItemVersion) const; > virtual SvStream& Store(SvStream &, USHORT nItemVersion ) const; > > SvLockBytes* GetValue() const { return _xVal; } > > virtual BOOL PutValue ( const com::sun::star::uno::Any& rVal, > BYTE nMemberId = 0 ); > virtual BOOL QueryValue( com::sun::star::uno::Any& rVal, > BYTE nMemberId = 0 ) const; >}; > ># 191 "/usr/src/oo/oo_605_src/sfx2/source/doc/docfile.cxx" 2 > > > > > >#pragma hdrstop ># 196 "/usr/src/oo/oo_605_src/sfx2/source/doc/docfile.cxx" > > > ># 67 "../inc/appdata.hxx" 1 ># 10 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/svtools/lstner.hxx" 1 >class SfxBroadcaster; >class SfxHint; > > >typedef SvPtrarr SfxBroadcasterArr_Impl; ># 25 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/svtools/lstner.hxx" >class SfxListener >{ > SfxBroadcasterArr_Impl aBCs; > >private: > const SfxListener& operator=(const SfxListener &); > >public: > static void* CreateType(); static TypeId StaticType(); static BOOL IsOf( TypeId aSameOrSuperType ); virtual TypeId Type() const; virtual BOOL IsA( TypeId aSameOrSuperType ) const; > > SfxListener(); > SfxListener( const SfxListener &rCopy ); > virtual ~SfxListener(); > > BOOL StartListening( SfxBroadcaster& rBroadcaster, BOOL bPreventDups = 0 ); > BOOL EndListening( SfxBroadcaster& rBroadcaster, BOOL bAllDups = 0 ); > void EndListening( USHORT nNo ); > void EndListeningAll(); > BOOL IsListening( SfxBroadcaster& rBroadcaster ) const; > > USHORT GetBroadcasterCount() const > { return aBCs.Count(); } > SfxBroadcaster* GetBroadcasterJOE( USHORT nNo ) const > { return (SfxBroadcaster*) aBCs.GetObject(nNo); } > > virtual void Notify( SfxBroadcaster& rBC, const SfxHint& rHint ); > > > void RemoveBroadcaster_Impl( SfxBroadcaster& rBC ); > >}; > ># 67 "../inc/appdata.hxx" 2 > ># 68 "../../inc/bitset.hxx" 1 >class Range; > >class BitSet >{ >private: > void CopyFrom( const BitSet& rSet ); > USHORT nBlocks; > USHORT nCount; > ULONG* pBitmap; >public: > BitSet operator<<( USHORT nOffset ) const; > BitSet operator>>( USHORT nOffset ) const; > static USHORT CountBits( ULONG nBits ); > BOOL operator!() const; > BitSet(); > BitSet( const BitSet& rOrig ); > BitSet( USHORT* pArray, USHORT nSize ); > ~BitSet(); > BitSet( const Range& rRange ); > USHORT Count() const; > BitSet& operator=( const BitSet& rOrig ); > BitSet& operator=( USHORT nBit ); > BitSet operator|( const BitSet& rSet ) const; > BitSet operator|( USHORT nBit ) const; > BitSet& operator|=( const BitSet& rSet ); > BitSet& operator|=( USHORT nBit ); > BitSet operator-( const BitSet& rSet ) const; > BitSet operator-( USHORT nId ) const; > BitSet& operator-=( const BitSet& rSet ); > BitSet& operator-=( USHORT nBit ); > BitSet operator&( const BitSet& rSet ) const; > BitSet& operator&=( const BitSet& rSet ); > BitSet operator^( const BitSet& rSet ) const; > BitSet operator^( USHORT nBit ) const; > BitSet& operator^=( const BitSet& rSet ); > BitSet& operator^=( USHORT nBit ); > BOOL IsRealSubSet( const BitSet& rSet ) const; > BOOL IsSubSet( const BitSet& rSet ) const; > BOOL IsRealSuperSet( const BitSet& rSet ) const; > BOOL Contains( USHORT nBit ) const; > BOOL IsSuperSet( const BitSet& rSet ) const; > BOOL operator==( const BitSet& rSet ) const; > BOOL operator==( USHORT nBit ) const; > BOOL operator!=( const BitSet& rSet ) const; > BOOL operator!=( USHORT nBit ) const; > >}; > > > > > > >inline BOOL BitSet::operator!() const >{ > return nCount == 0; >} > > > > >inline USHORT BitSet::Count() const >{ > return nCount; >} > > > > >inline BitSet BitSet::operator|( const BitSet& rSet ) const >{ > return BitSet(*this) |= rSet; >} > > > > >inline BitSet BitSet::operator|( USHORT nBit ) const >{ > return BitSet(*this) |= nBit; >} > > > > >inline BitSet BitSet::operator-( const BitSet& rSet ) const >{ > return BitSet(); >} > > > > > >inline BitSet BitSet::operator-( USHORT nId ) const >{ > return BitSet(); >} > > > > >inline BitSet& BitSet::operator-=( const BitSet& rSet ) >{ > return *this; >} > > > > > >inline BitSet BitSet::operator&( const BitSet& rSet ) const >{ > return BitSet(); >} > > > > >inline BitSet& BitSet::operator&=( const BitSet& rSet ) >{ > return *this; >} > > > > >inline BitSet BitSet::operator^( const BitSet& rSet ) const >{ > return BitSet(); >} > > > > >inline BitSet BitSet::operator^( USHORT nBit ) const >{ > return BitSet(); >} > > > > >inline BitSet& BitSet::operator^=( const BitSet& rSet ) >{ > return *this; >} > ># 229 "../../inc/bitset.hxx" >inline BOOL BitSet::IsRealSubSet( const BitSet& rSet ) const >{ > return 0; >} > > > > >inline BOOL BitSet::IsSubSet( const BitSet& rSet ) const >{ > return 0; >} > > > > >inline BOOL BitSet::IsRealSuperSet( const BitSet& rSet ) const >{ > return 0; >} > > > > > >inline BOOL BitSet::IsSuperSet( const BitSet& rSet ) const >{ > return 0; >} > > > > >inline BOOL BitSet::operator==( USHORT nBit ) const >{ > return 0; >} > > > > >inline BOOL BitSet::operator!=( const BitSet& rSet ) const >{ > return !( *this == rSet ); >} > > > > >inline BOOL BitSet::operator!=( USHORT nBit ) const >{ > return !( *this == nBit ); >} > > >class IndexBitSet : BitSet >{ >public: > USHORT GetFreeIndex(); > void ReleaseIndex(USHORT i){*this-=i;} >}; > > ># 68 "../inc/appdata.hxx" 2 > ># 70 "../../inc/objsh.hxx" 1 ># 6 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/frame/XFrame.hpp" 1 ># 15 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/frame/XFrame.hdl" 1 >namespace com { namespace sun { namespace star { namespace awt { >class XWindow; >} } } } > > >namespace com { namespace sun { namespace star { namespace frame { >class XController; >} } } } > > >namespace com { namespace sun { namespace star { namespace frame { >class XFrameActionListener; >} } } } > > >namespace com { namespace sun { namespace star { namespace frame { >class XFramesSupplier; >} } } } > > > ># 15 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/lang/XComponent.hdl" 1 >namespace com { namespace sun { namespace star { namespace lang { >class XEventListener; >} } } } > ># 29 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/lang/XComponent.hdl" >namespace com >{ >namespace sun >{ >namespace star >{ >namespace lang >{ > >class XComponent : public ::com::sun::star::uno::XInterface >{ >public: > > > virtual void dispose( ) throw(::com::sun::star::uno::RuntimeException) = 0; > virtual void addEventListener( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XEventListener >& xListener ) throw(::com::sun::star::uno::RuntimeException) = 0; > virtual void removeEventListener( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XEventListener >& aListener ) throw(::com::sun::star::uno::RuntimeException) = 0; >}; > >} >} >} >} > >namespace com { namespace sun { namespace star { namespace uno { >class Type; >} } } } > >inline const ::com::sun::star::uno::Type& getCppuType( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XComponent >* ); > ># 36 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/frame/XFrame.hdl" 2 ># 47 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/frame/XFrame.hdl" >namespace com >{ >namespace sun >{ >namespace star >{ >namespace frame >{ > >class XFrame : public ::com::sun::star::lang::XComponent >{ >public: > > > virtual void initialize( const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XWindow >& xWindow ) throw(::com::sun::star::uno::RuntimeException) = 0; > virtual ::com::sun::star::uno::Reference< ::com::sun::star::awt::XWindow > getContainerWindow( ) throw(::com::sun::star::uno::RuntimeException) = 0; > virtual void setCreator( const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XFramesSupplier >& xCreator ) throw(::com::sun::star::uno::RuntimeException) = 0; > virtual ::com::sun::star::uno::Reference< ::com::sun::star::frame::XFramesSupplier > getCreator( ) throw(::com::sun::star::uno::RuntimeException) = 0; > virtual ::rtl::OUString getName( ) throw(::com::sun::star::uno::RuntimeException) = 0; > virtual void setName( const ::rtl::OUString& aName ) throw(::com::sun::star::uno::RuntimeException) = 0; > virtual ::com::sun::star::uno::Reference< ::com::sun::star::frame::XFrame > findFrame( const ::rtl::OUString& aTargetFrameName, sal_Int32 nSearchFlags ) throw(::com::sun::star::uno::RuntimeException) = 0; > virtual sal_Bool isTop( ) throw(::com::sun::star::uno::RuntimeException) = 0; > virtual void activate( ) throw(::com::sun::star::uno::RuntimeException) = 0; > virtual void deactivate( ) throw(::com::sun::star::uno::RuntimeException) = 0; > virtual sal_Bool isActive( ) throw(::com::sun::star::uno::RuntimeException) = 0; > virtual sal_Bool setComponent( const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XWindow >& xComponentWindow, const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XController >& xController ) throw(::com::sun::star::uno::RuntimeException) = 0; > virtual ::com::sun::star::uno::Reference< ::com::sun::star::awt::XWindow > getComponentWindow( ) throw(::com::sun::star::uno::RuntimeException) = 0; > virtual ::com::sun::star::uno::Reference< ::com::sun::star::frame::XController > getController( ) throw(::com::sun::star::uno::RuntimeException) = 0; > virtual void contextChanged( ) throw(::com::sun::star::uno::RuntimeException) = 0; > virtual void addFrameActionListener( const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XFrameActionListener >& xListener ) throw(::com::sun::star::uno::RuntimeException) = 0; > virtual void removeFrameActionListener( const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XFrameActionListener >& xListener ) throw(::com::sun::star::uno::RuntimeException) = 0; >}; > >} >} >} >} > >namespace com { namespace sun { namespace star { namespace uno { >class Type; >} } } } > >inline const ::com::sun::star::uno::Type& getCppuType( const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XFrame >* ); > ># 6 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/frame/XFrame.hpp" 2 ># 21 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/frame/XFrame.hpp" ># 6 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/awt/XWindow.hpp" 1 ># 13 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/awt/XWindow.hdl" 1 ># 9 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/awt/Rectangle.hdl" 1 >namespace com >{ >namespace sun >{ >namespace star >{ >namespace awt >{ > > > > > > > >struct Rectangle >{ > inline Rectangle(); > > Rectangle(const sal_Int32& __X, const sal_Int32& __Y, const sal_Int32& __Width, const sal_Int32& __Height); > > sal_Int32 X; > sal_Int32 Y; > sal_Int32 Width; > sal_Int32 Height; >}; > > > > > > > >} >} >} >} > >namespace com { namespace sun { namespace star { namespace uno { >class Type; >} } } } > >inline const ::com::sun::star::uno::Type& getCppuType( const ::com::sun::star::awt::Rectangle* ); > ># 13 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/awt/XWindow.hdl" 2 > > > > > >namespace com { namespace sun { namespace star { namespace awt { >class XFocusListener; >} } } } > > >namespace com { namespace sun { namespace star { namespace awt { >class XKeyListener; >} } } } > > >namespace com { namespace sun { namespace star { namespace awt { >class XMouseListener; >} } } } > > >namespace com { namespace sun { namespace star { namespace awt { >class XMouseMotionListener; >} } } } > > >namespace com { namespace sun { namespace star { namespace awt { >class XPaintListener; >} } } } > > >namespace com { namespace sun { namespace star { namespace awt { >class XWindowListener; >} } } } > ># 57 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/awt/XWindow.hdl" >namespace com >{ >namespace sun >{ >namespace star >{ >namespace awt >{ > >class XWindow : public ::com::sun::star::lang::XComponent >{ >public: > > > virtual void setPosSize( sal_Int32 X, sal_Int32 Y, sal_Int32 Width, sal_Int32 Height, sal_Int16 Flags ) throw(::com::sun::star::uno::RuntimeException) = 0; > virtual ::com::sun::star::awt::Rectangle getPosSize( ) throw(::com::sun::star::uno::RuntimeException) = 0; > virtual void setVisible( sal_Bool Visible ) throw(::com::sun::star::uno::RuntimeException) = 0; > virtual void setEnable( sal_Bool Enable ) throw(::com::sun::star::uno::RuntimeException) = 0; > virtual void setFocus( ) throw(::com::sun::star::uno::RuntimeException) = 0; > virtual void addWindowListener( const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XWindowListener >& xListener ) throw(::com::sun::star::uno::RuntimeException) = 0; > virtual void removeWindowListener( const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XWindowListener >& xListener ) throw(::com::sun::star::uno::RuntimeException) = 0; > virtual void addFocusListener( const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XFocusListener >& xListener ) throw(::com::sun::star::uno::RuntimeException) = 0; > virtual void removeFocusListener( const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XFocusListener >& xListener ) throw(::com::sun::star::uno::RuntimeException) = 0; > virtual void addKeyListener( const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XKeyListener >& xListener ) throw(::com::sun::star::uno::RuntimeException) = 0; > virtual void removeKeyListener( const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XKeyListener >& xListener ) throw(::com::sun::star::uno::RuntimeException) = 0; > virtual void addMouseListener( const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XMouseListener >& xListener ) throw(::com::sun::star::uno::RuntimeException) = 0; > virtual void removeMouseListener( const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XMouseListener >& xListener ) throw(::com::sun::star::uno::RuntimeException) = 0; > virtual void addMouseMotionListener( const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XMouseMotionListener >& xListener ) throw(::com::sun::star::uno::RuntimeException) = 0; > virtual void removeMouseMotionListener( const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XMouseMotionListener >& xListener ) throw(::com::sun::star::uno::RuntimeException) = 0; > virtual void addPaintListener( const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XPaintListener >& xListener ) throw(::com::sun::star::uno::RuntimeException) = 0; > virtual void removePaintListener( const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XPaintListener >& xListener ) throw(::com::sun::star::uno::RuntimeException) = 0; >}; > >} >} >} >} > >namespace com { namespace sun { namespace star { namespace uno { >class Type; >} } } } > >inline const ::com::sun::star::uno::Type& getCppuType( const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XWindow >* ); > ># 6 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/awt/XWindow.hpp" 2 ># 21 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/awt/XWindow.hpp" ># 17 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/awt/Rectangle.hpp" 1 >namespace com >{ >namespace sun >{ >namespace star >{ >namespace awt >{ > >inline Rectangle::Rectangle() > : X((sal_Int32)0) > , Y((sal_Int32)0) > , Width((sal_Int32)0) > , Height((sal_Int32)0) >{ >} > >inline Rectangle::Rectangle(const sal_Int32& __X, const sal_Int32& __Y, const sal_Int32& __Width, const sal_Int32& __Height) > : X(__X) > , Y(__Y) > , Width(__Width) > , Height(__Height) >{ >} > >} >} >} >} > > > > > >inline const ::com::sun::star::uno::Type& getCppuType( const ::com::sun::star::awt::Rectangle* ) >{ > > static typelib_TypeDescriptionReference * s_pType_com_sun_star_awt_Rectangle = 0; > > > if ( !s_pType_com_sun_star_awt_Rectangle ) > { > typelib_TypeDescriptionReference * aMemberRefs[4]; > const ::com::sun::star::uno::Type& rMemberType_long = getCppuType( ( const sal_Int32 *)0 ); > aMemberRefs[0] = rMemberType_long.getTypeLibType(); > aMemberRefs[1] = rMemberType_long.getTypeLibType(); > aMemberRefs[2] = rMemberType_long.getTypeLibType(); > aMemberRefs[3] = rMemberType_long.getTypeLibType(); > > typelib_static_compound_type_init( &s_pType_com_sun_star_awt_Rectangle, typelib_TypeClass_STRUCT, "com.sun.star.awt.Rectangle", 0, 4, aMemberRefs ); > } > return * reinterpret_cast< const ::com::sun::star::uno::Type * >( &s_pType_com_sun_star_awt_Rectangle ); >} > ># 21 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/awt/XWindow.hpp" 2 > > > ># 6 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/awt/XFocusListener.hpp" 1 ># 13 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/awt/XFocusListener.hdl" 1 ># 15 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/awt/FocusEvent.hdl" 1 >namespace com { namespace sun { namespace star { namespace uno { >class XInterface; >} } } } > > >namespace com >{ >namespace sun >{ >namespace star >{ >namespace awt >{ > > > > > > > >struct FocusEvent : public ::com::sun::star::lang::EventObject >{ > inline FocusEvent(); > > FocusEvent(const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >& __Source, const sal_Int16& __FocusFlags, const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >& __NextFocus, const sal_Bool& __Temporary); > > sal_Int16 FocusFlags; > ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > NextFocus; > sal_Bool Temporary; >}; > > > > > > > >} >} >} >} > >namespace com { namespace sun { namespace star { namespace uno { >class Type; >} } } } > >inline const ::com::sun::star::uno::Type& getCppuType( const ::com::sun::star::awt::FocusEvent* ); > ># 13 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/awt/XFocusListener.hdl" 2 ># 27 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/awt/XFocusListener.hdl" >namespace com >{ >namespace sun >{ >namespace star >{ >namespace awt >{ > >class XFocusListener : public ::com::sun::star::lang::XEventListener >{ >public: > > > virtual void focusGained( const ::com::sun::star::awt::FocusEvent& e ) throw(::com::sun::star::uno::RuntimeException) = 0; > virtual void focusLost( const ::com::sun::star::awt::FocusEvent& e ) throw(::com::sun::star::uno::RuntimeException) = 0; >}; > >} >} >} >} > >namespace com { namespace sun { namespace star { namespace uno { >class Type; >} } } } > >inline const ::com::sun::star::uno::Type& getCppuType( const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XFocusListener >* ); > ># 6 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/awt/XFocusListener.hpp" 2 ># 21 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/awt/XFocusListener.hpp" ># 23 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/awt/FocusEvent.hpp" 1 >namespace com >{ >namespace sun >{ >namespace star >{ >namespace awt >{ > >inline FocusEvent::FocusEvent() > : ::com::sun::star::lang::EventObject() > , FocusFlags((sal_Int16)0) > , NextFocus() > , Temporary(((unsigned char)0)) >{ >} > >inline FocusEvent::FocusEvent(const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >& __Source, const sal_Int16& __FocusFlags, const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >& __NextFocus, const sal_Bool& __Temporary) > : ::com::sun::star::lang::EventObject(__Source) > , FocusFlags(__FocusFlags) > , NextFocus(__NextFocus) > , Temporary(__Temporary) >{ >} > >} >} >} >} > > > > > >inline const ::com::sun::star::uno::Type& getCppuType( const ::com::sun::star::awt::FocusEvent* ) >{ > > static typelib_TypeDescriptionReference * s_pType_com_sun_star_awt_FocusEvent = 0; > > > if ( !s_pType_com_sun_star_awt_FocusEvent ) > { > const ::com::sun::star::uno::Type& rBaseType = getCppuType( ( const ::com::sun::star::lang::EventObject *)0 ); > > typelib_TypeDescriptionReference * aMemberRefs[3]; > const ::com::sun::star::uno::Type& rMemberType_short = getCppuType( ( const sal_Int16 *)0 ); > aMemberRefs[0] = rMemberType_short.getTypeLibType(); > const ::com::sun::star::uno::Type& rMemberType_com_sun_star_uno_XInterface = getCppuType( ( const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > *)0 ); > aMemberRefs[1] = rMemberType_com_sun_star_uno_XInterface.getTypeLibType(); > const ::com::sun::star::uno::Type& rMemberType_boolean = getCppuType( ( const sal_Bool *)0 ); > aMemberRefs[2] = rMemberType_boolean.getTypeLibType(); > > typelib_static_compound_type_init( &s_pType_com_sun_star_awt_FocusEvent, typelib_TypeClass_STRUCT, "com.sun.star.awt.FocusEvent", rBaseType.getTypeLibType(), 3, aMemberRefs ); > } > return * reinterpret_cast< const ::com::sun::star::uno::Type * >( &s_pType_com_sun_star_awt_FocusEvent ); >} > ># 21 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/awt/XFocusListener.hpp" 2 ># 36 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/awt/XFocusListener.hpp" >inline const ::com::sun::star::uno::Type& getCppuType( const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XFocusListener >* ) >{ > > static typelib_TypeDescriptionReference * s_pType_com_sun_star_awt_XFocusListener = 0; > > > if ( !s_pType_com_sun_star_awt_XFocusListener ) > { > const ::com::sun::star::uno::Type& rSuperType = getCppuType( ( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XEventListener > *)0 ); > typelib_static_interface_type_init( &s_pType_com_sun_star_awt_XFocusListener, "com.sun.star.awt.XFocusListener", rSuperType.getTypeLibType() ); > } > return * reinterpret_cast< ::com::sun::star::uno::Type * >( &s_pType_com_sun_star_awt_XFocusListener ); >} > ># 24 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/awt/XWindow.hpp" 2 > > > ># 6 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/awt/XKeyListener.hpp" 1 ># 13 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/awt/XKeyListener.hdl" 1 ># 10 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/awt/KeyEvent.hdl" 1 ># 12 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/awt/InputEvent.hdl" 1 >namespace com >{ >namespace sun >{ >namespace star >{ >namespace awt >{ > > > > > > > >struct InputEvent : public ::com::sun::star::lang::EventObject >{ > inline InputEvent(); > > InputEvent(const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >& __Source, const sal_Int16& __Modifiers); > > sal_Int16 Modifiers; >}; > > > > > > > >} >} >} >} > >namespace com { namespace sun { namespace star { namespace uno { >class Type; >} } } } > >inline const ::com::sun::star::uno::Type& getCppuType( const ::com::sun::star::awt::InputEvent* ); > ># 10 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/awt/KeyEvent.hdl" 2 > > >namespace com >{ >namespace sun >{ >namespace star >{ >namespace awt >{ > > > > > > > >struct KeyEvent : public ::com::sun::star::awt::InputEvent >{ > inline KeyEvent(); > > KeyEvent(const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >& __Source, const sal_Int16& __Modifiers, const sal_Int16& __KeyCode, const sal_Unicode& __KeyChar, const sal_Int16& __KeyFunc); > > sal_Int16 KeyCode; > sal_Unicode KeyChar; > sal_Int16 KeyFunc; >}; > > > > > > > >} >} >} >} > >namespace com { namespace sun { namespace star { namespace uno { >class Type; >} } } } > >inline const ::com::sun::star::uno::Type& getCppuType( const ::com::sun::star::awt::KeyEvent* ); > ># 13 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/awt/XKeyListener.hdl" 2 ># 27 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/awt/XKeyListener.hdl" >namespace com >{ >namespace sun >{ >namespace star >{ >namespace awt >{ > >class XKeyListener : public ::com::sun::star::lang::XEventListener >{ >public: > > > virtual void keyPressed( const ::com::sun::star::awt::KeyEvent& e ) throw(::com::sun::star::uno::RuntimeException) = 0; > virtual void keyReleased( const ::com::sun::star::awt::KeyEvent& e ) throw(::com::sun::star::uno::RuntimeException) = 0; >}; > >} >} >} >} > >namespace com { namespace sun { namespace star { namespace uno { >class Type; >} } } } > >inline const ::com::sun::star::uno::Type& getCppuType( const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XKeyListener >* ); > ># 6 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/awt/XKeyListener.hpp" 2 ># 21 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/awt/XKeyListener.hpp" ># 18 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/awt/KeyEvent.hpp" 1 ># 20 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/awt/InputEvent.hpp" 1 >namespace com >{ >namespace sun >{ >namespace star >{ >namespace awt >{ > >inline InputEvent::InputEvent() > : ::com::sun::star::lang::EventObject() > , Modifiers((sal_Int16)0) >{ >} > >inline InputEvent::InputEvent(const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >& __Source, const sal_Int16& __Modifiers) > : ::com::sun::star::lang::EventObject(__Source) > , Modifiers(__Modifiers) >{ >} > >} >} >} >} > > > > > >inline const ::com::sun::star::uno::Type& getCppuType( const ::com::sun::star::awt::InputEvent* ) >{ > > static typelib_TypeDescriptionReference * s_pType_com_sun_star_awt_InputEvent = 0; > > > if ( !s_pType_com_sun_star_awt_InputEvent ) > { > const ::com::sun::star::uno::Type& rBaseType = getCppuType( ( const ::com::sun::star::lang::EventObject *)0 ); > > typelib_TypeDescriptionReference * aMemberRefs[1]; > const ::com::sun::star::uno::Type& rMemberType_short = getCppuType( ( const sal_Int16 *)0 ); > aMemberRefs[0] = rMemberType_short.getTypeLibType(); > > typelib_static_compound_type_init( &s_pType_com_sun_star_awt_InputEvent, typelib_TypeClass_STRUCT, "com.sun.star.awt.InputEvent", rBaseType.getTypeLibType(), 1, aMemberRefs ); > } > return * reinterpret_cast< const ::com::sun::star::uno::Type * >( &s_pType_com_sun_star_awt_InputEvent ); >} > ># 18 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/awt/KeyEvent.hpp" 2 > > >namespace com >{ >namespace sun >{ >namespace star >{ >namespace awt >{ > >inline KeyEvent::KeyEvent() > : ::com::sun::star::awt::InputEvent() > , KeyCode((sal_Int16)0) > , KeyChar((sal_Unicode)0) > , KeyFunc((sal_Int16)0) >{ >} > >inline KeyEvent::KeyEvent(const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >& __Source, const sal_Int16& __Modifiers, const sal_Int16& __KeyCode, const sal_Unicode& __KeyChar, const sal_Int16& __KeyFunc) > : ::com::sun::star::awt::InputEvent(__Source, __Modifiers) > , KeyCode(__KeyCode) > , KeyChar(__KeyChar) > , KeyFunc(__KeyFunc) >{ >} > >} >} >} >} > > > > > >inline const ::com::sun::star::uno::Type& getCppuType( const ::com::sun::star::awt::KeyEvent* ) >{ > > static typelib_TypeDescriptionReference * s_pType_com_sun_star_awt_KeyEvent = 0; > > > if ( !s_pType_com_sun_star_awt_KeyEvent ) > { > const ::com::sun::star::uno::Type& rBaseType = getCppuType( ( const ::com::sun::star::awt::InputEvent *)0 ); > > typelib_TypeDescriptionReference * aMemberRefs[3]; > const ::com::sun::star::uno::Type& rMemberType_short = getCppuType( ( const sal_Int16 *)0 ); > aMemberRefs[0] = rMemberType_short.getTypeLibType(); > const ::com::sun::star::uno::Type& rMemberType_char = getCppuType( ( const sal_Unicode *)0 ); > aMemberRefs[1] = rMemberType_char.getTypeLibType(); > aMemberRefs[2] = rMemberType_short.getTypeLibType(); > > typelib_static_compound_type_init( &s_pType_com_sun_star_awt_KeyEvent, typelib_TypeClass_STRUCT, "com.sun.star.awt.KeyEvent", rBaseType.getTypeLibType(), 3, aMemberRefs ); > } > return * reinterpret_cast< const ::com::sun::star::uno::Type * >( &s_pType_com_sun_star_awt_KeyEvent ); >} > ># 21 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/awt/XKeyListener.hpp" 2 ># 36 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/awt/XKeyListener.hpp" >inline const ::com::sun::star::uno::Type& getCppuType( const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XKeyListener >* ) >{ > > static typelib_TypeDescriptionReference * s_pType_com_sun_star_awt_XKeyListener = 0; > > > if ( !s_pType_com_sun_star_awt_XKeyListener ) > { > const ::com::sun::star::uno::Type& rSuperType = getCppuType( ( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XEventListener > *)0 ); > typelib_static_interface_type_init( &s_pType_com_sun_star_awt_XKeyListener, "com.sun.star.awt.XKeyListener", rSuperType.getTypeLibType() ); > } > return * reinterpret_cast< ::com::sun::star::uno::Type * >( &s_pType_com_sun_star_awt_XKeyListener ); >} > ># 27 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/awt/XWindow.hpp" 2 > > > ># 6 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/awt/XMouseListener.hpp" 1 ># 13 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/awt/XMouseListener.hdl" 1 ># 12 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/awt/MouseEvent.hdl" 1 >namespace com >{ >namespace sun >{ >namespace star >{ >namespace awt >{ > > > > > > > >struct MouseEvent : public ::com::sun::star::awt::InputEvent >{ > inline MouseEvent(); > > MouseEvent(const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >& __Source, const sal_Int16& __Modifiers, const sal_Int16& __Buttons, const sal_Int32& __X, const sal_Int32& __Y, const sal_Int32& __ClickCount, const sal_Bool& __PopupTrigger); > > sal_Int16 Buttons; > sal_Int32 X; > sal_Int32 Y; > sal_Int32 ClickCount; > sal_Bool PopupTrigger; >}; > > > > > > > >} >} >} >} > >namespace com { namespace sun { namespace star { namespace uno { >class Type; >} } } } > >inline const ::com::sun::star::uno::Type& getCppuType( const ::com::sun::star::awt::MouseEvent* ); > ># 13 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/awt/XMouseListener.hdl" 2 ># 27 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/awt/XMouseListener.hdl" >namespace com >{ >namespace sun >{ >namespace star >{ >namespace awt >{ > >class XMouseListener : public ::com::sun::star::lang::XEventListener >{ >public: > > > virtual void mousePressed( const ::com::sun::star::awt::MouseEvent& e ) throw(::com::sun::star::uno::RuntimeException) = 0; > virtual void mouseReleased( const ::com::sun::star::awt::MouseEvent& e ) throw(::com::sun::star::uno::RuntimeException) = 0; > virtual void mouseEntered( const ::com::sun::star::awt::MouseEvent& e ) throw(::com::sun::star::uno::RuntimeException) = 0; > virtual void mouseExited( const ::com::sun::star::awt::MouseEvent& e ) throw(::com::sun::star::uno::RuntimeException) = 0; >}; > >} >} >} >} > >namespace com { namespace sun { namespace star { namespace uno { >class Type; >} } } } > >inline const ::com::sun::star::uno::Type& getCppuType( const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XMouseListener >* ); > ># 6 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/awt/XMouseListener.hpp" 2 ># 21 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/awt/XMouseListener.hpp" ># 20 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/awt/MouseEvent.hpp" 1 >namespace com >{ >namespace sun >{ >namespace star >{ >namespace awt >{ > >inline MouseEvent::MouseEvent() > : ::com::sun::star::awt::InputEvent() > , Buttons((sal_Int16)0) > , X((sal_Int32)0) > , Y((sal_Int32)0) > , ClickCount((sal_Int32)0) > , PopupTrigger(((unsigned char)0)) >{ >} > >inline MouseEvent::MouseEvent(const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >& __Source, const sal_Int16& __Modifiers, const sal_Int16& __Buttons, const sal_Int32& __X, const sal_Int32& __Y, const sal_Int32& __ClickCount, const sal_Bool& __PopupTrigger) > : ::com::sun::star::awt::InputEvent(__Source, __Modifiers) > , Buttons(__Buttons) > , X(__X) > , Y(__Y) > , ClickCount(__ClickCount) > , PopupTrigger(__PopupTrigger) >{ >} > >} >} >} >} > > > > > >inline const ::com::sun::star::uno::Type& getCppuType( const ::com::sun::star::awt::MouseEvent* ) >{ > > static typelib_TypeDescriptionReference * s_pType_com_sun_star_awt_MouseEvent = 0; > > > if ( !s_pType_com_sun_star_awt_MouseEvent ) > { > const ::com::sun::star::uno::Type& rBaseType = getCppuType( ( const ::com::sun::star::awt::InputEvent *)0 ); > > typelib_TypeDescriptionReference * aMemberRefs[5]; > const ::com::sun::star::uno::Type& rMemberType_short = getCppuType( ( const sal_Int16 *)0 ); > aMemberRefs[0] = rMemberType_short.getTypeLibType(); > const ::com::sun::star::uno::Type& rMemberType_long = getCppuType( ( const sal_Int32 *)0 ); > aMemberRefs[1] = rMemberType_long.getTypeLibType(); > aMemberRefs[2] = rMemberType_long.getTypeLibType(); > aMemberRefs[3] = rMemberType_long.getTypeLibType(); > const ::com::sun::star::uno::Type& rMemberType_boolean = getCppuType( ( const sal_Bool *)0 ); > aMemberRefs[4] = rMemberType_boolean.getTypeLibType(); > > typelib_static_compound_type_init( &s_pType_com_sun_star_awt_MouseEvent, typelib_TypeClass_STRUCT, "com.sun.star.awt.MouseEvent", rBaseType.getTypeLibType(), 5, aMemberRefs ); > } > return * reinterpret_cast< const ::com::sun::star::uno::Type * >( &s_pType_com_sun_star_awt_MouseEvent ); >} > ># 21 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/awt/XMouseListener.hpp" 2 ># 36 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/awt/XMouseListener.hpp" >inline const ::com::sun::star::uno::Type& getCppuType( const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XMouseListener >* ) >{ > > static typelib_TypeDescriptionReference * s_pType_com_sun_star_awt_XMouseListener = 0; > > > if ( !s_pType_com_sun_star_awt_XMouseListener ) > { > const ::com::sun::star::uno::Type& rSuperType = getCppuType( ( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XEventListener > *)0 ); > typelib_static_interface_type_init( &s_pType_com_sun_star_awt_XMouseListener, "com.sun.star.awt.XMouseListener", rSuperType.getTypeLibType() ); > } > return * reinterpret_cast< ::com::sun::star::uno::Type * >( &s_pType_com_sun_star_awt_XMouseListener ); >} > ># 30 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/awt/XWindow.hpp" 2 > > > ># 6 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/awt/XMouseMotionListener.hpp" 1 ># 27 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/awt/XMouseMotionListener.hdl" 1 >namespace com >{ >namespace sun >{ >namespace star >{ >namespace awt >{ > >class XMouseMotionListener : public ::com::sun::star::lang::XEventListener >{ >public: > > > virtual void mouseDragged( const ::com::sun::star::awt::MouseEvent& e ) throw(::com::sun::star::uno::RuntimeException) = 0; > virtual void mouseMoved( const ::com::sun::star::awt::MouseEvent& e ) throw(::com::sun::star::uno::RuntimeException) = 0; >}; > >} >} >} >} > >namespace com { namespace sun { namespace star { namespace uno { >class Type; >} } } } > >inline const ::com::sun::star::uno::Type& getCppuType( const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XMouseMotionListener >* ); > ># 6 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/awt/XMouseMotionListener.hpp" 2 ># 36 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/awt/XMouseMotionListener.hpp" >inline const ::com::sun::star::uno::Type& getCppuType( const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XMouseMotionListener >* ) >{ > > static typelib_TypeDescriptionReference * s_pType_com_sun_star_awt_XMouseMotionListener = 0; > > > if ( !s_pType_com_sun_star_awt_XMouseMotionListener ) > { > const ::com::sun::star::uno::Type& rSuperType = getCppuType( ( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XEventListener > *)0 ); > typelib_static_interface_type_init( &s_pType_com_sun_star_awt_XMouseMotionListener, "com.sun.star.awt.XMouseMotionListener", rSuperType.getTypeLibType() ); > } > return * reinterpret_cast< ::com::sun::star::uno::Type * >( &s_pType_com_sun_star_awt_XMouseMotionListener ); >} > ># 33 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/awt/XWindow.hpp" 2 > > > ># 6 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/awt/XPaintListener.hpp" 1 ># 13 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/awt/XPaintListener.hdl" 1 ># 15 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/awt/PaintEvent.hdl" 1 >namespace com >{ >namespace sun >{ >namespace star >{ >namespace awt >{ > > > > > > > >struct PaintEvent : public ::com::sun::star::lang::EventObject >{ > inline PaintEvent(); > > PaintEvent(const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >& __Source, const ::com::sun::star::awt::Rectangle& __UpdateRect, const sal_Int16& __Count); > > ::com::sun::star::awt::Rectangle UpdateRect; > sal_Int16 Count; >}; > > > > > > > >} >} >} >} > >namespace com { namespace sun { namespace star { namespace uno { >class Type; >} } } } > >inline const ::com::sun::star::uno::Type& getCppuType( const ::com::sun::star::awt::PaintEvent* ); > ># 13 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/awt/XPaintListener.hdl" 2 ># 27 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/awt/XPaintListener.hdl" >namespace com >{ >namespace sun >{ >namespace star >{ >namespace awt >{ > >class XPaintListener : public ::com::sun::star::lang::XEventListener >{ >public: > > > virtual void windowPaint( const ::com::sun::star::awt::PaintEvent& e ) throw(::com::sun::star::uno::RuntimeException) = 0; >}; > >} >} >} >} > >namespace com { namespace sun { namespace star { namespace uno { >class Type; >} } } } > >inline const ::com::sun::star::uno::Type& getCppuType( const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XPaintListener >* ); > ># 6 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/awt/XPaintListener.hpp" 2 ># 21 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/awt/XPaintListener.hpp" ># 23 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/awt/PaintEvent.hpp" 1 >namespace com >{ >namespace sun >{ >namespace star >{ >namespace awt >{ > >inline PaintEvent::PaintEvent() > : ::com::sun::star::lang::EventObject() > , UpdateRect() > , Count((sal_Int16)0) >{ >} > >inline PaintEvent::PaintEvent(const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >& __Source, const ::com::sun::star::awt::Rectangle& __UpdateRect, const sal_Int16& __Count) > : ::com::sun::star::lang::EventObject(__Source) > , UpdateRect(__UpdateRect) > , Count(__Count) >{ >} > >} >} >} >} > > > > > >inline const ::com::sun::star::uno::Type& getCppuType( const ::com::sun::star::awt::PaintEvent* ) >{ > > static typelib_TypeDescriptionReference * s_pType_com_sun_star_awt_PaintEvent = 0; > > > if ( !s_pType_com_sun_star_awt_PaintEvent ) > { > const ::com::sun::star::uno::Type& rBaseType = getCppuType( ( const ::com::sun::star::lang::EventObject *)0 ); > > typelib_TypeDescriptionReference * aMemberRefs[2]; > const ::com::sun::star::uno::Type& rMemberType_com_sun_star_awt_Rectangle = getCppuType( ( const ::com::sun::star::awt::Rectangle *)0 ); > aMemberRefs[0] = rMemberType_com_sun_star_awt_Rectangle.getTypeLibType(); > const ::com::sun::star::uno::Type& rMemberType_short = getCppuType( ( const sal_Int16 *)0 ); > aMemberRefs[1] = rMemberType_short.getTypeLibType(); > > typelib_static_compound_type_init( &s_pType_com_sun_star_awt_PaintEvent, typelib_TypeClass_STRUCT, "com.sun.star.awt.PaintEvent", rBaseType.getTypeLibType(), 2, aMemberRefs ); > } > return * reinterpret_cast< const ::com::sun::star::uno::Type * >( &s_pType_com_sun_star_awt_PaintEvent ); >} > ># 21 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/awt/XPaintListener.hpp" 2 ># 36 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/awt/XPaintListener.hpp" >inline const ::com::sun::star::uno::Type& getCppuType( const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XPaintListener >* ) >{ > > static typelib_TypeDescriptionReference * s_pType_com_sun_star_awt_XPaintListener = 0; > > > if ( !s_pType_com_sun_star_awt_XPaintListener ) > { > const ::com::sun::star::uno::Type& rSuperType = getCppuType( ( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XEventListener > *)0 ); > typelib_static_interface_type_init( &s_pType_com_sun_star_awt_XPaintListener, "com.sun.star.awt.XPaintListener", rSuperType.getTypeLibType() ); > } > return * reinterpret_cast< ::com::sun::star::uno::Type * >( &s_pType_com_sun_star_awt_XPaintListener ); >} > ># 36 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/awt/XWindow.hpp" 2 > > > ># 6 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/awt/XWindowListener.hpp" 1 ># 13 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/awt/XWindowListener.hdl" 1 ># 12 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/awt/WindowEvent.hdl" 1 >namespace com >{ >namespace sun >{ >namespace star >{ >namespace awt >{ > > > > > > > >struct WindowEvent : public ::com::sun::star::lang::EventObject >{ > inline WindowEvent(); > > WindowEvent(const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >& __Source, const sal_Int32& __X, const sal_Int32& __Y, const sal_Int32& __Width, const sal_Int32& __Height, const sal_Int32& __LeftInset, const sal_Int32& __TopInset, const sal_Int32& __RightInset, const sal_Int32& __BottomInset); > > sal_Int32 X; > sal_Int32 Y; > sal_Int32 Width; > sal_Int32 Height; > sal_Int32 LeftInset; > sal_Int32 TopInset; > sal_Int32 RightInset; > sal_Int32 BottomInset; >}; > > > > > > > >} >} >} >} > >namespace com { namespace sun { namespace star { namespace uno { >class Type; >} } } } > >inline const ::com::sun::star::uno::Type& getCppuType( const ::com::sun::star::awt::WindowEvent* ); > ># 13 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/awt/XWindowListener.hdl" 2 ># 30 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/awt/XWindowListener.hdl" >namespace com >{ >namespace sun >{ >namespace star >{ >namespace awt >{ > >class XWindowListener : public ::com::sun::star::lang::XEventListener >{ >public: > > > virtual void windowResized( const ::com::sun::star::awt::WindowEvent& e ) throw(::com::sun::star::uno::RuntimeException) = 0; > virtual void windowMoved( const ::com::sun::star::awt::WindowEvent& e ) throw(::com::sun::star::uno::RuntimeException) = 0; > virtual void windowShown( const ::com::sun::star::lang::EventObject& e ) throw(::com::sun::star::uno::RuntimeException) = 0; > virtual void windowHidden( const ::com::sun::star::lang::EventObject& e ) throw(::com::sun::star::uno::RuntimeException) = 0; >}; > >} >} >} >} > >namespace com { namespace sun { namespace star { namespace uno { >class Type; >} } } } > >inline const ::com::sun::star::uno::Type& getCppuType( const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XWindowListener >* ); > ># 6 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/awt/XWindowListener.hpp" 2 ># 21 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/awt/XWindowListener.hpp" ># 20 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/awt/WindowEvent.hpp" 1 >namespace com >{ >namespace sun >{ >namespace star >{ >namespace awt >{ > >inline WindowEvent::WindowEvent() > : ::com::sun::star::lang::EventObject() > , X((sal_Int32)0) > , Y((sal_Int32)0) > , Width((sal_Int32)0) > , Height((sal_Int32)0) > , LeftInset((sal_Int32)0) > , TopInset((sal_Int32)0) > , RightInset((sal_Int32)0) > , BottomInset((sal_Int32)0) >{ >} > >inline WindowEvent::WindowEvent(const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >& __Source, const sal_Int32& __X, const sal_Int32& __Y, const sal_Int32& __Width, const sal_Int32& __Height, const sal_Int32& __LeftInset, const sal_Int32& __TopInset, const sal_Int32& __RightInset, const sal_Int32& __BottomInset) > : ::com::sun::star::lang::EventObject(__Source) > , X(__X) > , Y(__Y) > , Width(__Width) > , Height(__Height) > , LeftInset(__LeftInset) > , TopInset(__TopInset) > , RightInset(__RightInset) > , BottomInset(__BottomInset) >{ >} > >} >} >} >} > > > > > >inline const ::com::sun::star::uno::Type& getCppuType( const ::com::sun::star::awt::WindowEvent* ) >{ > > static typelib_TypeDescriptionReference * s_pType_com_sun_star_awt_WindowEvent = 0; > > > if ( !s_pType_com_sun_star_awt_WindowEvent ) > { > const ::com::sun::star::uno::Type& rBaseType = getCppuType( ( const ::com::sun::star::lang::EventObject *)0 ); > > typelib_TypeDescriptionReference * aMemberRefs[8]; > const ::com::sun::star::uno::Type& rMemberType_long = getCppuType( ( const sal_Int32 *)0 ); > aMemberRefs[0] = rMemberType_long.getTypeLibType(); > aMemberRefs[1] = rMemberType_long.getTypeLibType(); > aMemberRefs[2] = rMemberType_long.getTypeLibType(); > aMemberRefs[3] = rMemberType_long.getTypeLibType(); > aMemberRefs[4] = rMemberType_long.getTypeLibType(); > aMemberRefs[5] = rMemberType_long.getTypeLibType(); > aMemberRefs[6] = rMemberType_long.getTypeLibType(); > aMemberRefs[7] = rMemberType_long.getTypeLibType(); > > typelib_static_compound_type_init( &s_pType_com_sun_star_awt_WindowEvent, typelib_TypeClass_STRUCT, "com.sun.star.awt.WindowEvent", rBaseType.getTypeLibType(), 8, aMemberRefs ); > } > return * reinterpret_cast< const ::com::sun::star::uno::Type * >( &s_pType_com_sun_star_awt_WindowEvent ); >} > ># 21 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/awt/XWindowListener.hpp" 2 ># 39 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/awt/XWindowListener.hpp" >inline const ::com::sun::star::uno::Type& getCppuType( const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XWindowListener >* ) >{ > > static typelib_TypeDescriptionReference * s_pType_com_sun_star_awt_XWindowListener = 0; > > > if ( !s_pType_com_sun_star_awt_XWindowListener ) > { > const ::com::sun::star::uno::Type& rSuperType = getCppuType( ( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XEventListener > *)0 ); > typelib_static_interface_type_init( &s_pType_com_sun_star_awt_XWindowListener, "com.sun.star.awt.XWindowListener", rSuperType.getTypeLibType() ); > } > return * reinterpret_cast< ::com::sun::star::uno::Type * >( &s_pType_com_sun_star_awt_XWindowListener ); >} > ># 39 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/awt/XWindow.hpp" 2 > > > ># 36 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/lang/XComponent.hpp" 1 >inline const ::com::sun::star::uno::Type& getCppuType( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XComponent >* ) >{ > > static typelib_TypeDescriptionReference * s_pType_com_sun_star_lang_XComponent = 0; > > > if ( !s_pType_com_sun_star_lang_XComponent ) > { > typelib_static_interface_type_init( &s_pType_com_sun_star_lang_XComponent, "com.sun.star.lang.XComponent", 0 ); > } > return * reinterpret_cast< ::com::sun::star::uno::Type * >( &s_pType_com_sun_star_lang_XComponent ); >} > ># 42 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/awt/XWindow.hpp" 2 ># 54 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/awt/XWindow.hpp" >inline const ::com::sun::star::uno::Type& getCppuType( const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XWindow >* ) >{ > > static typelib_TypeDescriptionReference * s_pType_com_sun_star_awt_XWindow = 0; > > > if ( !s_pType_com_sun_star_awt_XWindow ) > { > const ::com::sun::star::uno::Type& rSuperType = getCppuType( ( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XComponent > *)0 ); > typelib_static_interface_type_init( &s_pType_com_sun_star_awt_XWindow, "com.sun.star.awt.XWindow", rSuperType.getTypeLibType() ); > } > return * reinterpret_cast< ::com::sun::star::uno::Type * >( &s_pType_com_sun_star_awt_XWindow ); >} > ># 21 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/frame/XFrame.hpp" 2 > > > ># 6 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/frame/XController.hpp" 1 ># 18 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/frame/XController.hdl" 1 >namespace com { namespace sun { namespace star { namespace frame { >class XFrame; >} } } } > > >namespace com { namespace sun { namespace star { namespace frame { >class XModel; >} } } } > ># 37 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/frame/XController.hdl" >namespace com >{ >namespace sun >{ >namespace star >{ >namespace frame >{ > >class XController : public ::com::sun::star::lang::XComponent >{ >public: > > > virtual void attachFrame( const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XFrame >& xFrame ) throw(::com::sun::star::uno::RuntimeException) = 0; > virtual sal_Bool attachModel( const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XModel >& xModel ) throw(::com::sun::star::uno::RuntimeException) = 0; > virtual sal_Bool suspend( sal_Bool bSuspend ) throw(::com::sun::star::uno::RuntimeException) = 0; > virtual ::com::sun::star::uno::Any getViewData( ) throw(::com::sun::star::uno::RuntimeException) = 0; > virtual void restoreViewData( const ::com::sun::star::uno::Any& Data ) throw(::com::sun::star::uno::RuntimeException) = 0; > virtual ::com::sun::star::uno::Reference< ::com::sun::star::frame::XModel > getModel( ) throw(::com::sun::star::uno::RuntimeException) = 0; > virtual ::com::sun::star::uno::Reference< ::com::sun::star::frame::XFrame > getFrame( ) throw(::com::sun::star::uno::RuntimeException) = 0; >}; > >} >} >} >} > >namespace com { namespace sun { namespace star { namespace uno { >class Type; >} } } } > >inline const ::com::sun::star::uno::Type& getCppuType( const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XController >* ); > ># 6 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/frame/XController.hpp" 2 ># 27 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/frame/XController.hpp" ># 6 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/frame/XModel.hpp" 1 ># 19 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/frame/XModel.hdl" 1 ># 12 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/container/NoSuchElementException.hdl" 1 >namespace com >{ >namespace sun >{ >namespace star >{ >namespace container >{ > >class NoSuchElementException : public ::com::sun::star::uno::Exception >{ >public: > inline NoSuchElementException() { } > > inline NoSuchElementException(const ::rtl::OUString& __Message, const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >& __Context); > >}; > >} >} >} >} > >namespace com { namespace sun { namespace star { namespace uno { >class Type; >} } } } > >inline const ::com::sun::star::uno::Type& getCppuType( const ::com::sun::star::container::NoSuchElementException* ); > ># 19 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/frame/XModel.hdl" 2 > > > > > >namespace com { namespace sun { namespace star { namespace frame { >class XController; >} } } } > ># 38 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/frame/XModel.hdl" >namespace com { namespace sun { namespace star { namespace uno { >class XInterface; >} } } } > > > > > >namespace com >{ >namespace sun >{ >namespace star >{ >namespace frame >{ > >class XModel : public ::com::sun::star::lang::XComponent >{ >public: > > > virtual sal_Bool attachResource( const ::rtl::OUString& aURL, const ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue >& aArgs ) throw(::com::sun::star::uno::RuntimeException) = 0; > virtual ::rtl::OUString getURL( ) throw(::com::sun::star::uno::RuntimeException) = 0; > virtual ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue > getArgs( ) throw(::com::sun::star::uno::RuntimeException) = 0; > virtual void connectController( const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XController >& xController ) throw(::com::sun::star::uno::RuntimeException) = 0; > virtual void disconnectController( const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XController >& xController ) throw(::com::sun::star::uno::RuntimeException) = 0; > virtual void lockControllers( ) throw(::com::sun::star::uno::RuntimeException) = 0; > virtual void unlockControllers( ) throw(::com::sun::star::uno::RuntimeException) = 0; > virtual sal_Bool hasControllersLocked( ) throw(::com::sun::star::uno::RuntimeException) = 0; > virtual ::com::sun::star::uno::Reference< ::com::sun::star::frame::XController > getCurrentController( ) throw(::com::sun::star::uno::RuntimeException) = 0; > virtual void setCurrentController( const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XController >& xController ) throw(::com::sun::star::container::NoSuchElementException, ::com::sun::star::uno::RuntimeException) = 0; > virtual ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > getCurrentSelection( ) throw(::com::sun::star::uno::RuntimeException) = 0; >}; > >} >} >} >} > >namespace com { namespace sun { namespace star { namespace uno { >class Type; >} } } } > >inline const ::com::sun::star::uno::Type& getCppuType( const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XModel >* ); > ># 6 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/frame/XModel.hpp" 2 ># 27 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/frame/XModel.hpp" ># 20 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/container/NoSuchElementException.hpp" 1 >namespace com >{ >namespace sun >{ >namespace star >{ >namespace container >{ > >inline NoSuchElementException::NoSuchElementException(const ::rtl::OUString& __Message, const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >& __Context) > : ::com::sun::star::uno::Exception(__Message, __Context) >{ } > >} >} >} >} > > > > > >inline const ::com::sun::star::uno::Type& getCppuType( const ::com::sun::star::container::NoSuchElementException* ) >{ > > static typelib_TypeDescriptionReference * s_pType_com_sun_star_container_NoSuchElementException = 0; > > > if ( !s_pType_com_sun_star_container_NoSuchElementException ) > { > typelib_static_compound_type_init( &s_pType_com_sun_star_container_NoSuchElementException, typelib_TypeClass_EXCEPTION, "com.sun.star.container.NoSuchElementException", * ::typelib_static_type_getByTypeClass( typelib_TypeClass_EXCEPTION ), 0, 0 ); > } > return * reinterpret_cast< const ::com::sun::star::uno::Type * >( &s_pType_com_sun_star_container_NoSuchElementException ); >} > ># 27 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/frame/XModel.hpp" 2 ># 48 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/frame/XModel.hpp" >inline const ::com::sun::star::uno::Type& getCppuType( const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XModel >* ) >{ > > static typelib_TypeDescriptionReference * s_pType_com_sun_star_frame_XModel = 0; > > > if ( !s_pType_com_sun_star_frame_XModel ) > { > const ::com::sun::star::uno::Type& rSuperType = getCppuType( ( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XComponent > *)0 ); > typelib_static_interface_type_init( &s_pType_com_sun_star_frame_XModel, "com.sun.star.frame.XModel", rSuperType.getTypeLibType() ); > } > return * reinterpret_cast< ::com::sun::star::uno::Type * >( &s_pType_com_sun_star_frame_XModel ); >} > ># 27 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/frame/XController.hpp" 2 ># 42 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/frame/XController.hpp" >inline const ::com::sun::star::uno::Type& getCppuType( const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XController >* ) >{ > > static typelib_TypeDescriptionReference * s_pType_com_sun_star_frame_XController = 0; > > > if ( !s_pType_com_sun_star_frame_XController ) > { > const ::com::sun::star::uno::Type& rSuperType = getCppuType( ( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XComponent > *)0 ); > typelib_static_interface_type_init( &s_pType_com_sun_star_frame_XController, "com.sun.star.frame.XController", rSuperType.getTypeLibType() ); > } > return * reinterpret_cast< ::com::sun::star::uno::Type * >( &s_pType_com_sun_star_frame_XController ); >} > ># 24 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/frame/XFrame.hpp" 2 > > > ># 6 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/frame/XFrameActionListener.hpp" 1 ># 13 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/frame/XFrameActionListener.hdl" 1 ># 10 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/frame/FrameActionEvent.hdl" 1 ># 8 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/frame/FrameAction.hdl" 1 >namespace com >{ >namespace sun >{ >namespace star >{ >namespace frame >{ > >enum FrameAction >{ > FrameAction_COMPONENT_ATTACHED = 0, > FrameAction_COMPONENT_DETACHING = 1, > FrameAction_COMPONENT_REATTACHED = 2, > FrameAction_FRAME_ACTIVATED = 3, > FrameAction_FRAME_DEACTIVATING = 4, > FrameAction_CONTEXT_CHANGED = 5, > FrameAction_FRAME_UI_ACTIVATED = 6, > FrameAction_FRAME_UI_DEACTIVATING = 7, > FrameAction_MAKE_FIXED_SIZE = 0x7fffffff >}; > >} >} >} >} > >namespace com { namespace sun { namespace star { namespace uno { >class Type; >} } } } > >inline const ::com::sun::star::uno::Type& getCppuType( const ::com::sun::star::frame::FrameAction* ); > ># 10 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/frame/FrameActionEvent.hdl" 2 > > > > > >namespace com { namespace sun { namespace star { namespace frame { >class XFrame; >} } } } > > > > > >namespace com >{ >namespace sun >{ >namespace star >{ >namespace frame >{ > > > > > > > >struct FrameActionEvent : public ::com::sun::star::lang::EventObject >{ > inline FrameActionEvent(); > > FrameActionEvent(const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >& __Source, const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XFrame >& __Frame, const ::com::sun::star::frame::FrameAction& __Action); > > ::com::sun::star::uno::Reference< ::com::sun::star::frame::XFrame > Frame; > ::com::sun::star::frame::FrameAction Action; >}; > > > > > > > >} >} >} >} > >namespace com { namespace sun { namespace star { namespace uno { >class Type; >} } } } > >inline const ::com::sun::star::uno::Type& getCppuType( const ::com::sun::star::frame::FrameActionEvent* ); > ># 13 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/frame/XFrameActionListener.hdl" 2 ># 27 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/frame/XFrameActionListener.hdl" >namespace com >{ >namespace sun >{ >namespace star >{ >namespace frame >{ > >class XFrameActionListener : public ::com::sun::star::lang::XEventListener >{ >public: > > > virtual void frameAction( const ::com::sun::star::frame::FrameActionEvent& aEvent ) throw(::com::sun::star::uno::RuntimeException) = 0; >}; > >} >} >} >} > >namespace com { namespace sun { namespace star { namespace uno { >class Type; >} } } } > >inline const ::com::sun::star::uno::Type& getCppuType( const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XFrameActionListener >* ); > ># 6 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/frame/XFrameActionListener.hpp" 2 ># 21 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/frame/XFrameActionListener.hpp" ># 18 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/frame/FrameActionEvent.hpp" 1 ># 20 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/frame/FrameAction.hpp" 1 >inline const ::com::sun::star::uno::Type& getCppuType( const ::com::sun::star::frame::FrameAction* ) >{ > > static typelib_TypeDescriptionReference * s_pType_com_sun_star_frame_FrameAction = 0; > > > if ( !s_pType_com_sun_star_frame_FrameAction ) > { > typelib_static_enum_type_init( &s_pType_com_sun_star_frame_FrameAction, > "com.sun.star.frame.FrameAction", > ::com::sun::star::frame::FrameAction_COMPONENT_ATTACHED ); > } > return * reinterpret_cast< ::com::sun::star::uno::Type * >( &s_pType_com_sun_star_frame_FrameAction ); >} > ># 18 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/frame/FrameActionEvent.hpp" 2 ># 26 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/frame/FrameActionEvent.hpp" >namespace com >{ >namespace sun >{ >namespace star >{ >namespace frame >{ > >inline FrameActionEvent::FrameActionEvent() > : ::com::sun::star::lang::EventObject() > , Frame() > , Action(::com::sun::star::frame::FrameAction_COMPONENT_ATTACHED) >{ >} > >inline FrameActionEvent::FrameActionEvent(const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >& __Source, const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XFrame >& __Frame, const ::com::sun::star::frame::FrameAction& __Action) > : ::com::sun::star::lang::EventObject(__Source) > , Frame(__Frame) > , Action(__Action) >{ >} > >} >} >} >} > > > > > >inline const ::com::sun::star::uno::Type& getCppuType( const ::com::sun::star::frame::FrameActionEvent* ) >{ > > static typelib_TypeDescriptionReference * s_pType_com_sun_star_frame_FrameActionEvent = 0; > > > if ( !s_pType_com_sun_star_frame_FrameActionEvent ) > { > const ::com::sun::star::uno::Type& rBaseType = getCppuType( ( const ::com::sun::star::lang::EventObject *)0 ); > > typelib_TypeDescriptionReference * aMemberRefs[2]; > const ::com::sun::star::uno::Type& rMemberType_com_sun_star_frame_XFrame = getCppuType( ( const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XFrame > *)0 ); > aMemberRefs[0] = rMemberType_com_sun_star_frame_XFrame.getTypeLibType(); > const ::com::sun::star::uno::Type& rMemberType_com_sun_star_frame_FrameAction = getCppuType( ( const ::com::sun::star::frame::FrameAction *)0 ); > aMemberRefs[1] = rMemberType_com_sun_star_frame_FrameAction.getTypeLibType(); > > typelib_static_compound_type_init( &s_pType_com_sun_star_frame_FrameActionEvent, typelib_TypeClass_STRUCT, "com.sun.star.frame.FrameActionEvent", rBaseType.getTypeLibType(), 2, aMemberRefs ); > } > return * reinterpret_cast< const ::com::sun::star::uno::Type * >( &s_pType_com_sun_star_frame_FrameActionEvent ); >} > ># 21 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/frame/XFrameActionListener.hpp" 2 ># 36 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/frame/XFrameActionListener.hpp" >inline const ::com::sun::star::uno::Type& getCppuType( const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XFrameActionListener >* ) >{ > > static typelib_TypeDescriptionReference * s_pType_com_sun_star_frame_XFrameActionListener = 0; > > > if ( !s_pType_com_sun_star_frame_XFrameActionListener ) > { > const ::com::sun::star::uno::Type& rSuperType = getCppuType( ( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XEventListener > *)0 ); > typelib_static_interface_type_init( &s_pType_com_sun_star_frame_XFrameActionListener, "com.sun.star.frame.XFrameActionListener", rSuperType.getTypeLibType() ); > } > return * reinterpret_cast< ::com::sun::star::uno::Type * >( &s_pType_com_sun_star_frame_XFrameActionListener ); >} > ># 27 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/frame/XFrame.hpp" 2 > > > ># 6 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/frame/XFramesSupplier.hpp" 1 ># 18 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/frame/XFramesSupplier.hdl" 1 >namespace com { namespace sun { namespace star { namespace frame { >class XFrames; >} } } } > > > > > > > > >namespace com >{ >namespace sun >{ >namespace star >{ >namespace frame >{ > >class XFramesSupplier : public ::com::sun::star::frame::XFrame >{ >public: > > > virtual ::com::sun::star::uno::Reference< ::com::sun::star::frame::XFrames > getFrames( ) throw(::com::sun::star::uno::RuntimeException) = 0; > virtual ::com::sun::star::uno::Reference< ::com::sun::star::frame::XFrame > getActiveFrame( ) throw(::com::sun::star::uno::RuntimeException) = 0; > virtual void setActiveFrame( const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XFrame >& xFrame ) throw(::com::sun::star::uno::RuntimeException) = 0; >}; > >} >} >} >} > >namespace com { namespace sun { namespace star { namespace uno { >class Type; >} } } } > >inline const ::com::sun::star::uno::Type& getCppuType( const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XFramesSupplier >* ); > ># 6 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/frame/XFramesSupplier.hpp" 2 ># 24 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/frame/XFramesSupplier.hpp" ># 6 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/frame/XFrames.hpp" 1 ># 18 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/frame/XFrames.hdl" 1 >namespace com { namespace sun { namespace star { namespace frame { >class XFrame; >} } } } > > > > > >namespace com { namespace sun { namespace star { namespace frame { >class XFrame; >} } } } > > > > > > > > >namespace com >{ >namespace sun >{ >namespace star >{ >namespace frame >{ > >class XFrames : public ::com::sun::star::container::XIndexAccess >{ >public: > > > virtual void append( const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XFrame >& xFrame ) throw(::com::sun::star::uno::RuntimeException) = 0; > virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Reference< ::com::sun::star::frame::XFrame > > queryFrames( sal_Int32 nSearchFlags ) throw(::com::sun::star::uno::RuntimeException) = 0; > virtual void remove( const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XFrame >& xFrame ) throw(::com::sun::star::uno::RuntimeException) = 0; >}; > >} >} >} >} > >namespace com { namespace sun { namespace star { namespace uno { >class Type; >} } } } > >inline const ::com::sun::star::uno::Type& getCppuType( const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XFrames >* ); > ># 6 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/frame/XFrames.hpp" 2 ># 42 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/frame/XFrames.hpp" >inline const ::com::sun::star::uno::Type& getCppuType( const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XFrames >* ) >{ > > static typelib_TypeDescriptionReference * s_pType_com_sun_star_frame_XFrames = 0; > > > if ( !s_pType_com_sun_star_frame_XFrames ) > { > const ::com::sun::star::uno::Type& rSuperType = getCppuType( ( const ::com::sun::star::uno::Reference< ::com::sun::star::container::XIndexAccess > *)0 ); > typelib_static_interface_type_init( &s_pType_com_sun_star_frame_XFrames, "com.sun.star.frame.XFrames", rSuperType.getTypeLibType() ); > } > return * reinterpret_cast< ::com::sun::star::uno::Type * >( &s_pType_com_sun_star_frame_XFrames ); >} > ># 24 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/frame/XFramesSupplier.hpp" 2 ># 36 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/frame/XFramesSupplier.hpp" >inline const ::com::sun::star::uno::Type& getCppuType( const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XFramesSupplier >* ) >{ > > static typelib_TypeDescriptionReference * s_pType_com_sun_star_frame_XFramesSupplier = 0; > > > if ( !s_pType_com_sun_star_frame_XFramesSupplier ) > { > const ::com::sun::star::uno::Type& rSuperType = getCppuType( ( const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XFrame > *)0 ); > typelib_static_interface_type_init( &s_pType_com_sun_star_frame_XFramesSupplier, "com.sun.star.frame.XFramesSupplier", rSuperType.getTypeLibType() ); > } > return * reinterpret_cast< ::com::sun::star::uno::Type * >( &s_pType_com_sun_star_frame_XFramesSupplier ); >} > ># 30 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/frame/XFrame.hpp" 2 ># 45 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/frame/XFrame.hpp" >inline const ::com::sun::star::uno::Type& getCppuType( const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XFrame >* ) >{ > > static typelib_TypeDescriptionReference * s_pType_com_sun_star_frame_XFrame = 0; > > > if ( !s_pType_com_sun_star_frame_XFrame ) > { > const ::com::sun::star::uno::Type& rSuperType = getCppuType( ( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XComponent > *)0 ); > typelib_static_interface_type_init( &s_pType_com_sun_star_frame_XFrame, "com.sun.star.frame.XFrame", rSuperType.getTypeLibType() ); > } > return * reinterpret_cast< ::com::sun::star::uno::Type * >( &s_pType_com_sun_star_frame_XFrame ); >} > ># 70 "../../inc/objsh.hxx" 2 ># 83 "../../inc/objsh.hxx" ># 13 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/vcl/timer.hxx" 1 >struct ImplTimerData; >struct ImplSVData; > >class Timer >{ >protected: > ImplTimerData* mpTimerData; > ULONG mnTimeout; > BOOL mbActive; > BOOL mbAuto; > Link maTimeoutHdl; > >public: > Timer(); > Timer( const Timer& rTimer ); > ~Timer(); > > virtual void Timeout(); > > void Start(); > void Stop(); > > void SetTimeout( ULONG nTimeout ); > ULONG GetTimeout() const { return mnTimeout; } > BOOL IsActive() const { return mbActive; } > > void SetTimeoutHdl( const Link& rLink ) { maTimeoutHdl = rLink; } > const Link& GetTimeoutHdl() const { return maTimeoutHdl; } > > Timer& operator=( const Timer& rTimer ); >}; > >class AutoTimer : public Timer >{ >public: > AutoTimer(); > AutoTimer( const AutoTimer& rTimer ); > > AutoTimer& operator=( const AutoTimer& rTimer ); >}; > ># 83 "../../inc/objsh.hxx" 2 ># 93 "../../inc/objsh.hxx" ># 16 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/so3/persist.hxx" 1 >struct IPersistStorage; >struct IPersistFile; >struct IOleItemContainer; >struct IRunningObjectTable; >class ImpPersistStorage; >class ImpPersistFile; >class ImpItemContainer; >class SvFactory; >class SvStorage; >class SvBindContext; > > > >class SvBindContext; class SvBindContextRef { protected: SvBindContext * pObj; public: inline SvBindContextRef() { pObj = 0; } inline SvBindContextRef( const SvBindContextRef & rObj ); inline SvBindContextRef( SvBindContext * pObjP ); inline void Clear(); inline ~SvBindContextRef(); inline SvBindContextRef & operator = ( const SvBindContextRef & rObj ); inline SvBindContextRef & operator = ( SvBindContext * pObj ); inline BOOL Is() const { return pObj != __null; } inline SvBindContext * operator & () const { return pObj; } inline SvBindContext * operator -> () const { return pObj; } inline SvBindContext & operator * () const { return *pObj; } inline operator SvBindContext * () const { return pObj; } inline SvBindContextRef( const SotObjectRef & ); inline SvBindContextRef( SotObject * pObjP ); inline SvBindContextRef( SotObject * pObjP, SvCastEnum ); }; > > >class SvObjectContainer : virtual public SvObject > >{ >friend ImpItemContainer; >friend SvFactory; > IOleItemContainer * pObjI; >protected: > ~SvObjectContainer(); >public: > SvObjectContainer(); > private: static SotFactory ** GetFactoryAdress() { return &(*(SoDll**)GetAppData(18))->pSvObjectContainerFactory; } public: static void * CreateInstance( SotObject ** = __null ); static SotFactory * ClassFactory(); virtual const SotFactory * GetSvFactory() const; virtual void * Cast( const SotFactory * ); virtual IUnknown * GetInterface( const SvGlobalName & ); IUnknown * GetMemberInterface( const SvGlobalName & ); virtual void TestObjRef( BOOL bFree ); void TestMemberObjRef( BOOL bFree ); virtual void TestInvariant( BOOL bPrint ); void TestMemberInvariant( BOOL bPrint ); > > IOleItemContainer* GetItemContainer() const; > > virtual ULONG GetObj( SvObjectRef & , > SvBindContext * pBindCtx, > UINT32 nSpeedNeeded, > const String & rObjName, > const SvFactory * pInterface ); > virtual ULONG GetObjStorage( SvObjectRef & xRet, > SvBindContext * pBindCtx, > const String & rObjName, > const SvFactory * pFact ); > virtual ULONG GetRunningState( const String & rObjName ); >}; > > >class SvObjectContainer; class SvObjectContainerRef { protected: SvObjectContainer * pObj; public: inline SvObjectContainerRef() { pObj = 0; } inline SvObjectContainerRef( const SvObjectContainerRef & rObj ); inline SvObjectContainerRef( SvObjectContainer * pObjP ); inline void Clear(); inline ~SvObjectContainerRef(); inline SvObjectContainerRef & operator = ( const SvObjectContainerRef & rObj ); inline SvObjectContainerRef & operator = ( SvObjectContainer * pObj ); inline BOOL Is() const { return pObj != __null; } inline SvObjectContainer * operator & () const { return pObj; } inline SvObjectContainer * operator -> () const { return pObj; } inline SvObjectContainer & operator * () const { return *pObj; } inline operator SvObjectContainer * () const { return pObj; } inline SvObjectContainerRef( const SotObjectRef & ); inline SvObjectContainerRef( SotObject * pObjP ); inline SvObjectContainerRef( SotObject * pObjP, SvCastEnum ); }; > >inline SvObjectContainerRef::SvObjectContainerRef( const SvObjectContainerRef & rObj ) { pObj = rObj.pObj; if( pObj ) { pObj->AddNextRef(); } } inline SvObjectContainerRef::SvObjectContainerRef( SvObjectContainer * pObjP ) { pObj = pObjP; if( pObj ) { pObj->AddRef(); } } inline void SvObjectContainerRef::Clear() { if( pObj ) { SvObjectContainer* const pRefObj = pObj; pObj = 0; pRefObj->ReleaseReference(); } } inline SvObjectContainerRef::~SvObjectContainerRef() { if( pObj ) { pObj->ReleaseReference(); } } inline SvObjectContainerRef & SvObjectContainerRef:: operator = ( const SvObjectContainerRef & rObj ) { if( rObj.pObj ) rObj.pObj->AddNextRef(); SvObjectContainer* const pRefObj = pObj; pObj = rObj.pObj; if( pRefObj ) { pRefObj->ReleaseReference(); } return *this; } inline SvObjectContainerRef & SvObjectContainerRef::operator = ( SvObjectContainer * pObjP ) { return *this = SvObjectContainerRef( pObjP ); } inline SvObjectContainerRef::SvObjectContainerRef( const SotObjectRef & r ) { pObj = (SvObjectContainer *)SvObjectContainer::ClassFactory()->CastAndAddRef( &r ); } inline SvObjectContainerRef::SvObjectContainerRef( SotObject * pObjP ) { pObj = (SvObjectContainer *)SvObjectContainer::ClassFactory()->CastAndAddRef( pObjP );} inline SvObjectContainerRef::SvObjectContainerRef( SotObject * pObjP, SvCastEnum ) { pObj = (SvObjectContainer *)SvObjectContainer::ClassFactory()->AggCastAndAddRef( pObjP );} > >class SvInfoObjectMemberList; >class SvInfoObject; > > > >class SvPersist; class SvPersistRef { protected: SvPersist * pObj; public: inline SvPersistRef() { pObj = 0; } inline SvPersistRef( const SvPersistRef & rObj ); inline SvPersistRef( SvPersist * pObjP ); inline void Clear(); inline ~SvPersistRef(); inline SvPersistRef & operator = ( const SvPersistRef & rObj ); inline SvPersistRef & operator = ( SvPersist * pObj ); inline BOOL Is() const { return pObj != __null; } inline SvPersist * operator & () const { return pObj; } inline SvPersist * operator -> () const { return pObj; } inline SvPersist & operator * () const { return *pObj; } inline operator SvPersist * () const { return pObj; } inline SvPersistRef( const SotObjectRef & ); inline SvPersistRef( SotObject * pObjP ); inline SvPersistRef( SotObject * pObjP, SvCastEnum ); }; > > > > >class SvPersist : public SvObjectContainer >{ >friend SvInfoObject; >friend ImpPersistStorage; >friend ImpPersistFile; >friend ImpItemContainer; >friend SvFactory; > IPersistStorage *pObjI; > IPersistFile *pPersistFile; > BOOL bIsModified:1, > bIsInit:1, > bOpSave:1, > bOpSaveAs:1, > bSaveExtern:1, > bOpHandsOff:1, > bCreateTempStor:1, > bSaveFailed:1, > bEnableSetModified:1, > bDummy0:1, > bDummy1:1; > USHORT nModifyCount; > SvStorageRef aStorage; > > SvPersist * pParent; >private: > SvInfoObjectMemberList * pChildList; > Time aModifiedTime; > String aFileName; > > SvInfoObjectMemberList *GetInfoList(); > void CountModified( BOOL bDirection ); > void dtorClear(); >protected: > void InitMembers( SvStorage * ); > ~SvPersist(); > > > > > > void AssertInit() const; > void SetSaveFailed( BOOL bFail = 1 ) > { bSaveFailed = bFail; } > BOOL GetSaveFailed() const { return bSaveFailed; } > > virtual void ModifyChanged(); > > virtual BOOL InitNew( SvStorage * ); > virtual BOOL Load( SvStorage * ); > virtual BOOL Save(); > virtual BOOL SaveAs( SvStorage * pNewStg ); > virtual void HandsOff(); > virtual BOOL SaveCompleted( SvStorage * ); > > BOOL DoLoadContent( SvStorage *, BOOL bOwner ); > virtual void LoadContent( SvStream & rStm, BOOL bOwner ); > BOOL DoSaveContent( SvStorage *, BOOL bOwner ); > virtual void SaveContent( SvStream & rStm, BOOL bOwner ); > > BOOL LoadChilds(); > BOOL SaveChilds(); > BOOL SaveAsChilds( SvStorage * pNewStg ); > BOOL SaveCompletedChilds( SvStorage * ); > BOOL HasStorage() const { return aStorage.Is(); } >public: > SvPersist(); > private: static SotFactory ** GetFactoryAdress() { return &(*(SoDll**)GetAppData(18))->pSvPersistFactory; } public: static void * CreateInstance( SotObject ** = __null ); static SotFactory * ClassFactory(); virtual const SotFactory * GetSvFactory() const; virtual void * Cast( const SotFactory * ); virtual IUnknown * GetInterface( const SvGlobalName & ); IUnknown * GetMemberInterface( const SvGlobalName & ); virtual void TestObjRef( BOOL bFree ); void TestMemberObjRef( BOOL bFree ); virtual void TestInvariant( BOOL bPrint ); void TestMemberInvariant( BOOL bPrint ); > IPersistStorage* GetPersistStorage() const; > IPersistFile * GetPersistFile() const; > > SvStorage * GetStorage() const; > SvPersist * GetParent() const { return pParent; } > void SetupStorage( SvStorage * pStor ) const; > > virtual void FillClass( SvGlobalName * pClassName, > ULONG * pFormat, > String * pAppName, > String * pFullTypeName, > String * pShortTypeName, > long nFileFormat = (605*10) ) const; > > SvGlobalName GetClassName() const; > ULONG GetFileFormat() const; > String GetFullTypeName() const; > > BOOL Insert ( SvInfoObject * pInfoObj ); > BOOL Move ( SvInfoObject * pInfoObj, const String & rStorName ); > BOOL Copy ( const String & rNewObjName, const String & rNewStorName, > SvInfoObject * pSrcInfoObj, SvPersist * pSrc ); > > BOOL Unload ( SvInfoObject * pInfoObj ); > BOOL Unload ( SvPersist * pEle ); > > void Remove ( const String & rEleName ); > void Remove ( SvPersist * pEle ); > void Remove ( SvInfoObject * pInfoObj ); > void Clear (); > SvInfoObject * Find ( const String & rEleName ) const; > SvInfoObject * Find ( const SvPersist * pEle ) const; > const SvInfoObjectMemberList * GetObjectList() const > { return pChildList; } > > virtual ULONG GetObj( SvObjectRef & , > SvBindContext * pBindCtx, > UINT32 nSpeedNeeded, > const String & rObjName, > const SvFactory * pInterface ); > virtual ULONG GetObjStorage( SvObjectRef & xRet, > SvBindContext * pBindCtx, > const String & rObjName, > const SvFactory * pFact ); > virtual ULONG GetRunningState( const String & rObjName ); > > BOOL HasObject( const String & rObjName ); > BOOL CanRunObject( const String & rObjName, > ULONG nSpeedNeeded ); > SvPersistRef GetObject( const String & rObjName ); > SvStorageRef GetObjectStorage( const String & rObjName ); > > BOOL IsRoot() const; > > void EnableSetModified( BOOL bEnable = 1 ); > BOOL IsEnableSetModified() const > { return bEnableSetModified; } > virtual void SetModified( BOOL = 1 ); > BOOL IsModified(); > > SvPersistRef CopyObject( SvStorage * ); > > virtual BOOL DoInitNew( SvStorage * ); > const String & GetFileName() const { return aFileName; } > void SetFileName( const String & rFileName ) > { aFileName = rFileName; } > virtual BOOL DoLoad( const String & rFileName, StreamMode, > short nStorMode ); > virtual BOOL DoLoad( SvStorage * ); > BOOL DoOwnerLoad( SvStorage * ); > virtual BOOL DoSave(); > virtual BOOL DoSaveAs( SvStorage * pNewStg ); > virtual void DoHandsOff(); > virtual BOOL DoSaveCompleted( SvStorage * = __null ); > void CleanUp(BOOL bRecurse=0); > > const Time & GetModifyTime() const { return aModifiedTime; } > void SetModifyTime( const Time & rTime ) > { aModifiedTime = rTime; } > BOOL IsHandsOff() const { return bOpHandsOff; } >}; >inline SvPersistRef::SvPersistRef( const SvPersistRef & rObj ) { pObj = rObj.pObj; if( pObj ) { pObj->AddNextRef(); } } inline SvPersistRef::SvPersistRef( SvPersist * pObjP ) { pObj = pObjP; if( pObj ) { pObj->AddRef(); } } inline void SvPersistRef::Clear() { if( pObj ) { SvPersist* const pRefObj = pObj; pObj = 0; pRefObj->ReleaseReference(); } } inline SvPersistRef::~SvPersistRef() { if( pObj ) { pObj->ReleaseReference(); } } inline SvPersistRef & SvPersistRef:: operator = ( const SvPersistRef & rObj ) { if( rObj.pObj ) rObj.pObj->AddNextRef(); SvPersist* const pRefObj = pObj; pObj = rObj.pObj; if( pRefObj ) { pRefObj->ReleaseReference(); } return *this; } inline SvPersistRef & SvPersistRef::operator = ( SvPersist * pObjP ) { return *this = SvPersistRef( pObjP ); } inline SvPersistRef::SvPersistRef( const SotObjectRef & r ) { pObj = (SvPersist *)SvPersist::ClassFactory()->CastAndAddRef( &r ); } inline SvPersistRef::SvPersistRef( SotObject * pObjP ) { pObj = (SvPersist *)SvPersist::ClassFactory()->CastAndAddRef( pObjP );} inline SvPersistRef::SvPersistRef( SotObject * pObjP, SvCastEnum ) { pObj = (SvPersist *)SvPersist::ClassFactory()->AggCastAndAddRef( pObjP );} > >class SvInfoObject; class SvInfoObjectRef { protected: SvInfoObject * pObj; public: inline SvInfoObjectRef() { pObj = 0; } inline SvInfoObjectRef( const SvInfoObjectRef & rObj ); inline SvInfoObjectRef( SvInfoObject * pObjP ); inline void Clear(); inline ~SvInfoObjectRef(); inline SvInfoObjectRef & operator = ( const SvInfoObjectRef & rObj ); inline SvInfoObjectRef & operator = ( SvInfoObject * pObj ); inline BOOL Is() const { return pObj != __null; } inline SvInfoObject * operator & () const { return pObj; } inline SvInfoObject * operator -> () const { return pObj; } inline SvInfoObject & operator * () const { return *pObj; } inline operator SvInfoObject * () const { return pObj; } }; >class SvInfoObject : public SvPersistBase >{ >friend SvPersist; > SvPersistRef aObj; > String aObjName; > String aStorName; > SvGlobalName aSvClassName; > BOOL bDeleted; >protected: > ~SvInfoObject(); > virtual void Assign( const SvInfoObject * pObj ); > void SetStorageName( const String & rName ) > { aStorName = rName; } >public: > static void* CreateType(); static TypeId StaticType(); static BOOL IsOf( TypeId aSameOrSuperType ); virtual TypeId Type() const; virtual BOOL IsA( TypeId aSameOrSuperType ) const; static USHORT StaticClassId() { return 1; } static void * CreateInstance( SvPersistBase ** ppBase ); friend SvPersistStream& operator >> ( SvPersistStream & rStm, SvInfoObject *& rpObj); virtual USHORT GetClassId() const; virtual void Load( SvPersistStream & ); virtual void Save( SvPersistStream & ); > SvInfoObject(); > SvInfoObject( SvPersist * ); > SvInfoObject( SvPersist *, const String & rObjName ); > SvInfoObjectRef CreateCopy() const; > > virtual void SetObj( SvPersist * ); > > SvObject * GetObj() const { return &aObj; } > SvPersist * GetPersist() const { return aObj; } > > void SetObjName( const String & rName ) > { aObjName = rName; } > String GetObjName() const; > String GetStorageName() const; > SvGlobalName GetClassName() const; > BOOL IsDeleted() const > { return bDeleted; } > void SetDeleted( BOOL bDel=1 ) > { bDeleted = bDel; } >}; >inline SvInfoObjectRef::SvInfoObjectRef( const SvInfoObjectRef & rObj ) { pObj = rObj.pObj; if( pObj ) { pObj->AddNextRef(); } } inline SvInfoObjectRef::SvInfoObjectRef( SvInfoObject * pObjP ) { pObj = pObjP; if( pObj ) { pObj->AddRef(); } } inline void SvInfoObjectRef::Clear() { if( pObj ) { SvInfoObject* const pRefObj = pObj; pObj = 0; pRefObj->ReleaseReference(); } } inline SvInfoObjectRef::~SvInfoObjectRef() { if( pObj ) { pObj->ReleaseReference(); } } inline SvInfoObjectRef & SvInfoObjectRef:: operator = ( const SvInfoObjectRef & rObj ) { if( rObj.pObj ) rObj.pObj->AddNextRef(); SvInfoObject* const pRefObj = pObj; pObj = rObj.pObj; if( pRefObj ) { pRefObj->ReleaseReference(); } return *this; } inline SvInfoObjectRef & SvInfoObjectRef::operator = ( SvInfoObject * pObjP ) { return *this = SvInfoObjectRef( pObjP ); } >class SvInfoObjectMemberList : public SvPersistBaseMemberList{public: SvInfoObjectMemberList() {} inline SvInfoObjectMemberList(USHORT nInitSize,USHORT nResize);inline void Insert( SvInfoObject* p ); inline void Insert( SvInfoObject* p, ULONG nIndex ); inline void Insert( SvInfoObject* p, SvInfoObject* pOld ); inline void Append( SvInfoObject* p ); inline SvInfoObject* Remove(); inline SvInfoObject* Remove( ULONG nIndex ); inline SvInfoObject* Remove( SvInfoObject* p ); inline SvInfoObject* Replace( SvInfoObject* p ); inline SvInfoObject* Replace( SvInfoObject* p, ULONG nIndex );inline SvInfoObject* Replace( SvInfoObject* pNew, SvInfoObject* pOld );inline SvInfoObject* GetCurObject() const;inline SvInfoObject* GetObject( ULONG nIndex ) const;inline ULONG GetPos( const SvInfoObject* ) const;inline ULONG GetPos( const SvInfoObject*, ULONG nStartIndex, BOOL bForward = 1 ) const;inline SvInfoObject* Seek( ULONG nIndex );inline SvInfoObject* Seek( SvInfoObject* p );inline SvInfoObject* First();inline SvInfoObject* Last();inline SvInfoObject* Next();inline SvInfoObject* Prev();inline void Append( const SvInfoObjectMemberList & rList );};inline SvInfoObjectMemberList::SvInfoObjectMemberList (USHORT nInitSize,USHORT nResize) : SvPersistBaseMemberList( nInitSize, nResize ){}inline void SvInfoObjectMemberList::Insert( SvInfoObject* p ) {SvPersistBaseMemberList::Insert(p);}inline void SvInfoObjectMemberList::Insert( SvInfoObject* p, ULONG nIdx ) {SvPersistBaseMemberList::Insert(p,nIdx);}inline void SvInfoObjectMemberList::Insert( SvInfoObject* p, SvInfoObject* pOld ) {SvPersistBaseMemberList::Insert(p,pOld);}inline void SvInfoObjectMemberList::Append( SvInfoObject* p ) {SvPersistBaseMemberList::Append(p);}inline SvInfoObject* SvInfoObjectMemberList::Remove() {return (SvInfoObject*)SvPersistBaseMemberList::Remove();}inline SvInfoObject* SvInfoObjectMemberList::Remove( ULONG nIdx ) {return (SvInfoObject*)SvPersistBaseMemberList::Remove(nIdx);}inline SvInfoObject* SvInfoObjectMemberList::Remove( SvInfoObject* p ) {return (SvInfoObject*)SvPersistBaseMemberList::Remove(p);}inline SvInfoObject* SvInfoObjectMemberList::Replace( SvInfoObject* p ) {return (SvInfoObject*)SvPersistBaseMemberList::Replace(p);}inline SvInfoObject* SvInfoObjectMemberList::Replace( SvInfoObject* p, ULONG nIdx ) {return (SvInfoObject*)SvPersistBaseMemberList::Replace(p,nIdx);}inline SvInfoObject* SvInfoObjectMemberList::Replace( SvInfoObject* p, SvInfoObject* pOld ) {return (SvInfoObject*)SvPersistBaseMemberList::Replace(p,pOld);}inline SvInfoObject* SvInfoObjectMemberList::GetCurObject() const {return (SvInfoObject*)SvPersistBaseMemberList::GetCurObject();}inline SvInfoObject* SvInfoObjectMemberList::GetObject( ULONG nIdx ) const {return (SvInfoObject*)SvPersistBaseMemberList::GetObject( nIdx );}inline SvInfoObject* SvInfoObjectMemberList::Seek( ULONG nIdx ) {return (SvInfoObject*)SvPersistBaseMemberList::Seek( nIdx );}inline SvInfoObject* SvInfoObjectMemberList::Seek( SvInfoObject* p ) {return (SvInfoObject*)SvPersistBaseMemberList::Seek( p );}inline SvInfoObject* SvInfoObjectMemberList::First() {return (SvInfoObject*)SvPersistBaseMemberList::First();}inline SvInfoObject* SvInfoObjectMemberList::Last() {return (SvInfoObject*)SvPersistBaseMemberList::Last();}inline SvInfoObject* SvInfoObjectMemberList::Next() {return (SvInfoObject*)SvPersistBaseMemberList::Next();}inline SvInfoObject* SvInfoObjectMemberList::Prev() {return (SvInfoObject*)SvPersistBaseMemberList::Prev();}inline void SvInfoObjectMemberList::Append( const SvInfoObjectMemberList & rList ) {SvPersistBaseMemberList::Append(rList);}inline ULONG SvInfoObjectMemberList::GetPos( const SvInfoObject* p) const {return SvPersistBaseMemberList::GetPos( p );}inline ULONG SvInfoObjectMemberList::GetPos ( const SvInfoObject* p, ULONG nStart, BOOL bForward ) const {return SvPersistBaseMemberList::GetPos( p, nStart, bForward );} > ># 93 "../../inc/objsh.hxx" 2 ># 105 "../../inc/objsh.hxx" ># 9 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/rsc/rscsfx.hxx" 1 >enum SfxStyleFamily { SFX_STYLE_FAMILY_CHAR = 1, > SFX_STYLE_FAMILY_PARA = 2, > SFX_STYLE_FAMILY_FRAME = 4, > SFX_STYLE_FAMILY_PAGE = 8, > SFX_STYLE_FAMILY_PSEUDO = 16, > SFX_STYLE_FAMILY_ALL = 0x7fff > }; > ># 105 "../../inc/objsh.hxx" 2 > > > ># 75 "../../inc/shell.hxx" 1 ># 79 "../../inc/sfxuno.hxx" 1 ># 6 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/util/URL.hpp" 1 ># 12 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/util/URL.hdl" 1 >namespace com >{ >namespace sun >{ >namespace star >{ >namespace util >{ > > > > > > > >struct URL >{ > inline URL(); > > URL(const ::rtl::OUString& __Complete, const ::rtl::OUString& __Main, const ::rtl::OUString& __Protocol, const ::rtl::OUString& __User, const ::rtl::OUString& __Password, const ::rtl::OUString& __Server, const sal_Int16& __Port, const ::rtl::OUString& __Path, const ::rtl::OUString& __Name, const ::rtl::OUString& __Arguments, const ::rtl::OUString& __Mark); > > ::rtl::OUString Complete; > ::rtl::OUString Main; > ::rtl::OUString Protocol; > ::rtl::OUString User; > ::rtl::OUString Password; > ::rtl::OUString Server; > sal_Int16 Port; > ::rtl::OUString Path; > ::rtl::OUString Name; > ::rtl::OUString Arguments; > ::rtl::OUString Mark; >}; > > > > > > > >} >} >} >} > >namespace com { namespace sun { namespace star { namespace uno { >class Type; >} } } } > >inline const ::com::sun::star::uno::Type& getCppuType( const ::com::sun::star::util::URL* ); > ># 6 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/util/URL.hpp" 2 ># 17 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/util/URL.hpp" >namespace com >{ >namespace sun >{ >namespace star >{ >namespace util >{ > >inline URL::URL() > : Complete() > , Main() > , Protocol() > , User() > , Password() > , Server() > , Port((sal_Int16)0) > , Path() > , Name() > , Arguments() > , Mark() >{ >} > >inline URL::URL(const ::rtl::OUString& __Complete, const ::rtl::OUString& __Main, const ::rtl::OUString& __Protocol, const ::rtl::OUString& __User, const ::rtl::OUString& __Password, const ::rtl::OUString& __Server, const sal_Int16& __Port, const ::rtl::OUString& __Path, const ::rtl::OUString& __Name, const ::rtl::OUString& __Arguments, const ::rtl::OUString& __Mark) > : Complete(__Complete) > , Main(__Main) > , Protocol(__Protocol) > , User(__User) > , Password(__Password) > , Server(__Server) > , Port(__Port) > , Path(__Path) > , Name(__Name) > , Arguments(__Arguments) > , Mark(__Mark) >{ >} > >} >} >} >} > > > > > >inline const ::com::sun::star::uno::Type& getCppuType( const ::com::sun::star::util::URL* ) >{ > > static typelib_TypeDescriptionReference * s_pType_com_sun_star_util_URL = 0; > > > if ( !s_pType_com_sun_star_util_URL ) > { > typelib_TypeDescriptionReference * aMemberRefs[11]; > const ::com::sun::star::uno::Type& rMemberType_string = getCppuType( ( const ::rtl::OUString *)0 ); > aMemberRefs[0] = rMemberType_string.getTypeLibType(); > aMemberRefs[1] = rMemberType_string.getTypeLibType(); > aMemberRefs[2] = rMemberType_string.getTypeLibType(); > aMemberRefs[3] = rMemberType_string.getTypeLibType(); > aMemberRefs[4] = rMemberType_string.getTypeLibType(); > aMemberRefs[5] = rMemberType_string.getTypeLibType(); > const ::com::sun::star::uno::Type& rMemberType_short = getCppuType( ( const sal_Int16 *)0 ); > aMemberRefs[6] = rMemberType_short.getTypeLibType(); > aMemberRefs[7] = rMemberType_string.getTypeLibType(); > aMemberRefs[8] = rMemberType_string.getTypeLibType(); > aMemberRefs[9] = rMemberType_string.getTypeLibType(); > aMemberRefs[10] = rMemberType_string.getTypeLibType(); > > typelib_static_compound_type_init( &s_pType_com_sun_star_util_URL, typelib_TypeClass_STRUCT, "com.sun.star.util.URL", 0, 11, aMemberRefs ); > } > return * reinterpret_cast< const ::com::sun::star::uno::Type * >( &s_pType_com_sun_star_util_URL ); >} > ># 79 "../../inc/sfxuno.hxx" 2 ># 87 "../../inc/sfxuno.hxx" ># 6 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/lang/XSingleServiceFactory.hpp" 1 ># 33 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/lang/XSingleServiceFactory.hdl" 1 >namespace com >{ >namespace sun >{ >namespace star >{ >namespace lang >{ > >class XSingleServiceFactory : public ::com::sun::star::uno::XInterface >{ >public: > > > virtual ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > createInstance( ) throw(::com::sun::star::uno::Exception, ::com::sun::star::uno::RuntimeException) = 0; > virtual ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > createInstanceWithArguments( const ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Any >& aArguments ) throw(::com::sun::star::uno::Exception, ::com::sun::star::uno::RuntimeException) = 0; >}; > >} >} >} >} > >namespace com { namespace sun { namespace star { namespace uno { >class Type; >} } } } > >inline const ::com::sun::star::uno::Type& getCppuType( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XSingleServiceFactory >* ); > ># 6 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/lang/XSingleServiceFactory.hpp" 2 ># 42 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/lang/XSingleServiceFactory.hpp" >inline const ::com::sun::star::uno::Type& getCppuType( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XSingleServiceFactory >* ) >{ > > static typelib_TypeDescriptionReference * s_pType_com_sun_star_lang_XSingleServiceFactory = 0; > > > if ( !s_pType_com_sun_star_lang_XSingleServiceFactory ) > { > typelib_static_interface_type_init( &s_pType_com_sun_star_lang_XSingleServiceFactory, "com.sun.star.lang.XSingleServiceFactory", 0 ); > } > return * reinterpret_cast< ::com::sun::star::uno::Type * >( &s_pType_com_sun_star_lang_XSingleServiceFactory ); >} > ># 87 "../../inc/sfxuno.hxx" 2 ># 115 "../../inc/sfxuno.hxx" ># 69 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/cppuhelper/typeprovider.hxx" 1 ># 92 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/rtl/uuid.h" 1 >extern "C" { ># 116 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/rtl/uuid.h" >void rtl_createUuid( sal_uInt8 *pTargetUUID , > const sal_uInt8 *pPredecessorUUID, > sal_Bool bUseEthernetAddress ); ># 129 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/rtl/uuid.h" >sal_Int32 rtl_compareUuid( const sal_uInt8 *pUUID1 , const sal_uInt8 *pUUID2 ); ># 162 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/rtl/uuid.h" >void rtl_createNamedUuid( > sal_uInt8 *pTargetUUID, > const sal_uInt8 *pNameSpaceUUID, > const rtl_String *pName > ); ># 176 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/rtl/uuid.h" ># 228 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/rtl/uuid.h" >} ># 69 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/cppuhelper/typeprovider.hxx" 2 > > > > > > > >namespace cppu >{ > > >class OTypeCollection >{ > ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type > _aTypes; > >public: > OTypeCollection( const OTypeCollection & rCollection ) > : _aTypes( rCollection._aTypes ) > {} > > OTypeCollection( > const ::com::sun::star::uno::Type & rType1, > const ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type > & rAddTypes = ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type >() ); > OTypeCollection( > const ::com::sun::star::uno::Type & rType1, > const ::com::sun::star::uno::Type & rType2, > const ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type > & rAddTypes = ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type >() ); > OTypeCollection( > const ::com::sun::star::uno::Type & rType1, > const ::com::sun::star::uno::Type & rType2, > const ::com::sun::star::uno::Type & rType3, > const ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type > & rAddTypes = ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type >() ); > OTypeCollection( > const ::com::sun::star::uno::Type & rType1, > const ::com::sun::star::uno::Type & rType2, > const ::com::sun::star::uno::Type & rType3, > const ::com::sun::star::uno::Type & rType4, > const ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type > & rAddTypes = ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type >() ); > OTypeCollection( > const ::com::sun::star::uno::Type & rType1, > const ::com::sun::star::uno::Type & rType2, > const ::com::sun::star::uno::Type & rType3, > const ::com::sun::star::uno::Type & rType4, > const ::com::sun::star::uno::Type & rType5, > const ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type > & rAddTypes = ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type >() ); > OTypeCollection( > const ::com::sun::star::uno::Type & rType1, > const ::com::sun::star::uno::Type & rType2, > const ::com::sun::star::uno::Type & rType3, > const ::com::sun::star::uno::Type & rType4, > const ::com::sun::star::uno::Type & rType5, > const ::com::sun::star::uno::Type & rType6, > const ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type > & rAddTypes = ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type >() ); > OTypeCollection( > const ::com::sun::star::uno::Type & rType1, > const ::com::sun::star::uno::Type & rType2, > const ::com::sun::star::uno::Type & rType3, > const ::com::sun::star::uno::Type & rType4, > const ::com::sun::star::uno::Type & rType5, > const ::com::sun::star::uno::Type & rType6, > const ::com::sun::star::uno::Type & rType7, > const ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type > & rAddTypes = ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type >() ); > OTypeCollection( > const ::com::sun::star::uno::Type & rType1, > const ::com::sun::star::uno::Type & rType2, > const ::com::sun::star::uno::Type & rType3, > const ::com::sun::star::uno::Type & rType4, > const ::com::sun::star::uno::Type & rType5, > const ::com::sun::star::uno::Type & rType6, > const ::com::sun::star::uno::Type & rType7, > const ::com::sun::star::uno::Type & rType8, > const ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type > & rAddTypes = ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type >() ); > OTypeCollection( > const ::com::sun::star::uno::Type & rType1, > const ::com::sun::star::uno::Type & rType2, > const ::com::sun::star::uno::Type & rType3, > const ::com::sun::star::uno::Type & rType4, > const ::com::sun::star::uno::Type & rType5, > const ::com::sun::star::uno::Type & rType6, > const ::com::sun::star::uno::Type & rType7, > const ::com::sun::star::uno::Type & rType8, > const ::com::sun::star::uno::Type & rType9, > const ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type > & rAddTypes = ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type >() ); > OTypeCollection( > const ::com::sun::star::uno::Type & rType1, > const ::com::sun::star::uno::Type & rType2, > const ::com::sun::star::uno::Type & rType3, > const ::com::sun::star::uno::Type & rType4, > const ::com::sun::star::uno::Type & rType5, > const ::com::sun::star::uno::Type & rType6, > const ::com::sun::star::uno::Type & rType7, > const ::com::sun::star::uno::Type & rType8, > const ::com::sun::star::uno::Type & rType9, > const ::com::sun::star::uno::Type & rType10, > const ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type > & rAddTypes = ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type >() ); > OTypeCollection( > const ::com::sun::star::uno::Type & rType1, > const ::com::sun::star::uno::Type & rType2, > const ::com::sun::star::uno::Type & rType3, > const ::com::sun::star::uno::Type & rType4, > const ::com::sun::star::uno::Type & rType5, > const ::com::sun::star::uno::Type & rType6, > const ::com::sun::star::uno::Type & rType7, > const ::com::sun::star::uno::Type & rType8, > const ::com::sun::star::uno::Type & rType9, > const ::com::sun::star::uno::Type & rType10, > const ::com::sun::star::uno::Type & rType11, > const ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type > & rAddTypes = ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type >() ); > OTypeCollection( > const ::com::sun::star::uno::Type & rType1, > const ::com::sun::star::uno::Type & rType2, > const ::com::sun::star::uno::Type & rType3, > const ::com::sun::star::uno::Type & rType4, > const ::com::sun::star::uno::Type & rType5, > const ::com::sun::star::uno::Type & rType6, > const ::com::sun::star::uno::Type & rType7, > const ::com::sun::star::uno::Type & rType8, > const ::com::sun::star::uno::Type & rType9, > const ::com::sun::star::uno::Type & rType10, > const ::com::sun::star::uno::Type & rType11, > const ::com::sun::star::uno::Type & rType12, > const ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type > & rAddTypes = ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type >() ); > > ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type > getTypes() > { return _aTypes; } >}; > > >class OImplementationId >{ > mutable ::com::sun::star::uno::Sequence< sal_Int8 > * _pSeq; > sal_Bool _bUseEthernetAddress; > >public: > > static void * operator new( size_t nSize ) throw() > { return ::rtl_allocateMemory( nSize ); } > static void operator delete( void * pMem ) throw() > { ::rtl_freeMemory( pMem ); } > > ~OImplementationId(); > OImplementationId( sal_Bool bUseEthernetAddress = ((unsigned char)1) ) > : _pSeq( 0 ) > , _bUseEthernetAddress( bUseEthernetAddress ) > {} > OImplementationId( const ::com::sun::star::uno::Sequence< sal_Int8 > & rSeq ) > : _pSeq( new ::com::sun::star::uno::Sequence< sal_Int8 >( rSeq ) ) > {} > OImplementationId( const OImplementationId & rId ) > : _pSeq( new ::com::sun::star::uno::Sequence< sal_Int8 >( rId.getImplementationId() ) ) > {} > > ::com::sun::star::uno::Sequence< sal_Int8 > getImplementationId() const; >}; > >} > ># 115 "../../inc/sfxuno.hxx" 2 ># 123 "../../inc/sfxuno.hxx" ># 70 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/cppuhelper/factory.hxx" 1 ># 75 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/uno/dispatcher.h" 1 >typedef struct _typelib_TypeDescription typelib_TypeDescription; >typedef struct _typelib_InterfaceTypeDescription typelib_InterfaceTypeDescription; >typedef struct _uno_Interface uno_Interface; ># 95 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/uno/dispatcher.h" >typedef void ( * uno_DispatchMethod)( > uno_Interface * pUnoI, > const typelib_TypeDescription * pMemberType, > void * pReturn, > void * pArgs[], > uno_Any ** ppException ); > ># 111 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/uno/dispatcher.h" >typedef struct _uno_Interface >{ > > > > > void ( * acquire)( uno_Interface * pInterface ); > > > > > void ( * release)( uno_Interface * pInterface ); > > > uno_DispatchMethod pDispatcher; >} uno_Interface; > ># 70 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/cppuhelper/factory.hxx" 2 > > > > > ># 6 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/registry/XRegistryKey.hpp" 1 ># 19 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/registry/XRegistryKey.hdl" 1 ># 12 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/registry/InvalidRegistryException.hdl" 1 >namespace com >{ >namespace sun >{ >namespace star >{ >namespace registry >{ > >class InvalidRegistryException : public ::com::sun::star::uno::Exception >{ >public: > inline InvalidRegistryException() { } > > inline InvalidRegistryException(const ::rtl::OUString& __Message, const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >& __Context); > >}; > >} >} >} >} > >namespace com { namespace sun { namespace star { namespace uno { >class Type; >} } } } > >inline const ::com::sun::star::uno::Type& getCppuType( const ::com::sun::star::registry::InvalidRegistryException* ); > ># 19 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/registry/XRegistryKey.hdl" 2 > > > ># 12 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/registry/InvalidValueException.hdl" 1 >namespace com >{ >namespace sun >{ >namespace star >{ >namespace registry >{ > >class InvalidValueException : public ::com::sun::star::uno::Exception >{ >public: > inline InvalidValueException() { } > > inline InvalidValueException(const ::rtl::OUString& __Message, const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >& __Context); > >}; > >} >} >} >} > >namespace com { namespace sun { namespace star { namespace uno { >class Type; >} } } } > >inline const ::com::sun::star::uno::Type& getCppuType( const ::com::sun::star::registry::InvalidValueException* ); > ># 22 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/registry/XRegistryKey.hdl" 2 > > > ># 8 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/registry/RegistryKeyType.hdl" 1 >namespace com >{ >namespace sun >{ >namespace star >{ >namespace registry >{ > >enum RegistryKeyType >{ > RegistryKeyType_KEY = 0, > RegistryKeyType_LINK = 1, > RegistryKeyType_MAKE_FIXED_SIZE = 0x7fffffff >}; > >} >} >} >} > >namespace com { namespace sun { namespace star { namespace uno { >class Type; >} } } } > >inline const ::com::sun::star::uno::Type& getCppuType( const ::com::sun::star::registry::RegistryKeyType* ); > ># 25 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/registry/XRegistryKey.hdl" 2 > > > ># 8 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/registry/RegistryValueType.hdl" 1 >namespace com >{ >namespace sun >{ >namespace star >{ >namespace registry >{ > >enum RegistryValueType >{ > RegistryValueType_NOT_DEFINED = 0, > RegistryValueType_LONG = 1, > RegistryValueType_ASCII = 2, > RegistryValueType_STRING = 3, > RegistryValueType_BINARY = 4, > RegistryValueType_LONGLIST = 5, > RegistryValueType_ASCIILIST = 6, > RegistryValueType_STRINGLIST = 7, > RegistryValueType_MAKE_FIXED_SIZE = 0x7fffffff >}; > >} >} >} >} > >namespace com { namespace sun { namespace star { namespace uno { >class Type; >} } } } > >inline const ::com::sun::star::uno::Type& getCppuType( const ::com::sun::star::registry::RegistryValueType* ); > ># 28 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/registry/XRegistryKey.hdl" 2 ># 45 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/registry/XRegistryKey.hdl" >namespace com >{ >namespace sun >{ >namespace star >{ >namespace registry >{ > >class XRegistryKey : public ::com::sun::star::uno::XInterface >{ >public: > > > virtual ::rtl::OUString getKeyName() throw(::com::sun::star::uno::RuntimeException) = 0; > > > virtual sal_Bool isReadOnly( ) throw(::com::sun::star::registry::InvalidRegistryException, ::com::sun::star::uno::RuntimeException) = 0; > virtual sal_Bool isValid( ) throw(::com::sun::star::uno::RuntimeException) = 0; > virtual ::com::sun::star::registry::RegistryKeyType getKeyType( const ::rtl::OUString& rKeyName ) throw(::com::sun::star::registry::InvalidRegistryException, ::com::sun::star::uno::RuntimeException) = 0; > virtual ::com::sun::star::registry::RegistryValueType getValueType( ) throw(::com::sun::star::registry::InvalidRegistryException, ::com::sun::star::uno::RuntimeException) = 0; > virtual sal_Int32 getLongValue( ) throw(::com::sun::star::registry::InvalidRegistryException, ::com::sun::star::registry::InvalidValueException, ::com::sun::star::uno::RuntimeException) = 0; > virtual void setLongValue( sal_Int32 value ) throw(::com::sun::star::registry::InvalidRegistryException, ::com::sun::star::uno::RuntimeException) = 0; > virtual ::com::sun::star::uno::Sequence< sal_Int32 > getLongListValue( ) throw(::com::sun::star::registry::InvalidRegistryException, ::com::sun::star::registry::InvalidValueException, ::com::sun::star::uno::RuntimeException) = 0; > virtual void setLongListValue( const ::com::sun::star::uno::Sequence< sal_Int32 >& seqValue ) throw(::com::sun::star::registry::InvalidRegistryException, ::com::sun::star::uno::RuntimeException) = 0; > virtual ::rtl::OUString getAsciiValue( ) throw(::com::sun::star::registry::InvalidRegistryException, ::com::sun::star::registry::InvalidValueException, ::com::sun::star::uno::RuntimeException) = 0; > virtual void setAsciiValue( const ::rtl::OUString& value ) throw(::com::sun::star::registry::InvalidRegistryException, ::com::sun::star::uno::RuntimeException) = 0; > virtual ::com::sun::star::uno::Sequence< ::rtl::OUString > getAsciiListValue( ) throw(::com::sun::star::registry::InvalidRegistryException, ::com::sun::star::registry::InvalidValueException, ::com::sun::star::uno::RuntimeException) = 0; > virtual void setAsciiListValue( const ::com::sun::star::uno::Sequence< ::rtl::OUString >& seqValue ) throw(::com::sun::star::registry::InvalidRegistryException, ::com::sun::star::uno::RuntimeException) = 0; > virtual ::rtl::OUString getStringValue( ) throw(::com::sun::star::registry::InvalidRegistryException, ::com::sun::star::registry::InvalidValueException, ::com::sun::star::uno::RuntimeException) = 0; > virtual void setStringValue( const ::rtl::OUString& value ) throw(::com::sun::star::registry::InvalidRegistryException, ::com::sun::star::uno::RuntimeException) = 0; > virtual ::com::sun::star::uno::Sequence< ::rtl::OUString > getStringListValue( ) throw(::com::sun::star::registry::InvalidRegistryException, ::com::sun::star::registry::InvalidValueException, ::com::sun::star::uno::RuntimeException) = 0; > virtual void setStringListValue( const ::com::sun::star::uno::Sequence< ::rtl::OUString >& seqValue ) throw(::com::sun::star::registry::InvalidRegistryException, ::com::sun::star::uno::RuntimeException) = 0; > virtual ::com::sun::star::uno::Sequence< sal_Int8 > getBinaryValue( ) throw(::com::sun::star::registry::InvalidRegistryException, ::com::sun::star::registry::InvalidValueException, ::com::sun::star::uno::RuntimeException) = 0; > virtual void setBinaryValue( const ::com::sun::star::uno::Sequence< sal_Int8 >& value ) throw(::com::sun::star::registry::InvalidRegistryException, ::com::sun::star::uno::RuntimeException) = 0; > virtual ::com::sun::star::uno::Reference< ::com::sun::star::registry::XRegistryKey > openKey( const ::rtl::OUString& aKeyName ) throw(::com::sun::star::registry::InvalidRegistryException, ::com::sun::star::uno::RuntimeException) = 0; > virtual ::com::sun::star::uno::Reference< ::com::sun::star::registry::XRegistryKey > createKey( const ::rtl::OUString& aKeyName ) throw(::com::sun::star::registry::InvalidRegistryException, ::com::sun::star::uno::RuntimeException) = 0; > virtual void closeKey( ) throw(::com::sun::star::registry::InvalidRegistryException, ::com::sun::star::uno::RuntimeException) = 0; > virtual void deleteKey( const ::rtl::OUString& rKeyName ) throw(::com::sun::star::registry::InvalidRegistryException, ::com::sun::star::uno::RuntimeException) = 0; > virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Reference< ::com::sun::star::registry::XRegistryKey > > openKeys( ) throw(::com::sun::star::registry::InvalidRegistryException, ::com::sun::star::uno::RuntimeException) = 0; > virtual ::com::sun::star::uno::Sequence< ::rtl::OUString > getKeyNames( ) throw(::com::sun::star::registry::InvalidRegistryException, ::com::sun::star::uno::RuntimeException) = 0; > virtual sal_Bool createLink( const ::rtl::OUString& aLinkName, const ::rtl::OUString& aLinkTarget ) throw(::com::sun::star::registry::InvalidRegistryException, ::com::sun::star::uno::RuntimeException) = 0; > virtual void deleteLink( const ::rtl::OUString& rLinkName ) throw(::com::sun::star::registry::InvalidRegistryException, ::com::sun::star::uno::RuntimeException) = 0; > virtual ::rtl::OUString getLinkTarget( const ::rtl::OUString& rLinkName ) throw(::com::sun::star::registry::InvalidRegistryException, ::com::sun::star::uno::RuntimeException) = 0; > virtual ::rtl::OUString getResolvedName( const ::rtl::OUString& aKeyName ) throw(::com::sun::star::registry::InvalidRegistryException, ::com::sun::star::uno::RuntimeException) = 0; >}; > >} >} >} >} > >namespace com { namespace sun { namespace star { namespace uno { >class Type; >} } } } > >inline const ::com::sun::star::uno::Type& getCppuType( const ::com::sun::star::uno::Reference< ::com::sun::star::registry::XRegistryKey >* ); > ># 6 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/registry/XRegistryKey.hpp" 2 ># 24 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/registry/XRegistryKey.hpp" ># 20 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/registry/InvalidRegistryException.hpp" 1 >namespace com >{ >namespace sun >{ >namespace star >{ >namespace registry >{ > >inline InvalidRegistryException::InvalidRegistryException(const ::rtl::OUString& __Message, const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >& __Context) > : ::com::sun::star::uno::Exception(__Message, __Context) >{ } > >} >} >} >} > > > > > >inline const ::com::sun::star::uno::Type& getCppuType( const ::com::sun::star::registry::InvalidRegistryException* ) >{ > > static typelib_TypeDescriptionReference * s_pType_com_sun_star_registry_InvalidRegistryException = 0; > > > if ( !s_pType_com_sun_star_registry_InvalidRegistryException ) > { > typelib_static_compound_type_init( &s_pType_com_sun_star_registry_InvalidRegistryException, typelib_TypeClass_EXCEPTION, "com.sun.star.registry.InvalidRegistryException", * ::typelib_static_type_getByTypeClass( typelib_TypeClass_EXCEPTION ), 0, 0 ); > } > return * reinterpret_cast< const ::com::sun::star::uno::Type * >( &s_pType_com_sun_star_registry_InvalidRegistryException ); >} > ># 24 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/registry/XRegistryKey.hpp" 2 > > > ># 20 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/registry/InvalidValueException.hpp" 1 >namespace com >{ >namespace sun >{ >namespace star >{ >namespace registry >{ > >inline InvalidValueException::InvalidValueException(const ::rtl::OUString& __Message, const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >& __Context) > : ::com::sun::star::uno::Exception(__Message, __Context) >{ } > >} >} >} >} > > > > > >inline const ::com::sun::star::uno::Type& getCppuType( const ::com::sun::star::registry::InvalidValueException* ) >{ > > static typelib_TypeDescriptionReference * s_pType_com_sun_star_registry_InvalidValueException = 0; > > > if ( !s_pType_com_sun_star_registry_InvalidValueException ) > { > typelib_static_compound_type_init( &s_pType_com_sun_star_registry_InvalidValueException, typelib_TypeClass_EXCEPTION, "com.sun.star.registry.InvalidValueException", * ::typelib_static_type_getByTypeClass( typelib_TypeClass_EXCEPTION ), 0, 0 ); > } > return * reinterpret_cast< const ::com::sun::star::uno::Type * >( &s_pType_com_sun_star_registry_InvalidValueException ); >} > ># 27 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/registry/XRegistryKey.hpp" 2 > > > ># 20 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/registry/RegistryKeyType.hpp" 1 >inline const ::com::sun::star::uno::Type& getCppuType( const ::com::sun::star::registry::RegistryKeyType* ) >{ > > static typelib_TypeDescriptionReference * s_pType_com_sun_star_registry_RegistryKeyType = 0; > > > if ( !s_pType_com_sun_star_registry_RegistryKeyType ) > { > typelib_static_enum_type_init( &s_pType_com_sun_star_registry_RegistryKeyType, > "com.sun.star.registry.RegistryKeyType", > ::com::sun::star::registry::RegistryKeyType_KEY ); > } > return * reinterpret_cast< ::com::sun::star::uno::Type * >( &s_pType_com_sun_star_registry_RegistryKeyType ); >} > ># 30 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/registry/XRegistryKey.hpp" 2 > > > ># 20 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/registry/RegistryValueType.hpp" 1 >inline const ::com::sun::star::uno::Type& getCppuType( const ::com::sun::star::registry::RegistryValueType* ) >{ > > static typelib_TypeDescriptionReference * s_pType_com_sun_star_registry_RegistryValueType = 0; > > > if ( !s_pType_com_sun_star_registry_RegistryValueType ) > { > typelib_static_enum_type_init( &s_pType_com_sun_star_registry_RegistryValueType, > "com.sun.star.registry.RegistryValueType", > ::com::sun::star::registry::RegistryValueType_NOT_DEFINED ); > } > return * reinterpret_cast< ::com::sun::star::uno::Type * >( &s_pType_com_sun_star_registry_RegistryValueType ); >} > ># 33 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/registry/XRegistryKey.hpp" 2 ># 48 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/registry/XRegistryKey.hpp" >inline const ::com::sun::star::uno::Type& getCppuType( const ::com::sun::star::uno::Reference< ::com::sun::star::registry::XRegistryKey >* ) >{ > > static typelib_TypeDescriptionReference * s_pType_com_sun_star_registry_XRegistryKey = 0; > > > if ( !s_pType_com_sun_star_registry_XRegistryKey ) > { > typelib_static_interface_type_init( &s_pType_com_sun_star_registry_XRegistryKey, "com.sun.star.registry.XRegistryKey", 0 ); > } > return * reinterpret_cast< ::com::sun::star::uno::Type * >( &s_pType_com_sun_star_registry_XRegistryKey ); >} > ># 75 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/cppuhelper/factory.hxx" 2 ># 83 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/cppuhelper/factory.hxx" >typedef struct _uno_Environment uno_Environment; ># 94 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/cppuhelper/factory.hxx" >typedef void ( * component_getImplementationEnvironmentFunc)( > const sal_Char ** ppEnvTypeName, uno_Environment ** ppEnv ); > > > > > > >typedef const sal_Char * ( * component_getDescriptionFunc)(void); ># 115 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/cppuhelper/factory.hxx" >typedef sal_Bool ( * component_writeInfoFunc)( > void * pServiceManager, void * pRegistryKey ); ># 132 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/cppuhelper/factory.hxx" >typedef void * ( * component_getFactoryFunc)( > const sal_Char * pImplName, void * pServiceManager, void * pRegistryKey ); > > > > > > > > > >typedef sal_Bool ( * WriteComponentInfoFunc)( uno_Interface * pXKey ); > > > >typedef uno_Interface* ( * CreateComponentFactoryFunc)( > const sal_Unicode *, uno_Interface * pXSMgr, uno_Interface * pXKey ); > > > >namespace cppu >{ > > > > > > >typedef ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >( * ComponentInstantiation) >( > const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory > & rServiceManager >); ># 178 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/cppuhelper/factory.hxx" >::com::sun::star::uno::Reference< ::com::sun::star::lang::XSingleServiceFactory > createSingleFactory >( > const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory > & rServiceManager, > const ::rtl::OUString & rImplementationName, > ComponentInstantiation pCreateFunction, > const ::com::sun::star::uno::Sequence< ::rtl::OUString > & rServiceNames >); ># 200 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/cppuhelper/factory.hxx" >::com::sun::star::uno::Reference< ::com::sun::star::lang::XSingleServiceFactory > createFactoryProxy >( > const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory > & rServiceManager, > const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XSingleServiceFactory > & rFactory >); ># 221 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/cppuhelper/factory.hxx" >::com::sun::star::uno::Reference< ::com::sun::star::lang::XSingleServiceFactory > createOneInstanceFactory >( > const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory > & rServiceManager, > const ::rtl::OUString & rComponentName, > ComponentInstantiation pCreateFunction, > const ::com::sun::star::uno::Sequence< ::rtl::OUString > & rServiceNames >); ># 240 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/cppuhelper/factory.hxx" > ::com::sun::star::uno::Reference< ::com::sun::star::lang::XSingleServiceFactory > createSingleRegistryFactory >( > const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory > & rServiceManager, > const ::rtl::OUString & rImplementationName, > const ::com::sun::star::uno::Reference< ::com::sun::star::registry::XRegistryKey > & rImplementationKey >); ># 262 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/cppuhelper/factory.hxx" >::com::sun::star::uno::Reference< ::com::sun::star::lang::XSingleServiceFactory > createOneInstanceRegistryFactory >( > const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory > & rServiceManager, > const ::rtl::OUString & rComponentName, > const ::com::sun::star::uno::Reference< ::com::sun::star::registry::XRegistryKey > & rImplementationKey >); > >} > ># 123 "../../inc/sfxuno.hxx" 2 ># 164 "../../inc/sfxuno.hxx" >inline sal_Bool operator==( const ::com::sun::star::util::URL& aURL1, const ::com::sun::star::util::URL& aURL2 ) >{ > return aURL1.Complete == aURL2.Complete; >} > >class SfxAllItemSet ; >class SfxItemSet ; >class SfxSlot ; > >void TransformParameters( sal_uInt16 nSlotId , > const ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue >& seqArgs , > SfxAllItemSet& aSet , > const SfxSlot* pSlot = 0 ); > >void TransformItems ( sal_uInt16 nSlotId , > const SfxItemSet& aSet , > ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue >& seqArgs , > const SfxSlot* pSlot = 0 ); > ># 75 "../../inc/shell.hxx" 2 > >class ResMgr; >class Window; >class ToolBox; >class SfxItemPool; >class SfxPoolItem; >class SfxRequest; >class SfxItemSet; >struct SfxFormalArgument; >class StatusBar; >class SfxInterface; >class SfxViewShell; >class SfxObjectShell; >class SfxSlotPool; >class SvGlobalName; > >class SfxShellObject; >class SfxShell; >struct SfxShell_Impl; >struct SfxTypeLibImpl; >class SfxShellObject; >class SfxShellSubObject; >class SfxDispatcher; >class SfxViewFrame; >class SvVerbList; >class SfxSlot; >class SfxUndoManager; >class SfxRepeatTarget; >class SbxVariable; >class SbxBase; >class SfxBindings; > > > >enum SfxInterfaceId ># 118 "../../inc/shell.hxx" >{ > SFX_INTERFACE_NONE, > SFX_INTERFACE_SFXAPP, > SFX_INTERFACE_SFXDOCSH, > SFX_INTERFACE_SFXTOPFRM, > SFX_INTERFACE_SFXIPFRM, > SFX_INTERFACE_SFXVIEWSH, > SFX_INTERFACE_SFXVIEWFRM, > SFX_INTERFACE_SFXPLUGINFRM, > SFX_INTERFACE_SFXPLUGINOBJ, > SFX_INTERFACE_SFXPLUGINVIEWSH, > SFX_INTERFACE_SFXFRAMESETOBJ, > SFX_INTERFACE_SFXFRAMESETVIEWSH, > SFX_INTERFACE_SFXINTERNALFRM, > SFX_INTERFACE_SFXCOMPONENTDOCSH, > SFX_INTERFACE_SFXGENERICOBJ, > SFX_INTERFACE_SFXGENERICVIEWSH, > SFX_INTERFACE_SFXEXPLOBJ, > SFX_INTERFACE_SFXEXPLVIEWSH, > SFX_INTERFACE_SFXPLUGINVIEWSHDYNAMIC, > SFX_INTERFACE_SFXEXTERNALVIEWFRM, > SFX_INTERFACE_SFXMODULE, > SFX_INTERFACE_SFXFRAMESETVIEW, > SFX_INTERFACE_SFXFRAMESETSOURCEVIEW, > SFX_INTERFACE_SFXHELP_DOCSH, > SFX_INTERFACE_SFXHELP_VIEWSH, > SFX_INTERFACE_SFXTASK, > SFX_INTERFACE_OFA_START = 100, > SFX_INTERFACE_OFA_END = 100, > SFX_INTERFACE_SC_START = 150, > SFX_INTERFACE_SC_END = 199, > SFX_INTERFACE_SD_START = 200, > SFX_INTERFACE_SD_END = 249, > SFX_INTERFACE_SW_START = 250, > SFX_INTERFACE_SW_END = 299, > SFX_INTERFACE_SIM_START = 300, > SFX_INTERFACE_SIM_END = 319, > SFX_INTERFACE_SCH_START = 320, > SFX_INTERFACE_SCH_END = 339, > SFX_INTERFACE_SMA_START = 340, > SFX_INTERFACE_SMA_END = 359, > SFX_INTERFACE_SBA_START = 360, > SFX_INTERFACE_SBA_END = 399, > SFX_INTERFACE_IDE_START = 400, > SFX_INTERFACE_IDE_END = 409, > > SFX_INTERFACE_APP = SFX_INTERFACE_SW_START, > SFX_INTERFACE_LIB = 450 >}; > > > >typedef void (*SfxExecFunc)(SfxShell *, SfxRequest &rReq); >typedef void (*SfxStateFunc)(SfxShell *, SfxItemSet &rSet); > >class SfxShell: public SfxBroadcaster ># 191 "../../inc/shell.hxx" >{ > friend class SfxObjectItem; > > SfxShell_Impl* pImp; > SfxItemPool* pPool; > SfxUndoManager* pUndoMgr; > >private: > SfxShell( const SfxShell & ); > SfxShell& operator = ( const SfxShell & ); > >protected: > SfxShell(); > SfxShell( SfxViewShell *pViewSh ); > > static SfxInterface* _GetInterfaceImpl() { return 0; } > > > void SetViewShell_Impl( SfxViewShell* pView ); > void Invalidate_Impl( SfxBindings& rBindings, USHORT nId ); > SfxShellObject* GetShellObj_Impl() const; > void SetShellObj_Impl( SfxShellObject* pObj ); > > >public: > static void* CreateType(); static TypeId StaticType(); static BOOL IsOf( TypeId aSameOrSuperType ); virtual TypeId Type() const; virtual BOOL IsA( TypeId aSameOrSuperType ) const; > virtual ~SfxShell(); > > SfxBroadcaster* GetBroadcaster(); > > virtual SvGlobalName GetGlobalName() const; > virtual SfxInterface* GetInterface() const; > void SetName( const String &rName ); > const String& GetName() const; > > SfxViewShell* GetViewShell() const; > > void CallExec( SfxExecFunc pFunc, SfxRequest &rReq ) > { (*pFunc)(this, rReq); } > void CallState( SfxStateFunc pFunc, SfxItemSet &rSet ) > { (*pFunc)(this, rSet); } > > static void EmptyExecStub(SfxShell *pShell, SfxRequest &); > static void EmptyStateStub(SfxShell *pShell, SfxItemSet &); > > const SfxPoolItem* GetSlotState( USHORT nSlotId, const SfxInterface *pIF = 0, SfxItemSet *pStateSet = 0 ); > const SfxPoolItem* ExecuteSlot( SfxRequest &rReq, const SfxInterface *pIF = 0 ); > const SfxPoolItem* ExecuteSlot( SfxRequest &rReq, BOOL bAsync ); > ULONG ExecuteSlot( USHORT nSlot, USHORT nMemberId, SbxVariable& rRet, SbxBase* pArgs = 0 ); > > inline SfxItemPool& GetPool() const; > inline void SetPool( SfxItemPool *pNewPool ) ; > > virtual SfxUndoManager* GetUndoManager(); > void SetUndoManager( SfxUndoManager *pNewUndoMgr ); > > SfxRepeatTarget* GetRepeatTarget() const; > void SetRepeatTarget( SfxRepeatTarget *pTarget ); > > virtual > > void Invalidate(USHORT nId = 0); > > void DoActivate( SfxViewFrame *pFrame, BOOL bMDI); > void DoDeactivate( SfxViewFrame *pFrame, BOOL bMDI); > BOOL IsActive() const; > virtual void Activate(BOOL bMDI); > virtual void Deactivate(BOOL bMDI); > virtual void ParentActivate(); > virtual void ParentDeactivate(); > > SfxDispatcher* GetDispatcher() const; > SfxViewFrame* GetFrame() const; > ResMgr* GetResMgr() const; > virtual BOOL HasUIFeature( ULONG nFeature ); > void UIFeatureChanged(); > > > const SfxPoolItem* GetItem( USHORT nSlotId ) const; > void PutItem( const SfxPoolItem& rItem ); > void RemoveItem( USHORT nSlotId ); > > virtual void FillStatusBar( StatusBar& ); > void SetVerbs(const SvVerbList *pVerbs); > const SvVerbList* GetVerbs() const; > void VerbExec (SfxRequest&); > void VerbState (SfxItemSet&); > > const SfxSlot* GetVerbSlot_Impl(USHORT nId) const; > void SetHelpId(ULONG nId); > ULONG GetHelpId() const; > virtual SfxObjectShell* GetObjectShell(); > void SetDisableFlags( ULONG nFlags ); > ULONG GetDisableFlags() const; > > virtual SfxItemSet* CreateItemSet( USHORT nId ); > virtual void ApplyItemSet( USHORT nId, const SfxItemSet& rSet ); > > > FASTBOOL CanExecuteSlot_Impl( const SfxSlot &rSlot ); > SfxSlotPool& GetSlotPool_Impl() const; > >}; > > >SfxItemPool& SfxShell::GetPool() const ># 309 "../../inc/shell.hxx" >{ >; > return *pPool; >} > >inline void SfxShell::SetPool >( > SfxItemPool* pNewPool >) ># 329 "../../inc/shell.hxx" >{ > pPool = pNewPool; >} > > > ># 108 "../../inc/objsh.hxx" 2 ># 116 "../../inc/objsh.hxx" >class SbxValue; >class SvxMacro; >class SbxArray; >class BasicManager; >class SfxMedium; >class SfxInPlaceObject; >class SfxObjectFactory; >class SfxDocumentInfo; >class SfxDocumentInfoDialog; >class SfxEventConfigItem_Impl; >class SfxStyleSheetBasePool; >class INote; >class SfxStyleSheetPool; >class SfxFrame; >class SbMethod; >class SfxConfigManager; >class SfxIniManager; >class BasicManager; >class StarBASIC; >class Printer; >class SvKeyValueIterator; >class SfxBaseModel; >class SfxModule; >class SvPseudoObject; >class SvData; >class SfxProgress; >class SvEmbeddedInfoObject; >class SvEmbeddedObject; >class GDIMetaFile; >class Bitmap; >class INetURLObject; >class IndexBitSet; >class SfxTopFrame; > >typedef sal_uInt32 SfxObjectShellFlags; ># 179 "../../inc/objsh.hxx" >enum SfxObjectCreateMode >{ > SFX_CREATE_MODE_EMBEDDED, > SFX_CREATE_MODE_STANDARD, > SFX_CREATE_MODE_PREVIEW, > SFX_CREATE_MODE_ORGANIZER, > SFX_CREATE_MODE_PLUGIN, > SFX_CREATE_MODE_INTERNAL >}; > ># 265 "../../inc/objsh.hxx" >enum SfxTitleQuery >{ > SFX_TITLE_QUERY_SAVE_NAME_PROPOSAL >}; > >class JScriptResult; >class SfxObjectShell: public SfxShell, virtual public SvPersist >{ > >friend struct ModifyBlocker_Impl; >friend class SfxDocumentManager; >friend class SFX_OBJECTSHELL_FRIEND; > > struct SfxObjectShell_Impl* pImp; > > SfxMedium * pMedium; > SfxStyleSheetBasePool* pStyleSheetPool; > SfxObjectCreateMode eCreateMode; > sal_uInt16 nViewNo; > sal_Bool bHasName :1, > bIsTmp :1; > >private: > > void Construct_Impl(); > SfxDocumentInfo& UpdateTime_Impl(SfxDocumentInfo &); > void DocInfoDlg_Impl( SfxDocumentInfo & ); > sal_Bool MakeBackup_Impl(const String &rName, > sal_Bool bCopyAllways = ((unsigned char)0)); > void SetEAs_Impl( SfxMedium &rMedium ); > sal_Bool SaveTo_Impl(SfxMedium &rMedium, const SfxItemSet* pSet=0); > sal_Bool ConnectTmpStorage_Impl( SvStorage* pStg); > sal_Bool IsOwnStorageFormat_Impl(const SfxMedium &) const; > sal_Bool SaveInfoAndConfig_Impl( SvStorageRef pNewStg ); > > >protected: > SfxObjectShell(SfxObjectCreateMode); > virtual ~SfxObjectShell(); > > virtual void ModifyChanged(); > virtual sal_Bool Close(); > > > void StartLoading_Impl(); > > > > void AddXMLAsZipToTheStorage( SvStorage& rRoot ); > >public: > static void* CreateType(); static TypeId StaticType(); static BOOL IsOf( TypeId aSameOrSuperType ); virtual TypeId Type() const; virtual BOOL IsA( TypeId aSameOrSuperType ) const; > static SfxInterfaceId nClassId; private: static void InitInterface_Impl(); protected: static SfxInterface* _GetInterfaceImpl(); public: static SfxInterfaceId _GetInterfaceIdImpl() { return SfxInterfaceId(SFX_INTERFACE_SFXDOCSH); } static const SfxFormalArgument *pSfxFormalArgs_Impl; virtual SfxInterface* GetInterface() const; static void RegisterInterface(SfxModule* pMod=__null); > > SfxObjectFactory* _pFactory; > > > static SfxObjectShell* GetFirst( const TypeId* pType = 0, > sal_Bool bOnlyVisible = ((unsigned char)1) ); > static SfxObjectShell* GetNext( const SfxObjectShell& rPrev, > const TypeId* pType = 0, > sal_Bool bOnlyVisible = ((unsigned char)1) ); > static SfxObjectShell* Current(); > static sal_uInt16 Count(); > > > virtual > > void Invalidate(USHORT nId = 0); > > void SetFlags( SfxObjectShellFlags eFlags ); > SfxObjectShellFlags GetFlags( ) const ; > > SfxModule* GetModule() const; > > virtual SfxObjectFactory& GetFactory() const; > SfxInPlaceObject* GetInPlaceObject() const; > SfxMedium * GetMedium() const { return pMedium; } > void ForgetMedium() { pMedium = 0; } > SfxDocumentInfo& GetDocInfo(); > void UpdateDocInfoForSave( ); > void FlushDocInfo(); > sal_Bool HasName() const { return bHasName; } > virtual String GetAPIName() const; > void SetHasName( sal_Bool bSet = ((unsigned char)1) ) { bHasName = bSet; } > sal_Bool IsReadOnly() const; > sal_Bool IsReadOnlyMedium() const; > void SetReadOnlyUI( sal_Bool bReadOnly = ((unsigned char)1) ); > sal_Bool IsReadOnlyUI() const; > void SetNoName() { bHasName = 0; bIsTmp = ((unsigned char)1); } > sal_Bool IsInModalMode() const; > sal_Bool IsInPrepareClose() const; > sal_Bool IsInAPICall() const; > > void SetModalMode_Impl(sal_Bool bModal=((unsigned char)1)); > > > void ResetError(); > sal_uInt32 GetError() const; > sal_uInt32 GetErrorCode() const; > void SetError(sal_uInt32 rErr); > > virtual sal_Bool LoadOwnFormat( SfxMedium& pMedium ); > virtual sal_Bool SaveAsOwnFormat( SfxMedium& pMedium ); > > virtual sal_Bool DoInitNew( SvStorage * pStor ); > virtual void DoHandsOff(); > virtual sal_Bool DoLoad( SvStorage * pStor ); > > virtual sal_Bool DoLoad( const String& rFileName, > StreamMode nStreamMode, > StorageMode nStorageMode ); > > virtual sal_Bool DoLoad( SfxMedium * pMedium ); > virtual sal_Bool DoSave(); > sal_Bool DoSaveAs( SfxMedium &rNewStor ); > virtual sal_Bool DoSaveAs( SvStorage * pNewStor ); > virtual sal_Bool DoSaveCompleted( SvStorage * pNewStor = __null ); > virtual sal_Bool DoSaveCompleted( SfxMedium * pNewStor); > > virtual sal_Bool ConvertFrom( SfxMedium &rMedium ); > sal_Bool ImportFrom( SfxMedium &rMedium ); > sal_Bool ExportTo( SfxMedium &rMedium ); > virtual sal_Bool ConvertTo( SfxMedium &rMedium ); > > virtual String QueryTitle( SfxTitleQuery ) const; > > virtual SfxDocumentInfoDialog* CreateDocumentInfoDialog( > Window *pParent, const SfxItemSet& ); > sal_Bool IsBasic( const String & rCode, SbxObject * pVCtrl = __null ); > > ErrCode CallBasic( const String& rMacro, const String& rBasicName, > SbxObject* pVCtrl, SbxArray* pArgs = 0, SbxValue* pRet = 0 ); > ErrCode Call( const String & rCode, sal_Bool bIsBasicReturn, SbxObject * pVCtrl = __null ); > > ErrCode CallScript( > const String & rScriptType, const String & rCode, ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > & rSource, > void* pArgs = __null, void* pRet = __null ); > SvKeyValueIterator* GetHeaderAttributes(); > void ClearHeaderAttributesForSourceViewHack(); > void SetHeaderAttributesForSourceViewHack(); > SbMethod* GetMethod_Impl( const String& rMacro ); > > SvEmbeddedInfoObject* InsertObject( SvEmbeddedObject * pObj, > const String & rName ); > > SfxConfigManager* GetConfigManager() const; > void SetConfigManager(SfxConfigManager *pMgr); > void SetTemplateConfig(sal_Bool); > sal_Bool HasTemplateConfig() const; > void TransferConfig( SfxObjectShell& rObjSh ); > > sal_Bool IsTemplate() const; > void SetTemplate(sal_Bool bIs); > > virtual sal_Bool LoadFrom( SvStorage * pStor ); > virtual void ViewAssigned(); > virtual sal_uInt16 PrepareClose( sal_Bool bUI = ((unsigned char)1), sal_Bool bForBrowsing = ((unsigned char)0) ); > virtual sal_Bool IsInformationLost(); > virtual sal_Bool Save(); > virtual sal_Bool SaveAs( SvStorage * pNewStg ); > virtual Size GetFirstPageSize(); > virtual sal_Bool DoClose(); > virtual void PrepareReload(); > virtual GDIMetaFile* GetPreviewMetaFile( ) const; > virtual void CancelTransfers(); > > void AbortImport(); > sal_Bool IsAbortingImport() const; > void RegisterTransfer( SfxMedium& rMedium ); > sal_Bool IsReloading() const; > void FinishedLoading( sal_uInt16 nWhich = 3 ); > sal_Bool IsLoading() const; > void SetAutoLoad( const INetURLObject&, sal_uInt32 nTime, sal_Bool bReload = ((unsigned char)1) ); > void LockAutoLoad( sal_Bool bLock ); > sal_Bool IsAutoLoadLocked() const; > void NotifyReloadAvailable(); > sal_Bool IsSecure(); > > > sal_Bool IsPreview() const; > SfxObjectCreateMode GetCreateMode() const { return eCreateMode; } > virtual void MemoryError(); > SfxProgress* GetProgress() const; > void SetWaitCursor( BOOL bSet ) const; > > > > > void SetTitle( const String& rTitle ); > String GetTitle( sal_uInt16 nMaxLen = 0 ) const; > void InvalidateName(); > > void SetLastMark_Impl( const String & ); > const String& GetLastMark_Impl() const; > sal_Bool DoInitNew_Impl( const String& rName ); > > > > virtual long DdeExecute( const String& rCmd ); > virtual long DdeGetData( const String& rItem, SvData& rData ); > virtual long DdeSetData( const String& rItem, const SvData& rData ); > virtual SvPseudoObject* DdeCreateHotLink( const String& rItem ); > > > virtual SfxStyleSheetBasePool* GetStyleSheetPool(); > void SetStyleSheetPool( SfxStyleSheetBasePool *pPool ) { > pStyleSheetPool = pPool; } > > > virtual > > sal_Bool HasBasic() const; > BasicManager* GetBasicManager() const; > StarBASIC* GetBasic() const; > > ># 490 "../../inc/objsh.hxx" > virtual void SetOrganizerSearchMask( > SfxStyleSheetBasePool* ) const; > > > virtual sal_uInt16 GetContentCount( > sal_uInt16 nIdx1 = 65535, > sal_uInt16 nIdx2 = 65535 ); > virtual sal_Bool CanHaveChilds( > sal_uInt16 nIdx1, > sal_uInt16 nIdx2 = 65535 ); > virtual void GetContent( String &, > Bitmap &rClosedBitmap, > Bitmap &rOpenedBitmap, > sal_Bool &bCanDelete, > sal_uInt16 nPos, > sal_uInt16 nIdx1, > sal_uInt16 nIdx2 = 65535 ); > virtual void TriggerHelpPI( > sal_uInt16 nIdx1, sal_uInt16 nIdx2, sal_uInt16 nIdx3); > > > > virtual Bitmap GetStyleFamilyBitmap(SfxStyleFamily eFamily); > > virtual sal_Bool Insert( SfxObjectShell &rSource, > sal_uInt16 nSourceIdx1, > sal_uInt16 nSourceIdx2, > sal_uInt16 nSourceIdx3, > sal_uInt16 &nIdx1, > sal_uInt16 &nIdx2, > sal_uInt16 &nIdx3, > sal_uInt16 &rIdxDeleted); > > virtual sal_Bool Remove( sal_uInt16 nIdx1, > sal_uInt16 nIdx2 = 65535, > sal_uInt16 nIdx3 = 65535); > > virtual sal_Bool Print( Printer &rPrt, > sal_uInt16 nIdx1, > sal_uInt16 nIdx2 = 65535, > sal_uInt16 nIdx3 = 65535, > const String *pObjectName = 0 ); > > virtual void LoadStyles( SfxObjectShell &rSource ); > sal_Bool LoadLayout() const; > > void ReadNote( INote * ); > void UpdateNote( INote * ); > > > > Size GetActualSize() const; > void SetActualSize( const Size& rSize ); > sal_Bool IsInFrame() const; > void SetInFrame( sal_Bool ); > virtual SfxObjectShell* GetObjectShell(); > void SetBaseURL( const String& rURL ); > const String& GetBaseURL() const; > > virtual SfxFrame* GetSmartSelf( SfxFrame* pSelf, SfxMedium& rMedium ); > > void SetModel( SfxBaseModel* pModel ); > ::com::sun::star::uno::Reference< ::com::sun::star::frame::XModel > GetModel(); > > void SetBaseModel( SfxBaseModel* pModel ); > ::com::sun::star::uno::Reference< ::com::sun::star::frame::XModel > GetBaseModel(); > > > > void InitBasicManager_Impl( SvStorage *pStor, const String* pName = __null ); > SfxObjectShell_Impl* Get_Impl() { return pImp; } > const SfxObjectShell_Impl* Get_Impl() const { return pImp; } > > > void ExecFile_Impl(SfxRequest &); > void GetState_Impl(SfxItemSet&); > void PrintExec_Impl(SfxRequest &); > void PrintState_Impl(SfxItemSet&); > void ExecProps_Impl(SfxRequest &); > void StateProps_Impl(SfxItemSet &); > void ExecView_Impl(SfxRequest &); > void StateView_Impl(SfxItemSet &); > > > void PositionView_Impl(); > void SetLoadLayout_Impl( sal_Bool bLoadLayout ); > void UpdateFromTemplate_Impl(); > void Reload_Impl(); > sal_Bool CanReload_Impl(); > void SetNamedVisibility_Impl(); > sal_Bool DoSave_Impl( const SfxItemSet* pSet=0 ); > sal_Bool Save_Impl( const SfxItemSet* pSet=0 ); > sal_Bool SaveAs_Impl(sal_Bool bUrl, SfxRequest * = 0); > void UpdatePickList_Impl(); > sal_Bool PreDoSaveAs_Impl(const String &rFileName, const String &rFiltName, SfxItemSet *); > > > SfxEventConfigItem_Impl* GetEventConfig_Impl( sal_Bool bForce=((unsigned char)0) ); > > > IndexBitSet& GetNoSet_Impl(); > void SetProgress_Impl( SfxProgress *pProgress ); > sal_uInt16& GetAktViewNo() { return nViewNo; } > void PostActivateEvent_Impl(); > void SetActivateEvent_Impl(sal_uInt16, sal_Bool bAddToHistory = ((unsigned char)1) ); > FASTBOOL SaveWindows_Impl( SvStorage &rStor ) const; > SfxViewFrame* LoadWindows_Impl( SfxTopFrame *pPrefered = 0 ); > >}; > > > struct ModifyBlocker_Impl > { > SfxObjectShell* pPersist; > sal_Bool bWasEnabled; > ModifyBlocker_Impl( SfxObjectShell* pPersistP ) : pPersist( pPersistP ) > { > bWasEnabled = pPersistP->IsEnableSetModified(); > if ( bWasEnabled ) > pPersistP->EnableSetModified( ((unsigned char)0) ); > } > ~ModifyBlocker_Impl() > { > if ( bWasEnabled ) > pPersist->EnableSetModified( bWasEnabled ); > } > }; > > > > > > >class SfxObjectShell; class SfxObjectShellRef { protected: SfxObjectShell * pObj; public: inline SfxObjectShellRef() { pObj = 0; } inline SfxObjectShellRef( const SfxObjectShellRef & rObj ); inline SfxObjectShellRef( SfxObjectShell * pObjP ); inline void Clear(); inline ~SfxObjectShellRef(); inline SfxObjectShellRef & operator = ( const SfxObjectShellRef & rObj ); inline SfxObjectShellRef & operator = ( SfxObjectShell * pObj ); inline BOOL Is() const { return pObj != __null; } inline SfxObjectShell * operator & () const { return pObj; } inline SfxObjectShell * operator -> () const { return pObj; } inline SfxObjectShell & operator * () const { return *pObj; } inline operator SfxObjectShell * () const { return pObj; } }; >class SfxObjectShell; class SfxObjectShellLock { protected: SfxObjectShell * pObj; public: inline SfxObjectShellLock() { pObj = 0; } inline SfxObjectShellLock( const SfxObjectShellLock & rObj ); inline SfxObjectShellLock( SfxObjectShell * pObjP ); inline void Clear(); inline ~SfxObjectShellLock(); inline SfxObjectShellLock & operator = ( const SfxObjectShellLock & rObj ); inline SfxObjectShellLock & operator = ( SfxObjectShell * pObj ); inline BOOL Is() const { return pObj != __null; } inline SfxObjectShell * operator & () const { return pObj; } inline SfxObjectShell * operator -> () const { return pObj; } inline SfxObjectShell & operator * () const { return *pObj; } inline operator SfxObjectShell * () const { return pObj; } }; > >inline SfxObjectShellRef::SfxObjectShellRef( const SfxObjectShellRef & rObj ) { pObj = rObj.pObj; if( pObj ) { pObj->AddNextRef(); } } inline SfxObjectShellRef::SfxObjectShellRef( SfxObjectShell * pObjP ) { pObj = pObjP; if( pObj ) { pObj->AddRef(); } } inline void SfxObjectShellRef::Clear() { if( pObj ) { SfxObjectShell* const pRefObj = pObj; pObj = 0; pRefObj->ReleaseReference(); } } inline SfxObjectShellRef::~SfxObjectShellRef() { if( pObj ) { pObj->ReleaseReference(); } } inline SfxObjectShellRef & SfxObjectShellRef:: operator = ( const SfxObjectShellRef & rObj ) { if( rObj.pObj ) rObj.pObj->AddNextRef(); SfxObjectShell* const pRefObj = pObj; pObj = rObj.pObj; if( pRefObj ) { pRefObj->ReleaseReference(); } return *this; } inline SfxObjectShellRef & SfxObjectShellRef::operator = ( SfxObjectShell * pObjP ) { return *this = SfxObjectShellRef( pObjP ); } >inline SfxObjectShellLock::SfxObjectShellLock( const SfxObjectShellLock & rObj ) { pObj = rObj.pObj; if( pObj ) { pObj->OwnerLock( 1 ); } } inline SfxObjectShellLock::SfxObjectShellLock( SfxObjectShell * pObjP ) { pObj = pObjP; if( pObj ) { pObj->OwnerLock( 1 ); } } inline void SfxObjectShellLock::Clear() { if( pObj ) { SfxObjectShell* const pRefObj = pObj; pObj = 0; pRefObj->OwnerLock( 0 ); } } inline SfxObjectShellLock::~SfxObjectShellLock() { if( pObj ) { pObj->OwnerLock( 0 ); } } inline SfxObjectShellLock & SfxObjectShellLock:: operator = ( const SfxObjectShellLock & rObj ) { if( rObj.pObj ) rObj.pObj->OwnerLock( 1 ); SfxObjectShell* const pRefObj = pObj; pObj = rObj.pObj; if( pRefObj ) { pRefObj->OwnerLock( 0 ); } return *this; } inline SfxObjectShellLock & SfxObjectShellLock::operator = ( SfxObjectShell * pObjP ) { return *this = SfxObjectShellLock( pObjP ); } > > > >class AutoReloadTimer_Impl : public Timer >{ > String aUrl; > sal_Bool bReload; > SfxObjectShell* pObjSh; > >public: > AutoReloadTimer_Impl( const String& rURL, sal_uInt32 nTime, sal_Bool bReloadP, > SfxObjectShell* pSh ); > virtual void Timeout(); >}; > > > > >class SfxObjectShellItem: public SfxPoolItem >{ > SfxObjectShell* pObjSh; > >public: > static void* CreateType(); static TypeId StaticType(); static BOOL IsOf( TypeId aSameOrSuperType ); virtual TypeId Type() const; virtual BOOL IsA( TypeId aSameOrSuperType ) const; > SfxObjectShellItem( SfxObjectShell *pObjShell ): > SfxPoolItem( 0 ), > pObjSh( pObjShell ) > {} > SfxObjectShellItem( sal_uInt16 nWhich, > SfxObjectShell *pObjShell ): > SfxPoolItem( nWhich ), > pObjSh( pObjShell ) > {} > > virtual int operator==( const SfxPoolItem& ) const; > virtual String GetValueText() const; > virtual SfxPoolItem* Clone( SfxItemPool *pPool = 0 ) const; > SfxObjectShell* GetObjectShell() const > { return pObjSh; } >}; > ># 69 "../inc/appdata.hxx" 2 > >class SfxTaskManager; > >class SfxApplication; >class SvBindingTransportFactory; >class SvLockBytesFactory; >class SfxIniDefaultManager; >class DataLockByteFactory_Impl; >class SvStrings; >class Config; >class PopupMenu; >class SfxBmkMenu; >class SvVerbList; >class SfxProgress; >class SfxConfigManager; >class SfxChildWinFactArr_Impl; >class SfxToolBoxConfig; >class SfxMacro; >class SfxDdeDocTopics_Impl; >class DdeService; >class SfxEventConfiguration; >class SfxMacroConfig; >class SvFactory; >class SotFactory; >class SfxItemPool; >class SfxInitLinkList; >class SfxFilterMatcher; >class DemoData_Impl; >class SfxExplorer; >class SfxMenuBarManager; >class StopButtonTimer_Impl; >class SvUShorts; >class SfxNodeData_Impl; >class SfxSIDList_Impl; >struct SfxFrameObjectFactoryPtr; >struct SfxPluginObjectFactoryPtr; >struct SfxPluginObjectFactoryPtr; >class ISfxTemplateCommon; >class SfxAnchorJobList_Impl; >class SfxFilterMatcher; >class INetConnection; >class SfxINetPlugInService; >class SfxTrash; >class SfxSimpleLockBytesFactoryMemberList; >class CntUpdateResults_Impl; >class SfxIniDefaultManager; >class SfxFolderCfgList_Impl; >class SfxCancelManager; >class ISfxModule; >struct SfxDownload_Impl; >class SvBindStatusCallback; >class SfxStatusDispatcher; >class SfxDesktop; >class SfxDdeTriggerTopic_Impl; >class OfaMiscCfg; >class SvLibrary; >class SfxDocumentTemplates; > >class ConnectionList_Impl : private List { public: List::Clear; List::Count; List::GetCurPos; ConnectionList_Impl( USHORT _nInitSize = 16, USHORT _nReSize = 16 ) : List( _nInitSize, _nReSize ) {} ConnectionList_Impl( USHORT _nBlockSize, USHORT _nInitSize, USHORT _nReSize ) : List( _nBlockSize, _nInitSize, _nReSize ) {} ConnectionList_Impl( const ConnectionList_Impl& rClassName ) : List( rClassName ) {} void Insert( INetConnection * p, ULONG nIndex ) { List::Insert( (void*)p, nIndex ); } void Insert( INetConnection * p ) { List::Insert( (void*)p ); } void Insert( INetConnection * pNew, INetConnection * pOld ) { List::Insert( (void*)pNew, (void*)pOld ); } INetConnection * Remove() { return (INetConnection *)List::Remove(); } INetConnection * Remove( ULONG nIndex ) { return (INetConnection *)List::Remove( nIndex ); } INetConnection * Remove( INetConnection * p ) { return (INetConnection *)List::Remove( (void*)p ); } INetConnection * Replace( INetConnection * p ) { return (INetConnection *)List::Replace( (void*)p ); } INetConnection * Replace( INetConnection * p, ULONG nIndex ) { return (INetConnection *)List::Replace( (void*)p, nIndex ); } INetConnection * Replace( INetConnection * pNew, INetConnection * pOld ) { return (INetConnection *)List::Replace( (void*)pNew, (void*)pOld ); } INetConnection * GetCurObject() const { return (INetConnection *)List::GetCurObject(); } INetConnection * GetObject( ULONG nIndex ) const { return (INetConnection *)List::GetObject( nIndex ); } ULONG GetPos( const INetConnection * p ) const { return List::GetPos( (const void*)p ); } ULONG GetPos( const INetConnection * p, ULONG nStartIndex, BOOL bForward = 1 ) const { return List::GetPos( (const void*)p, nStartIndex, bForward ); } INetConnection * Seek( ULONG nIndex ) { return (INetConnection *)List::Seek( nIndex ); } INetConnection * Seek( void* p ) { return (INetConnection *)List::Seek( p ); } INetConnection * First() { return (INetConnection *)List::First(); } INetConnection * Last() { return (INetConnection *)List::Last(); } INetConnection * Next() { return (INetConnection *)List::Next(); } INetConnection * Prev() { return (INetConnection *)List::Prev(); } ConnectionList_Impl& operator =( const ConnectionList_Impl& rClassName ) { List::operator =( rClassName ); return *this; } BOOL operator ==( const ConnectionList_Impl& rList ) const { return List::operator ==( rList ); } BOOL operator !=( const ConnectionList_Impl& rList ) const { return List::operator !=( rList ); } };; > >class StopButtonTimer_Impl : public Timer >{ > BOOL bState; >protected: > virtual void Timeout(); >public: > StopButtonTimer_Impl(); > void SetButtonState( BOOL bStateP ); > BOOL GetButtonState() const { return bState; } >}; ># 153 "../inc/appdata.hxx" >enum SfxFolderState >{ > SFX_FOLDERSTATE_EMPTY = 0, > SFX_FOLDERSTATE_CONTENT = 1, > SFX_FOLDERSTATE_UNKNOWN = 2 >}; > > > > > > >class SfxFrameArr_Impl; > >class SfxAppData_Impl : public SfxListener >{ >public: > SfxConfigManager* pAppCfg; > SfxProgress* pProgress; > SfxItemPool* pPool; > SfxChildWinFactArr_Impl* pFactArr; > SfxMacro* pMacro; > SvLibrary* pODKLib; > String aLastDir; > String aLastFilter; > char nConfigManagerAvailable; > IndexBitSet aIndexBitSet; > DdeService* pDdeService; > SfxDdeDocTopics_Impl* pDocTopics; > SfxEventConfiguration* pEventConfig; > SotFactory* pSfxApplicationObjectFactory; > USHORT nAsynchronCalls; > SvVerbList* pVerbs; > USHORT nBasicCallLevel; > USHORT nRescheduleLocks; > USHORT nInReschedule; > DemoData_Impl* pDemoData; > SfxInitLinkList* pInitLinkList; > Timer aLateInitTimer; > SfxFilterMatcher* pMatcher; > SfxExplorer* pExplorer; > String aSaveAsTarget; > String aUserEMailAddr; > ConnectionList_Impl aConnectionList; > SfxObjectFactory* pSfxPlugInObjectShellFactory; > Window* pDefFocusWin; > SfxMenuBarManager* pAppManager; > SfxFrameObjectFactoryPtr* pSfxFrameObjectFactoryPtr; > List aPendingInitFactories; > SfxIniDefaultManager* pIniDefMgr; > String aLogicAppName; > SfxINetPlugInService* pPlugService; > StopButtonTimer_Impl* pStopButtonTimer; > SfxCancelManager* pCancelMgr; > USHORT nDocModalMode; > SvUShorts* pDisabledSlotList; > Config* pFilterIni; > ISfxModule* pISfxModule; > String aLastNewURL; > SfxPluginObjectFactoryPtr* pSfxPluginObjectFactoryPtr; > SfxNodeData_Impl* pNodeData_Impl; > SfxSIDList_Impl* pSIDList_Impl; > ISfxTemplateCommon* pTemplateCommon; > Window* pActiveInplaceWindow; > SfxAnchorJobList_Impl* pAnchorJobList; > ResMgr* pLabelResMgr; > USHORT nDemoKind; > SfxFrameArr_Impl* pTopFrames; > SfxTrash* pTrash; > SvStrings* pSecureURLs; > USHORT nAutoTabPageId; > DataLockByteFactory_Impl* pDataLockBytesFactory; > USHORT nExecutingSID; > CntUpdateResults_Impl* pNewMessages; > USHORT nNewMessages; > SvLockBytesFactory* pImageLockBytesFactory; > SvLockBytesFactory* pInfoLockBytesFactory; > SfxBmkMenu* pNewMenu; > SfxBmkMenu* pBookmarkMenu; > SfxBmkMenu* pAutoPilotMenu; > SfxBmkMenu* pStartMenu; > SfxStatusDispatcher* pAppDispatch; > SfxDdeTriggerTopic_Impl* pTriggerTopic; > DdeService* pDdeService2; > SvStrings* pExtBrwOnExceptionList; > SvStrings* pExtBrwOffExceptionList; > OfaMiscCfg* pMiscConfig; > SfxObjectShell* pThisDocument; > BYTE bMultiQuickSearch; > BYTE bShowFsysExtension; > BYTE bUseExternBrowser; > BOOL bAccelEnabled : 1; > BOOL bIBMTitle : 1; > BOOL bOLEResize : 1; > BOOL bDirectAliveCount : 1; > BOOL bInQuit : 1; > BOOL bStbWasVisible : 1; > BOOL bSessionFailed : 1; > BOOL bOLEAutomation : 1; > BOOL bInvalidateOnUnlock : 1; > BOOL bBean : 1; > BOOL bMinimized : 1; > BOOL bInvisible : 1; > BOOL bSmartBeamer : 1; > BOOL bInException : 1; > BOOL bNewMessagesBlinker : 1; > BOOL bNewTaskForNewMessages : 1; > BOOL bBeamerSwitchedOn : 1; > BOOL bLateInit_BrowseRegistrationPage : 1; > USHORT nAppEvent; > SfxDocumentTemplates* pTemplates; > String aOpenList; > String aPrintList; > String aUcbUrl; > > SfxAppData_Impl( SfxApplication* pApp ); > ~SfxAppData_Impl(); > > PopupMenu* GetPopupMenu( USHORT nSid, BOOL bBig=0, BOOL bNew=0 ); > virtual void Notify( SfxBroadcaster &rBC, const SfxHint &rHint ); > static long CreateDataLockBytesFactory( SfxAppData_Impl*, void* ); > void ResetNewMessages( const String &rFolderULR ); > void LoadNewMessages(); > void SaveNewMessages(); > void UpdateApplicationSettings( BOOL bDontHide ); > SfxDocumentTemplates* GetDocumentTemplates(); >}; > >extern void FATToVFat_Impl( String& ); > > > >class SfxPtrItem : public SfxPoolItem >{ > void* pPtr; >public: > static void* CreateType(); static TypeId StaticType(); static BOOL IsOf( TypeId aSameOrSuperType ); virtual TypeId Type() const; virtual BOOL IsA( TypeId aSameOrSuperType ) const; > virtual SfxPoolItem* Clone( SfxItemPool *pPool = 0 ) const > { return new SfxPtrItem( *this ); } > virtual int operator==( const SfxPoolItem& rL) const > { return ((SfxPtrItem&)rL).pPtr == pPtr; } > SfxPtrItem( USHORT nWhich, void * pValue ) : SfxPoolItem( nWhich ) > { pPtr = pValue; } > void* GetValue() const { return pPtr; } >}; > ># 199 "/usr/src/oo/oo_605_src/sfx2/source/doc/docfile.cxx" 2 > ># 85 "../../inc/app.hxx" 1 ># 7 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/vcl/svapp.hxx" 1 ># 73 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/vos/thread.hxx" 1 ># 74 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/osl/thread.h" 1 >extern "C" { > > > > > > >typedef void* oslThread; > > > >typedef void ( *oslWorkerFunction)(void*); > > > > > > >typedef enum >{ > osl_Thread_PriorityHighest, > osl_Thread_PriorityAboveNormal, > osl_Thread_PriorityNormal, > osl_Thread_PriorityBelowNormal, > osl_Thread_PriorityLowest, > osl_Thread_PriorityUnknown, > osl_Thread_Priority_FORCE_EQUAL_SIZE = 0x7fffffff >} oslThreadPriority; > > >typedef enum >{ > osl_Thread_SleepNormal, > osl_Thread_SleepCancel, > osl_Thread_SleepPending, > osl_Thread_SleepActive, > osl_Thread_SleepError, > osl_Thread_SleepUnknown, > osl_Thread_Sleep_FORCE_EQUAL_SIZE = 0x7fffffff >} oslThreadSleep; > >typedef sal_uInt32 oslThreadIdentifier; > >typedef sal_uInt32 oslThreadKey; ># 126 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/osl/thread.h" >oslThread osl_createThread(oslWorkerFunction pWorker, void* pThreadData); ># 135 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/osl/thread.h" >oslThread osl_createSuspendedThread(oslWorkerFunction pWorker, void* pThreadData); > > > > > >oslThreadIdentifier osl_getThreadIdentifier(oslThread Thread); > > > > > >void osl_destroyThread(oslThread Thread); > > > > > > >void osl_freeThreadHandle(oslThread Thread); > > > > >void osl_resumeThread(oslThread Thread); > > > > >void osl_suspendThread(oslThread Thread); > > > > >void osl_setThreadPriority(oslThread Thread, oslThreadPriority Priority); > > > > > >oslThreadPriority osl_getThreadPriority(const oslThread Thread); > > > > > >sal_Bool osl_isThreadRunning(const oslThread Thread); > > > > >void osl_joinWithThread(oslThread Thread); > > > > > >oslThreadSleep osl_sleepThread(oslThread Thread, const TimeValue* pDelay); > > > > >sal_Bool osl_awakeThread(oslThread Thread); > > > > >void osl_waitThread(const TimeValue* pDelay); > > > > >void osl_terminateThread(oslThread Thread); > > > > > > > >sal_Bool osl_scheduleThread(oslThread Thread); ># 224 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/osl/thread.h" >void osl_yieldThread(void); > > >oslThreadKey osl_createThreadKey(void); > > >void osl_destroyThreadKey(oslThreadKey Key); > > >void* osl_getThreadKeyData(oslThreadKey Key); > > >sal_Bool osl_setThreadKeyData(oslThreadKey Key, void *pData); > > >rtl_TextEncoding osl_getThreadTextEncoding(); > > > > >rtl_TextEncoding osl_setThreadTextEncoding(rtl_TextEncoding Encoding); > > >} ># 73 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/vos/thread.hxx" 2 > > > ># 73 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/vos/runnable.hxx" 1 >namespace vos >{ ># 88 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/vos/runnable.hxx" >class IRunnable >{ >public: > > IRunnable() { } > virtual ~IRunnable() { } > > > > > virtual void run()= 0; > >}; > > > >} ># 76 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/vos/thread.hxx" 2 > > >extern void _OThread_WorkerFunction(void* pthis); > > >namespace vos >{ > > > >void _cpp_OThread_WorkerFunction(void* pthis); ># 100 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/vos/thread.hxx" >class OThread : public vos::IRunnable, > public vos::OObject >{ > > public: static const vos::VOS_CLASSINIT __ClassInit__; static vos::OClassInfo __ClassInfo__; public: virtual const vos::OClassInfo& getClassInfo() const; static const vos::OClassInfo& classInfo(); > >public: > > > enum TThreadPriority > { > TPriority_Highest = osl_Thread_PriorityHighest, > TPriority_AboveNormal = osl_Thread_PriorityAboveNormal, > TPriority_Normal = osl_Thread_PriorityNormal, > TPriority_BelowNormal = osl_Thread_PriorityBelowNormal, > TPriority_Lowest = osl_Thread_PriorityLowest, > TPriority_Unknown = osl_Thread_PriorityUnknown > }; > > > > enum TThreadSleep > { > TSleep_Normal = osl_Thread_SleepNormal, > TSleep_Cancel = osl_Thread_SleepCancel, > TSleep_Pending = osl_Thread_SleepPending, > TSleep_Active = osl_Thread_SleepActive, > TSleep_Error = osl_Thread_SleepError, > TSleep_Unknown = osl_Thread_SleepUnknown > }; > > typedef oslThreadIdentifier TThreadIdentifier; > > > OThread(); > > > virtual ~OThread(); > > > > > sal_Bool create(); > > > > > sal_Bool createSuspended(); > > > void suspend(); > > > void resume(); > > > > > virtual void terminate(); > > > virtual void kill(); > > > void join(); > > > sal_Bool isRunning(); ># 179 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/vos/thread.hxx" > void setPriority(TThreadPriority Priority); ># 192 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/vos/thread.hxx" > TThreadPriority getPriority(); > > TThreadIdentifier getIdentifier() const; > > static TThreadIdentifier getCurrentIdentifier(); > > > > > TThreadSleep sleep(const TimeValue& Delay); > > > > > > sal_Bool awake(); > > > > > > > static void wait(const TimeValue& Delay); > > > > > > > > static void yield(); > >protected: > > > virtual void run() = 0; > > > > > > > virtual sal_Bool schedule(); > > > > > virtual void onTerminated(); > >protected: > oslThread m_hThread; > sal_Bool m_bTerminating; > > > > > friend void _cpp_OThread_WorkerFunction(void* pthis); > > > > > >}; > >class OThreadData : public vos::OObject >{ > public: static const vos::VOS_CLASSINIT __ClassInit__; static vos::OClassInfo __ClassInfo__; public: virtual const vos::OClassInfo& getClassInfo() const; static const vos::OClassInfo& classInfo(); > >public: > > OThreadData(); > > > virtual ~OThreadData(); > > > > > sal_Bool setData(void *pData); > > > > > > void* getData(); > >protected: > oslThreadKey m_hKey; >}; > > >} ># 7 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/vcl/svapp.hxx" 2 ># 17 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/vcl/svapp.hxx" ># 9 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/tools/unqid.hxx" 1 >struct ImpUniqueId >{ > ULONG nId; > USHORT nRefCount; > void Release() > { > nRefCount--; > if( 0 == nRefCount ) > delete this; > } >}; > >class UniqueIdContainer; >class UniqueItemId >{ > friend UniqueIdContainer; > ImpUniqueId* pId; > > UniqueItemId( ImpUniqueId * pIdP ) > { pId = pIdP; pId->nRefCount++; } >public: > UniqueItemId() { pId = __null; } > UniqueItemId( const UniqueItemId & rId ) > { pId = rId.pId; if( pId ) pId->nRefCount++; } > ~UniqueItemId() > { if( pId ) pId->Release(); } > UniqueItemId& operator = ( const UniqueItemId & rId ) > { > if( rId.pId ) rId.pId->nRefCount++; > if( pId ) pId->Release(); > pId = rId.pId; > return *this; > } > ULONG GetId() const { return pId ? pId->nId : 0; } >}; > >class UniqueIdContainer : private UniqueIndex >{ > USHORT nCollectCount; > >public: > void Clear( BOOL bAll ); > UniqueItemId CreateIdProt( ULONG nId ); > >public: > UniqueIdContainer( ULONG _nStartIndex, > ULONG _nInitSize = 16, > ULONG _nReSize = 16 ) > : UniqueIndex( _nStartIndex, _nInitSize, _nReSize ) > , nCollectCount( 0 ) > {} > UniqueIdContainer( const UniqueIdContainer& ); > > ~UniqueIdContainer() > { Clear( 1 ); } > UniqueIdContainer& operator = ( const UniqueIdContainer & ); > > BOOL IsIndexValid( ULONG nIndex ) const > { return UniqueIndex::IsIndexValid( nIndex ); } > > UniqueItemId CreateId(); > static UniqueItemId CreateFreeId( ULONG nId ); >}; > ># 17 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/vcl/svapp.hxx" 2 ># 26 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/vcl/svapp.hxx" ># 20 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/vcl/apptypes.hxx" 1 >class ApplicationProperty >{ >public: > > static void* CreateType(); static TypeId StaticType(); static BOOL IsOf( TypeId aSameOrSuperType ); virtual TypeId Type() const; virtual BOOL IsA( TypeId aSameOrSuperType ) const; >}; > ># 26 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/vcl/svapp.hxx" 2 > > > > > >class Link; >class International; >class AllSettings; >class DataChangedEvent; >class Accelerator; >class Help; >class OutputDevice; >class Window; >class WorkWindow; >class MenuBar; >class UnoWrapperBase; >class AccessNotification; >class Reflection; >class KeyCode; >class NotifyEvent; > > >class Font; >class ApplicationAddress; >class ApplicationEvent; > >class FileDialog; >class VclFileDialog; > > > >namespace vos { class IMutex; } > > > > > > >namespace com { >namespace sun { >namespace star { >namespace awt { > class XToolkit; >} } } } > >typedef ULONG SystemInfoType; ># 103 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/vcl/svapp.hxx" >typedef long (*VCLEventHookProc)( NotifyEvent& rEvt, void* pData ); > > > >enum Service { SERVICE_OLE, SERVICE_APPEVENT, SERVICE_IPC }; > > >class ApplicationAddress >{ >friend class Application; >protected: > String aHostName; > String aDisplayName; > String aDomainName; > int nPID; > >public: > ApplicationAddress(); > ApplicationAddress( const String& rDomain ); > ApplicationAddress( const String& rHost, > const String& rDisp, > const String& rDomain ); > ApplicationAddress( const String& rHost, int nPID ); > > const String& GetHost() const { return aHostName; } > const String& GetDisplay() const { return aDisplayName; } > const String& GetDomain() const { return aDomainName; } > int GetPID() const { return nPID; } > > BOOL IsConnectToSame( const ApplicationAddress& rAdr ) const; >}; > >inline ApplicationAddress::ApplicationAddress() >{ > nPID = 0; >} > >inline ApplicationAddress::ApplicationAddress( const String& rDomain ) >{ > aDomainName = rDomain; > nPID = 0; >} > >inline ApplicationAddress::ApplicationAddress( const String& rHost, > const String& rDisp, > const String& rDomain ) >{ > aHostName = rHost; > aDisplayName = rDisp; > aDomainName = rDomain; > nPID = 0; >} > >inline ApplicationAddress::ApplicationAddress( const String& rHost, int nPIDPar ) >{ > aHostName = rHost; > nPID = nPIDPar; >} > >inline BOOL ApplicationAddress::IsConnectToSame( const ApplicationAddress& rAdr ) const >{ > if ( nPID && ((nPID == rAdr.nPID) && (aHostName == rAdr.aHostName)) ) > return 1; > else > return 0; >} > > > > > > > >class ApplicationEvent >{ >private: > String aSenderAppName; > ByteString aEvent; > String aData; > ApplicationAddress aAppAddr; > >public: > ApplicationEvent() {} > ApplicationEvent( const String& rSenderAppName, > const ApplicationAddress& rAppAddr, > const ByteString& rEvent, > const String& rData ); > > const String& GetSenderAppName() const { return aSenderAppName; } > const ByteString& GetEvent() const { return aEvent; } > const String& GetData() const { return aData; } > const ApplicationAddress& GetAppAddress() const { return aAppAddr; } > > BOOL IsOpenEvent() const; > BOOL IsPrintEvent() const; > BOOL IsDiskInsertEvent() const; > > USHORT GetParamCount() const { return aData.GetTokenCount( '\n' ); } > String GetParam( USHORT nParam ) const { return aData.GetToken( nParam, '\n' ); } >}; > >inline ApplicationEvent::ApplicationEvent( const String& rSenderAppName, > const ApplicationAddress& rAppAddr, > const ByteString& rEvent, > const String& rData ) : > aSenderAppName( rSenderAppName ), > aAppAddr( rAppAddr ), > aEvent( rEvent ), > aData( rData ) >{ >} > >inline BOOL ApplicationEvent::IsOpenEvent() const >{ > if ( aEvent == "Open" ) > return 1; > else > return 0; >} > >inline BOOL ApplicationEvent::IsPrintEvent() const >{ > if ( aEvent == "Print" ) > return 1; > else > return 0; >} > >inline BOOL ApplicationEvent::IsDiskInsertEvent() const >{ > if ( aEvent == "DiskInsert" ) > return 1; > else > return 0; >} > >class Application >{ >public: > Application(); > ~Application(); > > virtual void Main() = 0; > > virtual BOOL QueryExit(); > > virtual void UserEvent( ULONG nEvent, void* pEventData ); > > virtual void ActivateExtHelp(); > virtual void DeactivateExtHelp(); > > virtual void ShowStatusText( const String& rText ); > virtual void HideStatusText(); > > virtual void ShowHelpStatusText( const String& rText ); > virtual void HideHelpStatusText(); > > virtual void FocusChanged(); > virtual void DataChanged( const DataChangedEvent& rDCEvt ); > > static void InitAppRes( const ResId& rResId ); > > static USHORT GetCommandLineParamCount(); > static String GetCommandLineParam( USHORT nParam ); > static const String& GetAppFileName(); > > virtual USHORT Exception( USHORT nError ); > static void Abort( const String& rErrorText ); > > static void Execute(); > static void Quit(); > static void Reschedule(); > static void Yield(); > static void EndYield(); > > > > > static vos::IMutex& GetSolarMutex(); > static vos::OThread::TThreadIdentifier GetMainThreadIdentifier(); > > static ULONG ReleaseSolarMutex(); > static void AcquireSolarMutex( ULONG nCount ); > > static BOOL IsInMain(); > static BOOL IsInExecute(); > static BOOL IsShutDown(); > static BOOL IsInModalMode(); > > static USHORT GetDispatchLevel(); > static BOOL AnyInput( USHORT nType = ((0x0001 | 0x0002) | 0x0004 | 0x0008 | 0x0010) ); > static ULONG GetLastInputInterval(); > static BOOL IsUICaptured(); > static BOOL IsUserActive( USHORT nTest = ((USHORT)0xFFFF) ); > > virtual void SystemSettingsChanging( AllSettings& rSettings, > Window* pFrame ); > static void MergeSystemSettings( AllSettings& rSettings ); > > static void SetSettings( const AllSettings& rSettings ); > static const AllSettings& GetSettings(); > static void NotifyAllWindows( DataChangedEvent& rDCEvt ); > > static ULONG PostUserEvent( ULONG nEvent, void* pEventData = __null ); > static ULONG PostUserEvent( const Link& rLink, void* pCaller = __null ); > static BOOL PostUserEvent( ULONG& rEventId, ULONG nEvent, void* pEventData = __null ); > static BOOL PostUserEvent( ULONG& rEventId, const Link& rLink, void* pCaller = __null ); > static void RemoveUserEvent( ULONG nUserEvent ); > > static BOOL InsertIdleHdl( const Link& rLink, USHORT nPriority ); > static void RemoveIdleHdl( const Link& rLink ); > > static USHORT DispatchAppEvents( int nArgc, char* pArgv[] ); > static USHORT DispatchAppEvents(); > virtual void AppEvent( const ApplicationEvent& rAppEvent ); > > > > static BOOL PostAppEvent( const String& rAppName, > const ApplicationAddress& rAppAddr, > const String& rEventName, > const String& rData, > BOOL bStartApp=1, > const String* pParameters=0 ); > static BOOL StartApplication( const String& rFileName, > const String& rParameters, > const String& rCreator, > ApplicationAddress* pAddr=0); > > > virtual VclFileDialog* CreateFileDialog( Window* pParent, ULONG nWinBits ); > > > > virtual void Property( ApplicationProperty& ); > > > static void EnterWait(); > static void LeaveWait(); > static BOOL IsWait(); > > > > static WorkWindow* GetAppWindow(); > > static Window* GetFocusWindow(); > static OutputDevice* GetDefaultDevice(); > > static Window* GetFirstTopLevelWindow(); > static Window* GetNextTopLevelWindow( Window* pWindow ); > > static void SetAppName( const String& rUniqueName ); > static String GetAppName(); > > static void SetDisplayName( const String& rDisplayName ); > static String GetDisplayName(); > > static void SetAppInternational( const International& rIntn ); > static const International& GetAppInternational(); > > static BOOL InsertAccel( Accelerator* pAccel ); > static void RemoveAccel( Accelerator* pAccel ); > static void FlushAccel(); > > static ULONG AddHotKey( const KeyCode& rKeyCode, const Link& rLink, void* pData = __null ); > static void RemoveHotKey( ULONG nId ); > static ULONG AddEventHook( VCLEventHookProc pProc, void* pData = __null ); > static void RemoveEventHook( ULONG nId ); > static long CallEventHooks( NotifyEvent& rEvt ); > static long CallPreNotify( NotifyEvent& rEvt ); > static long CallEvent( NotifyEvent& rEvt ); > > static void SetHelp( Help* pHelp = __null ); > static Help* GetHelp(); > > static void EnableAutoHelpId( BOOL bEnabled = 1 ); > static BOOL IsAutoHelpIdEnabled(); > > static void EnableAutoMnemonic( BOOL bEnabled = 1 ); > static BOOL IsAutoMnemonicEnabled(); > > static void SetDefDialogParent( Window* pWindow ); > static Window* GetDefDialogParent(); > > static void EnableDialogCancel( BOOL bDialogCancel = 1 ); > static BOOL IsDialogCancelEnabled(); > > static void SetSystemWindowMode( USHORT nMode ); > static USHORT GetSystemWindowMode(); > > static void SetDialogScaleX( short nScale ); > static short GetDialogScaleX(); > > static void SetResourcePath( const String& rPath ); > static const String& GetResourcePath(); > > > static BOOL IsMDIApp() { return 0; } > > > static void EnterMultiThread( BOOL bEnter = 1 ); > static BOOL IsMultiThread(); > > static UniqueItemId CreateUniqueId(); > > static SystemInfoType GetClientSystem(); > static SystemInfoType GetServerSystem(); > static BOOL IsRemoteServer(); > static void* GetRemoteEnvironment(); > > void RegisterUnoServices(); > static ::com::sun::star::uno::Reference< ::com::sun::star::awt::XToolkit > GetVCLToolkit(); > > static void SetUnoWrapper( UnoWrapperBase* pWrapper ); > static UnoWrapperBase* GetUnoWrapper(); > > static void SetFilterHdl( const Link& rLink ); > static const Link& GetFilterHdl(); > > static void AccessNotify( const AccessNotification& rNotification ); > static void AddAccessHdl( const Link& rLink ); > static void RemoveAccessHdl( const Link& rLink ); > static USHORT GetAccessHdlCount(); > static Link GetFirstAccessHdl(); > static void CallNextAccessHdl( AccessNotification* pData ); > static BOOL GenerateAccessEvent( ULONG nAccessEvent, > long Data1 = 0L, long Data2 = 0L, long nData3 = 0L ); >}; > >Application* GetpApp(); > >void InitVCL(); >void DeInitVCL(); > >inline void Application::EndYield() >{ > PostUserEvent( Link() ); >} > > >class AppSettings; > > > > > > > >inline BOOL Application::PostAppEvent( const String&, const ApplicationAddress&, > const String&, const String&, BOOL, > const String* ) { return 0; } > ># 85 "../../inc/app.hxx" 2 > > ># 47 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/svtools/smplhint.hxx" 1 >class SfxSimpleHint: public SfxHint >{ >private: > ULONG nId; >public: > static void* CreateType(); static TypeId StaticType(); static BOOL IsOf( TypeId aSameOrSuperType ); virtual TypeId Type() const; virtual BOOL IsA( TypeId aSameOrSuperType ) const; > SfxSimpleHint( ULONG nId ); > ULONG GetId() const { return nId; } >}; > ># 87 "../../inc/app.hxx" 2 ># 98 "../../inc/app.hxx" ># 15 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/svtools/iniman.hxx" 1 ># 5 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/svtools/iniadrtk.hxx" 1 >class String; > >enum AddressToken >{ > ADDRESS_COMPANY, > ADDRESS_STREET, > ADDRESS_COUNTRY, > ADDRESS_PLZ, > ADDRESS_CITY, > ADDRESS_TITLE, > ADDRESS_POSITION, > ADDRESS_TEL_PRIVATE, > ADDRESS_TEL_COMPANY, > ADDRESS_FAX, > ADDRESS_EMAIL, > ADDRESS_STATE, > ADDRESS_FATHERSNAME, > ADDRESS_APARTMENT >}; > >class SfxIniManagerAddressEntry >{ >public: > static String get(const String & rAddress, AddressToken eToken); >}; > ># 15 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/svtools/iniman.hxx" 2 > > > > > > >class Config ; >class Point ; > >class Size ; >class Window ; >class SfxAllEnumItem ; >class SfxIniDefaultManager ; >struct SfxIniManager_Impl ; > ># 70 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/svtools/iniman.hxx" >enum SfxIniGroup > >{ > SFX_GROUP_COMMON , > SFX_GROUP_DIR , > SFX_GROUP_USER , > SFX_GROUP_VIEW , > > SFX_GROUP_PICKLIST_IMPL , > SFX_GROUP_WORKINGSET_IMPL , > SFX_GROUP_GRAPHIC_FILTER_OPTIONS, > > SFX_GROUP_INET , > SFX_GROUP_DATABASE , > SFX_GROUP_SECURITY , > SFX_GROUP_EXTBRW , > SFX_GROUP_3D_ENGINE , > SFX_GROUP_MODULES , > SFX_GROUP_RECENTEXECUTES , > SFX_GROUP_INTERNATIONAL , > SFX_GROUP_JAVA , > SFX_GROUP_DESKTOP , > > SFX_GROUP_UNKNOWN >}; > >typedef sal_uInt16 SfxIniKey; > ># 278 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/svtools/iniman.hxx" >class SfxIniManagerHint : public SfxHint >{ > >public: > > static void* CreateType(); static TypeId StaticType(); static BOOL IsOf( TypeId aSameOrSuperType ); virtual TypeId Type() const; virtual BOOL IsA( TypeId aSameOrSuperType ) const; > > SfxIniManagerHint ( SfxIniKey nKey , > const String& rOldVal , > const String& rNewVal ) > : mnIniKey ( nKey ) > , maOldValue ( rOldVal ) > , maNewValue ( rNewVal ) > { > } > > SfxIniKey GetIniKey() const { return mnIniKey; } > const String GetOldValue() const { return maOldValue; } > const String GetNewValue() const { return maNewValue; } > >private: > > SfxIniKey mnIniKey ; > String maOldValue ; > String maNewValue ; > >}; > >class SfxIniManager : public SfxBroadcaster >{ > >public: > > static SfxIniManager* Get(); > static SfxIniManager* Create( const String* pAppName=0, const String* pVersion=0 ); > static void Close(); > const String& GetName() const; > sal_Bool IsReadOnly() const; > sal_Bool IsValid() const ; > void EnterLock(); > void LeaveLock(); > void ResetLock(); > static char GetToken(); > const String& GetProgramPath() const; > String SubstPathVars( const String &rPath ) const; > String UsePathVars( const String &rPath ) const; > SfxIniManager* GetSubManager() const; > String GetGroupName( SfxIniGroup eGroup ) const; > String GetGroupName( const String &rName, sal_Bool bSysDepen, sal_Bool bAppDepen ) const; > SfxIniManager* Find( SfxIniKey eKey, sal_uInt16 nIdx = 65535 ); > SfxIniManager* Find( SfxIniGroup eKey, const String &rKey, sal_uInt16 nIdx = 65535 ); > String GetKeyName( SfxIniKey eKey ) const; > String Get( SfxIniKey eKey, sal_uInt16 nIdx = 65535 ); > String Get( SfxIniGroup eKey, const String &rKey, sal_uInt16 nIdx = 65535 ); > String Get( const String &rGroup, sal_Bool bSysDepen, sal_Bool bAppDepen, const String &rKey, sal_uInt16 nIdx = 65535 ); > void Set( const String& rContent, SfxIniKey eKey, sal_uInt16 nIdx = 65535 ); > void Set( const String& rContent, SfxIniGroup eKey, const String &rKey, sal_uInt16 nIdx = 65535 ); > void Delete( SfxIniKey eKey, sal_uInt16 nIdx = 65535 ); > void Delete( SfxIniGroup eKey, const String &rKey, sal_uInt16 nIdx = 65535 ); > void DeleteGroup( SfxIniGroup eKey ); > void DeleteGroup( const String& rGroup ); > void DeleteKey( const String& rGroup, const String& rKey ); > String ReadKey( const String& rGroup, const String& rKey ); > void WriteKey( const String& rGroup, const String& rKey, const String& rValue ); > void Flush(); > sal_uInt16 GetKeyCount( const String& rGroup ); > String GetKeyName( const String& rGroup, sal_uInt16 nIndex ); > void Fill(SfxIniGroup eKey, SfxAllEnumItem &rNames, SfxAllEnumItem &rValues); > void Set(SfxIniGroup eKey, const SfxAllEnumItem &rValues); > > static String GetString( const Point &rPt, const Size &rSz ); > static sal_Bool GetPosSize( const String &rStr, Point &rPt, Size &rSz ); > static sal_Bool CheckPLZ( const String& rPLZ, Window* pBoxParent = ((Window*)0xFFFFFFFF) ); > sal_uInt32 GetFeatures(); > String GetUserFullName(); > String GetAddressToken( AddressToken eToken ); > Config* GetDocMgrConfig(); > > sal_Bool IsInternetExplorerAvailable(); > sal_Bool IsJavaEnabled(); > sal_Bool IsAppletsEnabled(); > sal_Bool SearchFile( String& rIniFile, SfxIniKey eDirKey = 51 ); > sal_Bool IsDontHideDisabledEntries(); > >protected: > > > > String ToRel(const String &) const; > SfxIniGroup FindGroup( SfxIniKey eKey ) const; > > > >private: > > SfxIniManager( const String* ); > SfxIniManager( const SfxIniManager& ); > virtual ~SfxIniManager(); > > const SfxIniManager& operator=( const SfxIniManager& ); > > > String Get_Impl( SfxIniGroup eGroup , > const String& rKey , > SfxIniKey eKey , > sal_uInt16 nIdx ); > > >private: > > static SfxIniManager* pIniMgr ; > static const String* pVersionKey ; > SfxIniManager_Impl* pImp ; > SfxIniManager* pSub ; > >}; > >inline SfxIniManager* SfxIniManager::GetSubManager() const >{ > return pSub; >} > >inline char SfxIniManager::GetToken() > >{ > return ','; >} > > > > > > > >enum LDAPToken > >{ > LDAP_DESCRIPTION = 0, > LDAP_SERVER, > LDAP_SEARCHROOT, > LDAP_PORT, > LDAP_MAXHITS >}; > ># 98 "../../inc/app.hxx" 2 ># 114 "../../inc/app.hxx" >enum SfxDBNameConvert {INI2NATIONAL, NATIONAL2INI }; > > > > > >class ISfxTemplateCommon; >class TaskBar; >class BasicManager; >class DdeService; >class GenLink; >class IntroWindow_Impl; >class ModalDialog; >class PrinterDialog; >class SfxHelpPI; >class DropEvent; >class OutputDevice; >class KeyEvent; >class Point; >class Rectangle; >class AppSettings; > >struct SfxChildWinContextFactory; >class SfxAcceleratorManager; >class SfxAppData_Impl; >class SfxApplication; >class SfxBasicTestWin; >class SfxBindings; >class SfxCancelManager; >class SfxChildWinFactArr_Impl; >class SfxChildWindow; >class SfxConfigManager; >class SfxDispatcher; >class SfxEventConfiguration; >class SfxEventHint; >class SfxFileDialog; >class SfxFilter; >class SfxHint; >class SfxImageManager; >class SfxIniManager; >class SfxInterface; >class SfxItemHandle; >class SfxItemSet; >class SfxMacroConfig; >class SfxMedium; >class SfxMenuBarManager; >class SfxMenuCtrlFactArr_Impl; >class SfxNewFileDialog; >class SfxObjectFactory; >class SfxObjectFactoryArr_Impl; >class SfxObjectShell; >class SfxObjectShellArr_Impl; >class SfxOptions; >class SfxProgress; >class SfxResourceManager; >class SfxShellObject; >class SfxSlot; >class SfxSlotPool; >class SfxStatusBarManager; >class SfxStbCtrlFactArr_Impl; >class SfxTabDialog; >class SfxTbxCtrlFactArr_Impl; >class SfxTemplateDialog; >class SfxToolBoxConfig; >class SfxViewFrame; >class SfxViewFrameArr_Impl; >class SfxViewShell; >class SfxViewShellArr_Impl; >class StarBASIC; >class SvData; >class SvPseudoObject; >class HelpPI; >class SfxWorkWindow; >class SfxFilterMatcher; >class SfxFrame; >class Menu; >struct ApplicationType; >class SvUShorts; >class SfxModule; >class SfxModuleArr_Impl; >class ISfxModule; >class SfxObjectShellLock; >class Window; >class Config; >class TaskStatusBar; >class INetURLObject; >class SvStringsDtor; >class OfaMiscCfg; >struct SfxConstant; >struct SfxChildWinFactory; >struct SfxMenuCtrlFactory; >struct SfxStbCtrlFactory; >struct SfxTbxCtrlFactory; >class SfxApplicationWindow; >class SimpleResMgr; > ># 247 "../../inc/app.hxx" >class LoadEnvironment_Impl; >class SfxLoadEnvironment : public SvRefBase >{ > LoadEnvironment_Impl* _pImpl; >public: > SfxLoadEnvironment( LoadEnvironment_Impl* pImpl ); > ~SfxLoadEnvironment(); > void SetDataAvailableLink( const Link& rLink ); > ErrCode DocumentDetected( SfxObjectShell* pObjSh, ErrCode nError ); >}; > > > >class SfxSysChangeHint : public SfxHint >{ > USHORT _nType; > AppSettings& _rAppSettings; >public: > static void* CreateType(); static TypeId StaticType(); static BOOL IsOf( TypeId aSameOrSuperType ); virtual TypeId Type() const; virtual BOOL IsA( TypeId aSameOrSuperType ) const; > SfxSysChangeHint(USHORT nType, const AppSettings &rSet ) > : _nType(nType), _rAppSettings((AppSettings&) rSet) {} > USHORT GetChangeType() const { return _nType; } > const AppSettings& GetAppSettings() const { return _rAppSettings; } >}; ># 280 "../../inc/app.hxx" > > > > >class SfxLinkItem : public SfxPoolItem >{ > Link aLink; >public: > virtual SfxPoolItem* Clone( SfxItemPool *pPool = 0 ) const > { return new SfxLinkItem( *this ); } > virtual int operator==( const SfxPoolItem& rL) const > { return ((SfxLinkItem&)rL).aLink == aLink; } > SfxLinkItem( USHORT nWhich, const Link& rValue ) : SfxPoolItem( nWhich ) > { aLink = rValue; } > const Link& GetValue() const { return aLink; } >}; > >class SfxStringHint: public SfxSimpleHint { String aObj; public: static void* CreateType(); static TypeId StaticType(); static BOOL IsOf( TypeId aSameOrSuperType ); virtual TypeId Type() const; virtual BOOL IsA( TypeId aSameOrSuperType ) const; SfxStringHint( USHORT nId, const String& rObject ); ~SfxStringHint(); const String& GetObject() const { return aObj; } }; > >typedef SfxPoolItem* (*SfxItemCreateFunc)(); > >class SfxItemFactory_Impl; >class SfxItemFactoryList >{ > List aList; >public: > ~SfxItemFactoryList(); > > SfxItemFactory_Impl* GetFactory_Impl( const SvGlobalName& rName ) const; > SfxItemFactory_Impl* GetFactory_Impl( TypeId ) const; > const SvGlobalName* GetGlobalName( const SfxPoolItem* pItem ) const; > SfxPoolItem* Create( > const SvGlobalName& rName, USHORT nId, SvStream* pStrm = 0) const; > void RegisterItemFactory( > const SvGlobalName& rName, SfxItemCreateFunc ); >}; > ># 327 "../../inc/app.hxx" >void RegisterServices(); > >class SfxApplicationClass: public Application >{ >private: > const char* _pLabelPrefix; > >public: > SfxApplicationClass( const char* pAppName = 0 ); > ~SfxApplicationClass(); > > virtual void Main( ); > virtual void AppEvent( const ApplicationEvent& rAppEvent ); > virtual BOOL QueryExit(); > virtual void ActivateExtHelp(); > virtual void DeactivateExtHelp(); > virtual USHORT Exception(USHORT nError); > virtual void ShowStatusText( const String& rText ); > virtual void HideStatusText(); > virtual VclFileDialog* CreateFileDialog( Window* pParent, ULONG nWinBits ); > virtual void FocusChanged(); > virtual void Property( ApplicationProperty& ); >}; > >struct SfxApplication_Impl; >class SfxApplication: public SfxShell ># 370 "../../inc/app.hxx" >{ > static SfxApplication* pApp; > struct SfxApplication_Impl* pImp; > > ULONG _nFeatures; > SfxViewFrame* pViewFrame; > SfxSlotPool* pSlotPool; > SfxResourceManager* pResMgr; > SfxDispatcher* pAppDispat; > > > > SfxMenuBarManager* pMenuMgr; > SfxAcceleratorManager* pAcceleratorMgr; > SfxStatusBarManager* pStatusBarMgr; > SfxConfigManager* pCfgMgr; > SfxIniManager* pAppIniMgr; > SfxImageManager* pImageMgr; > SfxOptions* pOptions; > SfxAppData_Impl* pAppData_Impl; > > USHORT nInterfaces; > SfxInterface** pInterfaces; > > BOOL bDispatcherLocked:1; > BOOL bInInit:1; > BOOL bInExit:1; > BOOL bDowning:1; > BOOL bCreatedExternal : 1; > > > long AutoStart_Impl( void* ); static long LinkStubAutoStart_Impl( void* pThis, void* ); > long OpenClients_Impl( void* ); static long LinkStubOpenClients_Impl( void* pThis, void* ); > long SpecialService_Impl( void* ); static long LinkStubSpecialService_Impl( void* pThis, void* ); > void HandleConfigError_Impl(USHORT nErrId) const; > long AutoSaveHdl_Impl( Timer* ); static long LinkStubAutoSaveHdl_Impl( void* pThis, void* ); > BOOL SaveAll_Impl(BOOL bPrompt = 0, BOOL bAutoSave = 0); > void UpdateAutoSave_Impl(); > short QuerySave_Impl(SfxObjectShell &, BOOL bAutoSave = 0); > void TestFreeResources_Impl(); > ErrCode FileOpenDialog_Impl( > ULONG nFlags, > const SfxObjectFactory &rFact, > SvStringsDtor*& rpURLList, > String& rFilter, > SfxItemSet*& rpItemSet, > BOOL *pConvert = 0 ); > void InitializeDisplayName_Impl(); > > > static SfxApplication* Create(); > >protected: > void SettingsChange( USHORT, const AppSettings & ); > SfxApplicationWindow* CreateAppWindow(); > void OpenClients(); > FASTBOOL IsDemo(); > SfxIniManager* CreateIniManager(); > > virtual void Init(); > virtual void Exit(); > > static void SetApp( SfxApplication *pDerived ); > >public: > static void* CreateType(); static TypeId StaticType(); static BOOL IsOf( TypeId aSameOrSuperType ); virtual TypeId Type() const; virtual BOOL IsA( TypeId aSameOrSuperType ) const; > static SfxInterfaceId nClassId; private: static void InitInterface_Impl(); protected: static SfxInterface* _GetInterfaceImpl(); public: static SfxInterfaceId _GetInterfaceIdImpl() { return SfxInterfaceId(SFX_INTERFACE_SFXAPP); } static const SfxFormalArgument *pSfxFormalArgs_Impl; virtual SfxInterface* GetInterface() const; static void RegisterInterface(SfxModule* pMod=__null); > > SfxApplication(); > ~SfxApplication(); > > virtual void Main( ); > > void PreInit( ); > static SfxApplication* GetOrCreate(); > void Quit(); > void StartUpScreen( const char* ); > void HandleAppEvent( const ApplicationEvent& rAppEvent ); > void FocusChanged(); > > BOOL HasFeature( ULONG nFeature ) const; > void SetFeatures( ULONG nFeatures ) > { > _nFeatures = nFeatures; > } > > ULONG LoadTemplate( SfxObjectShellLock& xDoc, const String& rFileName, > const String &rLongName, BOOL bCopy=1, SfxItemSet* pArgs = 0 ); > ULONG LoadTemplate(SfxObjectShellLock& xDoc, const String& rFileName) > { > String aStr; > return LoadTemplate ( xDoc, rFileName, aStr, 1); > } > > String& GetSaveAsTargetURLHack(); > SfxFilterMatcher& GetFilterMatcher(); > > SfxViewFrame* CreateViewFrame( SfxObjectShell& rDoc, > USHORT nViewId=0, > BOOL bHidden=0 ); > > ULONG DetectFilter( const String &rFileName, > const SfxFilter **pFilter, > USHORT nFilterClass=65535 ); > > virtual void FillStatusBar( StatusBar& ); > > SfxFileDialog* CreateDocFileDialog( ULONG nBits, > const SfxObjectFactory& rFact, > const SfxItemSet* pSet = __null ); > PrinterDialog* CreatePrinterDialog(); > ModalDialog* CreateAboutDialog(); > SfxNewFileDialog* CreateNewDialog(); > > ULONG DetectFilter( SfxMedium& rMedium, > const SfxFilter **pFilter, > USHORT nFilterClass=65535 ); > > SfxMedium* InsertDocumentDialog( ULONG nFlags, const SfxObjectFactory& rFact); > long DdeExecute( const String& rCmd ); > long DdeGetData( const String& rItem, SvData& rData ); > long DdeSetData( const String& rItem, const SvData& rData ); > SvPseudoObject* DdeCreateHotLink( const String& rItem ); > > BOOL InitializeDde(); > const DdeService* GetDdeService() const; > DdeService* GetDdeService(); > void AddDdeTopic( SfxObjectShell* ); > void RemoveDdeTopic( SfxObjectShell* ); > FASTBOOL PostOfficeAppEvent( USHORT nAppId, const String& rEvent, const String& rParam ); > void StoreConfig(); > void LoadConfig(); > BOOL RestoreWorkingSet(); > > FASTBOOL KeyInput( const KeyEvent &rKeyEvent ); > > ISfxTemplateCommon* GetCurrentTemplateCommon(); > ISfxTemplateCommon* GetCurrentTemplateCommon( SfxBindings& ); > > void LockDispatcher( BOOL bLock ); > BOOL IsDispatcherLocked() const > { return bDispatcherLocked; } > > SfxDispatcher& GetDispatcher(); > SfxBindings& GetBindings() const; > > > void SetViewFrame(SfxViewFrame *pViewFrame); > SfxViewFrame* GetViewFrame(); > > SfxSlotPool& GetSlotPool( SfxViewFrame *pFrame=__null ) const; > SfxResourceManager& GetResourceManager() const > { return *pResMgr; } > > BOOL IsInException() const; > > BasicManager* GetBasicManager(); > StarBASIC* GetBasic(); > USHORT SaveBasicManager() const; > void EnterBasicCall(); > FASTBOOL IsInBasicCall() const; > void LeaveBasicCall(); > void RegisterBasicConstants( const char *pPrefix, > const SfxConstant *pConsts, > USHORT nCount ); > SfxCancelManager* GetCancelManager() const; > > void IntroSlide(); > BOOL IsInInit() const { return bInInit; } > BOOL IsInExit() const { return bInExit; } > BOOL IsDowning() const { return bDowning; } > > SfxObjectShell* GetActiveObjectShell() const; > SfxModule* GetActiveModule( SfxViewFrame* pFrame=__null ) const; > Window* GetWindowAtScreenPosPixel( const Point& rPos ) const; > > SfxStatusBarManager* GetStatusBarManager() const; > SfxMenuBarManager* GetMenuBarManager() const; > SfxAcceleratorManager* GetAcceleratorManager() const; > > SfxConfigManager* GetConfigManager() const { return pCfgMgr; } > SfxIniManager* GetIniManager() const; > SfxIniManager* GetAppIniManager() const { return pAppIniMgr; } > SfxImageManager* GetImageManager() const { return pImageMgr; } > SfxMacroConfig* GetMacroConfig() const; > > ResMgr* CreateResManager( const char *pPrefix ); > ResMgr* GetSfxResManager(); > ResMgr* GetLabelResManager() const; > SimpleResMgr* CreateSimpleResManager(); > SimpleResMgr* GetSimpleResManager(); > > void RegisterToolBoxControl( SfxModule*, SfxTbxCtrlFactory*); > void RegisterChildWindow(SfxModule*, SfxChildWinFactory*); > void RegisterChildWindowContext(SfxModule*, USHORT, SfxChildWinContextFactory*); > void RegisterStatusBarControl(SfxModule*, SfxStbCtrlFactory*); > void RegisterMenuControl(SfxModule*, SfxMenuCtrlFactory*); > > const SfxFilter* GetFilter(const SfxObjectFactory &rFact, const String &rFilterName) const; > > SfxProgress* GetProgress() const; > BOOL IsStandalone() const; > BOOL IsSecureURL( const INetURLObject &rURL, const String *pReferer ) const; > BOOL UseExternBrowser() const; > BOOL ShouldUseExternalBrowser( const INetURLObject& rURL ) const; > > SfxTemplateDialog* GetTemplateDialog(); > SfxHelpPI* GetHelpPI(); > const String& GetLastSaveDirectory() const; > > SfxInterface* GetInterfaceByIdImpl( SfxInterfaceId eId ) const > { return pInterfaces[ USHORT(eId) ]; } > void SetInterfaceByIdImpl( SfxInterfaceId eId, SfxInterface* pIF ); > SfxOptions& GetOptions() { return *pOptions; } > const USHORT* GetOptionsRanges() const; > const SfxOptions& GetOptions() const { return *pOptions; } > BOOL GetOptions(SfxItemSet &); > void SetOptions(const SfxItemSet &); > BOOL Drop( DropEvent& rEvt ); > BOOL QueryDrop( DropEvent& rEvt ); > > ResId GetCurrentObjectBar( USHORT nPosId ) const; > ># 604 "../../inc/app.hxx" > void SetDefFocusWindow( Window *pWin ); > void GrabFocus( Window *pAlternate ); > > Window* GetTopWindow() const; > void SetTopWindow(WorkWindow *); > USHORT GetFreeIndex(); > void ReleaseIndex(USHORT i); > > static SfxObjectShellRef DocAlreadyLoaded( const String &rName, > BOOL bSilent, > BOOL bActivate, > BOOL bForbidVisible = 0, > const String* pPostStr = 0); > void RegisterEvent( USHORT nId, const String&); > void NotifyEvent(const SfxEventHint& rEvent, FASTBOOL bSynchron = 1 ); > SfxEventConfiguration* GetEventConfig() const; > > void SaveConfiguration() const; > USHORT GetDemoKind() const; > void SpoilDemoOutput(OutputDevice &, > const Rectangle &) const; > void InsertLateInitHdl(const Link&); > String LocalizeDBName( > SfxDBNameConvert eConvert, > const String& rList, char aDel=';' ) const; > > void SetUserEMailAddress( const String &rEMail ); > > static void StartPresentationMode( WorkWindow* pWindow = __null, > USHORT nFlags = 0 ); > static void EndPresentationMode(); > static BOOL IsPresentationMode( USHORT nFlags = 0 ); > static sal_Bool IsPlugin(); > Config* GetFilterIni(); > SfxFrame* GetTargetFrame( const SfxItemSet* pSet, BOOL& rOwnsFrame ); > OfaMiscCfg* GetMiscConfig(); > USHORT Exception( USHORT nError ); > void StartupScreen( const char* ); > void Deinitialize(); > const SfxObjectFactory& GetDefaultFactory() const; > > > void SetConfigManager_Impl( SfxConfigManager* pNew ) > { pCfgMgr = pNew; } > SfxConfigManager* GetAppConfigManager_Impl() const; > SfxDispatcher* GetAppDispatcher_Impl() > { return pAppDispat; } > SfxDispatcher* GetDispatcher_Impl(); > USHORT ParseCommandLine_Impl(); > UniqueIndex* GetEventHandler_Impl(); > BOOL IsCreatedExternal_Impl() > { return bCreatedExternal; } > long StartWelcomeScreenHdl_Impl( void* ); static long LinkStubStartWelcomeScreenHdl_Impl( void* pThis, void* ); > > SfxAcceleratorManager* GetAppAccel_Impl() const > { return pAcceleratorMgr; } > > SfxObjectShellLock NewDoc_Impl( const String& rFactory, const SfxItemSet* pSet = __null ); > BOOL QueryExit_Impl(); > SfxFrame* GetTargetFrame_Impl( const SfxItemSet* pSet, BOOL& rOwnsFrame ); > > void SetOptions_Impl(const SfxItemSet &); > BOOL InitOfficeAppType_Impl( USHORT nApp, > ApplicationType& rType, > BOOL bEmbedd = 1 ); > BOOL CheckTryBuy_Impl(); > void ForcePendingInitFactories(); > > Timer* GetAutoSaveTimer_Impl(); > void LoadEa_Impl(SfxMedium &, SfxObjectShell &rObj); > > BOOL IsReadOnly_Impl(const String &rFile) const; > FASTBOOL Initialize_Impl(); > > const Accelerator& GetAccelerator_Impl() const; > SfxAppData_Impl* Get_Impl() const { return pAppData_Impl; } > BOOL Drop_Impl( USHORT, DropEvent& rEvt ); > BOOL QueryDrop_Impl( USHORT, DropEvent& rEvt ); > > > SfxTbxCtrlFactArr_Impl& GetTbxCtrlFactories_Impl() const; > SfxStbCtrlFactArr_Impl& GetStbCtrlFactories_Impl() const; > SfxMenuCtrlFactArr_Impl& GetMenuCtrlFactories_Impl() const; > SfxChildWinFactArr_Impl& GetChildWinFactories_Impl() const; > SfxViewFrameArr_Impl& GetViewFrames_Impl() const; > SfxViewShellArr_Impl& GetViewShells_Impl() const; > SfxObjectShellArr_Impl& GetObjectShells_Impl() const; > void SetProgress_Impl(SfxProgress *); > const String& GetLastDir_Impl() const; > void SetLastDir_Impl( const String & ); > const String& GetLastFilter_Impl() const; > void SetLastFilter_Impl( const String & ); > void BuildBasicData_Impl(); > void PlayMacro_Impl( SfxRequest &rReq, > StarBASIC *pBas ); > StarBASIC* GetBasic_Impl() const; > void MiscExec_Impl(SfxRequest &); > void MiscState_Impl(SfxItemSet &); > void MailExec_Impl(SfxRequest &); > void MailState_Impl(SfxItemSet &); > void PropExec_Impl(SfxRequest &); > void PropState_Impl(SfxItemSet &); > void MacroExec_Impl(SfxRequest &); > void MacroState_Impl(SfxItemSet &); > void NewDocExec_Impl(SfxRequest &); > void NewFramesetExec_Impl(SfxRequest &); > void NewDocDirectExec_Impl(SfxRequest &); > void OpenDocExec_Impl(SfxRequest &); > void DocManagerExec_Impl(SfxRequest &); > void INetExecute_Impl(SfxRequest &); > void INetState_Impl(SfxItemSet &); > void ExplorerExec_Impl(SfxRequest & ); > void ExplorerState_Impl(SfxItemSet & ); > > SfxViewFrame* CreateView_Impl( SfxRequest&, > SfxObjectShell *pDoc, > FASTBOOL bForceNewView = 0, > FASTBOOL bHidden = 0 ); > SfxViewFrame* CreateView_Impl( const SfxItemSet* pArgs, > SfxObjectShell *pDoc, > FASTBOOL bForceNewView = 0, > FASTBOOL bHidden = 0 ); > void CreateDocState_Impl(SfxItemSet &); > > void BasicExec_Impl(SfxRequest &); > void BasicState_Impl(SfxItemSet &); > > void ToolboxExec_Impl(SfxRequest &); > void ToolboxState_Impl(SfxItemSet &); > > void EventExec_Impl(SfxRequest &, SfxObjectShell*); > void EventState_Impl(USHORT,SfxItemSet &, SfxObjectShell*); > > void EnterAsynchronCall_Impl(); > FASTBOOL IsInAsynchronCall_Impl() const; > void LeaveAsynchronCall_Impl(); > void Registrations_Impl(); > void InvalidateWinSlots_Impl(); > SvVerbList* GetVerbList_Impl() const; > SfxWorkWindow* GetWorkWindow_Impl(const SfxViewFrame *pFrame=0) const; > long LateInitTimerHdl_Impl( void* ); static long LinkStubLateInitTimerHdl_Impl( void* pThis, void* ); > long LateInitNewMenu_Impl( void* ); static long LinkStubLateInitNewMenu_Impl( void* pThis, void* ); > long LateInitBmkMenu_Impl( void* ); static long LinkStubLateInitBmkMenu_Impl( void* pThis, void* ); > long LateInitWizMenu_Impl( void* ); static long LinkStubLateInitWizMenu_Impl( void* pThis, void* ); > long LateInitOLEReg_Impl( void* ); static long LinkStubLateInitOLEReg_Impl( void* pThis, void* ); > long LateInitCHAOSReg_Impl( void* ); static long LinkStubLateInitCHAOSReg_Impl( void* pThis, void* ); > > SvUShorts* GetDisabledSlotList_Impl(); > ISfxModule* GetISfxModule( SfxViewFrame *pFrame=__null ); > static SfxObjectShellLock CreateObject_Impl( SfxMedium* pMedium, const String& rUrl ); > SfxSlotPool& GetAppSlotPool_Impl() const > { return *pSlotPool; } > static long CookieAlertHdl_Impl( SfxApplication*, void* ); > void BasicLibExec_Impl( SfxRequest& rReq, BasicManager* pMgr ); > >}; > > > >inline SfxApplication* SfxGetpApp() >{ > return SfxApplication::GetOrCreate(); >} > > > > ># 200 "/usr/src/oo/oo_605_src/sfx2/source/doc/docfile.cxx" 2 > ># 69 "../inc/sfxtypes.hxx" 1 > > > ># 6 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/vcl/rcid.h" 1 ># 72 "../inc/sfxtypes.hxx" 2 > > > ># 84 "../inc/sfxtypes.hxx" ># 12 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/vcl/wrkwin.hxx" 1 >namespace com { namespace sun { namespace star { namespace uno { class Any; }}}} >struct SystemParentData; > ># 23 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/vcl/wrkwin.hxx" >class WorkWindow : public SystemWindow >{ >private: > USHORT mnIcon; > USHORT mnPresentationFlags; > BOOL mbPresentationMode:1, > mbPresentationVisible:1, > mbPresentationFull:1, > mbFullScreenMode:1, > mbSysChild:1, > mbDummy1:1, > mbDummy2:1, > mbDummy3:1, > mbDummy4:1, > mbDummy5:1, > mbDummy6:1, > mbDummy7:1; > > > > > > >protected: > WorkWindow( WindowType nType ); > void ImplInit( Window* pParent, WinBits nStyle, SystemParentData* pSystemParentData = __null ); > void ImplLoadRes( const ResId& rResId ); > >public: > WorkWindow( Window* pParent, const ResId& rResId ); > WorkWindow( Window* pParent, WinBits nStyle = ((((WinBits)0x00000020) | ((WinBits)0x00000100)) | ((WinBits)0x00000400)) ); > WorkWindow( Window* pParent, const ::com::sun::star::uno::Any& aSystemWorkWindowToken, WinBits nStyle = ((((WinBits)0x00000020) | ((WinBits)0x00000100)) | ((WinBits)0x00000400)) ); > WorkWindow( SystemParentData* pParent ); > ~WorkWindow(); > > void SetIcon( USHORT nIcon ); > USHORT GetIcon() const { return mnIcon; } > > void SetWindowState( const ByteString& rStr ); > ByteString GetWindowState() const; > > void ShowFullScreenMode( BOOL bFullScreenMode = 1 ); > void EndFullScreenMode() { ShowFullScreenMode( 0 ); } > BOOL IsFullScreenMode() const { return mbFullScreenMode; } > > void StartPresentationMode( BOOL bPresentation = 1, USHORT nFlags = 0 ); > void EndPresentationMode() { StartPresentationMode( 0 ); } > BOOL IsPresentationMode() const { return mbPresentationMode; } > > BOOL IsMinimized() const; > > > void Minimize(); > void Maximize(); > void Restore(); > > BOOL IsMaximized() const; > > void SetOptOutputSizePixel( const Size& ) {} > Size GetOptOutputSizePixel() const { return Size(); } > >}; > ># 84 "../inc/sfxtypes.hxx" 2 > > > > ># 76 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/vos/mutex.hxx" 1 >namespace vos >{ ># 87 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/vos/mutex.hxx" >class IMutex >{ >public: > > > virtual void acquire()= 0; > > > virtual sal_Bool tryToAcquire()= 0; > > > virtual void release()= 0; > >protected: > IMutex() { } > virtual ~IMutex() { } > >}; ># 114 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/vos/mutex.hxx" >class OMutex : public OObject, public IMutex >{ > public: static const vos::VOS_CLASSINIT __ClassInit__; static vos::OClassInfo __ClassInfo__; public: virtual const vos::OClassInfo& getClassInfo() const; static const vos::OClassInfo& classInfo(); > >public: > static IMutex& getGlobalMutex(); > > > OMutex(); > > virtual ~OMutex(); > > > virtual void acquire(); > > > > > virtual sal_Bool tryToAcquire(); > > > virtual void release(); > >protected: > oslMutex m_Impl; > >private: > > OMutex(const OMutex&); > OMutex& operator= (const OMutex&); >}; ># 154 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/vos/mutex.hxx" >class OGuard >{ >public: > > > OGuard(IMutex* pMutex) > : m_rMutex( *pMutex ) > { > m_rMutex.acquire(); > } > OGuard(IMutex & rMutex) > : m_rMutex( rMutex ) > { > m_rMutex.acquire(); > } > > > virtual ~OGuard() > { > m_rMutex.release(); > } > >protected: > IMutex& m_rMutex; >}; > > > > > > >class OClearableGuard >{ >public: > > > OClearableGuard(IMutex & rMutex) > : m_pMutex( &rMutex ) > { > m_pMutex->acquire(); > } > > > virtual ~OClearableGuard() > { > if( m_pMutex ) > m_pMutex->release(); > } > > > void clear() > { > if( m_pMutex ) > { > m_pMutex->release(); > m_pMutex = __null; > } > } >protected: > IMutex* m_pMutex; >}; > > > >} ># 88 "../inc/sfxtypes.hxx" 2 ># 102 "../inc/sfxtypes.hxx" >class SfxShell; >class Timer; > ># 158 "../inc/sfxtypes.hxx" >String SfxShellIdent_Impl( const SfxShell *pSh ); > > > ># 188 "../inc/sfxtypes.hxx" >String SearchAndReplace( const String &rSource, > const String &rToReplace, > const String &rReplacement ); > > >String SfxStringEncode( const String &rSource, > const char *pKey = "_:;*š?()/&[&" ); >String SfxStringDecode( const String &rSource, > const char *pKey = "_:;*š?()/&[&" ); > > >class vos::OMutex; >class AsynchronLink >{ > Link _aLink; > ULONG _nEventId; > Timer* _pTimer; > BOOL _bInCall; > BOOL* _pDeleted; > void* _pArg; > vos::OMutex* _pMutex; > > static long HandleCall( AsynchronLink*, void* ); > void Call_Impl( void* pArg ); >public: > AsynchronLink( const Link& rLink ) : > _pTimer( 0 ), _aLink( rLink ), _nEventId( 0 ), _bInCall( 0 ), > _pDeleted( 0 ), _pMutex( 0 ){} > AsynchronLink() : _nEventId( 0 ), _pTimer( 0 ), _bInCall( 0 ), > _pDeleted( 0 ), _pMutex( 0 ){} > ~AsynchronLink(); > > void CreateMutex(); > void operator=( const Link& rLink ) { _aLink = rLink; } > void Call( void* pObj, BOOL bAllowDoubles = 0, > BOOL bUseTimer = 0 ); > void ForcePendingCall( ); > void ClearPendingCall( ); > BOOL IsSet() const { return _aLink.IsSet(); } > Link GetLink() const { return _aLink; } >}; > > >struct StringList_Impl : private Resource >{ > > ResId aResId; > > StringList_Impl( const ResId& rErrIdP, USHORT nId) > : Resource( rErrIdP ),aResId(nId){} > ~StringList_Impl() { FreeResource(); } > > String GetString(){ return String( aResId ); } > operator BOOL(){return IsAvailableRes(aResId.SetRT((0x100 + 0x11)));} > >}; > > > > > > > > >class SfxBoolResetter >{ > BOOL& _rVar; > BOOL _bOld; > >public: > SfxBoolResetter( BOOL &rVar ) > : _rVar( rVar ), > _bOld( rVar ) > {} > > ~SfxBoolResetter() > { _rVar = _bOld; } >}; > ># 201 "/usr/src/oo/oo_605_src/sfx2/source/doc/docfile.cxx" 2 > > ># 121 "../../inc/docfile.hxx" 1 ># 6 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/lang/XServiceInfo.hpp" 1 ># 33 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/lang/XServiceInfo.hdl" 1 >namespace com >{ >namespace sun >{ >namespace star >{ >namespace lang >{ > >class XServiceInfo : public ::com::sun::star::uno::XInterface >{ >public: > > > virtual ::rtl::OUString getImplementationName( ) throw(::com::sun::star::uno::RuntimeException) = 0; > virtual sal_Bool supportsService( const ::rtl::OUString& ServiceName ) throw(::com::sun::star::uno::RuntimeException) = 0; > virtual ::com::sun::star::uno::Sequence< ::rtl::OUString > getSupportedServiceNames( ) throw(::com::sun::star::uno::RuntimeException) = 0; >}; > >} >} >} >} > >namespace com { namespace sun { namespace star { namespace uno { >class Type; >} } } } > >inline const ::com::sun::star::uno::Type& getCppuType( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XServiceInfo >* ); > ># 6 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/lang/XServiceInfo.hpp" 2 ># 36 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/lang/XServiceInfo.hpp" >inline const ::com::sun::star::uno::Type& getCppuType( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XServiceInfo >* ) >{ > > static typelib_TypeDescriptionReference * s_pType_com_sun_star_lang_XServiceInfo = 0; > > > if ( !s_pType_com_sun_star_lang_XServiceInfo ) > { > typelib_static_interface_type_init( &s_pType_com_sun_star_lang_XServiceInfo, "com.sun.star.lang.XServiceInfo", 0 ); > } > return * reinterpret_cast< ::com::sun::star::uno::Type * >( &s_pType_com_sun_star_lang_XServiceInfo ); >} > ># 121 "../../inc/docfile.hxx" 2 > > > > > >struct SvProgressArg; >class SvKeyValueIterator; >class SfxDocumentInfo; >class SfxObjectFactory; >class SfxFilter; >class SfxMedium_Impl; >class INetURLObject; >class INetRequest; >class INetHint; >class INetConnection; >class INetSession; >class SfxObjectShell; >class FileStat; >class SfxFrame; >class LoadEnvironment_Impl; >class Timer; >class SfxItemSet; > > > >class DateTime; >class SvStringsDtor; >class SvEaMgr; > ># 163 "../../inc/docfile.hxx" >class StringList : private List { public: List::Clear; List::Count; List::GetCurPos; StringList( USHORT _nInitSize = 16, USHORT _nReSize = 16 ) : List( _nInitSize, _nReSize ) {} StringList( USHORT _nBlockSize, USHORT _nInitSize, USHORT _nReSize ) : List( _nBlockSize, _nInitSize, _nReSize ) {} StringList( const StringList& rClassName ) : List( rClassName ) {} void Insert( String* p, ULONG nIndex ) { List::Insert( (void*)p, nIndex ); } void Insert( String* p ) { List::Insert( (void*)p ); } void Insert( String* pNew, String* pOld ) { List::Insert( (void*)pNew, (void*)pOld ); } String* Remove() { return (String*)List::Remove(); } String* Remove( ULONG nIndex ) { return (String*)List::Remove( nIndex ); } String* Remove( String* p ) { return (String*)List::Remove( (void*)p ); } String* Replace( String* p ) { return (String*)List::Replace( (void*)p ); } String* Replace( String* p, ULONG nIndex ) { return (String*)List::Replace( (void*)p, nIndex ); } String* Replace( String* pNew, String* pOld ) { return (String*)List::Replace( (void*)pNew, (void*)pOld ); } String* GetCurObject() const { return (String*)List::GetCurObject(); } String* GetObject( ULONG nIndex ) const { return (String*)List::GetObject( nIndex ); } ULONG GetPos( const String* p ) const { return List::GetPos( (const void*)p ); } ULONG GetPos( const String* p, ULONG nStartIndex, BOOL bForward = 1 ) const { return List::GetPos( (const void*)p, nStartIndex, bForward ); } String* Seek( ULONG nIndex ) { return (String*)List::Seek( nIndex ); } String* Seek( void* p ) { return (String*)List::Seek( p ); } String* First() { return (String*)List::First(); } String* Last() { return (String*)List::Last(); } String* Next() { return (String*)List::Next(); } String* Prev() { return (String*)List::Prev(); } StringList& operator =( const StringList& rClassName ) { List::operator =( rClassName ); return *this; } BOOL operator ==( const StringList& rList ) const { return List::operator ==( rList ); } BOOL operator !=( const StringList& rList ) const { return List::operator !=( rList ); } };; > > > > > ># 7 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/so3/inetbnd.hxx" 1 ># 11 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/so3/transbnd.hxx" 1 ># 17 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/tools/datetime.hxx" 1 >class DateTime : public Date, public Time >{ >public: > DateTime() : Date(), Time() {} > DateTime( const DateTime& rDateTime ) : > Date( rDateTime ), Time( rDateTime ) {} > DateTime( const Date& rDate ) : Date( rDate ), Time(0) {} > DateTime( const Time& rTime ) : Date(0), Time( rTime ) {} > DateTime( const Date& rDate, const Time& rTime ) : > Date( rDate ), Time( rTime ) {} > > BOOL IsBetween( const DateTime& rFrom, > const DateTime& rTo ) const; > > BOOL operator ==( const DateTime& rDateTime ) const > { return (Date::operator==( rDateTime ) && > Time::operator==( rDateTime )); } > BOOL operator !=( const DateTime& rDateTime ) const > { return (Date::operator!=( rDateTime ) || > Time::operator!=( rDateTime )); } > BOOL operator >( const DateTime& rDateTime ) const; > BOOL operator <( const DateTime& rDateTime ) const; > BOOL operator >=( const DateTime& rDateTime ) const; > BOOL operator <=( const DateTime& rDateTime ) const; > > ULONG GetSecFromDateTime( const Date& rDate ) const; > void MakeDateTimeFromSec( const Date& rDate, ULONG nSec ); > > void ConvertToUTC() { *this -= Time::GetUTCOffset(); } > void ConvertToLocalTime() { *this += Time::GetUTCOffset(); } > > DateTime& operator +=( long nDays ) > { Date::operator+=( nDays ); return *this; } > DateTime& operator -=( long nDays ) > { Date::operator-=( nDays ); return *this; } > DateTime& operator +=( const Time& rTime ); > DateTime& operator -=( const Time& rTime ); > > friend DateTime operator +( const DateTime& rDateTime, long nDays ); > friend DateTime operator -( const DateTime& rDateTime, long nDays ); > friend DateTime operator +( const DateTime& rDateTime, const Time& rTime ); > friend DateTime operator -( const DateTime& rDateTime, const Time& rTime ); > > DateTime& operator =( const DateTime& rDateTime ); >}; > >inline DateTime& DateTime::operator =( const DateTime& rDateTime ) >{ > Date::operator=( rDateTime ); > Time::operator=( rDateTime ); > return *this; >} > ># 11 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/so3/transbnd.hxx" 2 ># 39 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/so3/transbnd.hxx" ># 11 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/so3/binding.hxx" 1 >typedef ULONG SvBindStatus; > >typedef ULONG SvStatusCallbackType; > > > > > > >typedef ULONG SvBindMode; > > > > > >enum SvBindAction >{ > BINDACTION_GET = 0, > BINDACTION_POST = 0x1, > BINDACTION_PUT = 0x2, > BINDACTION_CUSTOM = 0x3 >}; > ># 39 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/so3/transbnd.hxx" 2 > > > > ># 25 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/so3/transprt.hxx" 1 >class SvBindingTransport; >class SvBindingTransportFactory; >class SvBindingTransportCallback; >class SvBindingTransportContext; > > > > > >class SvBindingTransport >{ > > SvBindingTransport (const SvBindingTransport&); SvBindingTransport& operator= (const SvBindingTransport&); > >public: > SvBindingTransport (void); > virtual ~SvBindingTransport (void); > > virtual void Start (void) = 0; > virtual void Abort (void) = 0; > > static BOOL HasTransport ( > const String &rUrl); > > static SvBindingTransport* CreateTransport ( > const String &rUrl, > SvBindingTransportContext &rCtx, > SvBindingTransportCallback *pCallback); >}; > >class SvBindingTransportFactory >{ > > SvBindingTransportFactory (const SvBindingTransportFactory&); SvBindingTransportFactory& operator= (const SvBindingTransportFactory&); > >public: > SvBindingTransportFactory (void); > virtual ~SvBindingTransportFactory (void); > > virtual BOOL HasTransport ( > const String &rUrl) = 0; > > virtual SvBindingTransport* CreateTransport ( > const String &rUrl, > SvBindingTransportContext &rCtx, > SvBindingTransportCallback *pCallback) = 0; >}; > >class DateTime; >class SvBindingTransportCallback >{ >public: > virtual void OnStart (void) = 0; > > virtual void OnError (ErrCode eErrCode) = 0; > > virtual void OnMimeAvailable (const String &rMime) = 0; > > virtual void OnExpiresAvailable (const DateTime &rExpires) = 0; > > virtual void OnHeaderAvailable ( > const String &rName, const String &rValue) = 0; > > virtual void OnDataAvailable ( > SvStatusCallbackType eType, > ULONG nSize, SvLockBytes *pLockBytes) = 0; > > virtual void OnProgress ( > ULONG nNow, ULONG nEnd, SvBindStatus eStatus) = 0; > > virtual void OnRedirect (const String &rUrl) = 0; >}; > >class SvBindingTransportContext >{ > > SvBindAction m_eBindAction; > SvBindMode m_eBindMode; > StreamMode m_eStrmMode; > USHORT m_nPriority; > String m_aReferer; > String m_aSendMimeType; > SvLockBytesRef m_xPostLockBytes; > >public: > SvBindingTransportContext (void); > virtual ~SvBindingTransportContext (void); > > > SvBindAction GetBindAction (void) const { return m_eBindAction; } > void SetBindAction (SvBindAction eAction) { m_eBindAction = eAction; } > > > SvBindMode GetBindMode (void) const { return m_eBindMode; } > void SetBindMode (SvBindMode eMode) { m_eBindMode = eMode; } > > > StreamMode GetStreamMode (void) const { return m_eStrmMode; } > void SetStreamMode (StreamMode eMode) { m_eStrmMode = eMode; } > > > USHORT GetPriority (void) const { return m_nPriority; } > void SetPriority (USHORT nPriority) { m_nPriority = nPriority; } > > > const String& GetReferer (void) const { return m_aReferer; } > void SetReferer (const String &rReferer) { m_aReferer = rReferer; } > > > const String& GetSendMimeType (void) const > { > return m_aSendMimeType; > } > void SetSendMimeType (const String &rSendMimeType) > { > m_aSendMimeType = rSendMimeType; > } > > > SvLockBytes* GetPostLockBytes (void) const > { > return m_xPostLockBytes; > } > void SetPostLockBytes (SvLockBytesRef &rxPostLockBytes) > { > m_xPostLockBytes = rxPostLockBytes; > } >}; > >class SvLockBytesFactory >{ > > String m_aWildcard; > > > SvLockBytesFactory (const SvLockBytesFactory&); SvLockBytesFactory& operator= (const SvLockBytesFactory&); > >public: > SvLockBytesFactory (const String & rWildcard); > virtual ~SvLockBytesFactory (void); > > virtual SvLockBytesRef CreateLockBytes ( > const String &rUrl, String &rMime) = 0; > > static SvLockBytesFactory* GetFactory (const String &rUrl); > > const String& GetWildcard (void) const { return m_aWildcard; } >}; > >class SfxSimpleLockBytesFactory : > public SvLockBytesFactory, public SvRefBase >{ > > SvLockBytesRef m_xLockBytes; > String m_aMime; > > static USHORT m_nCounter; > > > SfxSimpleLockBytesFactory (const SfxSimpleLockBytesFactory&); SfxSimpleLockBytesFactory& operator= (const SfxSimpleLockBytesFactory&); > >public: > > virtual ~SfxSimpleLockBytesFactory (void); > >public: > SfxSimpleLockBytesFactory ( > SvLockBytes *pLockBytes, > const String &rUrl, > const String &rMime); > > SfxSimpleLockBytesFactory ( > SvLockBytes *pLockBytes, > const String &rMime); > > static String TempURL (const String &rExtension); > > virtual SvLockBytesRef CreateLockBytes ( > const String &rUrl, String &rMime); >}; > >class SfxSimpleLockBytesFactory; class SfxSimpleLockBytesFactoryRef { protected: SfxSimpleLockBytesFactory * pObj; public: inline SfxSimpleLockBytesFactoryRef() { pObj = 0; } inline SfxSimpleLockBytesFactoryRef( const SfxSimpleLockBytesFactoryRef & rObj ); inline SfxSimpleLockBytesFactoryRef( SfxSimpleLockBytesFactory * pObjP ); inline void Clear(); inline ~SfxSimpleLockBytesFactoryRef(); inline SfxSimpleLockBytesFactoryRef & operator = ( const SfxSimpleLockBytesFactoryRef & rObj ); inline SfxSimpleLockBytesFactoryRef & operator = ( SfxSimpleLockBytesFactory * pObj ); inline BOOL Is() const { return pObj != __null; } inline SfxSimpleLockBytesFactory * operator & () const { return pObj; } inline SfxSimpleLockBytesFactory * operator -> () const { return pObj; } inline SfxSimpleLockBytesFactory & operator * () const { return *pObj; } inline operator SfxSimpleLockBytesFactory * () const { return pObj; } }; inline SfxSimpleLockBytesFactoryRef::SfxSimpleLockBytesFactoryRef( const SfxSimpleLockBytesFactoryRef & rObj ) { pObj = rObj.pObj; if( pObj ) { pObj->AddNextRef(); } } inline SfxSimpleLockBytesFactoryRef::SfxSimpleLockBytesFactoryRef( SfxSimpleLockBytesFactory * pObjP ) { pObj = pObjP; if( pObj ) { pObj->AddRef(); } } inline void SfxSimpleLockBytesFactoryRef::Clear() { if( pObj ) { SfxSimpleLockBytesFactory* const pRefObj = pObj; pObj = 0; pRefObj->ReleaseReference(); } } inline SfxSimpleLockBytesFactoryRef::~SfxSimpleLockBytesFactoryRef() { if( pObj ) { pObj->ReleaseReference(); } } inline SfxSimpleLockBytesFactoryRef & SfxSimpleLockBytesFactoryRef:: operator = ( const SfxSimpleLockBytesFactoryRef & rObj ) { if( rObj.pObj ) rObj.pObj->AddNextRef(); SfxSimpleLockBytesFactory* const pRefObj = pObj; pObj = rObj.pObj; if( pRefObj ) { pRefObj->ReleaseReference(); } return *this; } inline SfxSimpleLockBytesFactoryRef & SfxSimpleLockBytesFactoryRef::operator = ( SfxSimpleLockBytesFactory * pObjP ) { return *this = SfxSimpleLockBytesFactoryRef( pObjP ); }; > >class SvLockBytesTransportFactory : public SvBindingTransportFactory >{ > > SvLockBytesTransportFactory (const SvLockBytesTransportFactory&); SvLockBytesTransportFactory& operator= (const SvLockBytesTransportFactory&); > >public: > SvLockBytesTransportFactory (void); > virtual ~SvLockBytesTransportFactory (void); > > virtual BOOL HasTransport ( > const String &rUrl); > > virtual SvBindingTransport* CreateTransport ( > const String &rUrl, > SvBindingTransportContext &rCtx, > SvBindingTransportCallback *pCB); >}; > >class CntTransportFactory : public SvBindingTransportFactory >{ > > CntTransportFactory (const CntTransportFactory&); CntTransportFactory& operator= (const CntTransportFactory&); > >public: > CntTransportFactory (void); > virtual ~CntTransportFactory (void); > > virtual BOOL HasTransport ( > const String &rUrl); > > virtual SvBindingTransport* CreateTransport ( > const String &rUrl, > SvBindingTransportContext &rCtx, > SvBindingTransportCallback *pCB); >}; > ># 43 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/so3/transbnd.hxx" 2 > > >class SfxCancelManager; >class SfxCancellable; > >class SvBindStatusCallback; >class SvBindStatusCallback; class SvBindStatusCallbackRef { protected: SvBindStatusCallback * pObj; public: inline SvBindStatusCallbackRef() { pObj = 0; } inline SvBindStatusCallbackRef( const SvBindStatusCallbackRef & rObj ); inline SvBindStatusCallbackRef( SvBindStatusCallback * pObjP ); inline void Clear(); inline ~SvBindStatusCallbackRef(); inline SvBindStatusCallbackRef & operator = ( const SvBindStatusCallbackRef & rObj ); inline SvBindStatusCallbackRef & operator = ( SvBindStatusCallback * pObj ); inline BOOL Is() const { return pObj != __null; } inline SvBindStatusCallback * operator & () const { return pObj; } inline SvBindStatusCallback * operator -> () const { return pObj; } inline SvBindStatusCallback & operator * () const { return *pObj; } inline operator SvBindStatusCallback * () const { return pObj; } };; > >class SvKeyValueIterator; >class SvKeyValueIterator; class SvKeyValueIteratorRef { protected: SvKeyValueIterator * pObj; public: inline SvKeyValueIteratorRef() { pObj = 0; } inline SvKeyValueIteratorRef( const SvKeyValueIteratorRef & rObj ); inline SvKeyValueIteratorRef( SvKeyValueIterator * pObjP ); inline void Clear(); inline ~SvKeyValueIteratorRef(); inline SvKeyValueIteratorRef & operator = ( const SvKeyValueIteratorRef & rObj ); inline SvKeyValueIteratorRef & operator = ( SvKeyValueIterator * pObj ); inline BOOL Is() const { return pObj != __null; } inline SvKeyValueIterator * operator & () const { return pObj; } inline SvKeyValueIterator * operator -> () const { return pObj; } inline SvKeyValueIterator & operator * () const { return *pObj; } inline operator SvKeyValueIterator * () const { return pObj; } };; > > > > > >class SvBinding : public SvBindingTransportCallback, public SvRefBase >{ > > INetURLObject m_aUrlObj; > SvBindStatusCallbackRef m_xCallback; > > SvBindingTransportContext m_aBindCtx; > SvBindingTransport *m_pTransport; > SfxCancellable *m_pCancelable; > > ErrCode m_eErrCode; > String m_aMime; > DateTime m_aExpires; > SvKeyValueIteratorRef m_xHeadIter; > SvLockBytesRef m_xLockBytes; > > BOOL m_bStarted : 1; > BOOL m_bComplete : 1; > BOOL m_bErrorDoc : 1; > BOOL m_bMimeAvail : 1; > > > void StartTransport (void); > > > virtual void OnStart (void); > > virtual void OnError ( > ErrCode eErrCode); > > virtual void OnMimeAvailable ( > const String &rMime); > > virtual void OnExpiresAvailable ( > const DateTime &rExpires); > > virtual void OnHeaderAvailable ( > const String &rName, const String &rValue); > > virtual void OnDataAvailable ( > SvStatusCallbackType eType, > ULONG nSize, > SvLockBytes *pLockBytes); > > virtual void OnProgress ( > ULONG nNow, ULONG nEnd, SvBindStatus eStatus); > > virtual void OnRedirect ( > const String &rUrl); > > > SvBinding (const SvBinding&); SvBinding& operator= (const SvBinding&); > >protected: > > virtual ~SvBinding (void); > >public: > > SvBinding ( > const String &rUrl, > SvBindMode eBindMode, > StreamMode eStrmMode, > SvBindStatusCallback *pCallback); > > > SvBindStatusCallback* GetCallback (void) const > { > return m_xCallback; > } > > > SvBindingTransportContext & GetBindContext (void) > { > return m_aBindCtx; > } > > > ErrCode GetErrorCode (void) const { return m_eErrCode; } > BOOL IsComplete (void) const { return m_bComplete; } > BOOL IsErrorOutput (void) const { return m_bErrorDoc; } > > > void SetCancelManager (SfxCancelManager *pMgr); > > void Abort (void); > void Suspend (void); > void Resume (void); > > > ErrCode GetMimeType (String &rMime); > > ErrCode GetStream (SvStream *&rpStrm); > ErrCode PutStream (SvStream *pStrm); > > ErrCode GetLockBytes (SvLockBytesRef &rxLockBytes); > ErrCode PutLockBytes (SvLockBytesRef &rxLockBytes); > > > String GetRedirectedURL (void) const > { > return m_aUrlObj.GetMainURL(); > } > > > const DateTime& GetExpireDateTime (void) const > { > return m_aExpires; > } > > > String GetCookie (void) const; > void SetCookie (const String &rCookieField); > > > SvKeyValueIteratorRef GetHeaders (void) const; > void SetHeaders (SvKeyValueIteratorRef &rxHeadIter); > > > USHORT GetPriority (void) const > { > return m_aBindCtx.GetPriority(); > } > void SetPriority (USHORT nPriority) > { > m_aBindCtx.SetPriority (nPriority); > } > > > const String& GetReferer (void) const > { > return m_aBindCtx.GetReferer(); > } > void SetReferer (const String &rReferer) > { > m_aBindCtx.SetReferer (rReferer); > } > > > const String& GetSendMimeType (void) const > { > return m_aBindCtx.GetSendMimeType(); > } > void SetSendMimeType (const String &rMime) > { > m_aBindCtx.SetSendMimeType (rMime); > } > > > static BOOL ShouldUseFtpProxy (const String &rUrl); >}; > >class SvBinding; class SvBindingRef { protected: SvBinding * pObj; public: inline SvBindingRef() { pObj = 0; } inline SvBindingRef( const SvBindingRef & rObj ); inline SvBindingRef( SvBinding * pObjP ); inline void Clear(); inline ~SvBindingRef(); inline SvBindingRef & operator = ( const SvBindingRef & rObj ); inline SvBindingRef & operator = ( SvBinding * pObj ); inline BOOL Is() const { return pObj != __null; } inline SvBinding * operator & () const { return pObj; } inline SvBinding * operator -> () const { return pObj; } inline SvBinding & operator * () const { return *pObj; } inline operator SvBinding * () const { return pObj; } }; inline SvBindingRef::SvBindingRef( const SvBindingRef & rObj ) { pObj = rObj.pObj; if( pObj ) { pObj->AddNextRef(); } } inline SvBindingRef::SvBindingRef( SvBinding * pObjP ) { pObj = pObjP; if( pObj ) { pObj->AddRef(); } } inline void SvBindingRef::Clear() { if( pObj ) { SvBinding* const pRefObj = pObj; pObj = 0; pRefObj->ReleaseReference(); } } inline SvBindingRef::~SvBindingRef() { if( pObj ) { pObj->ReleaseReference(); } } inline SvBindingRef & SvBindingRef:: operator = ( const SvBindingRef & rObj ) { if( rObj.pObj ) rObj.pObj->AddNextRef(); SvBinding* const pRefObj = pObj; pObj = rObj.pObj; if( pRefObj ) { pRefObj->ReleaseReference(); } return *this; } inline SvBindingRef & SvBindingRef::operator = ( SvBinding * pObjP ) { return *this = SvBindingRef( pObjP ); }; > >struct SvProgressArg >{ > ULONG nProgress; > ULONG nMax; > SvBindStatus eStatus; > const String &rStatus; > float nRate; > > SvProgressArg (const String& rStatusText) : rStatus (rStatusText) {} >}; > >class SvBindStatusCallback : public SvRefBase >{ > > static Link m_aProgressCallback; > > Link m_aDoneLink; > Link m_aDataLink; > Link m_aReloadLink; > Link m_aPartLink; > > ULONG m_nStartTicks; > > BOOL m_bInAvailableCall : 1; > BOOL m_bDonePending : 1; > BOOL m_bDataPending : 1; > BOOL m_bReloadPending : 1; > BOOL m_bPartPending : 1; > >public: > SvBindStatusCallback (void); > virtual ~SvBindStatusCallback (void); > > static void SetProgressCallback (const Link &rLink); > void InitStartTime (void); > > const Link& GetDoneLink (void) const { return m_aDoneLink; } > void SetDoneLink (const Link &rLink) { m_aDoneLink = rLink; } > > const Link& GetDataAvailableLink (void) const { return m_aDataLink; } > void SetDataAvailableLink (const Link &rLink) { m_aDataLink = rLink; } > > const Link& GetReloadAvailableLink (void) const { return m_aReloadLink; } > void SetReloadAvailableLink (const Link &rLink) { m_aReloadLink = rLink; } > > const Link& GetNewPartAvailableLink (void) const { return m_aPartLink; } > void SetNewPartAvailableLink (const Link &rLink) { m_aPartLink = rLink; } > > virtual void OnDataAvailable ( > SvStatusCallbackType eType, ULONG, SvLockBytes&); > > virtual void OnDataAvailable ( > SvStatusCallbackType eType, ULONG, SvStream&); > > virtual void OnProgress ( > ULONG nProgress, ULONG nMax, > SvBindStatus eStatus, const String &rStatusText); > > virtual void OnStopBinding ( > ErrCode eErrCode, const String &rStatusText); >}; > >inline SvBindStatusCallbackRef::SvBindStatusCallbackRef( const SvBindStatusCallbackRef & rObj ) { pObj = rObj.pObj; if( pObj ) { pObj->AddNextRef(); } } inline SvBindStatusCallbackRef::SvBindStatusCallbackRef( SvBindStatusCallback * pObjP ) { pObj = pObjP; if( pObj ) { pObj->AddRef(); } } inline void SvBindStatusCallbackRef::Clear() { if( pObj ) { SvBindStatusCallback* const pRefObj = pObj; pObj = 0; pRefObj->ReleaseReference(); } } inline SvBindStatusCallbackRef::~SvBindStatusCallbackRef() { if( pObj ) { pObj->ReleaseReference(); } } inline SvBindStatusCallbackRef & SvBindStatusCallbackRef:: operator = ( const SvBindStatusCallbackRef & rObj ) { if( rObj.pObj ) rObj.pObj->AddNextRef(); SvBindStatusCallback* const pRefObj = pObj; pObj = rObj.pObj; if( pRefObj ) { pRefObj->ReleaseReference(); } return *this; } inline SvBindStatusCallbackRef & SvBindStatusCallbackRef::operator = ( SvBindStatusCallback * pObjP ) { return *this = SvBindStatusCallbackRef( pObjP ); }; > >class SvKeyValue >{ > > String m_aKey; > String m_aValue; > >public: > > SvKeyValue (void) > {} > > SvKeyValue (const String &rKey, const String &rValue) > : m_aKey (rKey), m_aValue (rValue) > {} > > SvKeyValue (const SvKeyValue &rOther) > : m_aKey (rOther.m_aKey), m_aValue (rOther.m_aValue) > {} > > > SvKeyValue& operator= (SvKeyValue &rOther) > { > m_aKey = rOther.m_aKey; > m_aValue = rOther.m_aValue; > return *this; > } > > > const String& GetKey (void) const { return m_aKey; } > const String& GetValue (void) const { return m_aValue; } > > void SetKey (const String &rKey ) { m_aKey = rKey; } > void SetValue (const String &rValue) { m_aValue = rValue; } >}; > >class SvKeyValueList_Impl; >class SvKeyValueIterator : public SvRefBase >{ > > SvKeyValueList_Impl* m_pList; > USHORT m_nPos; > > > SvKeyValueIterator (const SvKeyValueIterator&); SvKeyValueIterator& operator= (const SvKeyValueIterator&); > >public: > > SvKeyValueIterator (void); > virtual ~SvKeyValueIterator (void); > > > virtual BOOL GetFirst (SvKeyValue &rKeyVal); > virtual BOOL GetNext (SvKeyValue &rKeyVal); > virtual void Append (const SvKeyValue &rKeyVal); >}; > >inline SvKeyValueIteratorRef::SvKeyValueIteratorRef( const SvKeyValueIteratorRef & rObj ) { pObj = rObj.pObj; if( pObj ) { pObj->AddNextRef(); } } inline SvKeyValueIteratorRef::SvKeyValueIteratorRef( SvKeyValueIterator * pObjP ) { pObj = pObjP; if( pObj ) { pObj->AddRef(); } } inline void SvKeyValueIteratorRef::Clear() { if( pObj ) { SvKeyValueIterator* const pRefObj = pObj; pObj = 0; pRefObj->ReleaseReference(); } } inline SvKeyValueIteratorRef::~SvKeyValueIteratorRef() { if( pObj ) { pObj->ReleaseReference(); } } inline SvKeyValueIteratorRef & SvKeyValueIteratorRef:: operator = ( const SvKeyValueIteratorRef & rObj ) { if( rObj.pObj ) rObj.pObj->AddNextRef(); SvKeyValueIterator* const pRefObj = pObj; pObj = rObj.pObj; if( pRefObj ) { pRefObj->ReleaseReference(); } return *this; } inline SvKeyValueIteratorRef & SvKeyValueIteratorRef::operator = ( SvKeyValueIterator * pObjP ) { return *this = SvKeyValueIteratorRef( pObjP ); }; > >class SvRemoteStream : public SvStream >{ > SvBindingRef m_xBinding; > String m_aUrl; > StreamMode m_eMode; > >public: > SvRemoteStream (const String &rUrl, StreamMode eMode); > virtual ~SvRemoteStream (void); > > void SetDataAvailableLink (const Link &rLink); > void SetDoneLink (const Link &rLink); > > ErrCode Commit (void); >}; > ># 7 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/so3/inetbnd.hxx" 2 ># 169 "../../inc/docfile.hxx" 2 > ># 29 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/svtools/cancel.hxx" 1 >class SfxCancellable; > > ># 41 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/svtools/cancel.hxx" >typedef SvPtrarr SfxCancellables_Impl; > > > >class SfxCancelManager: public SfxBroadcaster >, public SvWeakBase > >{ > SfxCancelManager* _pParent; > SfxCancellables_Impl _aJobs; > >public: > SfxCancelManager( SfxCancelManager *pParent = 0 ); > ~SfxCancelManager(); > > BOOL CanCancel() const; > void Cancel( BOOL bDeep ); > SfxCancelManager* GetParent() const { return _pParent; } > > void InsertCancellable( SfxCancellable *pJob ); > void RemoveCancellable( SfxCancellable *pJob ); > USHORT GetCancellableCount() const > { return _aJobs.Count(); } > SfxCancellable* GetCancellable( USHORT nPos ) const > { return (SfxCancellable*) _aJobs[nPos]; } >}; > >class SfxCancelManagerWeak { SvWeakHdlRef _xHdl; public: inline SfxCancelManagerWeak( ) {} inline SfxCancelManagerWeak( SfxCancelManager* pObj ) { if( pObj ) _xHdl = pObj->GetHdl(); } inline void Clear() { _xHdl.Clear(); } inline SfxCancelManagerWeak& operator = ( SfxCancelManager * pObj ) { _xHdl = pObj ? pObj->GetHdl() : 0; return *this; } inline BOOL Is() const { return _xHdl.Is() && _xHdl->GetObj(); } inline SfxCancelManager * operator & () const { return (SfxCancelManager*) ( _xHdl.Is() ? _xHdl->GetObj() : 0 ); } inline SfxCancelManager * operator -> () const { return (SfxCancelManager*) ( _xHdl.Is() ? _xHdl->GetObj() : 0 ); } inline SfxCancelManager & operator * () const { return *(SfxCancelManager*) _xHdl->GetObj(); } inline operator SfxCancelManager * () const { return (SfxCancelManager*) (_xHdl.Is() ? _xHdl->GetObj() : 0 ); } }; > >class SfxCancellable > >{ > SfxCancelManager* _pMgr; > BOOL _bCancelled; > String _aTitle; > >public: > SfxCancellable( SfxCancelManager *pMgr, > const String &rTitle ) > : _pMgr( pMgr ), > _bCancelled( 0 ), > _aTitle( rTitle ) > { pMgr->InsertCancellable( this ); } > > virtual ~SfxCancellable(); > > void SetManager( SfxCancelManager *pMgr ); > SfxCancelManager* GetManager() const { return _pMgr; } > > virtual void Cancel(); > BOOL IsCancelled() const { return _bCancelled; } > operator BOOL() const { return _bCancelled; } > const String& GetTitle() const { return _aTitle; } >}; > ># 170 "../../inc/docfile.hxx" 2 ># 191 "../../inc/docfile.hxx" >class SfxDataSourceFactory : public ::com::sun::star::lang::XMultiServiceFactory , > public ::com::sun::star::lang::XServiceInfo , > public ::com::sun::star::lang::XTypeProvider , > public ::cppu::OWeakObject >{ >public: > > virtual ::com::sun::star::uno::Any queryInterface( const ::com::sun::star::uno::Type& aType ) throw( ::com::sun::star::uno::RuntimeException ); virtual void acquire() throw( ); virtual void release() throw( ); virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type > getTypes() throw( ::com::sun::star::uno::RuntimeException ); virtual ::com::sun::star::uno::Sequence< sal_Int8 > getImplementationId() throw( ::com::sun::star::uno::RuntimeException ); virtual ::rtl::OUString getImplementationName() throw( ::com::sun::star::uno::RuntimeException ); virtual sal_Bool supportsService( const ::rtl::OUString& sServiceName ) throw( ::com::sun::star::uno::RuntimeException ); virtual ::com::sun::star::uno::Sequence< ::rtl::OUString > getSupportedServiceNames() throw( ::com::sun::star::uno::RuntimeException ); static ::com::sun::star::uno::Sequence< ::rtl::OUString > impl_getStaticSupportedServiceNames(); static ::rtl::OUString impl_getStaticImplementationName(); static ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > impl_createInstance( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >& xServiceManager ) throw( ::com::sun::star::uno::Exception ); static ::com::sun::star::uno::Reference< ::com::sun::star::lang::XSingleServiceFactory > impl_createFactory( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >& xServiceManager ); > > SfxDataSourceFactory( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >& xFactory ); > virtual ~SfxDataSourceFactory(); > > virtual ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > createInstance(const ::rtl::OUString& ServiceSpecifier) throw( ::com::sun::star::uno::Exception, ::com::sun::star::uno::RuntimeException ); > virtual ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > createInstanceWithArguments(const ::rtl::OUString& ServiceSpecifier, const ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Any >& Arguments) throw( ::com::sun::star::uno::Exception, ::com::sun::star::uno::RuntimeException ); > virtual ::com::sun::star::uno::Sequence< ::rtl::OUString > getAvailableServiceNames(void) throw( ::com::sun::star::uno::RuntimeException ); >}; > >class SfxPoolCancelManager : public SfxCancelManager , > public SfxCancellable , > public SfxListener , > public SvRefBase >{ > SfxCancelManagerWeak wParent; > > ~SfxPoolCancelManager(); >public: > SfxPoolCancelManager( SfxCancelManager* pParent, const String& rName ); > virtual void Notify( SfxBroadcaster& rBC, const SfxHint& rHint ); > virtual void Cancel(); >}; > >class SfxPoolCancelManager; class SfxPoolCancelManagerRef { protected: SfxPoolCancelManager * pObj; public: inline SfxPoolCancelManagerRef() { pObj = 0; } inline SfxPoolCancelManagerRef( const SfxPoolCancelManagerRef & rObj ); inline SfxPoolCancelManagerRef( SfxPoolCancelManager * pObjP ); inline void Clear(); inline ~SfxPoolCancelManagerRef(); inline SfxPoolCancelManagerRef & operator = ( const SfxPoolCancelManagerRef & rObj ); inline SfxPoolCancelManagerRef & operator = ( SfxPoolCancelManager * pObj ); inline BOOL Is() const { return pObj != __null; } inline SfxPoolCancelManager * operator & () const { return pObj; } inline SfxPoolCancelManager * operator -> () const { return pObj; } inline SfxPoolCancelManager & operator * () const { return *pObj; } inline operator SfxPoolCancelManager * () const { return pObj; } }; inline SfxPoolCancelManagerRef::SfxPoolCancelManagerRef( const SfxPoolCancelManagerRef & rObj ) { pObj = rObj.pObj; if( pObj ) { pObj->AddNextRef(); } } inline SfxPoolCancelManagerRef::SfxPoolCancelManagerRef( SfxPoolCancelManager * pObjP ) { pObj = pObjP; if( pObj ) { pObj->AddRef(); } } inline void SfxPoolCancelManagerRef::Clear() { if( pObj ) { SfxPoolCancelManager* const pRefObj = pObj; pObj = 0; pRefObj->ReleaseReference(); } } inline SfxPoolCancelManagerRef::~SfxPoolCancelManagerRef() { if( pObj ) { pObj->ReleaseReference(); } } inline SfxPoolCancelManagerRef & SfxPoolCancelManagerRef:: operator = ( const SfxPoolCancelManagerRef & rObj ) { if( rObj.pObj ) rObj.pObj->AddNextRef(); SfxPoolCancelManager* const pRefObj = pObj; pObj = rObj.pObj; if( pRefObj ) { pRefObj->ReleaseReference(); } return *this; } inline SfxPoolCancelManagerRef & SfxPoolCancelManagerRef::operator = ( SfxPoolCancelManager * pObjP ) { return *this = SfxPoolCancelManagerRef( pObjP ); } > > > > ># 77 "../../inc/docinf.hxx" 1 >class SvStream; > > > ># 20 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/tools/timestamp.hxx" 1 >class TimeStamp >{ > > public: > > TimeStamp ( ) ; > TimeStamp ( const String& rName ) ; > TimeStamp ( const DateTime& rDateTime ) ; > TimeStamp ( const String& rName, const DateTime& rDateTime ) ; > > const TimeStamp& operator= ( const TimeStamp& rCopy ) ; > BOOL operator== ( const TimeStamp& rCompare ) const ; > int operator!= ( const TimeStamp& rCompare ) const ; > > BOOL IsValid ( ) const ; > BOOL Load ( SvStream& rStream ) ; > BOOL Save ( SvStream& rStream ) const ; > void SetName ( const String& rName ) ; > void SetTime ( const DateTime& rDateTime ) ; > const String& GetName ( ) const ; > const DateTime& GetTime ( ) const ; > > protected: > > private: > > void impl_setInvalid ( ) ; > void impl_adjustName ( String& rName ) ; > ># 59 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/tools/timestamp.hxx" > private: > > String m_sModifiedByName ; > DateTime m_aModifiedDateTime ; > >} ; > ># 81 "../../inc/docinf.hxx" 2 > > > >typedef TimeStamp SfxStamp ; > >class SfxDocUserKey >{ >private: >friend class SfxDocumentInfo; > > > > String aTitle; > String aWord; > > void AdjustTitle_Impl(); > >public: > SfxDocUserKey() {} > SfxDocUserKey( const String& rTitle, const String& rWord ); > > > const SfxDocUserKey& operator=(const SfxDocUserKey &rCopy); > > int operator==( const SfxDocUserKey& rCmp ) const > { return aTitle == rCmp.aTitle && aWord == rCmp.aWord; } > int operator!=( const SfxDocUserKey& rCmp ) const { return !operator==( rCmp ); } > > const String& GetTitle() const { return aTitle; } > const String& GetWord() const { return aWord; } > > BOOL Load( SvStream& rStrm ); > BOOL Save( SvStream& rStrm ) const; >}; > >const BYTE MAXDOCUSERKEYS = 4; >const int MAXDOCMAILINFOS = 256; > >class SvStorage; >class SfxDocumentInfo_Impl; > >class SfxDocumentInfo >{ >private: > CharSet eFileCharSet; > > BOOL bPasswd : 1, > bPortableGraphics : 1, > bQueryTemplate : 1, > bTemplateConfig : 1, > bReadOnly : 1, > bSaveGraphicsCompressed : 1, > bSaveOriginalGraphics : 1, > bSaveVersionOnClose : 1; > > > > > > > SfxStamp aCreated; > SfxStamp aChanged; > SfxStamp aPrinted; > > String aTitle; > String aTheme; > String aComment; > String aKeywords; > > SfxDocUserKey aUserKeys[MAXDOCUSERKEYS]; > > String aTemplateName; > String aTemplateFileName; > > String aDefaultTarget; > String aReloadURL; > BOOL bReloadEnabled; > ULONG nReloadSecs; > > DateTime aTemplateDate; > > USHORT nUserDataSize; > USHORT nDocNo; > void* pUserData; > long lTime; > > SfxDocumentInfo_Impl* pImp; > > void Free(); > String AdjustTextLen_Impl( const String& rText, USHORT nMax ); > >protected: > virtual BOOL Load( SvStream& ); > virtual BOOL Save( SvStream& ) const; > >public: > SfxDocumentInfo( const SfxDocumentInfo& ); > const SfxDocumentInfo& operator=( const SfxDocumentInfo& ); > SfxDocumentInfo(); > virtual ~SfxDocumentInfo(); > > int operator==( const SfxDocumentInfo& ) const; > const SfxDocumentInfo& CopyUserData( const SfxDocumentInfo& rSource ); > > BOOL Load( SvStorage* ); > ErrCode Load(const String&); > ULONG LoadPropertySet( SvStorage* ); > BOOL Save( SvStorage* ) const; > BOOL SavePropertySet( SvStorage* ) const; > > void SetReloadURL( const String& rString ); > const String& GetReloadURL() const; > BOOL IsReloadEnabled() const; > void EnableReload( BOOL bEnable ); > const String& GetDefaultTarget() const; > void SetDefaultTarget( const String& rString ); > ULONG GetReloadDelay() const; > void SetReloadDelay( ULONG nDelay ); > > BOOL IsReadOnly() const { return bReadOnly; } > BOOL IsPasswd() const { return bPasswd; } > BOOL IsPortableGraphics() const { return bPortableGraphics; } > BOOL IsSaveOriginalGraphics() const { return bSaveOriginalGraphics; } > BOOL IsSaveGraphicsCompressed() const { return bSaveGraphicsCompressed; } > BOOL IsQueryLoadTemplate() const { return bQueryTemplate; } > > void SetReadOnly( BOOL b ) { bReadOnly = b; } > void SetPasswd( BOOL b ) { bPasswd = b; } > void SetPortableGraphics( BOOL b ) { bPortableGraphics = b; } > void SetSaveOriginalGraphics( BOOL b ) { bSaveOriginalGraphics = b; } > void SetSaveGraphicsCompressed( BOOL b ) { bSaveGraphicsCompressed = b; } > void SetQueryLoadTemplate( BOOL b ) { bQueryTemplate = b; } > > const SfxStamp& GetCreated() const { return aCreated; } > const SfxStamp& GetChanged() const { return aChanged; } > const SfxStamp& GetPrinted() const { return aPrinted; } > void SetCreated( const SfxStamp& rStamp ) { aCreated = rStamp; } > void SetChanged( const SfxStamp& rStamp ) { aChanged = rStamp; } > void SetPrinted( const SfxStamp& rStamp ) { aPrinted = rStamp; } > > const String& GetTemplateName() const { return aTemplateName; } > const String& GetTemplateFileName() const { return aTemplateFileName; } > const DateTime& GetTemplateDate() const { return aTemplateDate; } > void SetTemplateName( const String& rName ) { aTemplateName = rName; bQueryTemplate = 1; } > void SetTemplateFileName( const String& rFileName ) { aTemplateFileName = rFileName; bQueryTemplate = 1; } > void SetTemplateDate(const DateTime& rDate) { aTemplateDate = rDate; bQueryTemplate = 1; } > > const String& GetTitle() const { return aTitle; } > const String& GetTheme() const { return aTheme; } > const String& GetComment() const { return aComment; } > const String& GetKeywords()const { return aKeywords; } > > void SetTitle( const String& rVal ); > void SetTheme( const String& rVal ); > void SetComment( const String& rVal ); > void SetKeywords( const String& rVal ); > > void SetChanged( const String& rChanger ) { SetChanged( SfxStamp( rChanger ) ); } > void SetCreated( const String& rCreator ) { SetCreated( SfxStamp( rCreator ) ); } > > USHORT GetUserKeyCount() const { return MAXDOCUSERKEYS; } > const SfxDocUserKey& GetUserKey( USHORT n ) const; > void SetUserKey( const SfxDocUserKey& rKey, USHORT n ); > > void SetSaveVersionOnClose( BOOL bSet ) { bSaveVersionOnClose = bSet; } > BOOL IsSaveVersionOnClose() const { return bSaveVersionOnClose; } > > void SetTime(long l) { lTime = l; } > long GetTime() const { return lTime; } > > void* GetUserData() const { return pUserData; } > USHORT GetUserDataSize() const { return nUserDataSize; } > void SetUserData(USHORT nSize, void *pData); > > USHORT GetDocumentNumber() const { return nDocNo; } > void SetDocumentNumber(USHORT nNo) { nDocNo = nNo; } > void IncDocumentNumber() { ++nDocNo; } > void SetTemplateConfig (BOOL bConfig) > { bTemplateConfig = bConfig ? 1 : 0; } > BOOL HasTemplateConfig () const > { return bTemplateConfig; } > > String GetCopiesTo() const; > void SetCopiesTo( const String& rStr ); > String GetOriginal() const; > void SetOriginal( const String& rStr ); > String GetReferences() const; > void SetReferences( const String& rStr ); > String GetRecipient() const; > void SetRecipient( const String& rStr ); > String GetReplyTo() const; > void SetReplyTo( const String& rStr ); > String GetBlindCopies() const; > void SetBlindCopies( const String& rStr ); > String GetInReplyTo() const; > void SetInReplyTo( const String& rStr ); > String GetNewsgroups() const; > void SetNewsgroups( const String& rStr ); > String GetSpecialMimeType() const; > void SetSpecialMimeType( const String& rStr ); > USHORT GetPriority() const; > void SetPriority( USHORT nPrio ); > BOOL IsUseUserData() const; > void SetUseUserData( BOOL bNew ); > > void Clear(); >}; > >class SfxDocumentInfoHint: public SfxHint { SfxDocumentInfo* pObj; BOOL bIsOwner; public: static void* CreateType(); static TypeId StaticType(); static BOOL IsOf( TypeId aSameOrSuperType ); virtual TypeId Type() const; virtual BOOL IsA( TypeId aSameOrSuperType ) const; SfxDocumentInfoHint( SfxDocumentInfo* Object, BOOL bOwnedByHint = 0 ); ~SfxDocumentInfoHint(); SfxDocumentInfo* GetObject() const { return pObj; } BOOL IsOwner() const { return bIsOwner; } }; > > ># 227 "../../inc/docfile.hxx" 2 > >struct SfxVersionInfo >{ > String aName; > String aComment; > SfxStamp aCreateStamp; > > SfxVersionInfo(); > SfxVersionInfo( const SfxVersionInfo& rInfo ) > { *this = rInfo; } > > SfxVersionInfo& operator=( const SfxVersionInfo &rInfo ) > { > aName = rInfo.aName; > aComment = rInfo.aComment; > aCreateStamp = rInfo.aCreateStamp; > return *this; > } >}; > >class _SfxVersionTable : private List { public: List::Clear; List::Count; List::GetCurPos; _SfxVersionTable( USHORT _nInitSize = 16, USHORT _nReSize = 16 ) : List( _nInitSize, _nReSize ) {} _SfxVersionTable( USHORT _nBlockSize, USHORT _nInitSize, USHORT _nReSize ) : List( _nBlockSize, _nInitSize, _nReSize ) {} _SfxVersionTable( const _SfxVersionTable& rClassName ) : List( rClassName ) {} void Insert( SfxVersionInfo* p, ULONG nIndex ) { List::Insert( (void*)p, nIndex ); } void Insert( SfxVersionInfo* p ) { List::Insert( (void*)p ); } void Insert( SfxVersionInfo* pNew, SfxVersionInfo* pOld ) { List::Insert( (void*)pNew, (void*)pOld ); } SfxVersionInfo* Remove() { return (SfxVersionInfo*)List::Remove(); } SfxVersionInfo* Remove( ULONG nIndex ) { return (SfxVersionInfo*)List::Remove( nIndex ); } SfxVersionInfo* Remove( SfxVersionInfo* p ) { return (SfxVersionInfo*)List::Remove( (void*)p ); } SfxVersionInfo* Replace( SfxVersionInfo* p ) { return (SfxVersionInfo*)List::Replace( (void*)p ); } SfxVersionInfo* Replace( SfxVersionInfo* p, ULONG nIndex ) { return (SfxVersionInfo*)List::Replace( (void*)p, nIndex ); } SfxVersionInfo* Replace( SfxVersionInfo* pNew, SfxVersionInfo* pOld ) { return (SfxVersionInfo*)List::Replace( (void*)pNew, (void*)pOld ); } SfxVersionInfo* GetCurObject() const { return (SfxVersionInfo*)List::GetCurObject(); } SfxVersionInfo* GetObject( ULONG nIndex ) const { return (SfxVersionInfo*)List::GetObject( nIndex ); } ULONG GetPos( const SfxVersionInfo* p ) const { return List::GetPos( (const void*)p ); } ULONG GetPos( const SfxVersionInfo* p, ULONG nStartIndex, BOOL bForward = 1 ) const { return List::GetPos( (const void*)p, nStartIndex, bForward ); } SfxVersionInfo* Seek( ULONG nIndex ) { return (SfxVersionInfo*)List::Seek( nIndex ); } SfxVersionInfo* Seek( void* p ) { return (SfxVersionInfo*)List::Seek( p ); } SfxVersionInfo* First() { return (SfxVersionInfo*)List::First(); } SfxVersionInfo* Last() { return (SfxVersionInfo*)List::Last(); } SfxVersionInfo* Next() { return (SfxVersionInfo*)List::Next(); } SfxVersionInfo* Prev() { return (SfxVersionInfo*)List::Prev(); } _SfxVersionTable& operator =( const _SfxVersionTable& rClassName ) { List::operator =( rClassName ); return *this; } BOOL operator ==( const _SfxVersionTable& rList ) const { return List::operator ==( rList ); } BOOL operator !=( const _SfxVersionTable& rList ) const { return List::operator !=( rList ); } }; >class SfxVersionTableDtor : public _SfxVersionTable >{ >public: > SfxVersionTableDtor( const sal_uInt16 nInitSz=0, const sal_uInt16 nReSz=1 ) > : _SfxVersionTable( nInitSz, nReSz ) > {} > > SfxVersionTableDtor( const SfxVersionTableDtor &rCpy ) > { *this = rCpy; } > > ~SfxVersionTableDtor() > { DelDtor(); } > > SfxVersionTableDtor& operator=( const SfxVersionTableDtor &rCpy ); > void DelDtor(); > SvStream& Read( SvStream & ); > SvStream& Write( SvStream & ) const; > SvStringsDtor* GetVersions() const; >}; > >class SvBinding; >class SvBindingList; > >class SfxMedium : public SvRefBase >{ > sal_uInt32 eError; > sal_Bool bDirect:1, > bRoot:1, > bSetFilter:1, > bTriedStorage; > StreamMode nStorOpenMode; > > INetURLObject* pURLObj; > String aName; > SvGlobalName aFilterClass; > > SvStream* pInStream; > SvFileStream* pOutStream; > > SvStorageRef aStorage; > > const SfxFilter* pFilter; > SfxItemSet* pSet; > SfxMedium_Impl* pImp; > String aLogicName; > String aLongName; > > sal_Bool bRemote; > > > > sal_Bool bDownLoad; > > > void SetIsRemote_Impl(); > void CloseInStream_Impl(); > sal_Bool CloseOutStream_Impl(); > static long UCBHdl_Impl( SfxMedium*, sal_uInt32 * ); > > >public: > > SvCompatWeakHdl* GetHdl(); > > > > > SfxMedium(); > SfxMedium( const String &rName, > StreamMode nOpenMode, > sal_Bool bDirect, > sal_Bool bDownLoad = ((unsigned char)1), > const SfxFilter *pFilter = 0, > SfxItemSet *pSet = 0 ); > SfxMedium( SvStorage *pTheStorage, > sal_Bool bRoot = ((unsigned char)0) ); > SfxMedium( const SfxMedium &rMedium, > sal_Bool bCreateTemporary = ((unsigned char)0) ); > ~SfxMedium(); > > static String GetStatusString( const SvProgressArg* pArg ); > > void SetLoadTargetFrame(SfxFrame* pFrame ); > SfxFrame* GetLoadTargetFrame() const; > void CancelTransfers(); > > void SetReferer( const String& rRefer ); > const String& GetReferer( ) const; > void SetTransferPriority( sal_uInt16 nPrio ); > sal_uInt16 GetTransferPriority() const; > sal_Bool Exists( sal_Bool bForceSession = ((unsigned char)1) ); > void SetFilter( const SfxObjectFactory &rFact, > const String & rFilter ); > const SfxFilter * GetFilter() const { return pFilter; } > const SfxFilter * GetOrigFilter( sal_Bool bNotCurrent = ((unsigned char)0) ) const; > const String& GetOrigURL() const; > > void SetFilter(const SfxFilter *pFlt, sal_Bool bResetOrig = ((unsigned char)0)); > SfxItemSet * GetItemSet() const; > void SetItemSet(SfxItemSet *pSet); > void Close(); > void ReOpen(); > const String& GetName() const {return aLogicName;} > > > > const INetURLObject& GetURLObject() const; > > ::com::sun::star::uno::Reference< ::com::sun::star::ucb::XContent > GetContent() const; > const String& GetPhysicalName() const; > void SetTemporary( sal_Bool bTemp ); > sal_Bool IsTemporary() const; > sal_Bool IsRemote(); > INetConnection* GetConnection() const; > void SetConnection(INetConnection* pCon); > > sal_Bool IsOpen() const { return aStorage.Is() || pInStream; } > void StartDownload(); > void DownLoad( const Link& aLink = Link()); > void SetDoneLink( const Link& rLink ); > Link GetDoneLink( ) const; > void SetDataAvailableLink( const Link& rLink ); > void SetReloadAvailableLink( const Link& rLink ); > Link GetDataAvailableLink( ) const; > void SetNewPartAvailableLink( const Link& rLink ); > Link GetNewPartAvailableLink( ) const; > > void SetClassFilter( const SvGlobalName & rFilterClass ); > > sal_uInt32 GetMIMEAndRedirect( String& ); > sal_uInt32 GetErrorCode() const; > sal_uInt32 GetError() const > { return ERRCODE_TOERROR(GetErrorCode()); } > void SetError( sal_uInt32 nError ) { eError = nError; } > > void CloseInStream(); > sal_Bool CloseOutStream(); > > sal_Bool IsRoot() const { return bRoot; } > void CloseStorage(); > > StreamMode GetOpenMode() const { return nStorOpenMode; } > void SetOpenMode( StreamMode nStorOpen, sal_Bool bDirect, > sal_Bool bDontClose = ((unsigned char)0) ); > sal_Bool IsDirect() const { return bDirect? ((unsigned char)1): ((unsigned char)0); } > > SvStream* GetInStream(); > SvStream* GetOutStream(); > > SvEaMgr* GetEaMgr(); > > sal_Bool Commit(); > sal_Bool IsStorage() const; > sal_Bool TryStorage(); > ErrCode Unpack_Impl( const String& ); > SvStorage* GetStorage(); > SvStorage* GetOutputStorage(); > const SvGlobalName& GetClassFilter(); > void ResetError(); > sal_Bool UsesCache() const; > void SetUsesCache( sal_Bool ); > sal_Bool IsExpired() const; > void SetName( const String& rName, sal_Bool bSetOrigURL = ((unsigned char)0) ); > void SetDontCreateCancellable(); > sal_Bool IsAllowedForExternalBrowser() const; > long GetFileVersion() const; > > const SfxVersionTableDtor* GetVersionList(); > sal_Bool IsReadOnly(); > ::com::sun::star::uno::Reference< ::com::sun::star::io::XActiveDataSource > GetDataSource(); > ::com::sun::star::uno::Reference< ::com::sun::star::io::XOutputStream > GetDataSink(); > void CreateDataSource(); > void CreateDataSink(); > void ResetDataSource(); > void ResetDataSink(); > > void CreateTempFile(); > > > void RefreshName_Impl(); > sal_uInt16 AddVersion_Impl( SfxVersionInfo& rVersion ); > sal_Bool TransferVersionList_Impl( SfxMedium& rMedium ); > sal_Bool SaveVersionList_Impl(); > sal_Bool RemoveVersion_Impl( const SfxVersionInfo& rVersion ); > SfxPoolCancelManager* GetCancelManager_Impl() const; > void SetCancelManager_Impl( SfxPoolCancelManager* pMgr ); > > void SetExpired_Impl( const DateTime& rDateTime ); > SvKeyValueIterator* GetHeaderAttributes_Impl(); > const String& GetPreRedirectedURL() const; > void SetOrigFilter_Impl( const SfxFilter* pFilter ); > void SetLoadEnvironment_Impl( LoadEnvironment_Impl* pEnv ); > LoadEnvironment_Impl* GetLoadEnvironment_Impl() const; > > > sal_Bool SupportsMIME_Impl() const; > > sal_Bool ProvidesData_Impl() const; > > sal_Bool ProvidesFile_Impl() const; > > > void Init_Impl(); > void ForceSynchronStream_Impl( sal_Bool bSynchron ); > SvBinding* GetBinding(); > void ReleaseBinding_Impl(); > void SetBinding( SvBinding* pBinding ); > > void GetMedium_Impl(); > void Transfer_Impl(); > void CreateFileStream(); > void SetPhysicalName(const String& rName); > void SetUpdatePickList(sal_Bool); > sal_Bool IsUpdatePickList() const; > > SvStream* RemoveStream_Impl(); > void SetStorage_Impl( SvStorage* pStor ); > void SetStream_Impl( SvStream* pStream ); > void SetLongName(const String &rName) > { aLongName = rName; } > const String & GetLongName() const { return aLongName; } > ErrCode CheckOpenMode_Impl( sal_Bool bSilent, sal_Bool bAllowRO = ((unsigned char)1) ); > sal_Bool IsDownloadDone_Impl(); > sal_Bool IsPreview_Impl(); > void DoBackup_Impl(); > >}; > >class SfxMedium; class SfxMediumRef { protected: SfxMedium * pObj; public: inline SfxMediumRef() { pObj = 0; } inline SfxMediumRef( const SfxMediumRef & rObj ); inline SfxMediumRef( SfxMedium * pObjP ); inline void Clear(); inline ~SfxMediumRef(); inline SfxMediumRef & operator = ( const SfxMediumRef & rObj ); inline SfxMediumRef & operator = ( SfxMedium * pObj ); inline BOOL Is() const { return pObj != __null; } inline SfxMedium * operator & () const { return pObj; } inline SfxMedium * operator -> () const { return pObj; } inline SfxMedium & operator * () const { return *pObj; } inline operator SfxMedium * () const { return pObj; } }; inline SfxMediumRef::SfxMediumRef( const SfxMediumRef & rObj ) { pObj = rObj.pObj; if( pObj ) { pObj->AddNextRef(); } } inline SfxMediumRef::SfxMediumRef( SfxMedium * pObjP ) { pObj = pObjP; if( pObj ) { pObj->AddRef(); } } inline void SfxMediumRef::Clear() { if( pObj ) { SfxMedium* const pRefObj = pObj; pObj = 0; pRefObj->ReleaseReference(); } } inline SfxMediumRef::~SfxMediumRef() { if( pObj ) { pObj->ReleaseReference(); } } inline SfxMediumRef & SfxMediumRef:: operator = ( const SfxMediumRef & rObj ) { if( rObj.pObj ) rObj.pObj->AddNextRef(); SfxMedium* const pRefObj = pObj; pObj = rObj.pObj; if( pRefObj ) { pRefObj->ReleaseReference(); } return *this; } inline SfxMediumRef & SfxMediumRef::operator = ( SfxMedium * pObjP ) { return *this = SfxMediumRef( pObjP ); } >class SfxMediumWeak { SvCompatWeakHdlRef _xHdl; public: inline SfxMediumWeak( ) {} inline SfxMediumWeak( SfxMedium* pObj ) { if( pObj ) _xHdl = pObj->GetHdl(); } inline void Clear() { _xHdl.Clear(); } inline SfxMediumWeak& operator = ( SfxMedium * pObj ) { _xHdl = pObj ? pObj->GetHdl() : 0; return *this; } inline BOOL Is() const { return _xHdl.Is() && _xHdl->GetObj(); } inline SfxMedium * operator & () const { return (SfxMedium*) ( _xHdl.Is() ? _xHdl->GetObj() : 0 ); } inline SfxMedium * operator -> () const { return (SfxMedium*) ( _xHdl.Is() ? _xHdl->GetObj() : 0 ); } inline SfxMedium & operator * () const { return *(SfxMedium*) _xHdl->GetObj(); } inline operator SfxMedium * () const { return (SfxMedium*) (_xHdl.Is() ? _xHdl->GetObj() : 0 ); } }; > ># 203 "/usr/src/oo/oo_605_src/sfx2/source/doc/docfile.cxx" 2 > ># 66 "../../inc/docfilt.hxx" 1 ># 6 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/plugin/PluginDescription.hpp" 1 ># 12 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/plugin/PluginDescription.hdl" 1 >namespace com >{ >namespace sun >{ >namespace star >{ >namespace plugin >{ > > > > > > > >struct PluginDescription >{ > inline PluginDescription(); > > PluginDescription(const ::rtl::OUString& __PluginName, const ::rtl::OUString& __Mimetype, const ::rtl::OUString& __Extension, const ::rtl::OUString& __Description); > > ::rtl::OUString PluginName; > ::rtl::OUString Mimetype; > ::rtl::OUString Extension; > ::rtl::OUString Description; >}; > > > > > > > >} >} >} >} > >namespace com { namespace sun { namespace star { namespace uno { >class Type; >} } } } > >inline const ::com::sun::star::uno::Type& getCppuType( const ::com::sun::star::plugin::PluginDescription* ); > ># 6 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/plugin/PluginDescription.hpp" 2 ># 17 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/com/sun/star/plugin/PluginDescription.hpp" >namespace com >{ >namespace sun >{ >namespace star >{ >namespace plugin >{ > >inline PluginDescription::PluginDescription() > : PluginName() > , Mimetype() > , Extension() > , Description() >{ >} > >inline PluginDescription::PluginDescription(const ::rtl::OUString& __PluginName, const ::rtl::OUString& __Mimetype, const ::rtl::OUString& __Extension, const ::rtl::OUString& __Description) > : PluginName(__PluginName) > , Mimetype(__Mimetype) > , Extension(__Extension) > , Description(__Description) >{ >} > >} >} >} >} > > > > > >inline const ::com::sun::star::uno::Type& getCppuType( const ::com::sun::star::plugin::PluginDescription* ) >{ > > static typelib_TypeDescriptionReference * s_pType_com_sun_star_plugin_PluginDescription = 0; > > > if ( !s_pType_com_sun_star_plugin_PluginDescription ) > { > typelib_TypeDescriptionReference * aMemberRefs[4]; > const ::com::sun::star::uno::Type& rMemberType_string = getCppuType( ( const ::rtl::OUString *)0 ); > aMemberRefs[0] = rMemberType_string.getTypeLibType(); > aMemberRefs[1] = rMemberType_string.getTypeLibType(); > aMemberRefs[2] = rMemberType_string.getTypeLibType(); > aMemberRefs[3] = rMemberType_string.getTypeLibType(); > > typelib_static_compound_type_init( &s_pType_com_sun_star_plugin_PluginDescription, typelib_TypeClass_STRUCT, "com.sun.star.plugin.PluginDescription", 0, 4, aMemberRefs ); > } > return * reinterpret_cast< const ::com::sun::star::uno::Type * >( &s_pType_com_sun_star_plugin_PluginDescription ); >} > ># 66 "../../inc/docfilt.hxx" 2 > > > > ># 17 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/tools/wldcrd.hxx" 1 >class WildCard >{ >private: > ByteString aWildString; > char cSepSymbol; > > USHORT ImpMatch( const char *pWild, const char *pStr ) const; > >public: > WildCard(); > WildCard( const String& rWildCards, > const char cSeparator = '\0' ); > > const String GetWildCard() const { return String( aWildString, osl_getThreadTextEncoding()); } > const String operator ()() const { return String( aWildString, osl_getThreadTextEncoding()); } > > BOOL Matches( const String& rStr ) const; > > BOOL operator ==( const String& rString ) const > { return Matches( rString ); } > BOOL operator !=( const String& rString ) const > { return !( Matches( rString ) ); } > > WildCard& operator =( const String& rString ); > WildCard& operator =( const WildCard& rWildCard ); >}; > >inline WildCard::WildCard() : > aWildString( '*' ) >{ > cSepSymbol = '\0'; >} > >inline WildCard::WildCard( const String& rWildCard, const char cSeparator ) : > aWildString( rWildCard, osl_getThreadTextEncoding()) >{ > cSepSymbol = cSeparator; >} > >inline WildCard& WildCard::operator=( const String& rString ) >{ > aWildString = ByteString(rString, osl_getThreadTextEncoding()); > return *this; >} > >inline WildCard& WildCard::operator=( const WildCard& rWildCard ) >{ > aWildString = rWildCard.aWildString; > cSepSymbol = rWildCard.cSepSymbol; > return *this; >} > ># 70 "../../inc/docfilt.hxx" 2 ># 106 "../../inc/docfilt.hxx" > > > > > > >class SfxFilterContainer; > >class SfxFilter >{ >friend class SfxFilterContainer; > > String aName; > WildCard aWildCard; > ULONG lFormat; > String aMacType; > String aTypeName; > String aUserData; > ULONG nFormatType; > USHORT nDocIcon; > const SfxFilterContainer* pContainer; > String aMimeType; > String aFilterName; > String aPattern; > ULONG nVersion; > BOOL bPlugDataSearched; > ::com::sun::star::plugin::PluginDescription* pPlugData; > > > > > String aUIName; > String aDefaultTemplate; > >public: > SfxFilter( const String &rName, > const String &rWildCard, > ULONG nFormatType, > ULONG lFormat, > const String &rMacType, > const String &rTypeName, > USHORT nDocIcon, > const String &rMimeType, > const SfxFilterContainer* pFactoryP, > const String &rUserData ); > SfxFilter( const char* pName, const String &rWildCard, > ULONG nFormatType, > const SfxFilterContainer* pFactoryP ); > SfxFilter( const char* pName, const String &rWildCard, > ULONG nFormatType, const String &rTypeName, > const SfxFilterContainer* pFactoryP ); > > ~SfxFilter(); > > const SfxFilterContainer* GetFilterContainer( ) const { return pContainer; } > > > FASTBOOL IsAllowedAsTemplate() const > { return nFormatType & 0x00000004L; } > FASTBOOL IsOwnFormat() const > { return nFormatType & 0x00000020L; } > FASTBOOL IsOwnTemplateFormat() const > { return nFormatType & 0x00000010L; } > FASTBOOL IsAlienFormat() const > { return nFormatType & 0x00000040L; } > FASTBOOL CanImport() const > { return nFormatType & 0x00000001L; } > FASTBOOL CanExport() const > { return nFormatType & 0x00000002L; } > FASTBOOL IsInternal() const > { return nFormatType & 0x00000008L; } > FASTBOOL IsPlugIn() const > { return nFormatType & 0x00000100L; } > ULONG GetFilterFlags() const { return nFormatType; } > const String& GetFilterName() const { return aFilterName; } > const String& GetMimeType() const { return aMimeType; } > const String& GetName() const { return aName; } > const WildCard& GetWildcard() const { return aWildCard; } > const String& GetMacType() const { return aMacType; } > const String& GetRealTypeName() const { return aTypeName; } > ULONG GetFormat() const { return lFormat; } > const String& GetTypeName() const; > const String& GetUIName() const { return aUIName; } > USHORT GetDocIconId() const { return nDocIcon; } > const String& GetUserData() const { return aUserData; } > const String& GetDefaultTemplate() const { return aDefaultTemplate; } > void SetDefaultTemplate( const String& rStr ) > { aDefaultTemplate = rStr; } > BOOL UsesStorage() const { return GetFormat() != 0; } > void SetURLPattern( const String& rStr ) > { > aPattern = rStr; > aPattern.ToLowerAscii(); > } > String GetURLPattern() const { return aPattern; } > void SetUIName( const String& rName ) { aUIName = rName; } > void SetVersion( ULONG nVersionP ) { nVersion = nVersionP; } > ULONG GetVersion() const { return nVersion; } > String GetSuffixes() const; > String GetDefaultExtension() const; > const ::com::sun::star::plugin::PluginDescription* GetPlugData() const { > return ((SfxFilter*)this)->GetPlugData(); } > > const ::com::sun::star::plugin::PluginDescription* GetPlugData(); > BOOL IsFirstPlugin() const; > > void InitMembers_Impl(); > > > > > >}; > > >class SfxOfficeFilter: public SfxFilter >{ >public: > SfxOfficeFilter( const SfxFilterContainer* pContainer); >}; ># 204 "/usr/src/oo/oo_605_src/sfx2/source/doc/docfile.cxx" 2 > ># 78 "../../inc/docfac.hxx" 1 >class SfxObjectFactoryArr_Impl; >class SvFactory; >class SfxMedium; >class SfxFilter; >class SfxViewFactory; >struct SfxObjectFactory_Impl; >class SfxFilterContainer; >class SfxFactoryFilterContainer; >class SfxMenuBarManager; >class SfxBindings; >class SfxAcceleratorManager; > >typedef SfxObjectShell *(*SfxObjectCtor)(SfxObjectCreateMode); > > > >typedef void (*SfxVoidFunc)(); > ># 111 "../../inc/docfac.hxx" >class SfxObjectFactory: public SvFactory >{ >private: > USHORT nId; > SfxObjectCtor fnCreate; > const char* pShortName; > SfxObjectFactory_Impl* pImpl; > SfxObjectShellFlags nFlags; > >public: > static void* CreateType(); static TypeId StaticType(); static BOOL IsOf( TypeId aSameOrSuperType ); virtual TypeId Type() const; virtual BOOL IsA( TypeId aSameOrSuperType ) const; > > SfxObjectFactory( const SvGlobalName &rName, const String &rClassName, CreateInstanceType funcCIT ); > ~SfxObjectFactory(); > > void Construct( USHORT nId, SfxObjectCtor fnCreateFnc, > SfxObjectShellFlags, const char *pShortName = 0 ); > SfxObjectShell* CreateObject(SfxObjectCreateMode = SFX_CREATE_MODE_STANDARD) const; > > SfxObjectShellFlags GetFlags() { return nFlags; } > USHORT GetOrdinal() const { return nId; } > const char* GetShortName() const { return pShortName; } > SfxIniManager* GetIniManager() const; > > void RegisterMenuBar( const ResId &rId ); > void RegisterPluginMenuBar( const ResId &rId ); > void RegisterAccel( const ResId &rId ); > void SetDocumentTypeNameResource( const ResId& rId ); > String GetDocumentTypeName() const; > const ResId* GetMenuBarId() const; > const ResId* GetPluginMenuBarId() const; > const ResId* GetAccelId() const; > void RegisterHelpFile( const String& ); > const String& GetHelpFile() const; > void SetExplorerImageId( USHORT nImageId ); > USHORT GetExplorerImageId() const; > > void RegisterHelpPIFile( const String& ); > const String& GetHelpPIFile() const; > SfxFactoryFilterContainer *GetFilterContainer( BOOL bForceLoad = 1) const; > > void SetCreateNewSlotId( USHORT nId ); > USHORT GetCreateNewSlotId() const; > > void RegisterViewFactory(SfxViewFactory &rFactory); > USHORT GetViewFactoryCount() const; > SfxViewFactory& GetViewFactory(USHORT i = 0) const; > > > void RegisterInitFactory( SfxVoidFunc pFunc ); > void DoInitFactory(); > void RegisterFilter( const String &rName, > const String &rWildcard, > ULONG nFlags, > ULONG lFormat, > const String &rMacType, > const String &rTypeName, > USHORT nIconId, > const String &rMimeType, > const String &rUserData); > USHORT GetFilterCount() const; > const SfxFilter* GetFilter(USHORT i) const; > const SfxFilter* GetTemplateFilter() const; > > static const SfxObjectFactory* GetFactory( const String& rFactoryURL ); > const String& GetStandardTemplate() const; > static void SetStandardTemplate( const String& rFactoryURL, const String& rTemplateName ); > > void SetDocumentServiceName( const rtl::OUString& rServiceName ); > const rtl::OUString& GetDocumentServiceName() const; > > long InitFactoryHdl( void* ); static long LinkStubInitFactoryHdl( void* pThis, void* ); > > SfxModule* GetModule() const; > > static const SfxObjectFactory& GetDefaultFactory(); > static BOOL HasObjectFactories(); > > > static SfxObjectFactoryArr_Impl& GetObjFacArray_Impl(); > static void RegisterObjectFactory_Impl(SfxObjectFactory &rObjFac); > static USHORT GetObjectFactoryCount_Impl(); > static const SfxObjectFactory& GetObjectFactory_Impl(USHORT i); > SfxMenuBarManager* GetMenuBar_Impl(); > SfxAcceleratorManager* GetAccMgr_Impl(); > void SetModule_Impl( SfxModule* ); > > >private: > > SfxObjectFactory(const SfxObjectFactory&); > const SfxObjectFactory& operator=(const SfxObjectFactory &); >}; ># 218 "../../inc/docfac.hxx" ># 382 "../../inc/docfac.hxx" >extern "C" >{ > typedef void ( *So2VoidFunc_TYPE) (); >} > ># 482 "../../inc/docfac.hxx" >extern "C" >{ > typedef void* ( *So2CreateExtern_TYPE) (); > typedef void* ( *SfxCreateExtern_TYPE) (int); >} > > ># 205 "/usr/src/oo/oo_605_src/sfx2/source/doc/docfile.cxx" 2 > ># 65 "../inc/fltfnc.hxx" 1 ># 75 "../../inc/fcontnr.hxx" 1 >class Window; >class SfxFilter; >class SfxFilterArr_Impl; >class SfxObjectFacArr_Impl; >class SfxObjectFactory; >class SfxMedium; >class SfxFilterContainer_Impl; >class SfxFrame; > ># 98 "../../inc/fcontnr.hxx" >typedef USHORT SfxFilterContainerFlags; > > > >class SfxRefItem : public SfxPoolItem >{ > SvRefBaseRef aRef; >public: > virtual SfxPoolItem* Clone( SfxItemPool *pPool = 0 ) const > { return new SfxRefItem( *this ); } > virtual int operator==( const SfxPoolItem& rL) const > { return ((SfxRefItem&)rL).aRef == aRef; } > SfxRefItem( USHORT nWhich, const SvRefBaseRef& rValue ) : SfxPoolItem( nWhich ) > { aRef = rValue; } > const SvRefBaseRef& GetValue() const { return aRef; } > >}; > >class SfxFrameWindow >{ > Window* pWindow; >public: > SfxFrameWindow( Window *pWin ) > : pWindow( pWin ) > {} > > virtual ~SfxFrameWindow() > { delete pWindow; } > Window* GetWindow() const > { return pWindow; } > void SetWindow( Window *pWin ) > { pWindow = pWin; } >}; > >class SfxFrameWindowFactory >{ > typedef SfxFrameWindow* (*FactoryFunc)( SfxFrame* pParent, const String& rName ); > FactoryFunc pFunc; > String aName; >public: > SfxFrameWindowFactory( FactoryFunc pFuncP, String aNameP ); > String GetURLWildCard() { return aName; } > FactoryFunc GetFactory() { return pFunc; } >}; > >typedef ULONG (*SfxDetectFilter)( > SfxMedium& rMedium, const SfxFilter **, ULONG nMust, ULONG nDont ); > >class SfxFilterContainer >{ >protected: > SfxFilterContainer_Impl *pImpl; > >public: > static long LoadHdl_Impl( SfxFilterContainer*, void* ); >protected: > void ForceFilterLoad_Impl() const; > void RealLoad_Impl(); > > >public: > SfxFilterContainer( const String& rName ); > virtual ~SfxFilterContainer(); > > SfxFilterContainerFlags GetFlags() const; > void SetFlags( SfxFilterContainerFlags eFlags ); > > virtual const SfxFilter* GetFilter4Mime( > const String& rMime, ULONG nMust = 0x00000001L, ULONG nDont = 0x00020000L | 0x00040000L ) const; > virtual const SfxFilter* GetFilter4ClipBoardId( > ULONG nId, ULONG nMust = 0x00000001L, ULONG nDont = 0x00020000L | 0x00040000L ) const; > virtual const SfxFilter* GetFilter4EA( > const String& rEA, ULONG nMust = 0x00000001L, ULONG nDont = 0x00020000L | 0x00040000L ) const; > virtual const SfxFilter* GetFilter4Extension( > const String& rExt, ULONG nMust = 0x00000001L, ULONG nDont = 0x00020000L | 0x00040000L ) const; > virtual const SfxFilter* GetFilter4FilterName( > const String& rName, ULONG nMust = 0, ULONG nDont = 0x00020000L | 0x00040000L ) const; > SfxFilter* GetFilter4FilterName( > const String& rName, ULONG nMust = 0, ULONG nDont = 0x00020000L | 0x00040000L ) > { > return (SfxFilter*)(const SfxFilter*) > ((const SfxFilterContainer* const)this)->GetFilter4FilterName( > rName, nMust, nDont ); > } > const SfxFilter* GetFilter4Protocol( > const String& rURL, ULONG nMust = 0, ULONG nDont = 0x00020000L | 0x00040000L ) const; > virtual ULONG GetFilter4Content( > SfxMedium& rMedium, const SfxFilter**, ULONG nMust = 0x00000001L, ULONG nDont = 0x00020000L | 0x00040000L ) const ; > virtual const SfxFilter* GetFilter4Protocol( > SfxMedium& rMed, ULONG nMust = 0, ULONG nDont = 0x00020000L | 0x00040000L ) const; > const SfxFilter* GetFilter4UIName( > const String& rName, ULONG nMust = 0, ULONG nDont = 0x00020000L | 0x00040000L ) const; > virtual const SfxFilter* GetFilter( > const String& rName, ULONG nMust = 0, ULONG nDont = 0x00020000L | 0x00040000L ) const; > > virtual USHORT GetFilterCount() const; > virtual const SfxFilter* GetFilter( USHORT ) const; > virtual ULONG Execute( SfxMedium& rMedium, SfxFrame*& rpFrame ) const ; > > > BOOL IsUsableForRedirects() const; > > const String GetName() const; > > void AddFilter( SfxFilter* pFilter, USHORT nPos ); > void DeleteFilter( const SfxFilter* pFilter ); > void LoadFilters( > const String& rGroup, BOOL bInstallIni = 1, ULONG nAddMask = 0, ULONG nDelMask = 0); > void SaveFilters( > const String& rGroup, ULONG nMask = 0 ) const; >}; > > > > >enum SfxExecutableFilterType_Impl >{ > SFX_EXE_FILTER_BOOKMARK, > SFX_EXE_FILTER_OS2BOOKMARK, > SFX_EXE_FILTER_MAILTO, > SFX_EXE_FILTER_MACRO, > SFX_EXE_FILTER_SLOT, > SFX_EXE_FILTER_JAVASCRIPT, > SFX_EXE_FILTER_FACTORY, > SFX_EXE_FILTER_EXPLORER, > SFX_EXE_FILTER_BUGID, > SFX_EXE_FILTER_ZIP, > SFX_EXE_FILTER_BUGDOC, > SFX_EXE_FILTER_CHOOSER, > SFX_EXE_FILTER_DOWNLOAD, > SFX_EXE_FILTER_SUBSCRIBENEWAGENT, > SFX_EXE_FILTER_HELPID, > SFX_EXE_FILTER_EXECUTE, > SFX_EXE_FILTER_CDFCHANNEL, > SFX_EXE_FILTER_COMPONENT, > SFX_EXE_FILTER_CHAOSCHANNEL, > SFX_EXE_FILTER_UNO, > SFX_EXE_FILTER_COMMAND, > SFX_EXE_FILTER_HELPENTRY, > SFX_EXE_FILTER_SOUND, > SFX_EXE_FILTER_EXTERNBROWSER >}; > > > >class SfxExecutableFilterTypes_Impl; >class SfxExecutableFilterContainer : public SfxFilterContainer >{ > SfxExecutableFilterTypes_Impl* pTypes; > > > > ULONG Download_Impl( SfxMedium& rMedium ) const; > ULONG Choose_Impl( SfxMedium& rMedium ) const; > ULONG Unzip_Impl( SfxMedium& rMedium ) const; > String GetBugdocName_Impl( const String& rName ) const; > void AddExeFilter( SfxFilter* pFilter, SfxExecutableFilterType_Impl eType, const String& rPattern ); > > >public: > SfxExecutableFilterContainer(); > ~SfxExecutableFilterContainer(); > > virtual const SfxFilter* GetFilter4Protocol( SfxMedium& rMed, ULONG nMust = 0, ULONG nDont = 0x00020000L | 0x00040000L ) const; > virtual ULONG Execute( SfxMedium& rMedium, SfxFrame*& ) const ; > > static const SfxFilter* CheckForFolder( SfxMedium& rMed, ULONG nMust = 0, ULONG nDont = 0x00020000L | 0x00040000L ); > static const SfxFilter* GetDownloadFilter(); > static const SfxFilter* GetChooserFilter(); > static const SfxFilter* GetComponentFilter(); > static const SfxFilter* GetExplorerFilter(); >}; > >class SfxExternalAppFilterContainer : public SfxFilterContainer >{ >public: > SfxExternalAppFilterContainer(); > virtual ULONG Execute( SfxMedium& rMedium, SfxFrame*& ) const; > virtual const SfxFilter* GetFilter4FilterName( > const String& rName, ULONG nMust = 0, ULONG nDont = 0x00020000L | 0x00040000L ) const; > virtual USHORT GetFilterCount() const; > virtual const SfxFilter* GetFilter4Protocol( > SfxMedium& rName, ULONG nMust = 0, ULONG nDont = 0x00020000L | 0x00040000L ) const; >}; > >class SfxPluginFilterContainer : public SfxFilterContainer >{ > BOOL bInitialized; > long LoadHdl_Impl( void* ); static long LinkStubLoadHdl_Impl( void* pThis, void* ); >public: > SfxPluginFilterContainer(); > virtual ULONG Execute( SfxMedium& rMedium, SfxFrame*& ) const; > virtual USHORT GetFilterCount() const; > virtual const SfxFilter* GetFilter4Protocol( SfxMedium& rMed, ULONG nMust = 0, ULONG nDont = 0x00020000L | 0x00040000L ) const; >}; > >class SfxFactoryFilterContainer : public SfxFilterContainer >{ > > const SfxObjectFactory& rFact; > SfxDetectFilter pFunc; > >public: > > SfxFactoryFilterContainer( > const String& rName, const SfxObjectFactory& rFactP ); > void SetDetectFilter( SfxDetectFilter pFuncP ) { pFunc = pFuncP; } > virtual ULONG GetFilter4Content( > SfxMedium& rMedium, const SfxFilter **, > ULONG nMust = 0x00000001L, ULONG nDont = 0x00020000L | 0x00040000L ) const ; > const SfxObjectFactory& GetFactory() const { return rFact; } >}; > >class SfxFilterMatcher_Impl; > >class SfxFilterMatcher >{ > SfxFilterMatcher_Impl *pImpl; >public: > SfxFilterMatcher( SfxFilterContainer* pCont ); > SfxFilterMatcher(); > SfxFilterMatcher(BOOL bDeleteContainers); > ~SfxFilterMatcher(); > > static BOOL IsFilterInstalled( const SfxFilter* pFilter ); > void AddContainer( SfxFilterContainer* ); > USHORT GetContainerCount() const; > SfxFilterContainer* GetContainer( USHORT nPos ) const; > SfxFilterContainer* GetContainer( const String& rName ) const; > ULONG GuessFilterIgnoringContent( > SfxMedium& rMedium, const SfxFilter **, > ULONG nMust = 0x00000001L, ULONG nDont = 0x00020000L | 0x00040000L ) const; > ULONG GuessFilter( > SfxMedium& rMedium, const SfxFilter **, > ULONG nMust = 0x00000001L, ULONG nDont = 0x00020000L | 0x00040000L ) const; > ULONG DetectFilter( > SfxMedium& rMedium, const SfxFilter **, BOOL bPlugIn, > BOOL bAPI = 0 ) const; > const SfxFilter* GetFilter4Mime( > const String& rMime, ULONG nMust = 0x00000001L, ULONG nDont = 0x00020000L | 0x00040000L) const; > const SfxFilter* GetFilter4ClipBoardId( > ULONG nId, ULONG nMust = 0x00000001L, ULONG nDont = 0x00020000L | 0x00040000L ) const; > const SfxFilter* GetFilter4EA( > const String& rEA, ULONG nMust = 0x00000001L, ULONG nDont = 0x00020000L | 0x00040000L ) const; > const SfxFilter* GetFilter4Extension( > const String& rExt, ULONG nMust = 0x00000001L, ULONG nDont = 0x00020000L | 0x00040000L ) const; > > ULONG GetFilter4Content( > SfxMedium& rMedium, const SfxFilter**, ULONG nMust = 0x00000001L, ULONG nDont = 0x00020000L | 0x00040000L, BOOL bOnlyGoodOnes=0 ) const ; > const SfxFilter* GetFilter4Protocol( > SfxMedium& rMed, ULONG nMust = 0x00000001L, ULONG nDont = 0x00020000L | 0x00040000L ) const; > const SfxFilter* GetFilter( > const String& rName, ULONG nMust = 0, ULONG nDont = 0x00020000L | 0x00040000L ) const; > const SfxFilter* GetFilter4FilterName( > const String& rName, ULONG nMust = 0, ULONG nDont = 0x00020000L | 0x00040000L ) const; > const SfxFilter* GetFilter4UIName( > const String& rName, ULONG nMust = 0, ULONG nDont = 0x00020000L | 0x00040000L ) const; > > const SfxFilter* GetDefaultFilter( ) const; > > const SfxFilter* ResolveRedirection( const SfxFilter*, SfxMedium& rMedium ) const; > const SfxFilter* ResolveRedirection( const SfxFilter*, const String& rURLPath ) const; > const SfxFilter* ResolveAppPlug( const SfxFilter* ) const; > > static ULONG AppDetectFilter( > SfxMedium& rMedium, const SfxFilter**, > ULONG nMust = 0x00000001L, ULONG nDont = 0x00020000L | 0x00040000L ) ; > > friend class SfxFilterMatcherIter; > static long MaybeFileHdl_Impl( SfxFilterMatcher*, String* ); >}; > >class SfxFilterMatcherIter >{ > ULONG nOrMask; > ULONG nAndMask; > USHORT nBorder; > int nAktFilter; > int nAktContainer; > SfxFilterContainer* pCont; > const SfxFilterMatcher_Impl *pMatch; > > > const SfxFilter* Forward_Impl(); > const SfxFilter* First_Impl(); > const SfxFilter* Next_Impl(); > > >public: > SfxFilterMatcherIter( const SfxFilterMatcher* pMatchP, ULONG nMask = 0, ULONG nNotMask = 0x00020000L | 0x00040000L ); > const SfxFilter* First(); > const SfxFilter* Next(); >}; > > ># 65 "../inc/fltfnc.hxx" 2 > >BOOL SfxIsHelpEntryURL( const String &rURL, const String &rExtMask ); > ># 206 "/usr/src/oo/oo_605_src/sfx2/source/doc/docfile.cxx" 2 > ># 70 "../../inc/sfxresid.hxx" 1 > > >class SfxResId: public ResId >{ >public: > SfxResId( USHORT nId ); >}; > > >class SfxSimpleResId >{ > String m_sText; > >public: > SfxSimpleResId(USHORT nID); > > String getText() const { return m_sText; } > > operator String() const { return getText(); } >}; > > ># 207 "/usr/src/oo/oo_605_src/sfx2/source/doc/docfile.cxx" 2 > ># 65 "/usr/src/oo/oo_605_src/sfx2/source/doc/doc.hrc" 1 ># 68 "../../inc/sfx.hrc" 1 > > > > ># 573 "../../inc/sfx.hrc" ># 75 "../../inc/sfxsids.hrc" 1 ># 75 "../../inc/cntids.hrc" 1 ># 75 "../../inc/sfxsids.hrc" 2 ># 573 "../../inc/sfx.hrc" 2 ># 65 "/usr/src/oo/oo_605_src/sfx2/source/doc/doc.hrc" 2 ># 208 "/usr/src/oo/oo_605_src/sfx2/source/doc/docfile.cxx" 2 > ># 70 "../../inc/progress.hxx" 1 >class String; >class SfxObjectShell; >class SfxStatusBarManager; >class INetHint; >class SvDispatch; >struct SfxProgress_Impl; >struct PlugInLoadStatus; >struct SvProgressArg; > > > >class SfxProgress >{ > SfxProgress_Impl* pImp; > ULONG nVal; > BOOL bSuspended; > >public: > > SfxProgress( SfxObjectShell* pObjSh, > const String& rText, > ULONG nRange, BOOL bAllDocs = 0, > BOOL bWait = 1 ); > > > > > > virtual ~SfxProgress(); > > virtual void SetText( const String& rText ); > BOOL SetStateText( ULONG nVal, const String &rVal, ULONG nNewRange = 0 ); > virtual BOOL SetState( ULONG nVal, ULONG nNewRange = 0 ); > ULONG GetState() const { return nVal; } > > void Resume(); > void Suspend(); > BOOL IsSuspended() const { return bSuspended; } > > void Lock(); > void UnLock(); > void Reschedule(); > > void Stop(); > > void SetWaitMode( BOOL bWait ); > BOOL GetWaitMode() const; > > static SfxProgress* GetActiveProgress( SfxObjectShell *pDocSh = 0 ); > static void EnterLock(); > static void LeaveLock(); > > > static long SetStateHdl( SfxProgress*, PlugInLoadStatus* ); > static long DefaultBindingProgress( SfxProgress*, SvProgressArg* ); > FASTBOOL StatusBarManagerGone_Impl(SfxStatusBarManager*pStb); > const String& GetStateText_Impl() const; > >}; > > ># 209 "/usr/src/oo/oo_605_src/sfx2/source/doc/docfile.cxx" 2 > ># 73 "../../inc/doctempl.hxx" 1 >class SfxTemplateDir; >class SfxTemplateDirEntry; >class SfxObjectShell; > ># 85 "../../inc/doctempl.hxx" >class SfxDocumentTemplates >{ >private: > SfxTemplateDir* pDirs; > USHORT* pDirCount; > String aDirs; > char cDelim; > > BOOL CopyOrMove( USHORT nTargetRegion, USHORT nTargetIdx, > USHORT nSourceRegion, USHORT nSourceIdx, BOOL bMove ); > USHORT GetFileName( USHORT nRegion, const String& rLongName ) const; > BOOL KillDir( SfxTemplateDir& rDir ); > SfxTemplateDir* CreateRootTemplateDir( USHORT* pIter, > SfxTemplateDir** ppDirs = __null, > BOOL bScan = 0 ) const; > >public: > SfxDocumentTemplates(); > SfxDocumentTemplates(const SfxDocumentTemplates &); > ~SfxDocumentTemplates(); > > BOOL IsConstructed(){return pDirs!=__null;} > void Construct(); > > static BOOL SaveDir(SfxTemplateDir &rEntry) ; > const SfxDocumentTemplates &operator=(const SfxDocumentTemplates &); > > BOOL Rescan(); > > BOOL IsRegionLoaded( USHORT nIdx ) const; > USHORT GetRegionCount() const; > const String& GetRegionName(USHORT nIdx) const; > String GetFullRegionName(USHORT nIdx) const; > USHORT GetRegionNo( const String &rRetionName ) const; > > USHORT GetCount(USHORT nRegion) const; > USHORT GetCount( const String &rName) const; > const String& GetName(USHORT nRegion, USHORT nIdx) const; > const String& GetFileName(USHORT nRegion, USHORT nIdx) const; > String GetPath(USHORT nRegion, USHORT nIdx) const; > > String GetDefaultTemplatePath(const String &rLongName); > > > > > String GetTemplatePath(USHORT nRegion, const String &rLongName) const; > > > void NewTemplate(USHORT nRegion, > const String &rLongName, > const String &rFileName); > > BOOL NewTemplate(USHORT nRegion, String &rLongName); > BOOL Copy(USHORT nTargetRegion, > USHORT nTargetIdx, > USHORT nSourceRegion, > USHORT nSourceIdx); > BOOL Move(USHORT nTargetRegion, > USHORT nTargetIdx, > USHORT nSourceRegion, > USHORT nSourceIdx); > BOOL Delete(USHORT nRegion, USHORT nIdx); > BOOL InsertDir(const String &rText, USHORT nRegion); > BOOL SetName(const String &rName, USHORT nRegion, USHORT nIdx); > > BOOL CopyTo(USHORT nRegion, USHORT nIdx, const String &rName) const; > BOOL CopyFrom(USHORT nRegion, USHORT nIdx, String &rName); > > SfxObjectShellRef CreateObjectShell(USHORT nRegion, USHORT nIdx); > BOOL DeleteObjectShell(USHORT, USHORT); > > BOOL GetFull( const String& rRegion, const String& rName, String& rPath ); > BOOL GetLogicNames( const String& rPath, String& rRegion, String& rName ) const; >}; > ># 210 "/usr/src/oo/oo_605_src/sfx2/source/doc/docfile.cxx" 2 > ># 66 "../../inc/request.hxx" 1 ># 9 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/svtools/itemset.hxx" 1 ># 7 "/usr/include/g++-3/cstdarg" 1 ># 110 "/usr/lib/gcc-lib/i386-redhat-linux/2.96/include/stdarg.h" 1 >typedef __gnuc_va_list va_list; ># 7 "/usr/include/g++-3/cstdarg" 2 ># 9 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/svtools/itemset.hxx" 2 ># 21 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/svtools/itemset.hxx" >class SfxItemPool; >class SfxPoolItem; >class SvStream; > >typedef SfxPoolItem const** SfxItemArray; > > ># 63 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/svtools/itemset.hxx" >class SfxItemSet >{ >friend class SfxItemIter; > > SfxItemPool* _pPool; > const SfxItemSet* _pParent; > SfxItemArray _aItems; > USHORT* _pWhichRanges; > USHORT _nCount; > > > >friend class SfxItemPoolCache; >friend class SfxAllItemSet; >friend const char *DbgCheckItemSet( const void* ); > >private: > void InitRanges_Impl(const USHORT *nWhichPairTable); > void InitRanges_Impl(va_list pWhich, USHORT n1, USHORT n2, USHORT n3); > void InitRanges_Impl(USHORT nWh1, USHORT nWh2); > >public: > SfxItemArray GetItems_Impl() const { return _aItems; } > > > >private: > const SfxItemSet& operator=(const SfxItemSet &); > >protected: > > virtual void Changed( const SfxPoolItem& rOld, const SfxPoolItem& rNew ); > > int PutDirect(const SfxPoolItem &rItem); > >public: > SfxItemSet( const SfxItemSet& ); > > > > > > > > SfxItemSet( SfxItemPool&, BOOL bTotalPoolRanges = 0 ); > > SfxItemSet( SfxItemPool&, USHORT nWhich1, USHORT nWhich2 ); > SfxItemSet( SfxItemPool&, int nWh1, int nWh2, int nNull, ... ); > SfxItemSet( SfxItemPool&, const USHORT* nWhichPairTable ); > virtual ~SfxItemSet(); > > virtual SfxItemSet * Clone(BOOL bItems = 1, SfxItemPool *pToPool = 0) const; > > USHORT Count() const { return _nCount; } > USHORT TotalCount() const; > > virtual const SfxPoolItem& Get( USHORT nWhich, BOOL bSrchInParent = 1 ) const; > > > > const SfxPoolItem* GetItem( USHORT nWhich, BOOL bSrchInParent = 1, > TypeId aItemType = 0 ) const; > > USHORT GetWhichByPos(USHORT nPos) const; > > SfxItemState GetItemState( USHORT nWhich, > BOOL bSrchInParent = 1, > const SfxPoolItem **ppItem = 0 ) const; > > virtual void DisableItem(USHORT nWhich); > virtual void InvalidateItem( USHORT nWhich ); > virtual USHORT ClearItem( USHORT nWhich = 0); > virtual void ClearInvalidItems( BOOL bHardDefault = 0 ); > void InvalidateAllItems(); > > inline void SetParent( const SfxItemSet* pNew ); > > virtual const SfxPoolItem* Put( const SfxPoolItem&, USHORT nWhich ); > const SfxPoolItem* Put( const SfxPoolItem& rItem ) > { return Put(rItem, rItem.Which()); } > virtual int Put( const SfxItemSet&, > BOOL bInvalidAsDefault = 1 ); > void PutExtended( const SfxItemSet&, > SfxItemState eDontCareAs = 0x0000, > SfxItemState eDefaultAs = 0x0000 ); > > virtual int Set( const SfxItemSet&, BOOL bDeep = 1 ); > > virtual void Intersect( const SfxItemSet& rSet ); > virtual void MergeValues( const SfxItemSet& rSet, BOOL bOverwriteDefaults = 0 ); > virtual void Differentiate( const SfxItemSet& rSet ); > virtual void MergeValue( const SfxPoolItem& rItem, BOOL bOverwriteDefaults = 0 ); > > SfxItemPool* GetPool() const { return _pPool; } > const USHORT* GetRanges() const { return _pWhichRanges; } > void SetRanges( const USHORT *pRanges ); > void MergeRange( USHORT nFrom, USHORT nTo ); > const SfxItemSet* GetParent() const { return _pParent; } > > virtual SvStream & Load( SvStream &, FASTBOOL bDirect = 0, > const SfxItemPool *pRefPool = 0 ); > virtual SvStream & Store( SvStream &, FASTBOOL bDirect = 0 ) const; > > virtual int operator==(const SfxItemSet &) const; > > virtual BOOL equalsXML(const SfxItemSet &) const; >}; > >inline void SfxItemSet::SetParent( const SfxItemSet* pNew ) >{ >; > _pParent = pNew; >; >} > >class SfxAllItemSet: public SfxItemSet > >{ > SfxVoidItem aDefault; > USHORT nFree; > >public: > SfxAllItemSet( SfxItemPool &rPool ); > SfxAllItemSet( const SfxItemSet & ); > SfxAllItemSet( const SfxAllItemSet & ); > > virtual SfxItemSet * Clone( BOOL bItems = 1, SfxItemPool *pToPool = 0 ) const; > virtual const SfxPoolItem* Put( const SfxPoolItem&, USHORT nWhich ); > const SfxPoolItem* Put( const SfxPoolItem& rItem ) > { return Put(rItem, rItem.Which()); } > virtual int Put( const SfxItemSet&, > BOOL bInvalidAsDefault = 1 ); > >}; > ># 66 "../../inc/request.hxx" 2 > > > > >class SfxMacro; >class SfxPoolItem; >class SfxAllItemSet; >class SfxItemSet; >class SfxItemPool; >class SfxShell; >class SfxSlot; >class SfxMacroStatement; >class SfxArguments; >class String; >struct SfxRequest_Impl; > > > >class SfxRequest: public SfxHint >{ >friend struct SfxRequest_Impl; > > USHORT nSlot; > SfxAllItemSet* pArgs; > SfxRequest_Impl* pImp; > >public: > SfxRequest( USHORT nSlot, USHORT nCallMode, SfxItemPool &rPool ); > SfxRequest( USHORT nSlot, USHORT nCallMode, const SfxAllItemSet& rSfxArgs ); > SfxRequest( const SfxRequest& rOrig ); > ~SfxRequest(); > > USHORT GetSlot() const { return nSlot; } > void SetSlot(USHORT nNewSlot) { nSlot = nNewSlot; } > > USHORT GetModifier() const; > void SetModifier( USHORT nModi ); > void SetInternalArgs_Impl( const SfxAllItemSet& rArgs ); > const SfxItemSet* GetInternalArgs_Impl() const; > const SfxItemSet* GetArgs() const { return pArgs; } > void SetArgs( const SfxAllItemSet& rArgs ); > void AppendItem(const SfxPoolItem &); > void RemoveItem( USHORT nSlotId ); > > static const SfxPoolItem* GetItem( const SfxItemSet*, USHORT nSlotId, > FASTBOOL bDeep = 0, > TypeId aType = 0 ); > const SfxPoolItem* GetArg( USHORT nSlotId, FASTBOOL bDeep = 0, TypeId aType = 0 ) const; > void ReleaseArgs() > { ( delete pArgs,pArgs = 0 ); } > > void SetReturnValue(const SfxPoolItem &); > const SfxPoolItem* GetReturnValue() const; > > USHORT GetCallMode() const; > BOOL IsAPI() const; > BOOL IsSynchronCall() const; > void SetSynchronCall( BOOL bSynchron ); > > BOOL IsDone() const; > void Done( BOOL bRemove = 0 ); > > void Ignore(); > void Cancel(); > BOOL IsCancelled() const; > void Done(const SfxItemSet &, FASTBOOL bKeep = 1 ); > >private: > const SfxRequest& operator=(const SfxRequest &); >}; > > > ># 211 "/usr/src/oo/oo_605_src/sfx2/source/doc/docfile.cxx" 2 > ># 72 "../inc/dataurl.hxx" 1 ># 78 "../../inc/frame.hxx" 1 >namespace com >{ > namespace sun > { > namespace star > { > namespace awt > { > class XWindow; > } > namespace frame > { > class XFrame; > class XFrameLoader; > class XController; > class XDispatchProviderInterceptor; > } > namespace beans > { > struct PropertyValue; > } > } > } >} > ># 124 "../../inc/frame.hxx" >class SvBorder; >class SfxWorkWindow; >class Window; >class SfxFrame; >class SfxFrame_Impl; >class SfxObjectShell; >class SfxObjectFactory; >class SfxViewFrame; >class SfxFrameDescriptor; >class SfxFrameSetDescriptor; >class SfxMedium; >class SfxFrameHistory_Impl; >class LoadEnvironment_Impl; >class SfxDispatcher; >class SfxMedium; >class SfxCancellable; >class Rectangle; >class SfxRequest; >class SfxUnoControllerItem; >class SvCompatWeakHdl; > >typedef SfxFrame* SfxFramePtr; >class SfxFrameArr_Impl; > >class TargetList : private List { public: List::Clear; List::Count; List::GetCurPos; TargetList( USHORT _nInitSize = 16, USHORT _nReSize = 16 ) : List( _nInitSize, _nReSize ) {} TargetList( USHORT _nBlockSize, USHORT _nInitSize, USHORT _nReSize ) : List( _nBlockSize, _nInitSize, _nReSize ) {} TargetList( const TargetList& rClassName ) : List( rClassName ) {} void Insert( String* p, ULONG nIndex ) { List::Insert( (void*)p, nIndex ); } void Insert( String* p ) { List::Insert( (void*)p ); } void Insert( String* pNew, String* pOld ) { List::Insert( (void*)pNew, (void*)pOld ); } String* Remove() { return (String*)List::Remove(); } String* Remove( ULONG nIndex ) { return (String*)List::Remove( nIndex ); } String* Remove( String* p ) { return (String*)List::Remove( (void*)p ); } String* Replace( String* p ) { return (String*)List::Replace( (void*)p ); } String* Replace( String* p, ULONG nIndex ) { return (String*)List::Replace( (void*)p, nIndex ); } String* Replace( String* pNew, String* pOld ) { return (String*)List::Replace( (void*)pNew, (void*)pOld ); } String* GetCurObject() const { return (String*)List::GetCurObject(); } String* GetObject( ULONG nIndex ) const { return (String*)List::GetObject( nIndex ); } ULONG GetPos( const String* p ) const { return List::GetPos( (const void*)p ); } ULONG GetPos( const String* p, ULONG nStartIndex, BOOL bForward = 1 ) const { return List::GetPos( (const void*)p, nStartIndex, bForward ); } String* Seek( ULONG nIndex ) { return (String*)List::Seek( nIndex ); } String* Seek( void* p ) { return (String*)List::Seek( p ); } String* First() { return (String*)List::First(); } String* Last() { return (String*)List::Last(); } String* Next() { return (String*)List::Next(); } String* Prev() { return (String*)List::Prev(); } TargetList& operator =( const TargetList& rClassName ) { List::operator =( rClassName ); return *this; } BOOL operator ==( const TargetList& rList ) const { return List::operator ==( rList ); } BOOL operator !=( const TargetList& rList ) const { return List::operator !=( rList ); } };; > ># 183 "../../inc/frame.hxx" >class SfxFrameArr_Impl; >class SfxCancelManager; >class SfxFrame >{ > friend class SfxFrameIterator; > friend struct SfxFramePickEntry_Impl; > friend class SfxUnoFrame; > friend class SfxViewFrame; > >private: > String aName; > SfxFrame* pParentFrame; > SfxFrameArr_Impl* pChildArr; > SfxFrame_Impl* pImp; > SfxUnoFrame* pUnoImp; > > void UpdateUndoHistory_Impl( > SfxObjectShell *pDocSh, const String* pNew, const String *pTitle = 0 ); > void UpdateCurrentHistory_Impl( > SfxObjectShell *pDocSh, const String* pNew ); > >protected: > virtual sal_Bool Close() = 0; > virtual ~SfxFrame(); > > > void SetCurrentDocument_Impl( SfxObjectShell* ); > void InsertChildFrame_Impl( SfxFrame*, sal_uInt16 nPos = 0 ); > void RemoveChildFrame_Impl( sal_uInt16 nPos ); > void RemoveChildFrame_Impl( SfxFrame* ); > void SetIsTop_Impl( sal_Bool bIsTop = ((unsigned char)1) ); > > >public: > static void* CreateType(); static TypeId StaticType(); static BOOL IsOf( TypeId aSameOrSuperType ); virtual TypeId Type() const; virtual BOOL IsA( TypeId aSameOrSuperType ) const; > SfxFrame(SfxFrame* pParent = 0); > > SvCompatWeakHdl* GetHdl(); > sal_Bool TransferForReplaceInProgress() const; > virtual Window& GetWindow() const = 0; > void CancelTransfers( sal_Bool bCancelLoadEnv = ((unsigned char)1) ); > sal_Bool DoClose(); > sal_uInt16 GetChildFrameCount() const; > SfxFrame* GetChildFrame( sal_uInt16 nPos ) const; > void SetFrameName( const String& rName ); > const String& GetFrameName() const > { return aName; } > SfxFrame* GetParentFrame() const > { return pParentFrame; } > String GetContent() const; > > static SfxFrame* GetFirst(); > static SfxFrame* GetNext( SfxFrame& ); > > virtual sal_Bool InsertDocument( SfxObjectShell *pDoc ); > void DocumentInserted( SfxObjectShell* pDoc ); > > SfxBroadcaster& GetBroadcaster() const; > SfxObjectShell* GetCurrentDocument() const; > SfxViewFrame* GetCurrentViewFrame() const; > SfxFrame* GetTopFrame() const; > sal_Bool IsParent( SfxFrame* ) const; > > SfxFrame* findFrame( const ::rtl::OUString& aTargetFrameName, sal_Int32 nSearchFlags); > SfxFrame* SearchFrame( const String&, SfxMedium* pMedium = 0 ); > sal_uInt32 GetFrameType() const; > void GetTargetList( TargetList& ) const; > void ClearHistory(); > SfxFrame* GetContainingDocFrame_Impl( SfxFrame* pSelf ); > sal_Bool IsTop() const; > sal_Bool CloseChildFrames(); > void UpdatePickEntries(); > void UpdatePickEntries( const ::com::sun::star::uno::Any& rValue ); > void UpdateHistory( const ::rtl::OUString& aURL, const ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue >& aArgs, const ::rtl::OUString& rTitle ); > void UpdateHistory(SfxObjectShell*, const String*pNew = 0 ); > void UpdateDescriptor( SfxObjectShell *pDoc ); > void Resize(); > sal_Bool HasComponent() const; > ::com::sun::star::uno::Reference< ::com::sun::star::awt::XWindow > > GetComponent() const; > void ReleaseComponent(); > ::com::sun::star::uno::Reference< ::com::sun::star::frame::XFrame > > GetFrameInterface() const; > void Appear(); > ::com::sun::star::uno::Reference< ::com::sun::star::frame::XController > > GetController() const; > > static sal_Bool LoadSfxComponent( const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XFrame > &, > const ::rtl::OUString&, > const ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue >&, > const SfxObjectFactory* ); > > > void SetFrameInterface_Impl( ::com::sun::star::uno::Reference< ::com::sun::star::frame::XFrame >& rFrame ); > void ReleasingComponent_Impl( sal_Bool bSet ); > const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XDispatchProviderInterceptor > > GetInterceptor_Impl(); > sal_Bool ActivateNextChildWindow_Impl( sal_Bool ); > void Clear_Impl(); > sal_uInt16 LoadComponent_Impl( const ::rtl::OUString& rURL, > const ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue >& rArgs, > const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XFrameLoader > & rLoader, > SfxItemSet* pSet=0, sal_Bool bDontClose=((unsigned char)0) ); > void LoadFinished_Impl(); > static long BindingHasNewPart_Impl( SfxFrame*, void* ); > SfxCancelManager* GetCancelManager() const; > void SetLoadCancelable_Impl( SfxCancellable* ); > void GetViewData_Impl(); > sal_Bool CheckContentForLoad_Impl(); > sal_Bool ExecuteHistoryMenu_Impl( sal_uInt16 nWnich, const Rectangle& rRect, sal_uInt16 nFlags=0 ); > void ActivatePickEntry_Impl( SfxFramePickEntry_Impl*, sal_uInt16 nMode, SfxFrameDescriptor *pD = __null ); > void CopyHistory_Impl( SfxFrame *pFrame ) const; > SfxFrame* SearchChildrenForName_Impl( const String&, sal_Bool bDeep = ((unsigned char)1) ) const; > void SetFrameType_Impl( sal_uInt32 ); > void Activate_Impl( sal_Bool bBeamerOn ); > void Deactivate_Impl(); > sal_uInt16 PrepareClose_Impl( sal_Bool bUI, sal_Bool bForBrowsing=((unsigned char)0) ); > sal_Bool DocIsModified_Impl(); > void SetCurrentViewFrame_Impl( SfxViewFrame* ); > SfxFrame* SearchFrame_Impl( sal_uInt16, sal_Bool bDeep=((unsigned char)0) ); > SfxFrame* SearchFrame_Impl( const String&, sal_Bool bDeep=((unsigned char)0) ); > void SetFrameId_Impl( sal_uInt16 ); > sal_uInt16 GetFrameId_Impl() const; > void SetFrameIdName_Impl( const String& ); > sal_Bool IsClosing_Impl() const; > void SetLoadEnvironment_Impl( LoadEnvironment_Impl *); > LoadEnvironment_Impl* GetLoadEnvironment_Impl() const; > sal_Bool BrowseInFrame( int nDelta ); > sal_Bool Browse( sal_Bool bForward, sal_uInt16 nDelta = 1, sal_Bool bNewFrame=((unsigned char)0) ); > sal_Bool CanBrowseForward() const; > sal_Bool CanBrowseBackward() const; > > > void SetDescriptor( SfxFrameDescriptor* ); > SfxFrameDescriptor* GetDescriptor() const; > > void Lock_Impl( sal_Bool bLock ); > sal_uInt16 GetLockCount_Impl() const; > sal_Bool IsLocked_Impl() const > { return GetLockCount_Impl() > 0; } > void CloseOnUnlock_Impl(); > SfxViewFrame* ActivateChildFrame_Impl(); > SfxDispatcher* GetDispatcher_Impl() const; > sal_Bool IsAutoLoadLocked_Impl() const; > > static void InsertTopFrame_Impl( SfxFrame* pFrame ); > static void RemoveTopFrame_Impl( SfxFrame* pFrame ); > static void BeamerSwitched_Impl( sal_Bool bOn ); > static void BeamerSet_Impl(); > sal_uInt16 GetBeamerState_Impl() const; > void SetItemSet_Impl( const SfxItemSet* pSet ); > const SfxItemSet* GetItemSet_Impl(); > void SetOwnsBindings_Impl( sal_Bool bSet ); > sal_Bool OwnsBindings_Impl() const; > void InvalidateUnoControllers_Impl(); > void RegisterUnoController_Impl( SfxUnoControllerItem* ); > void ReleaseUnoController_Impl( SfxUnoControllerItem* ); > SfxWorkWindow* GetWorkWindow_Impl() const; > void SetToolSpaceBorderPixel_Impl( const SvBorder& ); > Rectangle GetTopOuterRectPixel_Impl() const; > void CreateWorkWindow_Impl(); > const SvBorder& GetBorder_Impl() const; > void GrabFocusOnComponent_Impl(); > void ReFill_Impl( const SfxFrameSetDescriptor* pSet ); > void LockFocus_Impl( sal_Bool bLock ); > sal_Bool IsFocusLocked_Impl() const; > > >}; > >class SfxFrameWeak { SvCompatWeakHdlRef _xHdl; public: inline SfxFrameWeak( ) {} inline SfxFrameWeak( SfxFrame* pObj ) { if( pObj ) _xHdl = pObj->GetHdl(); } inline void Clear() { _xHdl.Clear(); } inline SfxFrameWeak& operator = ( SfxFrame * pObj ) { _xHdl = pObj ? pObj->GetHdl() : 0; return *this; } inline BOOL Is() const { return _xHdl.Is() && _xHdl->GetObj(); } inline SfxFrame * operator & () const { return (SfxFrame*) ( _xHdl.Is() ? _xHdl->GetObj() : 0 ); } inline SfxFrame * operator -> () const { return (SfxFrame*) ( _xHdl.Is() ? _xHdl->GetObj() : 0 ); } inline SfxFrame & operator * () const { return *(SfxFrame*) _xHdl->GetObj(); } inline operator SfxFrame * () const { return (SfxFrame*) (_xHdl.Is() ? _xHdl->GetObj() : 0 ); } }; > >class SfxFrameIterator >{ > const SfxFrame* pFrame; > sal_Bool bRecursive; > > > SfxFrame* NextSibling_Impl( SfxFrame& rPrev ); > > >public: > SfxFrameIterator( const SfxFrame& rFrame, sal_Bool bRecursive=((unsigned char)1) ); > SfxFrame* FirstFrame(); > SfxFrame* NextFrame( SfxFrame& rPrev ); >}; > > > >class SfxFrameItem_Impl; >class SfxFrameItem: public SfxPoolItem >{ > SfxFrame* pFrame; > SfxFrameWeak wFrame; > void SetFramePtr_Impl( SfxFrame* pFrameP ) { pFrame = wFrame; } > >public: > static void* CreateType(); static TypeId StaticType(); static BOOL IsOf( TypeId aSameOrSuperType ); virtual TypeId Type() const; virtual BOOL IsA( TypeId aSameOrSuperType ) const; > > SfxFrameItem( sal_uInt16 nWhich, SfxViewFrame *p ); > SfxFrameItem( SfxFrame *p ): > SfxPoolItem( 0 ), > pFrame( p ), wFrame( p ) {} > > > SfxFrameItem( sal_uInt16 nWhich, SfxFrame *p ): > SfxPoolItem( nWhich ), > pFrame( p ), wFrame( p ){ } > > virtual int operator==( const SfxPoolItem& ) const; > virtual String GetValueText() const; > virtual SfxPoolItem* Clone( SfxItemPool *pPool = 0 ) const; > > > sal_Bool FrameKilled() const { return &wFrame != pFrame; } > > SfxFrame* GetFrame() const > { return wFrame; } >}; > >class SfxUsrAnyItem : public SfxPoolItem >{ > ::com::sun::star::uno::Any aValue; >public: > static void* CreateType(); static TypeId StaticType(); static BOOL IsOf( TypeId aSameOrSuperType ); virtual TypeId Type() const; virtual BOOL IsA( TypeId aSameOrSuperType ) const; > SfxUsrAnyItem( sal_uInt16 nWhich, const ::com::sun::star::uno::Any& rAny ); > ::com::sun::star::uno::Any GetValue() const > { return aValue; } > virtual int operator==( const SfxPoolItem& ) const; > virtual String GetValueText() const; > virtual SfxPoolItem* Clone( SfxItemPool *pPool = 0 ) const; >}; > ># 72 "../inc/dataurl.hxx" 2 > > > >class DataLockByteFactory_Impl : public SvLockBytesFactory >{ >public: > DataLockByteFactory_Impl(); > virtual SvLockBytesRef CreateLockBytes( > const String& rName, String& rMime ); > static String Encode64( const String& ); > static String Decode64( const String& ); >}; > > > >class ImageLockByteFactory_Impl : public SvLockBytesFactory >{ >public: > ImageLockByteFactory_Impl(); > virtual SvLockBytesRef CreateLockBytes( > const String& rName, String& rMime ); >}; > > > >class InfoLockByteFactory_Impl : public SvLockBytesFactory >{ >public: > InfoLockByteFactory_Impl(); > virtual SvLockBytesRef CreateLockBytes( > const String& rName, String& rMime ); >}; > > ># 212 "/usr/src/oo/oo_605_src/sfx2/source/doc/docfile.cxx" 2 > ># 80 "../inc/ucbhelp.hxx" 1 >namespace com >{ > namespace sun > { > namespace star > { > namespace ucb > { > class XContent; > class XCommandEnvironment; > } > namespace io > { > class XInputStream; > } > } > } >} > > > >class UCB_Link_Helper : public SvRefBase >{ > ::vos::OMutex maMutex; > > Link maDoneLink; > Link maDataAvailLink; > Link maCancelLink; > > BOOL mbSet; > > ~UCB_Link_Helper(){;} >public: > > UCB_Link_Helper(){ mbSet = 0;} > > void SetDoneLink( const Link& rLink ); > void SetDataAvailLink( const Link& rLink ); > void SetCancelLink( const Link& rLink ); > > void Done(); > void DataAvail(); > void Cancel(); > > void Clear(); >}; > >class UCB_Link_Helper; class UCB_Link_HelperRef { protected: UCB_Link_Helper * pObj; public: inline UCB_Link_HelperRef() { pObj = 0; } inline UCB_Link_HelperRef( const UCB_Link_HelperRef & rObj ); inline UCB_Link_HelperRef( UCB_Link_Helper * pObjP ); inline void Clear(); inline ~UCB_Link_HelperRef(); inline UCB_Link_HelperRef & operator = ( const UCB_Link_HelperRef & rObj ); inline UCB_Link_HelperRef & operator = ( UCB_Link_Helper * pObj ); inline BOOL Is() const { return pObj != __null; } inline UCB_Link_Helper * operator & () const { return pObj; } inline UCB_Link_Helper * operator -> () const { return pObj; } inline UCB_Link_Helper & operator * () const { return *pObj; } inline operator UCB_Link_Helper * () const { return pObj; } }; > >inline UCB_Link_HelperRef::UCB_Link_HelperRef( const UCB_Link_HelperRef & rObj ) { pObj = rObj.pObj; if( pObj ) { pObj->AddNextRef(); } } inline UCB_Link_HelperRef::UCB_Link_HelperRef( UCB_Link_Helper * pObjP ) { pObj = pObjP; if( pObj ) { pObj->AddRef(); } } inline void UCB_Link_HelperRef::Clear() { if( pObj ) { UCB_Link_Helper* const pRefObj = pObj; pObj = 0; pRefObj->ReleaseReference(); } } inline UCB_Link_HelperRef::~UCB_Link_HelperRef() { if( pObj ) { pObj->ReleaseReference(); } } inline UCB_Link_HelperRef & UCB_Link_HelperRef:: operator = ( const UCB_Link_HelperRef & rObj ) { if( rObj.pObj ) rObj.pObj->AddNextRef(); UCB_Link_Helper* const pRefObj = pObj; pObj = rObj.pObj; if( pRefObj ) { pRefObj->ReleaseReference(); } return *this; } inline UCB_Link_HelperRef & UCB_Link_HelperRef::operator = ( UCB_Link_Helper * pObjP ) { return *this = UCB_Link_HelperRef( pObjP ); } > > > >class WrpJobList; >class String; >class SfxCancelManager; > > > >class UCB_Helper >{ > static WrpJobList* mpJobList; > >public: > static void Initialize(); > static void Deinitialize(); > static void SetConnectionMode( BOOL bOn ); > static BOOL GetConnectionMode(); > > static SvLockBytesRef CreateInputLockBytes( com::sun::star::uno::Reference < com::sun::star::ucb::XContent >, > UCB_Link_HelperRef xLinkList, SfxCancelManager *pMgr ); > > static SvLockBytesRef CreateInputLockBytes( const com::sun::star::uno::Reference < com::sun::star::io::XInputStream > &rStream, > UCB_Link_HelperRef xLinkList, SfxCancelManager *pMgr ); > > static BOOL HasCommand( com::sun::star::uno::Reference < com::sun::star::ucb::XContent >, > USHORT nWhich ); > static com::sun::star::uno::Any ExecuteCommand( com::sun::star::uno::Reference < com::sun::star::ucb::XContent >, > const ::rtl::OUString& rName, > const com::sun::star::uno::Any& rArgument, > sal_Bool *pSuccess = __null ); > static void ExecuteCommand( com::sun::star::uno::Reference < com::sun::star::ucb::XContent >, > USHORT nPropId, > sal_Bool *pSuccess = __null ); > static void ExecuteCommand( com::sun::star::uno::Reference < com::sun::star::ucb::XContent >, > USHORT nPropId, > const com::sun::star::uno::Any& rArgument, > sal_Bool *pSuccess = __null ); > static void ExecuteCommand( const String& rURL, > USHORT nPropId, > sal_Bool *pSuccess = __null ); > static void ExecuteCommand( const String& rURL, > USHORT nPropId, > const com::sun::star::uno::Any& rArgument, > sal_Bool *pSuccess = __null ); > > static com::sun::star::uno::Any ExecuteOpenCommand( com::sun::star::uno::Reference < com::sun::star::ucb::XContent > xContent, > const com::sun::star::uno::Any& rArgument, > sal_Int32 nCmdId, > com::sun::star::uno::Reference< com::sun::star::ucb::XCommandEnvironment > xEnv, > sal_Bool &rSuccess ); > > static com::sun::star::uno::Any GetProperty( const String& rURL, USHORT nPropId ); > static com::sun::star::uno::Any GetProperty( com::sun::star::uno::Reference < com::sun::star::ucb::XContent >, USHORT nPropId ); > static void SetProperty( const String& rURL, USHORT nPropId, const com::sun::star::uno::Any& rAny ); > static void SetProperty( com::sun::star::uno::Reference < com::sun::star::ucb::XContent >, > USHORT nPropId, const com::sun::star::uno::Any& rAny ); > static com::sun::star::uno::Reference < com::sun::star::ucb::XContent > CreateContent( const String& rURL ); > static com::sun::star::uno::Reference < com::sun::star::ucb::XContent > CreateContent( const ::rtl::OUString& rURL ); >}; > > ># 213 "/usr/src/oo/oo_605_src/sfx2/source/doc/docfile.cxx" 2 > > ># 76 "../inc/helper.hxx" 1 ># 12 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/tools/bigint.hxx" 1 >class SvStream; > > > > > > > >class BigInt >{ >private: > long nVal; > unsigned short nNum[8]; > BYTE nLen : 5; > BOOL bIsNeg : 1, > bIsBig : 1, > bIsSet : 1; > >public: > BigInt(); > BigInt( short nVal ); > BigInt( long nVal ); > BigInt( int nVal ); > BigInt( double nVal ); > BigInt( USHORT nVal ); > BigInt( ULONG nVal ); > BigInt( const BigInt& rBigInt ); > BigInt( const ByteString& rString ); > BigInt( const String& rString ); > > > > > > operator short() const; > operator long() const; > operator int() const; > operator double() const; > operator USHORT() const; > operator ULONG() const; > > void Set( BOOL bSet ) { bIsSet = bSet; } > > ByteString GetByteString() const; > String GetString() const; > > > > > > BOOL IsSet() const { return bIsSet; } > BOOL IsNeg() const; > BOOL IsZero() const; > BOOL IsOne() const; > BOOL IsLong() const { return !bIsBig; } > void Abs(); > void DivMod( const BigInt &rDivisor, BigInt &rMod ); > > > > > > BigInt& operator =( const BigInt& rVal ); > BigInt& operator +=( const BigInt& rVal ); > BigInt& operator -=( const BigInt& rVal ); > BigInt& operator *=( const BigInt& rVal ); > BigInt& operator /=( const BigInt& rVal ); > BigInt& operator %=( const BigInt& rVal ); > > BigInt& operator =( const short nValue ); > BigInt& operator =( const long nValue ); > BigInt& operator =( const int nValue ); > BigInt& operator =( const USHORT nValue ); > ># 100 "/usr/src/oo/oo_605_src/solver/605/unxlngi3.pro/inc/tools/bigint.hxx" > friend inline BigInt operator +( const BigInt& rVal1, const BigInt& rVal2 ); > friend inline BigInt operator -( const BigInt& rVal1, const BigInt& rVal2 ); > friend inline BigInt operator *( const BigInt& rVal1, const BigInt& rVal2 ); > friend inline BigInt operator /( const BigInt& rVal1, const BigInt& rVal2 ); > friend inline BigInt operator %( const BigInt& rVal1, const BigInt& rVal2 ); > > friend BOOL operator==( const BigInt& rVal1, const BigInt& rVal2 ); > friend inline BOOL operator!=( const BigInt& rVal1, const BigInt& rVal2 ); > friend BOOL operator< ( const BigInt& rVal1, const BigInt& rVal2 ); > friend BOOL operator> ( const BigInt& rVal1, const BigInt& rVal2 ); > friend inline BOOL operator<=( const BigInt& rVal1, const BigInt& rVal2 ); > friend inline BOOL operator>=( const BigInt& rVal1, const BigInt& rVal2 ); > >}; > >inline BigInt::BigInt() >{ > bIsSet = 0; > bIsBig = 0; > nVal = 0; >} > >inline BigInt::BigInt( short nValue ) >{ > bIsSet = 1; > bIsBig = 0; > nVal = nValue; >} > >inline BigInt::BigInt( long nValue ) >{ > bIsSet = 1; > bIsBig = 0; > nVal = nValue; >} > >inline BigInt::BigInt( int nValue ) >{ > bIsSet = 1; > bIsBig = 0; > nVal = nValue; >} > >inline BigInt::BigInt( USHORT nValue ) >{ > bIsSet = 1; > bIsBig = 0; > nVal = nValue; >} > >inline BigInt::operator short() const >{ > if ( !bIsBig && (nVal == (long)(short)nVal) ) > return (short)nVal; > else > return 0; >} > >inline BigInt::operator long() const >{ > if ( !bIsBig ) > return nVal; > else > return 0; >} > >inline BigInt::operator int() const >{ > if ( !bIsBig && (nVal == (long)(int)nVal) ) > return (int)nVal; > else > return 0; >} > >inline BigInt::operator USHORT() const >{ > if ( !bIsBig && (nVal == (long)(USHORT)nVal) ) > return (USHORT)nVal; > else > return 0; >} > >inline BigInt& BigInt::operator =( const short nValue ) >{ > bIsSet = 1; > bIsBig = 0; > nVal = nValue; > > return *this; >} > >inline BigInt& BigInt::operator =( const long nValue ) >{ > bIsSet = 1; > bIsBig = 0; > nVal = nValue; > > return *this; >} > >inline BigInt& BigInt::operator =( const int nValue ) >{ > bIsSet = 1; > bIsBig = 0; > nVal = nValue; > > return *this; >} > >inline BigInt& BigInt::operator =( const USHORT nValue ) >{ > bIsSet = 1; > bIsBig = 0; > nVal = nValue; > > return *this; >} > >inline BOOL BigInt::IsNeg() const >{ > if ( !bIsBig ) > return (nVal < 0); > else > return (BOOL)bIsNeg; >} > >inline BOOL BigInt::IsZero() const >{ > if ( bIsBig ) > return 0; > else > return (nVal == 0); >} > >inline BOOL BigInt::IsOne() const >{ > if ( bIsBig ) > return 0; > else > return (nVal == 1); >} > >inline void BigInt::Abs() >{ > if ( bIsBig ) > bIsNeg = 0; > else if ( nVal < 0 ) > nVal = -nVal; >} > >inline BigInt operator+( const BigInt &rVal1, const BigInt &rVal2 ) >{ > BigInt aErg( rVal1 ); > aErg += rVal2; > return aErg; >} > >inline BigInt operator-( const BigInt &rVal1, const BigInt &rVal2 ) >{ > BigInt aErg( rVal1 ); > aErg -= rVal2; > return aErg; >} > >inline BigInt operator*( const BigInt &rVal1, const BigInt &rVal2 ) >{ > BigInt aErg( rVal1 ); > aErg *= rVal2; > return aErg; >} > >inline BigInt operator/( const BigInt &rVal1, const BigInt &rVal2 ) >{ > BigInt aErg( rVal1 ); > aErg /= rVal2; > return aErg; >} > >inline BigInt operator%( const BigInt &rVal1, const BigInt &rVal2 ) >{ > BigInt aErg( rVal1 ); > aErg %= rVal2; > return aErg; >} > >inline BOOL operator!=( const BigInt& rVal1, const BigInt& rVal2 ) >{ > return !(rVal1 == rVal2); >} > >inline BOOL operator<=( const BigInt& rVal1, const BigInt& rVal2 ) >{ > return !( rVal1 > rVal2); >} > >inline BOOL operator>=( const BigInt& rVal1, const BigInt& rVal2 ) >{ > return !(rVal1 < rVal2); >} > ># 76 "../inc/helper.hxx" 2 > > > >class SfxContentHelper >{ >private: > static sal_Bool Transfer_Impl( const String& rSource, const String& rDest, sal_Bool bMoveData, > sal_Int32 nNameClash ); > >public: > static sal_Bool IsDocument( const String& rContent ); > static sal_Bool IsFolder( const String& rContent ); > static sal_Bool GetTitle( const String& rContent, String& rTitle ); > static sal_Bool Kill( const String& rContent ); > > static ::com::sun::star::uno::Sequence< ::rtl::OUString > > GetFolderContents( const String& rFolder, sal_Bool bFolder ); > static ::com::sun::star::uno::Sequence< ::rtl::OUString > > GetFolderContentProperties( const String& rFolder, sal_Bool bFolder ); > > static sal_Bool CopyTo( const String& rSource, const String& rDest ); > static sal_Bool MoveTo( const String& rSource, const String& rDest, sal_Int32 nNameClash = com::sun::star::ucb::NameClash::ERROR ); > > static sal_Bool MakeFolder( const String& rFolder ); > static ErrCode QueryDiskSpace( const String& rPath, sal_Int64& rFreeBytes ); > static ULONG GetSize( const String& rContent ); > static sal_Bool IsYounger( const String& rIsYoung, const String& rIsOlder ); > > > static sal_Bool Exists( const String& rContent ); > static sal_Bool Find( const String& rFolder, const String& rName, String& rFile ); >}; > ># 215 "/usr/src/oo/oo_605_src/sfx2/source/doc/docfile.cxx" 2 ># 231 "/usr/src/oo/oo_605_src/sfx2/source/doc/docfile.cxx" >typedef ::cppu::WeakImplHelper2<com::sun::star::io::XInputStream, com::sun::star::io::XSeekable> InputStreamHelper_Base; >class OInputStreamHelper : public InputStreamHelper_Base >{ > ::osl::Mutex m_aMutex; > SvLockBytesRef m_xLockBytes; > sal_uInt32 m_nActPos; > sal_Int32 m_nAvailable; > >public: > OInputStreamHelper(const SvLockBytesRef& _xLockBytes, > sal_uInt32 _nAvailable, > sal_uInt32 _nPos = 0) > :m_xLockBytes(_xLockBytes) > ,m_nActPos(_nPos) > ,m_nAvailable(_nAvailable){} > > > virtual sal_Int32 readBytes( ::com::sun::star::uno::Sequence< sal_Int8 >& aData, sal_Int32 nBytesToRead ) throw(::com::sun::star::io::NotConnectedException, ::com::sun::star::io::BufferSizeExceededException, ::com::sun::star::io::IOException, ::com::sun::star::uno::RuntimeException); > virtual sal_Int32 readSomeBytes( ::com::sun::star::uno::Sequence< sal_Int8 >& aData, sal_Int32 nMaxBytesToRead ) throw(::com::sun::star::io::NotConnectedException, ::com::sun::star::io::BufferSizeExceededException, ::com::sun::star::io::IOException, ::com::sun::star::uno::RuntimeException); > virtual void skipBytes( sal_Int32 nBytesToSkip ) throw(::com::sun::star::io::NotConnectedException, ::com::sun::star::io::BufferSizeExceededException, ::com::sun::star::io::IOException, ::com::sun::star::uno::RuntimeException); > virtual sal_Int32 available( ) throw(::com::sun::star::io::NotConnectedException, ::com::sun::star::io::IOException, ::com::sun::star::uno::RuntimeException); > virtual void closeInput( ) throw (::com::sun::star::io::NotConnectedException, ::com::sun::star::io::IOException, ::com::sun::star::uno::RuntimeException); > > > virtual void seek( sal_Int64 location ) throw(::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::io::IOException, ::com::sun::star::uno::RuntimeException); > virtual sal_Int64 getPosition( ) throw(::com::sun::star::io::IOException, ::com::sun::star::uno::RuntimeException); > virtual sal_Int64 getLength( ) throw(::com::sun::star::io::IOException, ::com::sun::star::uno::RuntimeException); >}; > > >sal_Int32 OInputStreamHelper::readBytes(::com::sun::star::uno::Sequence< sal_Int8 >& aData, sal_Int32 nBytesToRead) > throw(::com::sun::star::io::NotConnectedException, ::com::sun::star::io::BufferSizeExceededException, ::com::sun::star::io::IOException, ::com::sun::star::uno::RuntimeException) >{ > if (!m_xLockBytes.Is()) > throw ::com::sun::star::io::NotConnectedException(::rtl::OUString(), static_cast<::com::sun::star::uno::XWeak*>(this)); > > if (nBytesToRead < 0) > throw ::com::sun::star::io::BufferSizeExceededException(::rtl::OUString(), static_cast<::com::sun::star::uno::XWeak*>(this)); > > ::osl::MutexGuard aGuard( m_aMutex ); > aData.realloc(nBytesToRead); > > sal_uInt32 nRead; > ErrCode nError = m_xLockBytes->ReadAt(m_nActPos, (void*)aData.getArray(), nBytesToRead, &nRead); > m_nActPos += nRead; > > if (nError != (0UL)) > throw ::com::sun::star::io::IOException(::rtl::OUString(), static_cast<::com::sun::star::uno::XWeak*>(this)); > > > if (nRead < (sal_uInt32)nBytesToRead) > aData.realloc( nRead ); > > return nRead; >} > >void OInputStreamHelper::seek( sal_Int64 location ) throw(::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::io::IOException, ::com::sun::star::uno::RuntimeException) >{ > ::osl::MutexGuard aGuard( m_aMutex ); > m_nActPos = location; >} > >sal_Int64 OInputStreamHelper::getPosition( ) throw(::com::sun::star::io::IOException, ::com::sun::star::uno::RuntimeException) >{ > return m_nActPos; >} > >sal_Int64 OInputStreamHelper::getLength( ) throw(::com::sun::star::io::IOException, ::com::sun::star::uno::RuntimeException) >{ > if (!m_xLockBytes.Is()) > return 0; > > ::osl::MutexGuard aGuard( m_aMutex ); > SvLockBytesStat aStat; > m_xLockBytes->Stat( &aStat, SVSTATFLAG_DEFAULT ); > m_nActPos = aStat.nSize; > return m_nActPos; >} > > >sal_Int32 OInputStreamHelper::readSomeBytes(::com::sun::star::uno::Sequence< sal_Int8 >& aData, > sal_Int32 nMaxBytesToRead) > throw (::com::sun::star::io::NotConnectedException, ::com::sun::star::io::BufferSizeExceededException, ::com::sun::star::io::IOException, ::com::sun::star::uno::RuntimeException) >{ > > return readBytes(aData, nMaxBytesToRead); >} > > >void OInputStreamHelper::skipBytes(sal_Int32 nBytesToSkip) > throw (::com::sun::star::io::NotConnectedException, ::com::sun::star::io::BufferSizeExceededException, ::com::sun::star::io::IOException, ::com::sun::star::uno::RuntimeException) >{ > ::osl::MutexGuard aGuard( m_aMutex ); > if (!m_xLockBytes.Is()) > throw ::com::sun::star::io::NotConnectedException(::rtl::OUString(), static_cast<::com::sun::star::uno::XWeak*>(this)); > > if (nBytesToSkip < 0) > throw ::com::sun::star::io::BufferSizeExceededException(::rtl::OUString(), static_cast<::com::sun::star::uno::XWeak*>(this)); > > m_nActPos += nBytesToSkip; >} > > >sal_Int32 OInputStreamHelper::available() > throw (::com::sun::star::io::NotConnectedException, ::com::sun::star::io::IOException, ::com::sun::star::uno::RuntimeException) >{ > ::osl::MutexGuard aGuard( m_aMutex ); > if (!m_xLockBytes.Is()) > throw ::com::sun::star::io::NotConnectedException(::rtl::OUString(), static_cast<::com::sun::star::uno::XWeak*>(this)); > > return m_nAvailable; >} > > >void OInputStreamHelper::closeInput() > throw (::com::sun::star::io::NotConnectedException, ::com::sun::star::io::IOException, ::com::sun::star::uno::RuntimeException) >{ > ::osl::MutexGuard aGuard( m_aMutex ); > if (!m_xLockBytes.Is()) > throw ::com::sun::star::io::NotConnectedException(::rtl::OUString(), static_cast<::com::sun::star::uno::XWeak*>(this)); > > m_xLockBytes = __null; >} > > > > >class FileSource_Impl : public ::com::sun::star::lang::XTypeProvider , > public ::com::sun::star::io::XActiveDataSource , > public ::com::sun::star::io::XActiveDataControl , > public ::com::sun::star::lang::XInitialization , > public ::cppu::OWeakObject >{ >private: > SvStream* pStream; > SfxMedium* pMedium; > ::com::sun::star::uno::Reference< ::com::sun::star::io::XStreamListener > m_xListener; > ::com::sun::star::uno::Reference< ::com::sun::star::io::XOutputStream > m_xSink; > >public: > > virtual ::com::sun::star::uno::Any queryInterface( const ::com::sun::star::uno::Type& aType ) throw( ::com::sun::star::uno::RuntimeException ); virtual void acquire() throw( ); virtual void release() throw( ); virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type > getTypes() throw( ::com::sun::star::uno::RuntimeException ); virtual ::com::sun::star::uno::Sequence< sal_Int8 > getImplementationId() throw( ::com::sun::star::uno::RuntimeException ); > > FileSource_Impl(); > FileSource_Impl( SfxMedium* ); > virtual ~FileSource_Impl(); > > void ResetMedium() > { pMedium = __null; pStream = __null;} > long DataAvailableHdl( void* ); static long LinkStubDataAvailableHdl( void* pThis, void* ); > > > virtual void addListener(const ::com::sun::star::uno::Reference< ::com::sun::star::io::XStreamListener > & aListener) throw( ::com::sun::star::uno::RuntimeException ); > virtual void removeListener(const ::com::sun::star::uno::Reference< ::com::sun::star::io::XStreamListener > & aListener) throw( ::com::sun::star::uno::RuntimeException ); > virtual void start(void) throw( ::com::sun::star::uno::RuntimeException ); > virtual void terminate(void) throw( ::com::sun::star::uno::RuntimeException ); > > > virtual void setOutputStream(const ::com::sun::star::uno::Reference< ::com::sun::star::io::XOutputStream > & aStream) throw( ::com::sun::star::uno::RuntimeException ); > virtual ::com::sun::star::uno::Reference< ::com::sun::star::io::XOutputStream > getOutputStream(void) throw( ::com::sun::star::uno::RuntimeException ); > > > virtual void initialize(const ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Any >& Arguments) throw( ::com::sun::star::uno::Exception, ::com::sun::star::uno::RuntimeException ); > >}; > >class FileSink_Impl : public ::com::sun::star::lang::XTypeProvider , > public ::com::sun::star::io::XOutputStream , > public ::cppu::OWeakObject >{ >private: > SvStream* pStream; > SfxMedium* pMedium; > >public: > virtual ::com::sun::star::uno::Any queryInterface( const ::com::sun::star::uno::Type& aType ) throw( ::com::sun::star::uno::RuntimeException ); virtual void acquire() throw( ); virtual void release() throw( ); virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type > getTypes() throw( ::com::sun::star::uno::RuntimeException ); virtual ::com::sun::star::uno::Sequence< sal_Int8 > getImplementationId() throw( ::com::sun::star::uno::RuntimeException ); > > FileSink_Impl( SfxMedium* ); > virtual ~FileSink_Impl(); > > void ResetMedium() > { pMedium = __null; pStream = __null;} > > > virtual void writeBytes(const ::com::sun::star::uno::Sequence< sal_Int8 >& aData) throw( ::com::sun::star::io::NotConnectedException, ::com::sun::star::io::BufferSizeExceededException, ::com::sun::star::uno::RuntimeException ); > virtual void flush(void) throw( ::com::sun::star::io::NotConnectedException, ::com::sun::star::io::BufferSizeExceededException, ::com::sun::star::uno::RuntimeException ); > virtual void closeOutput(void) throw( ::com::sun::star::io::NotConnectedException, ::com::sun::star::io::BufferSizeExceededException, ::com::sun::star::uno::RuntimeException ); >}; > >void FileSink_Impl::acquire() throw( ) { OWeakObject::acquire(); } void FileSink_Impl::release() throw( ) { OWeakObject::release(); } ::com::sun::star::uno::Any FileSink_Impl::queryInterface( const ::com::sun::star::uno::Type& rType ) throw( ::com::sun::star::uno::RuntimeException ) { ::com::sun::star::uno::Any aReturn ( ::cppu::queryInterface( rType, static_cast< ::com::sun::star::lang::XTypeProvider* >( this ), static_cast< ::com::sun::star::io::XOutputStream* >( this )) ); if ( aReturn.hasValue() == ((unsigned char)1) ) { return aReturn ; } else { return OWeakObject::queryInterface( rType ); } } >::com::sun::star::uno::Sequence< sal_Int8 > FileSink_Impl::getImplementationId() throw( ::com::sun::star::uno::RuntimeException ) { static ::cppu::OImplementationId* pID = __null ; if ( pID == __null ) { ::osl::MutexGuard aGuard( ::osl::Mutex::getGlobalMutex() ); if ( pID == __null ) { static ::cppu::OImplementationId aID( ((unsigned char)0) ); pID = &aID ; } } return pID->getImplementationId(); } ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type > FileSink_Impl::getTypes() throw( ::com::sun::star::uno::RuntimeException ) { static ::cppu::OTypeCollection* pTypeCollection = __null ; if ( pTypeCollection == __null ) { ::osl::MutexGuard aGuard( ::osl::Mutex::getGlobalMutex() ); if ( pTypeCollection == __null ) { static ::cppu::OTypeCollection aTypeCollection( ::getCppuType(( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XTypeProvider >*)__null ), ::getCppuType(( const ::com::sun::star::uno::Reference< ::com::sun::star::io::XOutputStream>*)__null )); pTypeCollection = &aTypeCollection ; } } return pTypeCollection->getTypes(); } > >FileSink_Impl::FileSink_Impl( SfxMedium* pMed ) > : pMedium( pMed ) > , pStream( __null ) >{ >} > >FileSink_Impl::~FileSink_Impl() >{ > if ( pMedium ) > { > pMedium->ResetDataSink(); > pMedium->ReleaseRef(); > } >} > >void FileSink_Impl::writeBytes(const ::com::sun::star::uno::Sequence< sal_Int8 >& Buffer) throw( ::com::sun::star::io::NotConnectedException, ::com::sun::star::io::BufferSizeExceededException, ::com::sun::star::uno::RuntimeException ) >{ > if ( !pStream && pMedium ) > pStream = pMedium->GetOutStream(); > > if ( pStream ) > pStream->Write( Buffer.getConstArray(), (sal_uInt32) Buffer.getLength() ); >} > >void FileSink_Impl::flush(void) throw( ::com::sun::star::io::NotConnectedException, ::com::sun::star::io::BufferSizeExceededException, ::com::sun::star::uno::RuntimeException ) >{ > if ( pMedium ) > pMedium->GetOutStream()->Flush(); >} > >void FileSink_Impl::closeOutput(void) throw( ::com::sun::star::io::NotConnectedException, ::com::sun::star::io::BufferSizeExceededException, ::com::sun::star::uno::RuntimeException ) >{ > if ( pMedium ) > pMedium->Close(); >} > >void FileSource_Impl::acquire() throw( ) { OWeakObject::acquire(); } void FileSource_Impl::release() throw( ) { OWeakObject::release(); } ::com::sun::star::uno::Any FileSource_Impl::queryInterface( const ::com::sun::star::uno::Type& rType ) throw( ::com::sun::star::uno::RuntimeException ) { ::com::sun::star::uno::Any aReturn ( ::cppu::queryInterface( rType, static_cast< ::com::sun::star::lang::XTypeProvider* >( this ), static_cast< ::com::sun::star::io::XActiveDataSource* >( this ), static_cast< ::com::sun::star::io::XActiveDataControl* >( this ), static_cast< ::com::sun::star::lang::XInitialization* >( this )) ); if ( aReturn.hasValue() == ((unsigned char)1) ) { return aReturn ; } else { return OWeakObject::queryInterface( rType ); } } >::com::sun::star::uno::Sequence< sal_Int8 > FileSource_Impl::getImplementationId() throw( ::com::sun::star::uno::RuntimeException ) { static ::cppu::OImplementationId* pID = __null ; if ( pID == __null ) { ::osl::MutexGuard aGuard( ::osl::Mutex::getGlobalMutex() ); if ( pID == __null ) { static ::cppu::OImplementationId aID( ((unsigned char)0) ); pID = &aID ; } } return pID->getImplementationId(); } ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type > FileSource_Impl::getTypes() throw( ::com::sun::star::uno::RuntimeException ) { static ::cppu::OTypeCollection* pTypeCollection = __null ; if ( pTypeCollection == __null ) { ::osl::MutexGuard aGuard( ::osl::Mutex::getGlobalMutex() ); if ( pTypeCollection == __null ) { static ::cppu::OTypeCollection aTypeCollection( ::getCppuType(( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XTypeProvider >*)__null ), ::getCppuType(( const ::com::sun::star::uno::Reference< ::com::sun::star::io::XActiveDataSource>*)__null ), ::getCppuType(( const ::com::sun::star::uno::Reference< ::com::sun::star::io::XActiveDataControl>*)__null ), ::getCppuType(( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XInitialization>*)__null )); pTypeCollection = &aTypeCollection ; } } return pTypeCollection->getTypes(); } > >FileSource_Impl::FileSource_Impl() > : pMedium( __null ) > , pStream( __null ) >{ >} > >void FileSource_Impl::initialize( const ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Any >& Arguments) throw( ::com::sun::star::uno::Exception, ::com::sun::star::uno::RuntimeException ) >{ > const ::com::sun::star::uno::Any *pArr = Arguments.getConstArray(); > ::rtl::OUString aName ; > pArr[0] >>= aName ; > if ( aName.len() ) > { > pMedium = new SfxMedium( aName, (0x0001 | 0x0100 | 0x0004), ((unsigned char)1) ); > pMedium->SetTransferPriority( 0 ); > pMedium->SetDataAvailableLink( Link( (FileSource_Impl*)this, (PSTUB)&FileSource_Impl::LinkStubDataAvailableHdl ) ); > pMedium->SetDoneLink( Link( (FileSource_Impl*)this, (PSTUB)&FileSource_Impl::LinkStubDataAvailableHdl ) ); > pMedium->AddRef(); > } >} > >FileSource_Impl::FileSource_Impl( SfxMedium* pMed ) > : pMedium( pMed ) > , pStream( __null ) >{ >} > >FileSource_Impl::~FileSource_Impl() >{ > if ( pMedium ) > { > pMedium->ResetDataSource(); > pMedium->ReleaseRef(); > } >} > >void FileSource_Impl::addListener(const ::com::sun::star::uno::Reference< ::com::sun::star::io::XStreamListener > & aListener) throw( ::com::sun::star::uno::RuntimeException ) >{ > if( m_xListener.is() ) > fprintf( stderr, "Warning: addSourceControllerListener called when already having a listener\n" ); > m_xListener = aListener; >} > >void FileSource_Impl::removeListener(const ::com::sun::star::uno::Reference< ::com::sun::star::io::XStreamListener > & aListener) throw( ::com::sun::star::uno::RuntimeException ) >{ > m_xListener = ::com::sun::star::uno::Reference< ::com::sun::star::io::XStreamListener > (); >} > >void FileSource_Impl::setOutputStream( const ::com::sun::star::uno::Reference< ::com::sun::star::io::XOutputStream > & Listener )throw( ::com::sun::star::uno::RuntimeException ) >{ > m_xSink = Listener; >} > >::com::sun::star::uno::Reference< ::com::sun::star::io::XOutputStream > FileSource_Impl::getOutputStream(void) throw( ::com::sun::star::uno::RuntimeException ) >{ > return m_xSink; >} > >long FileSource_Impl::LinkStubDataAvailableHdl( void* pThis, void* pCaller) { return ((FileSource_Impl*)pThis )->DataAvailableHdl( (void*)pCaller ); } long FileSource_Impl::DataAvailableHdl( void* pVoid ) >{ > if ( !pStream ) > pStream = pMedium->GetInStream(); > > if ( pStream && m_xSink.is() ) > { > sal_Int8 buf[ 65536 ]; > sal_uInt32 nBytes = 1; > while( nBytes && pStream->GetError() != (29UL |(3UL << 8)| (0UL << 13)) ) > { > nBytes = pStream->Read( buf, (sal_uInt32) sizeof( buf ) ); > if ( nBytes ) > m_xSink->writeBytes( ::com::sun::star::uno::Sequence<sal_Int8>( buf, nBytes ) ); > } > > if ( pStream->GetError() == (29UL |(3UL << 8)| (0UL << 13)) ) > pStream->ResetError(); > else > { > ::com::sun::star::uno::Reference< ::com::sun::star::io::XActiveDataSource > xRef( this ); > m_xSink->closeOutput(); > m_xSink = ::com::sun::star::uno::Reference< ::com::sun::star::io::XOutputStream > (); > if( m_xListener.is() ) > m_xListener->closed(); > m_xListener = ::com::sun::star::uno::Reference< ::com::sun::star::io::XStreamListener > (); > pMedium->GetItemSet()->ClearItem( (5000 + 542) ); > } > } > > return 0; >} > >void FileSource_Impl::start() throw( ::com::sun::star::uno::RuntimeException ) >{ > pStream = pMedium->GetInStream(); > if ( pStream && m_xSink.is() ) > DataAvailableHdl( 0 ); >} > >void FileSource_Impl::terminate() throw( ::com::sun::star::uno::RuntimeException ) >{ > ::com::sun::star::uno::Reference< ::com::sun::star::io::XActiveDataSource > xRef( this ); > if ( m_xSink.is() ) > m_xSink->closeOutput(); > > m_xSink = ::com::sun::star::uno::Reference< ::com::sun::star::io::XOutputStream > (); > if( m_xListener.is() ) > m_xListener->closed(); > m_xListener = ::com::sun::star::uno::Reference< ::com::sun::star::io::XStreamListener > (); > pMedium->CancelTransfers(); > pMedium->GetItemSet()->ClearItem( (5000 + 542) ); > pMedium->Close(); >} > >String ConvertDateTime_Impl(const SfxStamp &rTime); > > >SfxPoolCancelManager::SfxPoolCancelManager( > SfxCancelManager* pParent, const String& rName ) > : SfxCancelManager( pParent ), > SfxCancellable( pParent ? pParent : this, rName ), > wParent( pParent ) >{ > if( pParent ) > { > StartListening( *this ); > SetManager( 0 ); > } >} > > >SfxPoolCancelManager::~SfxPoolCancelManager() >{ > for( sal_uInt16 nPos = GetCancellableCount(); nPos--; ) > { > > SfxCancellable* pCbl = GetCancellable( nPos ); > if ( pCbl ) > pCbl->SetManager( 0 ); > } >} > > > >void SfxPoolCancelManager::Notify( SfxBroadcaster& rBC, const SfxHint& rHint ) >{ > if( !GetCancellableCount() ) SetManager( 0 ); > else if( !GetManager() ) > { > if( !wParent.Is() ) wParent = SfxGetpApp()->GetCancelManager(); > SetManager( wParent ); > } >} > > >void SfxPoolCancelManager::Cancel() >{ > SfxPoolCancelManagerRef xThis = this; > for( sal_uInt16 nPos = GetCancellableCount(); nPos--; ) > { > SfxCancellable* pCbl = GetCancellable( nPos ); > > if( pCbl && pCbl != this ) > pCbl->Cancel(); > if( GetCancellableCount() < nPos ) > nPos = GetCancellableCount(); > } >} > > >class SfxMedium_Impl : public SvCompatWeakBase >{ >public: > Reference < XContent > xContent; > sal_Bool bUpdatePickList : 1; > sal_Bool bIsTemp : 1; > sal_Bool bUsesCache : 1; > sal_Bool bForceSynchron : 1; > sal_Bool bDontCreateCancellable : 1; > sal_Bool bDownloadDone : 1; > > sal_uInt16 nPrio; > > SfxPoolCancelManagerRef xCancelManager; > SfxMedium* pAntiImpl; > SvEaMgr* pEaMgr; > > long nFileVersion; > > const SfxFilter* pOrigFilter; > String aOrigURL; > String aPreRedirectionURL; > String aReferer; > DateTime aExpireTime; > SfxFrameWeak wLoadTargetFrame; > LoadEnvironment_Impl* pLoadEnv; > SvKeyValueIteratorRef xAttributes; > > AsynchronLink aDoneLink; > AsynchronLink aAvailableLink; > UCB_Link_HelperRef aLinkList; > > long Done_Impl( void* ); static long LinkStubDone_Impl( void* pThis, void* ); > long DataAvailable_Impl( void* ); static long LinkStubDataAvailable_Impl( void* pThis, void* ); > long Cancel_Impl( void* ); static long LinkStubCancel_Impl( void* pThis, void* ); > > SfxVersionTableDtor* pVersions; > FileSource_Impl* pSource; > FileSink_Impl* pSink; > TempFile* pTempDir; > TempFile* pTempFile; > > SfxPoolCancelManager* GetCancelManager(); > > SfxMedium_Impl( SfxMedium* pAntiImplP ); > ~SfxMedium_Impl(); >}; > >long SfxMedium_Impl::LinkStubDone_Impl( void* pThis, void* pCaller) { return ((SfxMedium_Impl*)pThis )->Done_Impl( (void*)pCaller ); } long SfxMedium_Impl::Done_Impl( void* pVoid ) >{ > bDownloadDone = ((unsigned char)1); > > if ( pAntiImpl->GetErrorCode() == (0UL) ) > pAntiImpl->GetInStream(); > > > > > > aDoneLink.ClearPendingCall(); > aDoneLink.Call( pVoid ); > > return 0; >} > >long SfxMedium_Impl::LinkStubDataAvailable_Impl( void* pThis, void* pCaller) { return ((SfxMedium_Impl*)pThis )->DataAvailable_Impl( (void*)pCaller ); } long SfxMedium_Impl::DataAvailable_Impl( void* pVoid ) >{ > > pAntiImpl->GetInStream(); > > aAvailableLink.ClearPendingCall(); > aAvailableLink.Call( pVoid ); > > return 0; >} > >long SfxMedium_Impl::LinkStubCancel_Impl( void* pThis, void* pCaller) { return ((SfxMedium_Impl*)pThis )->Cancel_Impl( (void*)pCaller ); } long SfxMedium_Impl::Cancel_Impl( void* pVoid ) >{ > pAntiImpl->SetError( (13UL|(2UL << 8)| (0UL << 13)) ); > return 0; >} > >SfxPoolCancelManager* SfxMedium_Impl::GetCancelManager() >{ > if( !xCancelManager.Is() ) > { > if( !bDontCreateCancellable ) > xCancelManager = new SfxPoolCancelManager( > wLoadTargetFrame ? wLoadTargetFrame->GetCancelManager() : > SfxGetpApp()->GetCancelManager(), > pAntiImpl->GetURLObject().GetURLNoPass() ); > else > xCancelManager = new SfxPoolCancelManager( > 0, pAntiImpl->GetURLObject().GetURLNoPass() ); > } > return xCancelManager; >} > > >SfxMedium_Impl::SfxMedium_Impl( SfxMedium* pAntiImplP ) > : > SvCompatWeakBase( pAntiImplP ), > bUpdatePickList(((unsigned char)1)), bIsTemp( ((unsigned char)0) ), pOrigFilter( 0 ), > bUsesCache(((unsigned char)1)), > nPrio( 99 ), aExpireTime( Date() + 10, Time() ), > bForceSynchron( ((unsigned char)0) ), > pLoadEnv( 0 ), pAntiImpl( pAntiImplP ), > bDontCreateCancellable( ((unsigned char)0) ), pSource( __null ), pSink( __null ), pTempDir( __null ), > bDownloadDone( ((unsigned char)1) ), nFileVersion( 0 ), pEaMgr( __null ), pTempFile( __null ) >{ >} > > >SfxMedium_Impl::~SfxMedium_Impl() >{ > if ( aLinkList.Is() ) > aLinkList->Clear(); > > aDoneLink.ClearPendingCall(); > aAvailableLink.ClearPendingCall(); > > delete pEaMgr; > delete pVersions; > > if ( pSource ) > { > pSource->ResetMedium(); > pSource->release(); > } > > if ( pSink ) > { > pSink->ResetMedium(); > pSink->release(); > } > > if ( pTempFile ) > delete pTempFile; > > if ( pTempDir ) > delete pTempDir; >} > > > ># 788 "/usr/src/oo/oo_605_src/sfx2/source/doc/docfile.cxx" >const SvGlobalName& SfxMedium::GetClassFilter() >{ > GetMedium_Impl(); > if( GetError() ) > return aFilterClass; > if( !bSetFilter && GetStorage() ) > SetClassFilter( GetStorage()->GetClassName() ); > return aFilterClass; >} > > >void SfxMedium::ResetError() >{ > eError = (0UL); > if( aStorage.Is() ) > aStorage->ResetError(); > if( pInStream ) > pInStream->ResetError(); > if( pOutStream ) > pOutStream->ResetError(); >} > > >sal_uInt32 SfxMedium::GetErrorCode() const >{ > sal_uInt32 lError=eError; > if(!lError && pInStream) > lError=pInStream->GetErrorCode(); > if(!lError && pOutStream) > lError=pOutStream->GetErrorCode(); > if(!lError && aStorage.Is()) > lError=aStorage->GetErrorCode(); > return lError; >} > > >long SfxMedium::GetFileVersion() const >{ > if ( !pImp->nFileVersion && pFilter ) > return pFilter->GetVersion(); > else > return pImp->nFileVersion; >} > > >Reference < XContent > SfxMedium::GetContent() const >{ > if ( !pImp->xContent.is() && GetName().Len() ) > { > String aURL = GetURLObject().GetMainURL(); > pImp->xContent = UCB_Helper::CreateContent( aURL ); > } > > if ( pImp->xContent.is() ) > return pImp->xContent; > else > return __null; >} > > >SvStream* SfxMedium::GetInStream() >{ > if ( pInStream ) > return pInStream; > > if ( pImp->pTempFile ) > { > pInStream = new SvFileStream( aName, nStorOpenMode ); > > eError = pInStream->GetError(); > > if( !eError && (nStorOpenMode & 0x0002) > && ! pInStream->IsWritable() ) > { > eError = (7UL |(5UL << 8)| (0UL << 13)); > delete pInStream; > pInStream = __null; > } > else > return pInStream; > } > > GetMedium_Impl(); > > if ( !pInStream && eError == (29UL |(3UL << 8)| (0UL << 13)) ) > eError = (0UL); > > return pInStream; >} > > >void SfxMedium::CloseInStream() >{ > CloseInStream_Impl(); >} > >void SfxMedium::CloseInStream_Impl() >{ > > > > if ( pInStream && aStorage.Is() ) > { > const SvStream *pStorage = aStorage->GetSvStream(); > if ( pStorage == pInStream ) > { > CloseStorage(); > } > } > > delete pInStream; > pInStream = __null; >} > > >SvStream* SfxMedium::GetOutStream() >{ > if ( !pOutStream ) > { > > > if ( !pImp->pTempFile ) > CreateTempFile(); > > if ( pImp->pTempFile ) > { > pOutStream = new SvFileStream( aName, ((0x0001 | 0x0002) | 0x0800) ); > CloseStorage(); > } > } > > return pOutStream; >} > > >sal_Bool SfxMedium::CloseOutStream() >{ > CloseOutStream_Impl(); > return ((unsigned char)1); >} > >sal_Bool SfxMedium::CloseOutStream_Impl() >{ > if ( pOutStream ) > { > > > > > if ( aStorage.Is() ) > { > const SvStream *pStorage = aStorage->GetSvStream(); > if ( pStorage == pOutStream ) > CloseStorage(); > } > > delete pOutStream; > pOutStream = __null; > } > > return ((unsigned char)1); >} > > >const String& SfxMedium::GetPhysicalName() const >{ > if ( !pImp->pTempFile && (INET_PROT_FILE != GetURLObject().GetProtocol() ) ) > (( SfxMedium*)this)->CreateFileStream(); > > > return aName; >} > > >void SfxMedium::CreateFileStream() >{ > GetMedium_Impl(); > > if( pInStream && ! pImp->pTempFile ) > { >; > > pImp->pTempFile = new TempFile; > pImp->pTempFile->EnableKillingFile( ((unsigned char)1) ); > > aName = pImp->pTempFile->GetName(); > > SvFileStream aTmpStream( aName, (0x0002 | 0x0800) ); > char *pBuf = new char [8192]; > sal_uInt32 nErr = (0UL); > > pInStream->Seek( 0L ); > > > while( !pInStream->IsEof() && > ( nErr == (0UL) || nErr == (29UL |(3UL << 8)| (0UL << 13)) ) ) > { > sal_uInt32 nRead = pInStream->Read( pBuf, 8192 ); > nErr = pInStream->GetError(); > aTmpStream.Write( pBuf, nRead ); > if( nErr == (29UL |(3UL << 8)| (0UL << 13)) ) > { > Application::Yield(); > pInStream->ResetError(); > } > } > delete pBuf; > pImp->bIsTemp = ((unsigned char)1); > > CloseInStream_Impl(); > } >} > > >sal_Bool SfxMedium::Commit() >{ > if( aStorage.Is() ) > { > > if( !aStorage->Commit() ) > eError = aStorage->GetError(); > } > else if( pOutStream ) > pOutStream->Flush(); > else if( pInStream ) > pInStream->Flush(); > > if ( ( GetError() == (0UL) ) && pImp->pTempFile ) > Transfer_Impl(); > > return GetError() == (0UL); >} > > >sal_Bool SfxMedium::IsStorage() const >{ > (const_cast< SfxMedium* > (this))->GetStorage(); > (const_cast< SfxMedium* > (this))->ResetError(); > return aStorage.Is(); >} > > >Link SfxMedium::GetDataAvailableLink() const >{ > return pImp->aAvailableLink.GetLink(); >} > > >Link SfxMedium::GetDoneLink() const >{ > return pImp->aDoneLink.GetLink(); >} > > >sal_Bool SfxMedium::IsPreview_Impl() >{ > sal_Bool bPreview = ((unsigned char)0); > const SfxBoolItem *pPreview = (const SfxBoolItem*) SfxRequest::GetItem( GetItemSet(), (5000 + 1404), ((unsigned char)0), (SfxBoolItem::StaticType()) ); > if ( pPreview ) > bPreview = pPreview->GetValue(); > else > { > const SfxStringItem *pFlags = (const SfxStringItem*) SfxRequest::GetItem( GetItemSet(), (5000 + 940), ((unsigned char)0), (SfxStringItem::StaticType()) ); > if ( pFlags ) > { > String aFileFlags = pFlags->GetValue(); > aFileFlags.ToUpperAscii(); > if ( ((USHORT)0xFFFF) != aFileFlags.Search( 'B' ) ) > bPreview = ((unsigned char)1); > } > } > > return bPreview; >} > > >sal_Bool SfxMedium::TryStorage() >{ > GetStorage(); > > if ( aStorage.Is() ) > return ((unsigned char)1); > > ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory > xSMgr( ::utl::getProcessServiceFactory() ); > ::com::sun::star::uno::Reference< ::com::sun::star::util::XArchiver > > xPacker( xSMgr->createInstance( String("com.sun.star.util.Archiver", sizeof( "com.sun.star.util.Archiver" )-1, ((rtl_TextEncoding)11)) ), ::com::sun::star::uno::UNO_QUERY ); > > if( !xPacker.is() ) > return ((unsigned char)0); > > > ::rtl::OUString aPath = GetURLObject().PathToFileName(); > ::rtl::OUString aExtraData = xPacker->getExtraData( aPath ); > const ::rtl::OUString aSig1( String("private:", sizeof( "private:" )-1, ((rtl_TextEncoding)11)) ); > String aTmp( '?' ); > aTmp += pFilter->GetFilterContainer()->GetName(); > const ::rtl::OUString aSig2( aTmp ); > sal_Int32 nIndex1 = aExtraData.indexOf( aSig1 ); > sal_Int32 nIndex2 = aExtraData.indexOf( aSig2 ); > > if( nIndex1 != 0 || nIndex2 == -1 ) > return ((unsigned char)0); > > nIndex1 += aSig1.getLength(); > ::rtl::OUString aTempDoku = aExtraData.copy( nIndex1, nIndex2 - nIndex1 ); > > > pImp->pTempDir = new TempFile( __null, ((unsigned char)1) ); > pImp->pTempDir->EnableKillingFile( ((unsigned char)1) ); > > > > com::sun::star::uno::Reference< com::sun::star::lang::XMultiServiceFactory > xFactory = ::utl::getProcessServiceFactory(); > com::sun::star::uno::Reference< com::sun::star::task::XInteractionHandler > xInteractionHandler( > xFactory->createInstance( String("com.sun.star.uui.InteractionHandler", sizeof( "com.sun.star.uui.InteractionHandler" )-1, ((rtl_TextEncoding)11)) ), UNO_QUERY ); > > ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue > aArgs(1); > aArgs.getArray()[0].Name = String("InteractionHandler", sizeof( "InteractionHandler" )-1, ((rtl_TextEncoding)11)); > aArgs.getArray()[0].Value <<= xInteractionHandler ; > > ::com::sun::star::uno::Sequence< ::rtl::OUString > files(0); > > if( !xPacker->unpack( pImp->pTempDir->GetName(), aPath, files, aArgs ) ) > return ((unsigned char)0); > > String aNewName = pImp->pTempDir->GetName(); > aNewName += '/'; > aNewName += String( aTempDoku ); > CloseInStream_Impl(); > SetPhysicalName( aNewName ); > GetStorage(); > > if ( aStorage.Is() ) > { > const SfxFilter *pRealFilter = SfxGetpApp()->GetFilterMatcher().GetFilter4ClipBoardId( aStorage->GetFormat() ); > if ( pRealFilter ) > { > pImp->nFileVersion = pRealFilter->GetVersion(); > aStorage->SetVersion( pImp->nFileVersion ); > } > >; > } > > return aStorage.Is(); >} > >ErrCode SfxMedium::Unpack_Impl( const String& rDest ) >{ > ErrCode nRet = (0UL); > if ( pImp->pTempDir ) > { ># 1157 "/usr/src/oo/oo_605_src/sfx2/source/doc/docfile.cxx" > } > > return nRet; >} > > >SvStorage* SfxMedium::GetOutputStorage() >{ > if ( !pImp->pTempFile ) > CreateTempFile(); > return GetStorage(); >} > >SvStorage* SfxMedium::GetStorage() >{ > if ( aStorage.Is() || bTriedStorage ) > return aStorage; > > BOOL bResetSorage = 0; > SvStream *pStream; > > INetURLObject aStorageName; > if ( pImp->pTempFile ) > { > aStorageName.SetURL( pImp->pTempFile->GetName() ); > pStream = GetOutStream(); > } > else > { > aStorageName = GetURLObject(); > pStream = GetInStream(); > if ( pStream ) > { > pStream->GetLockBytes()->SetSynchronMode( ((unsigned char)1) ); > if ( !pImp->aDoneLink.IsSet() ) > DownLoad(); > } > } > > bTriedStorage = ((unsigned char)1); > > if( !pStream || ( GetError() != (0UL) ) ) > return aStorage; > > aStorage = new SvStorage( pStream, 0 ); > if ( INET_PROT_FILE == aStorageName.GetProtocol() ) > aStorage->SetName( aStorageName.PathToFileName() ); > > if ( aStorage->GetError() == (0UL) ) > GetVersionList(); > > > > > > > const SfxInt16Item *pVersion = (const SfxInt16Item*) SfxRequest::GetItem( pSet, (5000 + 1583), ((unsigned char)0), (SfxInt16Item::StaticType()) ); > > if ( pVersion ) > { > > if ( pImp->pVersions ) > { > > > > > short nVersion = pVersion ? pVersion->GetValue() : 0; > if ( nVersion<0 ) > nVersion = ( (short) pImp->pVersions->Count() ) + nVersion; > else if ( nVersion ) > nVersion--; > > SfxVersionInfo* pInfo = nVersion>=0 ? pImp->pVersions->GetObject( nVersion ) : __null; > if ( pInfo ) > { > String aVersionStream = pInfo->aName; > > > SvStorageRef aSub = > aStorage->OpenStorage( String("Versions", sizeof( "Versions" )-1, ((rtl_TextEncoding)11)), (0x0001 | 0x0400) ); > >; > > > SvStorageStreamRef aStream = > aSub->OpenStream( aVersionStream, (0x0001 | 0x0400) ); > > if ( aStream.Is() && aStream->GetError() == (0UL) ) > { > > TempFile aTempFile; > String aTmpName = aTempFile.GetName(); > SvFileStream aTmpStream( aTmpName, ((0x0001 | 0x0002) | 0x0400) ); > > ZCodec aCodec; > aCodec.BeginCompression(); > aCodec.Decompress( *aStream, aTmpStream ); > aCodec.EndCompression(); > aTmpStream.Close(); > > > nStorOpenMode = (0x0001 | 0x0400); > aStorage = new SvStorage( aTmpName, nStorOpenMode ); > SetPhysicalName( aTmpName ); > pImp->bIsTemp = ((unsigned char)1); > GetItemSet()->Put( SfxBoolItem( (5000 + 590), ((unsigned char)1) ) ); > ( delete pImp->pVersions,pImp->pVersions = 0 ); > } > else > bResetSorage = 1; > } > else > bResetSorage = 1; > } > else > bResetSorage = 1; > } > > if ( aStorage.Is() ) > { > if( aStorage->GetError() != (0UL) ) > bResetSorage = 1; > else if ( GetFilter() ) > aStorage->SetVersion( GetFilter()->GetVersion() ); > } > > if ( bResetSorage ) > { > SetError( aStorage->GetError() ); > aStorage.Clear(); > pStream->Seek( 0L ); > } > > return aStorage; >} > > >void SfxMedium::CloseStorage() >{ > aStorage.Clear(); > bTriedStorage = ((unsigned char)0); >} > > >void SfxMedium::SetOpenMode( StreamMode nStorOpen, > sal_Bool bDirectP, > sal_Bool bDontClose ) >{ > if ( nStorOpenMode != nStorOpen ) > { > nStorOpenMode = nStorOpen; > > if( !bDontClose ) > Close(); > } > > bDirect = bDirectP; > bSetFilter = ((unsigned char)0); >} > > >void SfxMedium::Transfer_Impl() >{ > if( pImp->pTempFile && !eError ) > { > Reference < XContent > xContent = GetContent(); > if ( ! xContent.is() ) > return; > > sal_Bool bSuccess; > > > > > > > BOOL bTryTransfer = 0; > String aName; > INetURLObject aDest = GetURLObject(); > INetURLObject aSource( pImp->pTempFile->GetName() ); > > aName = GetLongName(); > if ( !aName.Len() ) > aName = aDest.getName( INetURLObject::LAST_SEGMENT, true, > INetURLObject::DECODE_WITH_CHARSET ); > > if ( aDest.GetProtocol() == aSource.GetProtocol() ) > { > bTryTransfer = UCB_Helper::HasCommand( xContent, > (500 + 149) ); > } > > if ( bTryTransfer && aDest.removeSegment() ) > { > TransferInfo aInfo; > String aParentURL = aDest.GetMainURL(); > Any aAny; > > aInfo.MoveData = ((unsigned char)1); > aInfo.SourceURL = aSource.GetMainURL(); > aInfo.NewTitle = aName; > > const SfxBoolItem *pRename = (const SfxBoolItem*) SfxRequest::GetItem( GetItemSet(), (5000 + 1653), ((unsigned char)0), (SfxBoolItem::StaticType()) ); > const SfxBoolItem *pOverWrite = (const SfxBoolItem*) SfxRequest::GetItem( GetItemSet(), (5000 + 1634), ((unsigned char)0), (SfxBoolItem::StaticType()) ); > > if ( pOverWrite && !pOverWrite->GetValue() ) > { > aInfo.NameClash = NameClash::ERROR; > } > else if ( pRename && pRename->GetValue() ) > { > aInfo.NameClash = NameClash::RENAME; > } > else > { > aInfo.NameClash = NameClash::OVERWRITE; > } > > aAny <<= aInfo; > Close(); > UCB_Helper::ExecuteCommand( aParentURL, (500 + 149), > aAny, &bSuccess ); > if ( bSuccess ) > { > > > > pImp->pTempFile->EnableKillingFile( ((unsigned char)0) ); > delete pImp->pTempFile; > pImp->pTempFile = __null; > bDownLoad = 1; > return; > } > } > > SvStream *pStream = GetOutStream(); > SvLockBytesRef xLockBytes = new SvLockBytes( pStream ); > Reference < ::com::sun::star::io::XInputStream > xStream > = new OInputStreamHelper( xLockBytes, 8192 ); > > Any aAny; > InsertCommandArgument aArg; > > aArg.Data = xStream; > aArg.ReplaceExisting = ((unsigned char)1); > aAny <<= aArg; > > UCB_Helper::ExecuteCommand( xContent, (500 + 62), > aAny, &bSuccess ); > > if ( !bSuccess ) > eError = (13UL|(2UL << 8)| (0UL << 13)); > } >} > > >void SfxMedium::DoBackup_Impl() >{ > INetURLObject aDest; > INetURLObject aSource = GetURLObject(); > String aParentURL; > String aName; > String aBakDir = SfxGetpApp()->GetIniManager()->Get(58); > BOOL bTryTransfer = 0; > sal_Bool bSuccess = ((unsigned char)0); > Reference < XContent > xContent; > > > if( aBakDir.Len() ) > { > aDest.SetSmartProtocol( INET_PROT_FILE ); > aDest.SetSmartURL( aBakDir ); > aDest.insertName( aSource.getName() ); > } > else > { > aDest = GetURLObject(); > } > > > > > aDest.setExtension( String("bak", sizeof( "bak" )-1, ((rtl_TextEncoding)11)) ); ># 1449 "/usr/src/oo/oo_605_src/sfx2/source/doc/docfile.cxx" > aName = aDest.getName( INetURLObject::LAST_SEGMENT, true, > INetURLObject::DECODE_WITH_CHARSET ); > > > > > > > if ( aDest.GetProtocol() == aSource.GetProtocol() ) > { > INetURLObject aDestDir = aDest; > if ( aDestDir.removeSegment() ) > { > aParentURL = aDestDir.GetMainURL(); > xContent = UCB_Helper::CreateContent( aParentURL ); > if ( xContent.is() ) > { > bTryTransfer = UCB_Helper::HasCommand( xContent, > (500 + 149) ); > } > } > } > > if ( bTryTransfer ) > { > TransferInfo aInfo; > Any aAny; > > aInfo.MoveData = ((unsigned char)1); > aInfo.SourceURL = aSource.GetMainURL(); > aInfo.NewTitle = aName; > aInfo.NameClash = NameClash::OVERWRITE; > > aAny <<= aInfo; > Close(); > UCB_Helper::ExecuteCommand( xContent, (500 + 149), > aAny, &bSuccess ); > } > > if ( !bSuccess ) > { > xContent = UCB_Helper::CreateContent( aDest.GetMainURL() ); > if ( xContent.is() ) > { > SvStream *pStream = GetInStream(); > SvLockBytesRef xLockBytes = new SvLockBytes( pStream ); > Reference < ::com::sun::star::io::XInputStream > xStream > = new OInputStreamHelper( xLockBytes, 8192 ); > > Any aAny; > InsertCommandArgument aArg; > > aArg.Data = xStream; > aArg.ReplaceExisting = ((unsigned char)1); > aAny <<= aArg; > > UCB_Helper::ExecuteCommand( xContent, (500 + 62), aAny, &bSuccess ); > } > } > > if ( ! bSuccess ) > WarningBox( __null, SfxResId( ((260 + 1792)+ 24) ) ).Execute(); >} > > >void SfxMedium::GetMedium_Impl() >{ > if ( !pInStream ) > { >; > pImp->bDownloadDone = ((unsigned char)0); > > SvLockBytesRef xLockBytes; > if ( !pImp->aLinkList.Is() ) > { > pImp->aLinkList = new UCB_Link_Helper; > pImp->aLinkList->SetDoneLink( Link( (SfxMedium_Impl*)pImp, (PSTUB)&SfxMedium_Impl::LinkStubDone_Impl ) ); > pImp->aLinkList->SetDataAvailLink( Link( (SfxMedium_Impl*)pImp, (PSTUB)&SfxMedium_Impl::LinkStubDataAvailable_Impl ) ); > pImp->aLinkList->SetCancelLink( Link( (SfxMedium_Impl*)pImp, (PSTUB)&SfxMedium_Impl::LinkStubCancel_Impl ) ); > } > > const SfxUsrAnyItem *pStreamItem = (const SfxUsrAnyItem*) SfxRequest::GetItem( pSet, (5000 + 1648), ((unsigned char)0), (SfxUsrAnyItem::StaticType()) ); > > if ( pStreamItem ) > { > Reference < ::com::sun::star::io::XInputStream > xStream; > if ( ( pStreamItem->GetValue() >>= xStream ) && xStream.is() ) > xLockBytes = UCB_Helper::CreateInputLockBytes( > xStream, pImp->aLinkList, > pImp->GetCancelManager() ); > } > else > { > xLockBytes = UCB_Helper::CreateInputLockBytes( > GetContent(), > pImp->aLinkList, > pImp->GetCancelManager() ); > } > > if ( xLockBytes.Is() ) > { > if ( pImp->bForceSynchron || ! pImp->aDoneLink.IsSet() ) > xLockBytes->SetSynchronMode( ((unsigned char)1) ); > else > xLockBytes->SetSynchronMode( ((unsigned char)0) ); > > pInStream = new SvStream( xLockBytes ); > } > } > ># 1602 "/usr/src/oo/oo_605_src/sfx2/source/doc/docfile.cxx" >} > > >SfxPoolCancelManager* SfxMedium::GetCancelManager_Impl() const >{ > return pImp->GetCancelManager(); >} > > >void SfxMedium::SetCancelManager_Impl( SfxPoolCancelManager* pMgr ) >{ > pImp->xCancelManager = pMgr; >} > > >void SfxMedium::CancelTransfers() >{ > if( pImp->xCancelManager.Is() ) > pImp->xCancelManager->Cancel(); >} > > >void AddNumber_Impl( String& aNumber, sal_uInt32 nArg ) >{ > if ( nArg >= 10240 ) > { > aNumber += String::CreateFromInt32( (sal_uInt16)( ( nArg + 512 ) / 1024 ) ); > aNumber += ' '; > aNumber += SfxResId( (260+112) ); > } > else > { > aNumber += String::CreateFromInt32( nArg ); > aNumber += ' '; > aNumber += SfxResId( (260+111) ); > } >} > > > >String SfxMedium::GetStatusString( const SvProgressArg* pArg ) >{ > String aString; ># 1686 "/usr/src/oo/oo_605_src/sfx2/source/doc/docfile.cxx" > return aString; >} > >sal_Bool SfxMedium::IsRemote() >{ > return bRemote; >} > > > >void SfxMedium::SetUpdatePickList(sal_Bool bVal) >{ > if(!pImp) > pImp = new SfxMedium_Impl( this ); > pImp->bUpdatePickList = bVal; >} > > >sal_Bool SfxMedium::IsUpdatePickList() const >{ > return pImp? pImp->bUpdatePickList: ((unsigned char)1); >} > > >void SfxMedium::SetDoneLink( const Link& rLink ) >{ > pImp->aDoneLink = rLink; >} > > > >void SfxMedium::SetDataAvailableLink( const Link& rLink ) >{ > pImp->aAvailableLink = rLink; >} > > >void SfxMedium::StartDownload() >{ > GetMedium_Impl(); > GetInStream(); >} > >void SfxMedium::DownLoad( const Link& aLink ) >{ > SetDoneLink( aLink ); > GetInStream(); > if ( !aLink.IsSet() ) > { > while( !pImp->bDownloadDone ) > Application::Yield(); > } >} > > >void SfxMedium::Init_Impl() > > > > > > >{ > pImp->pVersions = __null; > INetURLObject aUrl; > aUrl.SetSmartProtocol( INET_PROT_FILE ); > aUrl.SetSmartURL( aLogicName ); > > > if( aUrl.GetProtocol() == INET_PROT_FILE && aLogicName.Len() ) > { > String aTemp( aUrl.GetMainURL() ); > INetURLObject aObj( aTemp ); > if ( INET_PROT_FTP == aObj.GetProtocol() ) > { ># 1771 "/usr/src/oo/oo_605_src/sfx2/source/doc/docfile.cxx" > } > else > { > aLogicName = aUrl.GetMainURL(); > if ( aObj.GetProtocol() == INET_PROT_FILE ) > { > if( !pImp->bIsTemp ) > aName = aUrl.PathToFileName(); > else >; > } > else > { > if( aName == aLogicName || !aName.Len() ) > aName = aUrl.PathToFileName(); > } > } > } > else if( aLogicName.Len() ) > > aLogicName = aUrl.GetMainURL(); > > SetIsRemote_Impl(); > > > const SfxStringItem *pSalvageItem = (const SfxStringItem*) SfxRequest::GetItem( pSet, (5000 + 531), ((unsigned char)0), (SfxStringItem::StaticType()) ); > if ( pSalvageItem ) > pImp->bIsTemp = ((unsigned char)1); >} > > >SfxMedium::SfxMedium() >: eError( (0UL) ), bDirect( ((unsigned char)0) ), bTriedStorage( ((unsigned char)0) ), bSetFilter( ((unsigned char)0) ), nStorOpenMode( ((0x0001 | 0x0002) | 0x0400) ), pInStream(0), pOutStream( 0 ), > bRoot( ((unsigned char)0) ), > pURLObj(0), > pSet(0), > pImp(new SfxMedium_Impl( this )), > pFilter(0) >{ > bDownLoad = ((unsigned char)1); > Init_Impl(); >} > > >SfxMedium::SfxMedium( const SfxMedium& rMedium, sal_Bool bTemporary ) >: eError( (0UL) ), bDirect( ((unsigned char)0) ), bTriedStorage( ((unsigned char)0) ), bSetFilter( ((unsigned char)0) ), nStorOpenMode( ((0x0001 | 0x0002) | 0x0400) ), pInStream(0), pOutStream( 0 ), > bRoot(((unsigned char)1)), > pURLObj( rMedium.pURLObj ? new INetURLObject(*rMedium.pURLObj) : 0 ), > pImp(new SfxMedium_Impl( this )) >{ > bDirect = rMedium.IsDirect(); > nStorOpenMode = rMedium.GetOpenMode(); > if ( bTemporary ) > CreateTempFile(); > else > aName = rMedium.GetName(); > > pImp->bIsTemp = bTemporary; > >; > aLogicName = rMedium.aLogicName; > pSet = rMedium.GetItemSet() ? new SfxItemSet(*rMedium.GetItemSet()) : 0; > pFilter = rMedium.pFilter; > Init_Impl(); > if( bTemporary ) > { > if ( !SfxContentHelper::CopyTo( rMedium.GetName(), GetPhysicalName() ) ) > SetError( (13UL|(2UL << 8)| (0UL << 13)) ); > } > > bDownLoad = ((unsigned char)1); > > if ( rMedium.pImp->pEaMgr ) > GetEaMgr(); >} > > >void SfxMedium::SetFilter( const SfxObjectFactory& rFact, const String & rFilter ) >{ > SetFilter( rFact.GetFilterContainer()->GetFilter(rFilter) ); >} > > >void SfxMedium::SetFilter( const SfxFilter* pFilterP, sal_Bool bResetOrig ) >{ > pFilter = pFilterP; > pImp->nFileVersion = 0; >} > > >const SfxFilter* SfxMedium::GetOrigFilter( sal_Bool bNotCurrent ) const >{ > return ( pImp->pOrigFilter || bNotCurrent ) ? pImp->pOrigFilter : pFilter; >} > > >void SfxMedium::SetOrigFilter_Impl( const SfxFilter* pFilter ) >{ > pImp->pOrigFilter = pFilter; >} > > >void SfxMedium::Close() >{ > if ( aStorage.Is() ) > { > > > > const SvStream *pStream = aStorage->GetSvStream(); > if ( pStream == pInStream ) > { > pInStream = __null; > aStorage->SetDeleteStream( 1 ); > } > if ( pStream == pOutStream ) > { > pOutStream = __null; > aStorage->SetDeleteStream( 1 ); > } > > CloseStorage(); > } > > if ( pInStream ) > CloseInStream_Impl(); > > if ( pOutStream ) > CloseOutStream_Impl(); >} > ># 1971 "/usr/src/oo/oo_605_src/sfx2/source/doc/docfile.cxx" >void SfxMedium::RefreshName_Impl() >{ ># 1985 "/usr/src/oo/oo_605_src/sfx2/source/doc/docfile.cxx" >} > >void SfxMedium::SetIsRemote_Impl() >{ > INetURLObject aObj( GetName() ); > switch( aObj.GetProtocol() ) > { > case INET_PROT_FTP: > case INET_PROT_HTTP: > case INET_PROT_HTTPS: > case INET_PROT_POP3: > case INET_PROT_NEWS: > case INET_PROT_IMAP: > > case INET_PROT_VIM: > bRemote = 1; break; > default: > bRemote = ( GetName().CompareToAscii( "private:msgid", 13 ) == COMPARE_EQUAL ); > break; > } > > > > if( bRemote ) > nStorOpenMode |= 0x0001; >} > > > >void SfxMedium::SetName( const String& aNameP, sal_Bool bSetOrigURL ) >{ > if( !pImp->aOrigURL.Len() ) > pImp->aOrigURL = aLogicName; > if( bSetOrigURL ) > pImp->aOrigURL = aNameP; > aLogicName = aNameP; > ( delete pURLObj,pURLObj = 0 ); > > > > > if ( aLogicName.Len() ) > { > INetURLObject aUrl; > aUrl.SetSmartProtocol( INET_PROT_FILE ); > aUrl.SetSmartURL( aLogicName ); > String aTemp( aUrl.GetMainURL() ); > INetURLObject aObj( aTemp ); > > if ( INET_PROT_FTP == aObj.GetProtocol() ) > { > > > > > > > > } > > aLogicName = GetURLObject().GetMainURL(); > } > > SetIsRemote_Impl(); >} > > >const String& SfxMedium::GetOrigURL() const >{ > return !pImp->aOrigURL.Len() ? (String &)aLogicName : pImp->aOrigURL; >} > > >void SfxMedium::SetPhysicalName( const String& rNameP ) >{ > if( pImp->pTempFile ) > { > delete pImp->pTempFile; > pImp->pTempFile = __null; > } > > aName = rNameP; > bTriedStorage = ((unsigned char)0); > > if ( aName.Len() ) > { > INetURLObject aURL; > Reference < XContent > xContent; > > aURL.SetSmartProtocol( INET_PROT_FILE ); > aURL.SetSmartURL( aName ); > > xContent = UCB_Helper::CreateContent( aURL.GetMainURL() ); > if ( xContent.is() ) > pImp->xContent = xContent; > } >} > > >void SfxMedium::SetTemporary( sal_Bool bTemp ) >{ > pImp->bIsTemp = bTemp; >} > > >sal_Bool SfxMedium::IsTemporary() const >{ > return pImp->bIsTemp; >} > > > >sal_Bool SfxMedium::Exists( sal_Bool bForceSession ) >{ >; > return ((unsigned char)0); >} > > > >void SfxMedium::ReOpen() >{ >; > if( pFilter ) > { > if( pFilter->UsesStorage() ) > GetStorage(); > else > GetInStream(); > } >} > >SfxMedium::SfxMedium >( > const String &rName, StreamMode nOpenMode, sal_Bool bDirectP, > sal_Bool bDownLoadP, const SfxFilter *pFlt, SfxItemSet *pInSet >) >: eError( (0UL) ), bDirect( ((unsigned char)0) ), bTriedStorage( ((unsigned char)0) ), bSetFilter( ((unsigned char)0) ), nStorOpenMode( ((0x0001 | 0x0002) | 0x0400) ), pInStream(0), pOutStream( 0 ), > bRoot( ((unsigned char)0) ), > pFilter(pFlt), > pURLObj(0), > pImp(new SfxMedium_Impl( this )), > pSet( pInSet ) >{ > aName = aLogicName = rName; > nStorOpenMode = nOpenMode; > bDirect = bDirectP; > bDownLoad = bDownLoadP; > Init_Impl(); >} > > >SfxMedium::SfxMedium( SvStorage *pStorage, sal_Bool bRootP ) >: eError( (0UL) ), bDirect( ((unsigned char)0) ), bTriedStorage( ((unsigned char)0) ), bSetFilter( ((unsigned char)0) ), nStorOpenMode( ((0x0001 | 0x0002) | 0x0400) ), pInStream(0), pOutStream( 0 ), > bRoot( bRootP ), > aStorage(pStorage), > pURLObj(0), > pImp( new SfxMedium_Impl( this )), > pSet(0) >{ > SfxApplication* pApp = SfxGetpApp(); > sal_uInt32 nFormat = pStorage->GetFormat(); > if( !nFormat ) > { > > > > > pFilter = SfxObjectFactory::GetDefaultFactory().GetFilterContainer()-> > GetFilter( 0 ); > } > else > pFilter = pApp->GetFilterMatcher().GetFilter4ClipBoardId( nFormat, 0, 0 ); > if( pFilter ) > pFilter = pApp->GetFilterMatcher().ResolveRedirection( pFilter, *this ); > if( !pFilter && nFormat ) > { > > > > > > pFilter = SfxObjectFactory::GetDefaultFactory().GetFilterContainer()-> > GetFilter( 0 ); > } > > bDownLoad = ((unsigned char)0); > Init_Impl(); >} > > >SfxMedium::~SfxMedium() >{ > > Close(); > > delete pSet; > > if( pImp->bIsTemp && GetPhysicalName().Len() ) > { > INetURLObject aObj( GetPhysicalName(), INET_PROT_FILE ); > SfxContentHelper::Kill( aObj.GetMainURL() ); > } > > pFilter = 0; > > delete pURLObj; > delete pImp; >} > > >void SfxMedium::SetItemSet(SfxItemSet *pNewSet) >{ > delete pSet; > pSet = pNewSet; >} > > >void SfxMedium::SetClassFilter( const SvGlobalName & rFilterClass ) >{ > bSetFilter = ((unsigned char)1); > aFilterClass = rFilterClass; >} > > ># 2225 "/usr/src/oo/oo_605_src/sfx2/source/doc/docfile.cxx" >const INetURLObject& SfxMedium::GetURLObject() const >{ > if( !pURLObj ) > { > SfxMedium* pThis = (SfxMedium*)this; > pThis->pURLObj = new INetURLObject(); > if ( GetName().Len() ) > { > pThis->pURLObj->SetSmartProtocol( INET_PROT_FILE ); > pThis->pURLObj->SetSmartURL( GetName() ); > } > } > return *pURLObj; >} > > > >const String& SfxMedium::GetPreRedirectedURL() const >{ > return pImp->aPreRedirectionURL; >} > > >sal_uInt32 SfxMedium::GetMIMEAndRedirect( String &rName ) >{ ># 2277 "/usr/src/oo/oo_605_src/sfx2/source/doc/docfile.cxx" > return 0; >} > > > >void SfxMedium::SetUsesCache( sal_Bool bUse ) >{ > pImp->bUsesCache = bUse; >} > > >sal_Bool SfxMedium::UsesCache() const >{ > return pImp->bUsesCache; >} > > > > >void SfxMedium::SetReferer( const String& rRefer ) >{ > pImp->aReferer = rRefer; >} > > >const String& SfxMedium::GetReferer( ) const >{ > return pImp->aReferer; >} > > >void SfxMedium::SetTransferPriority( sal_uInt16 nPrio ) >{ > pImp->nPrio = nPrio; >} > > >sal_uInt16 SfxMedium::GetTransferPriority( ) const >{ > return pImp->nPrio; >} > > >void SfxMedium::SetExpired_Impl( const DateTime& rDateTime ) >{ > pImp->aExpireTime = rDateTime; >} > > >sal_Bool SfxMedium::IsExpired() const >{ > return pImp->aExpireTime.IsValid() && pImp->aExpireTime < DateTime(); >} > > >ErrCode SfxMedium::CheckOpenMode_Impl( sal_Bool bSilent, sal_Bool bAllowModeChange ) >{ > sal_uInt32 nErr = 0; > switch( GetURLObject().GetProtocol() ) > { > case INET_PROT_FILE: > { > Any aAny( UCB_Helper::GetProperty( GetContent(), (500 + 51) ) ); > sal_Bool bIsFolder = 0; > if ( ( aAny >>= bIsFolder ) && bIsFolder ) > break; > > > > > > sal_Bool bTriesCopy(((unsigned char)0)); > sal_Bool bReadOnly = GetOpenMode() == (0x0001 | 0x0400); > if( !bReadOnly ) > { > > > > > for( SfxObjectShell* pFirst = SfxObjectShell::GetFirst(); > pFirst; pFirst = SfxObjectShell::GetNext( *pFirst ) ) > { > SfxMedium* pMed = pFirst->GetMedium(); > if( pMed->GetName() == GetName() && pMed->GetOpenMode() != (0x0001 | 0x0400) ) > { > > if ( bAllowModeChange ) > { > bReadOnly = ((unsigned char)1); > GetItemSet()->Put( SfxBoolItem((5000 + 590), ((unsigned char)1))); > SetOpenMode((0x0001 | 0x0400), ((unsigned char)0)); > } > else > nErr = (7UL |(5UL << 8)| (0UL << 13)); > break; > } > } > } > while(1) > { > > SvStorageRef aStor; > if ( IsStorage() ) > aStor = GetStorage(); > else > GetInStream(); > > if( aStor.Is() && bReadOnly && !bTriesCopy && !pImp->bIsTemp ) > { > SfxApplication *pSfxApp = SfxGetpApp(); > const SfxFilter* pFilter = pSfxApp->GetFilterMatcher(). > GetFilter4ClipBoardId( aStor->GetFormat() ); > if ( pFilter ) > pFilter = pSfxApp->GetFilterMatcher(). > ResolveRedirection( pFilter, *this ); > > if( pFilter && pFilter->IsOwnFormat() ) > { > nErr = (7UL |(5UL << 8)| (0UL << 13)); > Close(); > } > else nErr = GetError(); > } > else nErr = GetError(); > switch ( nErr ) > { > default: return nErr; > case (8UL |(7UL << 8)| (0UL << 13)): > > case (2UL |(3UL << 8)| (0UL << 13)): > case (7UL |(5UL << 8)| (0UL << 13)): > { > > bSilent = ((unsigned char)1); > if(!bReadOnly ) > { > if( bAllowModeChange ) > { > QueryBox aBox( 0, SfxResId(((260 + 1792)+ 58)) ); > if ( bSilent || 2 == aBox.Execute() ) > { > bReadOnly = ((unsigned char)1); > if( GetItemSet() ) > GetItemSet()->Put( > SfxBoolItem((5000 + 590), ((unsigned char)1))); > SetOpenMode((0x0001 | 0x0400), ((unsigned char)0)); > ResetError(); > } > else > return (27UL|(1UL << 8)| (0UL << 13)); > } > else > return nErr; > } > else > { > if( !bTriesCopy ) > { > String aOldName( aName ); > CreateTempFile(); > if ( !SfxContentHelper::CopyTo( aOldName, aName ) ) > nErr = (13UL|(2UL << 8)| (0UL << 13)); > ResetError(); > pImp->bIsTemp = ((unsigned char)1); > bTriesCopy = ((unsigned char)1); > CloseInStream_Impl(); > } > else > return nErr; > } > } > } > } > break; > } > > case INET_PROT_DATA: > case INET_PROT_PRIVATE: > { > > const INetURLObject& rObj = GetURLObject(); > String aPath = rObj.GetURLPath(); > if( rObj.GetProtocol() == INET_PROT_PRIVATE && > aPath.CompareIgnoreCaseToAscii( "image/", 6 ) != > COMPARE_EQUAL && > aPath.CompareIgnoreCaseToAscii( "docinfo/", 8 ) != > COMPARE_EQUAL && > aPath.CompareIgnoreCaseToAscii( "info/", 5 ) != > COMPARE_EQUAL ) > return 0; > > if( GetOpenMode() & 0x0002 ) > { > if( bAllowModeChange ) > SetOpenMode((0x0001 | 0x0400), ((unsigned char)0)); > else > return (7UL |(5UL << 8)| (0UL << 13)); > } > } > } > return nErr; >} > > >void SfxMedium::ForceSynchronStream_Impl( sal_Bool bForce ) >{ > if( pInStream ) > { > SvLockBytes* pBytes = pInStream->GetLockBytes(); > if( pBytes ) > pBytes->SetSynchronMode( bForce ); > } > pImp->bForceSynchron = bForce; >} > > >sal_Bool SfxMedium::SupportsMIME_Impl() const >{ > INetProtocol eProt = GetURLObject().GetProtocol(); > if( eProt == INET_PROT_HTTPS || eProt == INET_PROT_HTTP ) > return ((unsigned char)1); > > if( eProt == INET_PROT_NOT_VALID ) > return ((unsigned char)0); > > if( eProt == INET_PROT_FTP ) > { > Any aAny( UCB_Helper::GetProperty( GetContent(), (500 + 51) ) ); > sal_Bool bIsFolder = 0; > if ( ( aAny >>= bIsFolder ) && bIsFolder ) > return SvBinding::ShouldUseFtpProxy( GetURLObject().GetMainURL() ); > else > return ((unsigned char)0); > } > > return ((unsigned char)0); >} > >sal_Bool SfxMedium::IsAllowedForExternalBrowser() const >{ > if ( pFilter && !pFilter->GetFilterName().EqualsAscii( "ExternBrowser" ) ) > return ((unsigned char)0); > > sal_Bool bCheckExternBrowser = SfxGetpApp()->ShouldUseExternalBrowser( aLogicName ); > if ( bCheckExternBrowser ) > { > > > const SfxBoolItem *pReloadItem = (const SfxBoolItem*) SfxRequest::GetItem( GetItemSet(), (5000 + 508), ((unsigned char)0), (SfxBoolItem::StaticType()) ); > const SfxBoolItem *pReadonlyItem = (const SfxBoolItem*) SfxRequest::GetItem( GetItemSet(), (5000 + 590), ((unsigned char)0), (SfxBoolItem::StaticType()) ); > const SfxBoolItem *pHidden = (const SfxBoolItem*) SfxRequest::GetItem( GetItemSet(), (5000 + 534), ((unsigned char)0), (SfxBoolItem::StaticType()) ); > if ( pReloadItem || ( pReadonlyItem && !pReadonlyItem->GetValue() ) || pHidden && pHidden->GetValue() ) > bCheckExternBrowser = ((unsigned char)0); > } > > return bCheckExternBrowser; >} > > > > > >sal_Bool SfxMedium::ProvidesFile_Impl() const >{ > INetProtocol eProt = GetURLObject().GetProtocol(); > return eProt == INET_PROT_FILE; >} > > > > > > >sal_Bool SfxMedium::ProvidesData_Impl() const >{ > > if ( aStorage.Is() ) > return ((unsigned char)1); > > if( pFilter ) > { > if ( pFilter->GetFilterContainer()->GetName().EqualsAscii( "plugin" ) ) > return ((unsigned char)1); > > if ( ( pFilter->GetFilterFlags() & 0x00000200L ) || pFilter->GetFilterName().EqualsAscii( "StarDownload (*.dnl)" ) ) > return ((unsigned char)0); > } > else > { > const SfxFilter* pProtoFilter = SfxGetpApp()->GetFilterMatcher().GetFilter4Protocol( *(SfxMedium*)this ); > if( pProtoFilter && (pProtoFilter->GetFilterFlags() & 0x00000200L ) ) > return ((unsigned char)0); > } > > INetProtocol eProt; > if ( GetContent().is() ) > { > const INetURLObject& aObj= GetURLObject(); > eProt = aObj.GetProtocol(); > if ( INET_PROT_FTP == eProt ) > { > > > > > > > > return ((unsigned char)1); > } > else if( eProt == INET_PROT_HTTPS || eProt == INET_PROT_HTTP ) > return ((unsigned char)1); > > Any aAny( UCB_Helper::GetProperty( GetContent(), (500 + 51) ) ); > sal_Bool bIsFolder = 0; > if ( ( aAny >>= bIsFolder ) && bIsFolder ) > return ((unsigned char)0); > } > else > eProt = GetURLObject().GetProtocol(); > > if ( eProt == INET_PROT_FILE ) > { > if ( aLogicName.Search('{') != ((USHORT)0xFFFF) ) > return ((unsigned char)0); > else > return ((unsigned char)1); > } > else if ( INET_PROT_FTP == eProt ) > return ((unsigned char)1); > else if ( eProt == INET_PROT_NOT_VALID ) > return ((unsigned char)0); > > return ((unsigned char)0); >} > > >SfxFrame* SfxMedium::GetLoadTargetFrame() const >{ > return pImp->wLoadTargetFrame; >} > > >void SfxMedium::SetLoadTargetFrame(SfxFrame* pFrame ) >{ > pImp->wLoadTargetFrame = pFrame; >} > > >SvStream* SfxMedium::RemoveStream_Impl() >{ > SvStream* pRet = GetInStream(); > pInStream = 0; > return pRet; >} > > >void SfxMedium::SetStream_Impl( SvStream* pStrm ) >{ > CloseInStream_Impl(); > pInStream = pStrm; >} > > >void SfxMedium::SetStorage_Impl( SvStorage* pStor ) >{ > aStorage = pStor; >} > > >SfxItemSet* SfxMedium::GetItemSet() const >{ > if( !pSet ) ((SfxMedium*)this)->pSet = > new SfxAllItemSet( SfxGetpApp()->GetPool() ); > return pSet; >} > > >void SfxMedium::SetLoadEnvironment_Impl( LoadEnvironment_Impl* pEnv ) >{ > pImp->pLoadEnv = pEnv; >} > > >LoadEnvironment_Impl* SfxMedium::GetLoadEnvironment_Impl() const >{ > return pImp->pLoadEnv; >} > > >SvKeyValueIterator* SfxMedium::GetHeaderAttributes_Impl() >{ > if( !pImp->xAttributes.Is() ) > pImp->xAttributes = SvKeyValueIteratorRef( new SvKeyValueIterator ); > > > > > return pImp->xAttributes; >} > > >SvCompatWeakHdl* SfxMedium::GetHdl() >{ > return pImp->GetHdl(); >} > >sal_Bool SfxMedium::IsDownloadDone_Impl() >{ > return pImp->bDownloadDone; >} > >SvEaMgr* SfxMedium::GetEaMgr() >{ > if ( !pImp->pEaMgr && ProvidesData_Impl() && pFilter ) > { > > > > > > > > pImp->pEaMgr = new SvEaMgr( GetPhysicalName() ); > } > > return pImp->pEaMgr; >} > > > >void SfxMedium::SetDontCreateCancellable( ) >{ > pImp->bDontCreateCancellable = ((unsigned char)1); >} > >::com::sun::star::uno::Reference< ::com::sun::star::io::XActiveDataSource > SfxMedium::GetDataSource() >{ > if ( !pImp->pSource ) > CreateDataSource(); > return pImp->pSource; >} > >::com::sun::star::uno::Reference< ::com::sun::star::io::XOutputStream > SfxMedium::GetDataSink() >{ > if ( !pImp->pSink ) > CreateDataSink(); > return pImp->pSink; >} > >void SfxMedium::CreateDataSource() >{ > if ( ProvidesData_Impl() ) > { > SfxLoadEnvironment *pEnv = __null; > if ( pImp->pLoadEnv ) > { > pEnv = new SfxLoadEnvironment( pImp->pLoadEnv ); > SfxRefItem aItem( (5000 + 542), pEnv ); > GetItemSet()->Put( aItem ); > } > > pImp->pSource = new FileSource_Impl( this ); > pImp->pSource->acquire(); > if ( pEnv ) > pEnv->SetDataAvailableLink( Link( (FileSource_Impl*)pImp->pSource, (PSTUB)&FileSource_Impl::LinkStubDataAvailableHdl ) ); > } >} > >void SfxMedium::CreateDataSink() >{ > pImp->pSink = new FileSink_Impl( this ); > pImp->pSink->acquire(); >} > >void SfxMedium::ResetDataSource() >{ > if ( pImp->pSource ) > { > pImp->pSource->ResetMedium(); > pImp->pSource->release(); > } >} > >void SfxMedium::ResetDataSink() >{ > if ( pImp->pSink ) > { > pImp->pSink->ResetMedium(); > pImp->pSink->release(); > } >} > >const SfxVersionTableDtor* SfxMedium::GetVersionList() >{ > if ( !pImp->pVersions && IsStorage() ) > { > SvStorageStreamRef aStream = > GetStorage()->OpenStream( String("VersionList", sizeof( "VersionList" )-1, ((rtl_TextEncoding)11)), (0x0001 | 0x0400) | 0x0004 ); > if ( aStream.Is() && aStream->GetError() == (0UL) ) > { > pImp->pVersions = new SfxVersionTableDtor; > pImp->pVersions->Read( *aStream ); > } > } > > return pImp->pVersions; >} > >sal_uInt16 SfxMedium::AddVersion_Impl( SfxVersionInfo& rInfo ) >{ > if ( IsStorage() ) > { > if ( !pImp->pVersions ) > pImp->pVersions = new SfxVersionTableDtor; > > > SvULongs aLongs; > SfxVersionInfo* pInfo = pImp->pVersions->First(); > while ( pInfo ) > { > sal_uInt32 nVer = (sal_uInt32) pInfo->aName.Copy(7).ToInt32(); > sal_uInt16 n; > for ( n=0; n<aLongs.Count(); n++ ) > if ( nVer<aLongs[n] ) > break; > > aLongs.Insert( nVer, n ); > pInfo = pImp->pVersions->Next(); > } > > sal_uInt16 nKey; > for ( nKey=0; nKey<aLongs.Count(); nKey++ ) > if ( aLongs[nKey] > nKey+1 ) > break; > > rInfo.aName = String("Version", sizeof( "Version" )-1, ((rtl_TextEncoding)11)); > rInfo.aName += String::CreateFromInt32( nKey + 1 ); > pInfo = new SfxVersionInfo( rInfo ); > pImp->pVersions->Insert( pInfo, ((ULONG)0xFFFFFFFF) ); > return nKey; > } > > return 0; >} > >sal_Bool SfxMedium::RemoveVersion_Impl( const SfxVersionInfo& rInfo ) >{ > if ( !pImp->pVersions ) > return ((unsigned char)0); > > SfxVersionInfo* pInfo = pImp->pVersions->First(); > while( pInfo ) > { > if ( pInfo->aName == rInfo.aName ) > { > pImp->pVersions->Remove( pInfo ); > delete pInfo; > return ((unsigned char)1); > } > > pInfo = pImp->pVersions->Next(); > } > > return ((unsigned char)0); >} > >sal_Bool SfxMedium::TransferVersionList_Impl( SfxMedium& rMedium ) >{ > if ( rMedium.pImp->pVersions ) > { > delete pImp->pVersions; > pImp->pVersions = new SfxVersionTableDtor( *rMedium.pImp->pVersions ); > return ((unsigned char)1); > } > > return ((unsigned char)0); >} > >sal_Bool SfxMedium::SaveVersionList_Impl() >{ > if ( IsStorage() ) > { > if ( !pImp->pVersions ) > return ((unsigned char)1); > > SvStorageStreamRef aStream = > GetStorage()->OpenStream( String("VersionList", sizeof( "VersionList" )-1, ((rtl_TextEncoding)11)), ((0x0001 | 0x0002) | 0x0400) ); > if ( aStream.Is() && aStream->GetError() == (0UL) ) > { > pImp->pVersions->Write( *aStream ); > return ((unsigned char)1); > } > } > > return ((unsigned char)0); >} > > >sal_Bool SfxMedium::IsReadOnly() >{ > sal_Bool bReadOnly = !( GetOpenMode() & 0x0002 ); > > > > > if ( !bReadOnly ) > { > > const SfxBoolItem *pItem = (const SfxBoolItem*) SfxRequest::GetItem( GetItemSet(), (5000 + 590), ((unsigned char)0), (SfxBoolItem::StaticType()) ); > if ( pItem ) > bReadOnly = pItem->GetValue(); > } > > return bReadOnly; >} > > >void SfxMedium::CreateTempFile() >{ > if ( pImp->pTempFile ) > delete pImp->pTempFile; > > String aParentName; > INetURLObject aParent = GetURLObject(); > > if ( aParent.removeSegment() ) > aParentName = aParent.GetMainURL(); > > pImp->pTempFile = new TempFile( &aParentName ); > pImp->pTempFile->EnableKillingFile( ((unsigned char)1) ); > > aName = pImp->pTempFile->GetName(); > > CloseOutStream_Impl(); > CloseStorage(); >} > > > > >SvStream& SfxVersionTableDtor::Read( SvStream& rStrm ) >{ > sal_uInt16 nCount = 0, nVersion = 0; > > rStrm >> nVersion; > rStrm >> nCount; > > for( sal_uInt16 i=0; i<nCount; ++i ) > { > SfxVersionInfo *pNew = new SfxVersionInfo; > rStrm.ReadByteString( pNew->aComment, ((rtl_TextEncoding)76) ); > rStrm.ReadByteString( pNew->aName, ((rtl_TextEncoding)76) ); > pNew->aCreateStamp.Load( rStrm ); > Insert( pNew, ((ULONG)0xFFFFFFFF) ); > } > > return rStrm; >} > >SvStream& SfxVersionTableDtor::Write( SvStream& rStream ) const >{ > rStream << (sal_uInt16) 1; > rStream << (sal_uInt16) Count(); > > SfxVersionInfo* pInfo = ((SfxVersionTableDtor*)this)->First(); > while( pInfo && rStream.GetError() == (0UL) ) > { > rStream.WriteByteString( pInfo->aComment, ((rtl_TextEncoding)76) ); > rStream.WriteByteString( pInfo->aName, ((rtl_TextEncoding)76) ); > pInfo->aCreateStamp.Save( rStream ); > pInfo = ((SfxVersionTableDtor*)this)->Next(); > } > > return rStream; >} > >void SfxVersionTableDtor::DelDtor() >{ > SfxVersionInfo* pTmp = First(); > while( pTmp ) > { > delete pTmp; > pTmp = Next(); > } > Clear(); >} > >SfxVersionTableDtor& SfxVersionTableDtor::operator=( const SfxVersionTableDtor& rTbl ) >{ > DelDtor(); > SfxVersionInfo* pTmp = ((SfxVersionTableDtor&)rTbl).First(); > while( pTmp ) > { > SfxVersionInfo *pNew = new SfxVersionInfo( *pTmp ); > Insert( pNew, ((ULONG)0xFFFFFFFF) ); > pTmp = ((SfxVersionTableDtor&)rTbl).Next(); > } > return *this; >} > > > > >SfxVersionInfo::SfxVersionInfo() >{ >} > >SvStringsDtor* SfxVersionTableDtor::GetVersions() const >{ > SvStringsDtor *pList = new SvStringsDtor; > SfxVersionInfo* pInfo = ((SfxVersionTableDtor*) this)->First(); > while ( pInfo ) > { > String *pString = new String( pInfo->aComment ); > (*pString) += String("; ", sizeof( "; " )-1, ((rtl_TextEncoding)11)); > (*pString) += ConvertDateTime_Impl( pInfo->aCreateStamp ); > pList->Insert( pString, pList->Count() ); > pInfo = ((SfxVersionTableDtor*) this)->Next(); > } > > return pList; >} > > > > >::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > SfxDataSourceFactory::createInstance(const ::rtl::OUString& ServiceSpecifier) throw( ::com::sun::star::uno::Exception, ::com::sun::star::uno::RuntimeException ) >{ > INetProtocol eProt = INetURLObject::CompareProtocolScheme( ::rtl::OUStringToOString(ServiceSpecifier, ((rtl_TextEncoding)76)) ); > switch ( eProt ) > { > case INET_PROT_FTP : > case INET_PROT_HTTP : > case INET_PROT_FILE : > case INET_PROT_HTTPS : > case INET_PROT_NEWS : > case INET_PROT_PRIV_SOFFICE : > case INET_PROT_IMAP : > case INET_PROT_POP3 : > case INET_PROT_VIM : > break; > default: > return ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > (); > break; > } > > return (::cppu::OWeakObject*) new FileSource_Impl; >} > >void SfxDataSourceFactory::acquire() throw( ) { OWeakObject::acquire(); } void SfxDataSourceFactory::release() throw( ) { OWeakObject::release(); } ::com::sun::star::uno::Any SfxDataSourceFactory::queryInterface( const ::com::sun::star::uno::Type& rType ) throw( ::com::sun::star::uno::RuntimeException ) { ::com::sun::star::uno::Any aReturn ( ::cppu::queryInterface( rType, static_cast< ::com::sun::star::lang::XTypeProvider* >( this ), static_cast< ::com::sun::star::lang::XMultiServiceFactory* >( this ), static_cast< ::com::sun::star::lang::XServiceInfo* >( this )) ); if ( aReturn.hasValue() == ((unsigned char)1) ) { return aReturn ; } else { return OWeakObject::queryInterface( rType ); } } >::com::sun::star::uno::Sequence< sal_Int8 > SfxDataSourceFactory::getImplementationId() throw( ::com::sun::star::uno::RuntimeException ) { static ::cppu::OImplementationId* pID = __null ; if ( pID == __null ) { ::osl::MutexGuard aGuard( ::osl::Mutex::getGlobalMutex() ); if ( pID == __null ) { static ::cppu::OImplementationId aID( ((unsigned char)0) ); pID = &aID ; } } return pID->getImplementationId(); } ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type > SfxDataSourceFactory::getTypes() throw( ::com::sun::star::uno::RuntimeException ) { static ::cppu::OTypeCollection* pTypeCollection = __null ; if ( pTypeCollection == __null ) { ::osl::MutexGuard aGuard( ::osl::Mutex::getGlobalMutex() ); if ( pTypeCollection == __null ) { static ::cppu::OTypeCollection aTypeCollection( ::getCppuType(( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XTypeProvider >*)__null ), ::getCppuType(( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory>*)__null ), ::getCppuType(( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XServiceInfo>*)__null )); pTypeCollection = &aTypeCollection ; } } return pTypeCollection->getTypes(); } >::rtl::OUString SfxDataSourceFactory::getImplementationName() throw( ::com::sun::star::uno::RuntimeException ) { return impl_getStaticImplementationName(); } sal_Bool SfxDataSourceFactory::supportsService( const ::rtl::OUString& sServiceName ) throw( ::com::sun::star::uno::RuntimeException ) { ::com::sun::star::uno::Sequence< ::rtl::OUString > seqServiceNames = getSupportedServiceNames(); const ::rtl::OUString* pArray = seqServiceNames.getConstArray(); for ( sal_Int32 nCounter=0; nCounter<seqServiceNames.getLength(); nCounter++ ) { if ( pArray[nCounter] == sServiceName ) { return ((unsigned char)1) ; } } return ((unsigned char)0) ; } ::com::sun::star::uno::Sequence< ::rtl::OUString > SfxDataSourceFactory::getSupportedServiceNames() throw( ::com::sun::star::uno::RuntimeException ) { return impl_getStaticSupportedServiceNames(); } ::com::sun::star::uno::Sequence< ::rtl::OUString > SfxDataSourceFactory::impl_getStaticSupportedServiceNames() { ::osl::MutexGuard aGuard( ::osl::Mutex::getGlobalMutex() ); ::com::sun::star::uno::Sequence< ::rtl::OUString > seqServiceNames( 1 ); seqServiceNames.getArray() [0] = ::rtl::OUString::createFromAscii( "com.sun.star.frame.DataSourceFactory"); return seqServiceNames ; } ::rtl::OUString SfxDataSourceFactory::impl_getStaticImplementationName() { return ::rtl::OUString::createFromAscii( "com.sun.star.comp.sfx2.DataSourceFactory"); } ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > SfxDataSourceFactory::impl_createInstance( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >& xServiceManager ) throw( ::com::sun::star::uno::Exception ) { return ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >( *new SfxDataSourceFactory( xServiceManager ) ); } >::com::sun::star::uno::Reference< ::com::sun::star::lang::XSingleServiceFactory > SfxDataSourceFactory::impl_createFactory( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >& xServiceManager ) { ::com::sun::star::uno::Reference< ::com::sun::star::lang::XSingleServiceFactory > xReturn ( cppu::createSingleFactory( xServiceManager , SfxDataSourceFactory::impl_getStaticImplementationName() , SfxDataSourceFactory::impl_createInstance , SfxDataSourceFactory::impl_getStaticSupportedServiceNames() ) ); return xReturn ; } > >SfxDataSourceFactory::SfxDataSourceFactory( com::sun::star::uno::Reference < com::sun::star::lang::XMultiServiceFactory> const & ) >{ >; >} > >SfxDataSourceFactory::~SfxDataSourceFactory() >{ >} > >::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > SfxDataSourceFactory::createInstanceWithArguments(const ::rtl::OUString& ServiceSpecifier, const ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Any >& Arguments) throw( ::com::sun::star::uno::Exception, ::com::sun::star::uno::RuntimeException ) >{ > INetProtocol eProt = INetURLObject::CompareProtocolScheme( ::rtl::OUStringToOString(ServiceSpecifier, ((rtl_TextEncoding)76)) ); > switch ( eProt ) > { > case INET_PROT_FTP : > case INET_PROT_HTTP : > case INET_PROT_FILE : > case INET_PROT_HTTPS : > case INET_PROT_NEWS : > case INET_PROT_PRIV_SOFFICE : > case INET_PROT_IMAP : > case INET_PROT_POP3 : > case INET_PROT_VIM : > break; > default: > return ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > (); > break; > } > > ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > xRet; > FileSource_Impl* pSource = new FileSource_Impl(); > xRet = (::cppu::OWeakObject*) pSource; > pSource->initialize( Arguments ); > return xRet; >} > >::com::sun::star::uno::Sequence< ::rtl::OUString > SfxDataSourceFactory::getAvailableServiceNames(void) throw( ::com::sun::star::uno::RuntimeException ) >{ > ::com::sun::star::uno::Sequence< ::rtl::OUString > aRet(9); > ::rtl::OUString *pArr = aRet.getArray(); > pArr[0] = String("ftp:", sizeof( "ftp:" )-1, ((rtl_TextEncoding)11)); > pArr[1] = String("http:", sizeof( "http:" )-1, ((rtl_TextEncoding)11)); > pArr[2] = String("https:", sizeof( "https:" )-1, ((rtl_TextEncoding)11)); > pArr[3] = String("file:", sizeof( "file:" )-1, ((rtl_TextEncoding)11)); > pArr[4] = String("news:", sizeof( "news:" )-1, ((rtl_TextEncoding)11)); > pArr[5] = String("staroffice.private:", sizeof( "staroffice.private:" )-1, ((rtl_TextEncoding)11)); > pArr[6] = String("imap:", sizeof( "imap:" )-1, ((rtl_TextEncoding)11)); > pArr[7] = String("pop3:", sizeof( "pop3:" )-1, ((rtl_TextEncoding)11)); > pArr[8] = String("vim:", sizeof( "vim:" )-1, ((rtl_TextEncoding)11)); > > return aRet; >} >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 20105
: 4835