LibreOffice Module svx (master) 1
Classes | Namespaces | Macros | Enumerations | Functions
galmisc.hxx File Reference
#include <utility>
#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

namespace  com
 
namespace  com::sun
 
namespace  com::sun::star
 
namespace  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 class  SgaObjKind {
  NONE = 0 ,
  Bitmap = 1 ,
  Sound = 2 ,
  Animation = 4 ,
  SvDraw = 5 ,
  Inet = 6
}
 
enum class  GalleryGraphicImportRet {
  IMPORT_NONE ,
  IMPORT_FILE
}
 
enum class  GalleryHintType {
  CLOSE_THEME ,
  THEME_REMOVED ,
  THEME_RENAMED ,
  THEME_CREATED ,
  THEME_UPDATEVIEW ,
  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)
 
SVXCORE_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)
 
INetURLObject ImplGetURL (const GalleryObject *pObject)
 

Macro Definition Documentation

◆ GALLERY_BG_COLOR

#define GALLERY_BG_COLOR   Application::GetSettings().GetStyleSettings().GetWindowColor()

Definition at line 78 of file galmisc.hxx.

◆ GALLERY_DLG_COLOR

#define GALLERY_DLG_COLOR   Application::GetSettings().GetStyleSettings().GetDialogColor()

Definition at line 79 of file galmisc.hxx.

◆ GALLERY_FG_COLOR

#define GALLERY_FG_COLOR   Application::GetSettings().GetStyleSettings().GetWindowTextColor()

Definition at line 77 of file galmisc.hxx.

◆ GALLERY_PROGRESS_RANGE

#define GALLERY_PROGRESS_RANGE   10000

Definition at line 75 of file galmisc.hxx.

◆ ID_IMAPINFO

#define ID_IMAPINFO   2

Definition at line 66 of file galmisc.hxx.

◆ STREAMBUF_SIZE

#define STREAMBUF_SIZE   16384L

Definition at line 68 of file galmisc.hxx.

Enumeration Type Documentation

◆ GalleryGraphicImportRet

enum class GalleryGraphicImportRet
strong
Enumerator
IMPORT_NONE 
IMPORT_FILE 

Definition at line 70 of file galmisc.hxx.

◆ GalleryHintType

enum class GalleryHintType
strong
Enumerator
CLOSE_THEME 
THEME_REMOVED 
THEME_RENAMED 
THEME_CREATED 
THEME_UPDATEVIEW 
CLOSE_OBJECT 

Definition at line 165 of file galmisc.hxx.

◆ SgaObjKind

enum class SgaObjKind
strong
Enumerator
NONE 
Bitmap 
Sound 
Animation 
SvDraw 
Inet 

Definition at line 56 of file galmisc.hxx.

Function Documentation

◆ CopyFile()

bool CopyFile ( const INetURLObject rSrcURL,
const INetURLObject rDstURL 
)

◆ CreateDir()

bool CreateDir ( const INetURLObject rURL)

◆ CreateIMapGraphic()

bool CreateIMapGraphic ( const FmFormModel rModel,
Graphic rGraphic,
ImageMap rImageMap 
)

◆ FileExists()

bool FileExists ( const INetURLObject rURL)

◆ GalleryGraphicImport()

GalleryGraphicImportRet GalleryGraphicImport ( const INetURLObject rURL,
Graphic rGraphic,
OUString &  rFilterName 
)

◆ GallerySvDrawImport()

bool GallerySvDrawImport ( SvStream rIStm,
SdrModel rModel 
)

◆ GetReducedString()

SVXCORE_DLLPUBLIC OUString GetReducedString ( const INetURLObject rURL,
sal_Int32  nMaxLen 
)

◆ GetSvDrawStreamNameFromURL()

OUString GetSvDrawStreamNameFromURL ( const INetURLObject rSvDrawObjURL)

◆ ImplGetURL()

INetURLObject ImplGetURL ( const GalleryObject pObject)

◆ KillFile()

bool KillFile ( const INetURLObject rURL)