LibreOffice Module sd (master) 1
Classes | Namespaces | Macros | Functions | Variables
pptx-epptooxml.cxx File Reference
#include <stdio.h>
#include <oox/drawingml/clrscheme.hxx>
#include <oox/token/namespaces.hxx>
#include <oox/token/tokens.hxx>
#include <oox/token/relationship.hxx>
#include <oox/ole/vbaproject.hxx>
#include "epptooxml.hxx"
#include <oox/export/shapes.hxx>
#include <comphelper/sequenceashashmap.hxx>
#include <comphelper/storagehelper.hxx>
#include <comphelper/xmltools.hxx>
#include <sax/fshelper.hxx>
#include <rtl/ustrbuf.hxx>
#include <sal/log.hxx>
#include <tools/UnitConversion.hxx>
#include <tools/datetime.hxx>
#include <com/sun/star/animations/TransitionType.hpp>
#include <com/sun/star/animations/TransitionSubType.hpp>
#include <com/sun/star/beans/XPropertySetInfo.hpp>
#include <com/sun/star/drawing/FillStyle.hpp>
#include <com/sun/star/drawing/XDrawPages.hpp>
#include <com/sun/star/drawing/XDrawPagesSupplier.hpp>
#include <com/sun/star/embed/ElementModes.hpp>
#include <com/sun/star/geometry/RealPoint2D.hpp>
#include <com/sun/star/office/XAnnotationEnumeration.hpp>
#include <com/sun/star/office/XAnnotationAccess.hpp>
#include <com/sun/star/presentation/AnimationSpeed.hpp>
#include <com/sun/star/util/DateTime.hpp>
#include <com/sun/star/task/XStatusIndicator.hpp>
#include <com/sun/star/frame/XModel.hpp>
#include <com/sun/star/lang/XMultiServiceFactory.hpp>
#include <com/sun/star/presentation/XCustomPresentationSupplier.hpp>
#include <com/sun/star/container/XIndexContainer.hpp>
#include <com/sun/star/container/XNamed.hpp>
#include <com/sun/star/presentation/XPresentationSupplier.hpp>
#include <comphelper/diagnose_ex.hxx>
#include <oox/export/utils.hxx>
#include <oox/export/ThemeExport.hxx>
#include <docmodel/theme/Theme.hxx>
#include "pptx-animations.hxx"
#include "../ppt/pptanimations.hxx"
#include <i18nlangtag/languagetag.hxx>
#include <svx/svdpage.hxx>
#include <svx/unoapi.hxx>
#include <svx/svdogrp.hxx>
#include <svx/ColorSets.hxx>
#include <sdmod.hxx>
#include <sdpage.hxx>
#include <vcl/svapp.hxx>
#include <vcl/settings.hxx>
#include <com/sun/star/document/XDocumentPropertiesSupplier.hpp>
#include <com/sun/star/document/XStorageBasedDocument.hpp>
#include <utility>
#include <com/sun/star/drawing/RectanglePoint.hpp>
Include dependency graph for pptx-epptooxml.cxx:

Go to the source code of this file.

Classes

class  oox::core::PowerPointShapeExport
 

Namespaces

namespace  oox
 
namespace  oox::core
 

Macros

#define PNMSS
 
#define PPRNMSS
 
#define MAIN_GROUP    "<p:nvGrpSpPr>\ <p:cNvPr id=\"1\" name=\"\"/>\ <p:cNvGrpSpPr/>\ <p:nvPr/>\ </p:nvGrpSpPr>\ <p:grpSpPr>\ <a:xfrm>\ <a:off x=\"0\" y=\"0\"/>\ <a:ext cx=\"0\" cy=\"0\"/>\ <a:chOff x=\"0\" y=\"0\"/>\ <a:chExt cx=\"0\" cy=\"0\"/>\ </a:xfrm>\ </p:grpSpPr>"
 

Functions

void dump_pset (Reference< XPropertySet > const &rXPropSet)
 
static OUString lcl_GetInitials (std::u16string_view sName)
 
SAL_DLLPUBLIC_EXPORT uno::XInterface * css_comp_Impress_oox_PowerPointExport (uno::XComponentContext *rxCtxt, uno::Sequence< css::uno::Any > const &rArguments)
 

Variables

const PPTXLayoutInfo aLayoutInfo [LAYOUT_SIZE]
 

Macro Definition Documentation

◆ MAIN_GROUP

#define MAIN_GROUP    "<p:nvGrpSpPr>\ <p:cNvPr id=\"1\" name=\"\"/>\ <p:cNvGrpSpPr/>\ <p:nvPr/>\ </p:nvGrpSpPr>\ <p:grpSpPr>\ <a:xfrm>\ <a:off x=\"0\" y=\"0\"/>\ <a:ext cx=\"0\" cy=\"0\"/>\ <a:chOff x=\"0\" y=\"0\"/>\ <a:chExt cx=\"0\" cy=\"0\"/>\ </a:xfrm>\ </p:grpSpPr>"

Definition at line 615 of file pptx-epptooxml.cxx.

◆ PNMSS

#define PNMSS
Value:
FSNS(XML_xmlns, XML_a), this->getNamespaceURL(OOX_NS(dml)), \
FSNS(XML_xmlns, XML_p), this->getNamespaceURL(OOX_NS(ppt)), \
FSNS(XML_xmlns, XML_r), this->getNamespaceURL(OOX_NS(officeRel)), \
FSNS(XML_xmlns, XML_p14), this->getNamespaceURL(OOX_NS(p14)), \
FSNS(XML_xmlns, XML_p15), this->getNamespaceURL(OOX_NS(p15)), \
FSNS(XML_xmlns, XML_mc), this->getNamespaceURL(OOX_NS(mce))
constexpr sal_Int32 FSNS(sal_Int32 namespc, sal_Int32 element)

Definition at line 84 of file pptx-epptooxml.cxx.

◆ PPRNMSS

#define PPRNMSS
Value:
FSNS(XML_xmlns, XML_a), this->getNamespaceURL(OOX_NS(dml)), \
FSNS(XML_xmlns, XML_r), this->getNamespaceURL(OOX_NS(officeRel)), \
FSNS(XML_xmlns, XML_p), this->getNamespaceURL(OOX_NS(ppt))

Definition at line 92 of file pptx-epptooxml.cxx.

Function Documentation

◆ css_comp_Impress_oox_PowerPointExport()

SAL_DLLPUBLIC_EXPORT uno::XInterface * css_comp_Impress_oox_PowerPointExport ( uno::XComponentContext *  rxCtxt,
uno::Sequence< css::uno::Any > const &  rArguments 
)

Definition at line 2284 of file pptx-epptooxml.cxx.

◆ dump_pset()

void dump_pset ( Reference< XPropertySet > const &  rXPropSet)

◆ lcl_GetInitials()

static OUString lcl_GetInitials ( std::u16string_view  sName)
static

Definition at line 1060 of file pptx-epptooxml.cxx.

References sName.

Referenced by oox::core::PowerPointExport::WriteAuthors().

Variable Documentation

◆ aLayoutInfo

const PPTXLayoutInfo aLayoutInfo[LAYOUT_SIZE]
Initial value:
=
{
{ 20, "Blank Slide", "blank" },
{ 0, "Title Slide", "tx" },
{ 1, "Title, Content", "obj" },
{ 3, "Title, 2 Content", "twoObj" },
{ 19, "Title Only", "titleOnly" },
{ 32, "Centered Text", "objOnly" },
{ 15, "Title, 2 Content and Content", "twoObjAndObj" },
{ 12, "Title Content and 2 Content", "objAndTwoObj" },
{ 16, "Title, 2 Content over Content", "twoObjOverTx" },
{ 14, "Title, Content over Content", "objOverTx" },
{ 18, "Title, 4 Content", "fourObj" },
{ 34, "Title, 6 Content", "blank" }
}

Definition at line 216 of file pptx-epptooxml.cxx.

Referenced by oox::core::PowerPointExport::ImplWritePPTXLayout().