LibreOffice Module svx (master)  1
Classes | Namespaces | Macros | Enumerations | Functions
galmisc.hxx File Reference
#include <vcl/imap.hxx>
#include <svl/hint.hxx>
#include <vcl/transfer.hxx>
#include <svx/svdobj.hxx>
#include <com/sun/star/uno/Reference.h>
#include <svx/svxdllapi.h>
#include <tools/date.hxx>
#include <tools/time.hxx>
#include <memory>
Include dependency graph for galmisc.hxx:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  ExchangeData
 
class  SgaIMapInfo
 
class  GalleryProgress
 
class  GalleryTransferable
 
class  GalleryHint
 

Namespaces

 com::sun::star::awt
 

Macros

#define ID_IMAPINFO   2
 
#define STREAMBUF_SIZE   16384L
 
#define GALLERY_PROGRESS_RANGE   10000
 
#define GALLERY_FG_COLOR   Application::GetSettings().GetStyleSettings().GetWindowTextColor()
 
#define GALLERY_BG_COLOR   Application::GetSettings().GetStyleSettings().GetWindowColor()
 
#define GALLERY_DLG_COLOR   Application::GetSettings().GetStyleSettings().GetDialogColor()
 

Enumerations

enum  SgaObjKind {
  SgaObjKind::NONE = 0,
  SgaObjKind::Bitmap = 1,
  SgaObjKind::Sound = 2,
  SgaObjKind::Animation = 4,
  SgaObjKind::SvDraw = 5,
  SgaObjKind::Inet = 6
}
 
enum  GalleryGraphicImportRet {
  GalleryGraphicImportRet::IMPORT_NONE,
  GalleryGraphicImportRet::IMPORT_FILE
}
 
enum  GalleryHintType {
  GalleryHintType::CLOSE_THEME,
  GalleryHintType::THEME_REMOVED,
  GalleryHintType::THEME_RENAMED,
  GalleryHintType::THEME_CREATED,
  GalleryHintType::THEME_UPDATEVIEW,
  GalleryHintType::CLOSE_OBJECT
}
 

Functions

GalleryGraphicImportRet GalleryGraphicImport (const INetURLObject &rURL, Graphic &rGraphic, OUString &rFilterName)
 
bool GallerySvDrawImport (SvStream &rIStm, SdrModel &rModel)
 
bool CreateIMapGraphic (const FmFormModel &rModel, Graphic &rGraphic, ImageMap &rImageMap)
 
SVX_DLLPUBLIC OUString GetReducedString (const INetURLObject &rURL, sal_Int32 nMaxLen)
 
OUString GetSvDrawStreamNameFromURL (const INetURLObject &rSvDrawObjURL)
 
bool FileExists (const INetURLObject &rURL)
 
bool CreateDir (const INetURLObject &rURL)
 
bool CopyFile (const INetURLObject &rSrcURL, const INetURLObject &rDstURL)
 
bool KillFile (const INetURLObject &rURL)
 
BitmapEx GalleryResGetBitmapEx (const OUString &rId)
 

Macro Definition Documentation

#define GALLERY_BG_COLOR   Application::GetSettings().GetStyleSettings().GetWindowColor()
#define GALLERY_DLG_COLOR   Application::GetSettings().GetStyleSettings().GetDialogColor()
#define GALLERY_FG_COLOR   Application::GetSettings().GetStyleSettings().GetWindowTextColor()
#define GALLERY_PROGRESS_RANGE   10000

Definition at line 73 of file galmisc.hxx.

Referenced by GalleryProgress::GalleryProgress(), and GalleryProgress::Update().

#define ID_IMAPINFO   2

Definition at line 64 of file galmisc.hxx.

Referenced by CreateIMapGraphic().

#define STREAMBUF_SIZE   16384L

Definition at line 66 of file galmisc.hxx.

Referenced by GalleryTheme::GetModel().

Enumeration Type Documentation

Enumerator
IMPORT_NONE 
IMPORT_FILE 

Definition at line 68 of file galmisc.hxx.

enum GalleryHintType
strong
Enumerator
CLOSE_THEME 
THEME_REMOVED 
THEME_RENAMED 
THEME_CREATED 
THEME_UPDATEVIEW 
CLOSE_OBJECT 

Definition at line 161 of file galmisc.hxx.

enum SgaObjKind
strong
Enumerator
NONE 
Bitmap 
Sound 
Animation 
SvDraw 
Inet 

Definition at line 54 of file galmisc.hxx.

Function Documentation

bool CopyFile ( const INetURLObject rSrcURL,
const INetURLObject rDstURL 
)
bool CreateDir ( const INetURLObject rURL)
bool CreateIMapGraphic ( const FmFormModel rModel,
Graphic rGraphic,
ImageMap rImageMap 
)
bool FileExists ( const INetURLObject rURL)
GalleryGraphicImportRet GalleryGraphicImport ( const INetURLObject rURL,
Graphic rGraphic,
OUString &  rFilterName 
)
BitmapEx GalleryResGetBitmapEx ( const OUString &  rId)

Definition at line 58 of file galmisc.cxx.

References COL_LIGHTMAGENTA(), BitmapEx::GetBitmap(), and BitmapEx::IsTransparent().

bool GallerySvDrawImport ( SvStream rIStm,
SdrModel rModel 
)
SVX_DLLPUBLIC OUString GetReducedString ( const INetURLObject rURL,
sal_Int32  nMaxLen 
)
OUString GetSvDrawStreamNameFromURL ( const INetURLObject rSvDrawObjURL)
bool KillFile ( const INetURLObject rURL)