|
LibreOffice Module svx (master) 1
|
#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>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) |
| #define GALLERY_BG_COLOR Application::GetSettings().GetStyleSettings().GetWindowColor() |
Definition at line 78 of file galmisc.hxx.
| #define GALLERY_DLG_COLOR Application::GetSettings().GetStyleSettings().GetDialogColor() |
Definition at line 79 of file galmisc.hxx.
| #define GALLERY_FG_COLOR Application::GetSettings().GetStyleSettings().GetWindowTextColor() |
Definition at line 77 of file galmisc.hxx.
| #define GALLERY_PROGRESS_RANGE 10000 |
Definition at line 75 of file galmisc.hxx.
| #define ID_IMAPINFO 2 |
Definition at line 66 of file galmisc.hxx.
| #define STREAMBUF_SIZE 16384L |
Definition at line 68 of file galmisc.hxx.
|
strong |
| Enumerator | |
|---|---|
| IMPORT_NONE | |
| IMPORT_FILE | |
Definition at line 70 of file galmisc.hxx.
|
strong |
| Enumerator | |
|---|---|
| CLOSE_THEME | |
| THEME_REMOVED | |
| THEME_RENAMED | |
| THEME_CREATED | |
| THEME_UPDATEVIEW | |
| CLOSE_OBJECT | |
Definition at line 165 of file galmisc.hxx.
|
strong |
| Enumerator | |
|---|---|
| NONE | |
| Bitmap | |
| Sound | |
| Animation | |
| SvDraw | |
| Inet | |
Definition at line 56 of file galmisc.hxx.
| bool CopyFile | ( | const INetURLObject & | rSrcURL, |
| const INetURLObject & | rDstURL | ||
| ) |
Definition at line 261 of file galmisc.cxx.
References ucbhelper::Content::executeCommand(), INetURLObject::GetLastName(), INetURLObject::GetMainURL(), comphelper::getProcessComponentContext(), and INetURLObject::NONE.
Referenced by GalleryFileStorage::updateTheme().
| bool CreateDir | ( | const INetURLObject & | rURL | ) |
Definition at line 229 of file galmisc.cxx.
References FileExists(), INetURLObject::GetLastName(), INetURLObject::GetMainURL(), comphelper::getProcessComponentContext(), ucbhelper::Content::insertNewContent(), INetURLObject::NONE, and INetURLObject::removeSegment().
Referenced by GalleryFileStorage::implCreateUniqueURL(), and GalleryFileStorage::implWrite().
| bool CreateIMapGraphic | ( | const FmFormModel & | rModel, |
| Graphic & | rGraphic, | ||
| ImageMap & | rImageMap | ||
| ) |
Definition at line 120 of file galmisc.cxx.
References SdrObjUserData::GetId(), SdrObjUserData::GetInventor(), SdrObjList::GetObj(), SdrObjList::GetObjCount(), SdrModel::GetPage(), SdrModel::GetPageCount(), SdrObject::GetUserData(), SdrObject::GetUserDataCount(), i, ID_IMAPINFO, nCount, and SgaImap.
Referenced by SgaObjectSvDraw::CreateThumb(), and GalleryTheme::GetGraphic().
| bool FileExists | ( | const INetURLObject & | rURL | ) |
Definition at line 201 of file galmisc.cxx.
References INetURLObject::GetMainURL(), comphelper::getProcessComponentContext(), ucbhelper::Content::getPropertyValue(), INetURLObject::GetProtocol(), and INetURLObject::NONE.
Referenced by CreateDir(), and KillFile().
| GalleryGraphicImportRet GalleryGraphicImport | ( | const INetURLObject & | rURL, |
| Graphic & | rGraphic, | ||
| OUString & | rFilterName | ||
| ) |
Definition at line 51 of file galmisc.cxx.
References SfxMedium::Download(), GraphicFilter::GetGraphicFilter(), GraphicFilter::GetImportFormatName(), SfxMedium::GetInStream(), INetURLObject::GetMainURL(), GRFILTER_FORMAT_DONTKNOW, IMPORT_FILE, IMPORT_NONE, GraphicFilter::ImportGraphic(), and INetURLObject::NONE.
Referenced by GalleryTheme::Actualize(), GalleryTheme::GetGraphic(), GalleryTheme::InsertURL(), and SgaObjectBmp::SgaObjectBmp().
Definition at line 76 of file galmisc.cxx.
References GallerySvDrawImport(), SdrModel::GetItemPool(), SdrModel::GetPageCount(), GalleryCodec::IsCoded(), nVersion, GalleryCodec::Read(), SvStream::Seek(), SfxItemPool::SetDefaultMetric(), and SvxDrawingLayerImport().
Referenced by GallerySvDrawImport(), GalleryFileStorage::readModel(), GalleryFileStorage::readModelStream(), and SgaObjectSvDraw::SgaObjectSvDraw().
| SVXCORE_DLLPUBLIC OUString GetReducedString | ( | const INetURLObject & | rURL, |
| sal_Int32 | nMaxLen | ||
| ) |
Definition at line 154 of file galmisc.cxx.
References aName, INetURLObject::getFSysPath(), INetURLObject::GetMainURL(), INetURLObject::GetProtocol(), and INetURLObject::Unambiguous.
| OUString GetSvDrawStreamNameFromURL | ( | const INetURLObject & | rSvDrawObjURL | ) |
Definition at line 188 of file galmisc.cxx.
References INetURLObject::GetMainURL(), INetURLObject::GetProtocol(), comphelper::string::getTokenCount(), and INetURLObject::NONE.
Referenced by GalleryFileStorage::insertModel(), GalleryFileStorage::insertModelStream(), GalleryFileStorage::readModel(), GalleryFileStorage::readModelStream(), GalleryFileStorage::updateSvDrawObject(), and GalleryFileStorage::writeGalleryTheme().
| INetURLObject ImplGetURL | ( | const GalleryObject * | pObject | ) |
Definition at line 553 of file galmisc.cxx.
Referenced by GalleryTheme::GetGraphic(), GalleryTheme::GetURL(), GalleryFileStorage::readModel(), and GalleryFileStorage::readModelStream().
| bool KillFile | ( | const INetURLObject & | rURL | ) |
Definition at line 287 of file galmisc.cxx.
References ucbhelper::Content::executeCommand(), FileExists(), INetURLObject::GetMainURL(), comphelper::getProcessComponentContext(), and INetURLObject::NONE.
Referenced by Gallery::ImplLoadSubDirs(), GalleryFileStorage::removeObject(), GalleryFileStorageEntry::removeTheme(), and GalleryFileStorage::updateTheme().