LibreOffice Module filter (master) 1
|
#include <com/sun/star/embed/Aspects.hpp>
#include <com/sun/star/embed/XEmbeddedObject.hpp>
#include <math.h>
#include <limits>
#include <limits.h>
#include <utility>
#include <vector>
#include <o3tl/any.hxx>
#include <o3tl/safeint.hxx>
#include <osl/file.hxx>
#include <tools/solar.h>
#include <sal/log.hxx>
#include <rtl/math.hxx>
#include <comphelper/classids.hxx>
#include <toolkit/helper/vclunohelper.hxx>
#include <unotools/configmgr.hxx>
#include <unotools/streamwrap.hxx>
#include <comphelper/processfactory.hxx>
#include <comphelper/string.hxx>
#include <comphelper/seqstream.hxx>
#include <comphelper/storagehelper.hxx>
#include <comphelper/sequence.hxx>
#include <sot/exchange.hxx>
#include <sot/storinfo.hxx>
#include <vcl/cvtgrf.hxx>
#include <vcl/wmf.hxx>
#include <vcl/settings.hxx>
#include <vcl/vclptr.hxx>
#include <vcl/BitmapTools.hxx>
#include "viscache.hxx"
#include <editeng/eeitem.hxx>
#include <editeng/editdata.hxx>
#include <tools/bigint.hxx>
#include <tools/debug.hxx>
#include <tools/stream.hxx>
#include <tools/zcodec.hxx>
#include <filter/msfilter/escherex.hxx>
#include <basegfx/numeric/ftools.hxx>
#include <basegfx/polygon/b2dpolygontools.hxx>
#include <com/sun/star/drawing/Position3D.hpp>
#include <com/sun/star/drawing/Direction3D.hpp>
#include <editeng/charscaleitem.hxx>
#include <editeng/kernitem.hxx>
#include <vcl/graphicfilter.hxx>
#include <tools/urlobj.hxx>
#include <vcl/virdev.hxx>
#include <vcl/BitmapReadAccess.hxx>
#include <sot/storage.hxx>
#include <sfx2/docfilt.hxx>
#include <sfx2/fcontnr.hxx>
#include <svx/xbtmpit.hxx>
#include <svx/xsflclit.hxx>
#include <svx/xflgrit.hxx>
#include <svx/xflftrit.hxx>
#include <svx/sdgcpitm.hxx>
#include <svx/sdgmoitm.hxx>
#include <svx/svdmodel.hxx>
#include <svx/svdobj.hxx>
#include <svx/svdpage.hxx>
#include <svx/svdogrp.hxx>
#include <svx/svdograf.hxx>
#include <svx/svdotext.hxx>
#include <svx/svdorect.hxx>
#include <svx/svdoedge.hxx>
#include <svx/svdoutl.hxx>
#include <svx/svdoole2.hxx>
#include <svx/svdopath.hxx>
#include <svx/xlntrit.hxx>
#include <svx/xfillit0.hxx>
#include <svx/xflbmtit.hxx>
#include <svx/xflclit.hxx>
#include <svx/xfltrit.hxx>
#include <svx/xflbmsxy.hxx>
#include <svx/xflbmsli.hxx>
#include <editeng/frmdir.hxx>
#include <editeng/frmdiritem.hxx>
#include <svx/svdtrans.hxx>
#include <svx/sxenditm.hxx>
#include <svx/sdgluitm.hxx>
#include <editeng/fhgtitem.hxx>
#include <editeng/wghtitem.hxx>
#include <editeng/postitem.hxx>
#include <editeng/udlnitem.hxx>
#include <editeng/crossedoutitem.hxx>
#include <editeng/shdditem.hxx>
#include <editeng/fontitem.hxx>
#include <svx/sxekitm.hxx>
#include <svx/xpoly.hxx>
#include <svx/xlineit0.hxx>
#include <svx/xlncapit.hxx>
#include <svx/xlinjoit.hxx>
#include <svx/xlndsit.hxx>
#include <svx/xlnclit.hxx>
#include <svx/xlnwtit.hxx>
#include <svx/xlnstwit.hxx>
#include <svx/xlnedwit.hxx>
#include <svx/xlnstit.hxx>
#include <svx/xlnedit.hxx>
#include <svx/xlnstcit.hxx>
#include <svx/xlnedcit.hxx>
#include <svx/sdasitm.hxx>
#include <svx/sdggaitm.hxx>
#include <svx/sdshcitm.hxx>
#include <svx/sdshitm.hxx>
#include <svx/sdshtitm.hxx>
#include <svx/sdsxyitm.hxx>
#include <svx/sdtagitm.hxx>
#include <svx/sdtcfitm.hxx>
#include <svx/sdtditm.hxx>
#include <svx/sdtfsitm.hxx>
#include <svx/sdtmfitm.hxx>
#include <filter/msfilter/classids.hxx>
#include <filter/msfilter/msdffimp.hxx>
#include <editeng/outliner.hxx>
#include <editeng/outlobj.hxx>
#include <com/sun/star/drawing/ShadeMode.hpp>
#include <vcl/dibtools.hxx>
#include <vcl/svapp.hxx>
#include <svx/svdoashp.hxx>
#include <svx/EnhancedCustomShapeTypeNames.hxx>
#include <svx/EnhancedCustomShapeGeometry.hxx>
#include <com/sun/star/drawing/EnhancedCustomShapeParameterPair.hpp>
#include <com/sun/star/drawing/EnhancedCustomShapeParameterType.hpp>
#include <com/sun/star/drawing/EnhancedCustomShapeSegment.hpp>
#include <com/sun/star/drawing/EnhancedCustomShapeGluePointType.hpp>
#include <com/sun/star/drawing/EnhancedCustomShapeSegmentCommand.hpp>
#include <com/sun/star/drawing/EnhancedCustomShapeTextFrame.hpp>
#include <com/sun/star/drawing/EnhancedCustomShapeAdjustmentValue.hpp>
#include <com/sun/star/drawing/EnhancedCustomShapeTextPathMode.hpp>
#include <com/sun/star/drawing/EnhancedCustomShapeMetalType.hpp>
#include <com/sun/star/beans/PropertyValues.hpp>
#include <com/sun/star/beans/XPropertySetInfo.hpp>
#include <com/sun/star/beans/XPropertySet.hpp>
#include <com/sun/star/drawing/ProjectionMode.hpp>
#include <svx/EnhancedCustomShape2d.hxx>
#include <rtl/ustring.hxx>
#include <svtools/embedhlp.hxx>
#include <memory>
Go to the source code of this file.
Classes | |
struct | SvxMSDffBLIPInfos |
the following will be sorted by the order of their appearance: More... | |
Functions | |
static SvStream & | operator>> (SvStream &rIn, SvxMSDffConnectorRule &rRule) |
SvStream & | ReadSvxMSDffSolverContainer (SvStream &rIn, SvxMSDffSolverContainer &rContainer) |
static basegfx::B2DPolyPolygon | GetLineArrow (const sal_Int32 nLineWidth, const sal_uInt32 eLineEnd, const sal_uInt32 eLineWidth, const sal_uInt32 eLineLength, sal_Int32 &rnArrowWidth, bool &rbArrowCenter, OUString &rsArrowName, bool bScaleArrow) |
static void | GetShadeColors (const SvxMSDffManager &rManager, const DffPropertyReader &rProperties, SvStream &rIn, std::vector< ShadeColor > &rShadeColors) |
static void | ApplyRectangularGradientAsBitmap (const SvxMSDffManager &rManager, SvStream &rIn, SfxItemSet &rSet, const std::vector< ShadeColor > &rShadeColors, const DffObjData &rObjData, Degree100 nFix16Angle) |
static Size | lcl_GetPrefSize (const Graphic &rGraf, const MapMode &aWanted) |
static void | lcl_ApplyCropping (const DffPropSet &rPropSet, SfxItemSet *pSet, Graphic &rGraf) |
static const char * | GetInternalServerName_Impl (const SvGlobalName &aGlobName) |
Variables | |
static sal_uInt32 | nMSOleObjCntr = 0 |
constexpr OUStringLiteral | MSO_OLE_Obj = u"MSO_OLE_Obj" |
const ClsIDs | aClsIDs [] |
|
static |
Definition at line 1167 of file msdffimp.cxx.
References DffObjData::aBoundRect, vcl::bitmap::CreateFromData(), DFF_msofbtUDefProp, DFF_Prop_fillToBottom, DFF_Prop_fillToRight, DFF_Prop_fNoFillHitTest, FlipH, FlipV, Color::GetBlue(), Color::GetGreen(), tools::Rectangle::GetHeight(), DffPropSet::GetPropertyValue(), Color::GetRed(), tools::Rectangle::GetWidth(), Size::Height(), Size::IsEmpty(), BitmapEx::Mirror(), nPos, DffObjData::nSpFlags, SfxItemSet::Put(), DffPropertyReader::ReadPropSet(), BitmapEx::Rotate(), rSet, SvStream::Seek(), SEEK_FROM_CURRENT_AND_RESTART, DffPropSet::SeekToContent(), vcl::bitmap::RawBitmap::SetPixel(), SvStream::Tell(), and Size::Width().
Referenced by DffPropertyReader::ApplyFillAttributes().
|
static |
Definition at line 7044 of file msdffimp.cxx.
References SO3_SC_OLE_EMBED_CLASSID_60, SO3_SC_OLE_EMBED_CLASSID_8, SO3_SCH_OLE_EMBED_CLASSID_60, SO3_SCH_OLE_EMBED_CLASSID_8, SO3_SDRAW_OLE_EMBED_CLASSID_60, SO3_SDRAW_OLE_EMBED_CLASSID_8, SO3_SIMPRESS_OLE_EMBED_CLASSID_60, SO3_SIMPRESS_OLE_EMBED_CLASSID_8, SO3_SM_OLE_EMBED_CLASSID_60, SO3_SM_OLE_EMBED_CLASSID_8, SO3_SW_OLE_EMBED_CLASSID_60, and SO3_SW_OLE_EMBED_CLASSID_8.
Referenced by SvxMSDffManager::CheckForConvertToSOObj().
|
static |
Definition at line 799 of file msdffimp.cxx.
References basegfx::B2DPolygon::append(), mso_lineArrowDiamondEnd, mso_lineArrowEnd, mso_lineArrowOpenEnd, mso_lineArrowOvalEnd, mso_lineArrowStealthEnd, mso_lineLongArrow, mso_lineMediumLenArrow, mso_lineMediumWidthArrow, mso_lineNarrowArrow, mso_lineShortArrow, mso_lineWideArrow, nLineWidth, and basegfx::B2DPolygon::setClosed().
Referenced by DffPropertyReader::ApplyLineAttributes().
|
static |
Definition at line 1133 of file msdffimp.cxx.
References COL_WHITE(), DFF_Prop_fillBackColor, DFF_Prop_fillColor, DFF_Prop_fillShadeColors, DffPropSet::GetPropertyValue(), gentoken::i, DffPropSet::IsProperty(), SvxMSDffManager::MSO_CLR_ToColor(), nPos, SvStream::ReadInt32(), SvStream::ReadUInt16(), SvStream::remainingSize(), SvStream::Seek(), DffPropSet::SeekToContent(), and SvStream::Tell().
Referenced by DffPropertyReader::ApplyFillAttributes().
|
static |
Definition at line 3805 of file msdffimp.cxx.
References BitmapEx::Crop(), DFF_Prop_cropFromBottom, DFF_Prop_cropFromLeft, DFF_Prop_cropFromRight, DFF_Prop_cropFromTop, Graphic::GetBitmapEx(), DffPropSet::GetPropertyValue(), BitmapEx::GetSizePixel(), Size::Height(), lcl_GetPrefSize(), Graphic::makeAvailable(), SfxItemSet::Put(), and Size::Width().
Referenced by SvxMSDffManager::ImportGraphic().
Definition at line 3784 of file msdffimp.cxx.
References Application::GetDefaultDevice(), MapMode::GetMapUnit(), Graphic::GetPrefMapMode(), Graphic::GetPrefSize(), OutputDevice::LogicToLogic(), and OutputDevice::PixelToLogic().
Referenced by SvxMSDffManager::CheckForConvertToSOObj(), SvxMSDffManager::CreateSdrOLEFromStorage(), and lcl_ApplyCropping().
|
static |
Definition at line 415 of file msdffimp.cxx.
References SvxMSDffConnectorRule::ncptiA, SvxMSDffConnectorRule::ncptiB, SvxMSDffConnectorRule::nShapeA, SvxMSDffConnectorRule::nShapeB, SvxMSDffConnectorRule::nShapeC, and SvStream::ReadUInt32().
SvStream & ReadSvxMSDffSolverContainer | ( | SvStream & | rIn, |
SvxMSDffSolverContainer & | rContainer | ||
) |
Definition at line 436 of file msdffimp.cxx.
Referenced by SdrPowerPointImport::SdrPowerPointImport().
const ClsIDs aClsIDs[] |
Definition at line 6835 of file msdffimp.cxx.
Referenced by SvxMSDffManager::ConvertToOle2().
|
constexpr |
Definition at line 173 of file msdffimp.cxx.
Referenced by SvxMSDffManager::CheckForConvertToSOObj(), and SvxMSDffManager::CreateSdrOLEFromStorage().
|
static |
Definition at line 172 of file msdffimp.cxx.
Referenced by SvxMSDffManager::CheckForConvertToSOObj(), and SvxMSDffManager::CreateSdrOLEFromStorage().