LibreOffice Module svx (master) 1
Functions
gengal.cxx File Reference
#include <sal/config.h>
#include <sal/log.hxx>
#include <stdio.h>
#include <vector>
#include <comphelper/processfactory.hxx>
#include <cppuhelper/bootstrap.hxx>
#include <com/sun/star/lang/XMultiServiceFactory.hpp>
#include <com/sun/star/ucb/UniversalContentBroker.hpp>
#include <com/sun/star/frame/Desktop.hpp>
#include <tools/urlobj.hxx>
#include <vcl/vclmain.hxx>
#include <osl/file.hxx>
#include <osl/process.h>
#include <sfx2/app.hxx>
#include <sal/types.h>
#include <comphelper/diagnose_ex.hxx>
#include <vcl/svapp.hxx>
#include <svx/galtheme.hxx>
#include <svx/gallery1.hxx>
Include dependency graph for gengal.cxx:

Go to the source code of this file.

Functions

static void createTheme (const OUString &aThemeName, std::u16string_view aGalleryURL, const OUString &aDestDir, std::vector< INetURLObject > &rFiles, bool bRelativeURLs)
 
static int PrintHelp ()
 
static INetURLObject Smartify (std::u16string_view rPath)
 
static std::vector< OUString > ReadResponseFile_Impl (OUString const &rInput)
 
static void ReadResponseFile (std::vector< INetURLObject > &rFiles, OUString const &rInput)
 

Function Documentation

◆ createTheme()

static void createTheme ( const OUString &  aThemeName,
std::u16string_view  aGalleryURL,
const OUString &  aDestDir,
std::vector< INetURLObject > &  rFiles,
bool  bRelativeURLs 
)
static

◆ PrintHelp()

static int PrintHelp ( )
static

Definition at line 111 of file gengal.cxx.

◆ ReadResponseFile()

static void ReadResponseFile ( std::vector< INetURLObject > &  rFiles,
OUString const &  rInput 
)
static

Definition at line 241 of file gengal.cxx.

References i, ReadResponseFile_Impl(), and Smartify().

◆ ReadResponseFile_Impl()

static std::vector< OUString > ReadResponseFile_Impl ( OUString const &  rInput)
static

Definition at line 185 of file gengal.cxx.

References i, OUStringToOString(), and size.

Referenced by ReadResponseFile().

◆ Smartify()

static INetURLObject Smartify ( std::u16string_view  rPath)
static

Definition at line 138 of file gengal.cxx.

References aURL.

Referenced by ReadResponseFile().