LibreOffice Module package (master) 1
Public Member Functions | Public Attributes | Protected Attributes | List of all members
ZipPackageEntry Class Referenceabstract

#include <ZipPackageEntry.hxx>

Inheritance diagram for ZipPackageEntry:
[legend]
Collaboration diagram for ZipPackageEntry:
[legend]

Public Member Functions

 ZipPackageEntry ()
 
virtual ~ZipPackageEntry () override
 
const OUString & GetMediaType () const
 
void SetMediaType (const OUString &sNewType)
 
void doSetParent (ZipPackageFolder *pNewParent)
 
bool IsFolder () const
 
void SetFolder (const bool bSetFolder)
 
virtual bool saveChild (const OUString &rPath, std::vector< css::uno::Sequence< css::beans::PropertyValue > > &rManList, ZipOutputStream &rZipOut, const css::uno::Sequence< sal_Int8 > &rEncryptionKey, sal_Int32 nPBKDF2IterationCount, const rtlRandomPool &rRandomPool)=0
 
void clearParent ()
 
virtual OUString SAL_CALL getName () override
 
virtual void SAL_CALL setName (const OUString &aName) override
 
virtual css::uno::Reference< css::uno::XInterface > SAL_CALL getParent () override
 
virtual void SAL_CALL setParent (const css::uno::Reference< css::uno::XInterface > &Parent) override
 
virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo () override
 
virtual void SAL_CALL setPropertyValue (const OUString &aPropertyName, const css::uno::Any &aValue) override=0
 
virtual css::uno::Any SAL_CALL getPropertyValue (const OUString &PropertyName) override=0
 
virtual void SAL_CALL addPropertyChangeListener (const OUString &aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &xListener) override
 
virtual void SAL_CALL removePropertyChangeListener (const OUString &aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &aListener) override
 
virtual void SAL_CALL addVetoableChangeListener (const OUString &PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &aListener) override
 
virtual void SAL_CALL removeVetoableChangeListener (const OUString &PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &aListener) override
 

Public Attributes

ZipEntry aEntry
 

Protected Attributes

css::uno::Reference< css::uno::XComponentContext > m_xContext
 
OUString msName
 
bool mbIsFolder:1
 
bool mbAllowRemoveOnInsert:1
 
OUString msMediaType
 
ZipPackageFoldermpParent
 
sal_Int32 m_nFormat
 

Detailed Description

Definition at line 37 of file ZipPackageEntry.hxx.

Constructor & Destructor Documentation

◆ ZipPackageEntry()

ZipPackageEntry::ZipPackageEntry ( )

Definition at line 44 of file ZipPackageEntry.cxx.

References m_nFormat, and mpParent.

◆ ~ZipPackageEntry()

ZipPackageEntry::~ZipPackageEntry ( )
overridevirtual

Definition at line 52 of file ZipPackageEntry.cxx.

References mpParent.

Member Function Documentation

◆ addPropertyChangeListener()

void SAL_CALL ZipPackageEntry::addPropertyChangeListener ( const OUString &  aPropertyName,
const css::uno::Reference< css::beans::XPropertyChangeListener > &  xListener 
)
overridevirtual

Definition at line 112 of file ZipPackageEntry.cxx.

◆ addVetoableChangeListener()

void SAL_CALL ZipPackageEntry::addVetoableChangeListener ( const OUString &  PropertyName,
const css::uno::Reference< css::beans::XVetoableChangeListener > &  aListener 
)
overridevirtual

Definition at line 118 of file ZipPackageEntry.cxx.

◆ clearParent()

void ZipPackageEntry::clearParent ( )
inline

Definition at line 72 of file ZipPackageEntry.hxx.

References mpParent.

◆ doSetParent()

void ZipPackageEntry::doSetParent ( ZipPackageFolder pNewParent)

◆ GetMediaType()

const OUString & ZipPackageEntry::GetMediaType ( ) const
inline

Definition at line 59 of file ZipPackageEntry.hxx.

References msMediaType.

◆ getName()

OUString SAL_CALL ZipPackageEntry::getName ( )
overridevirtual

Definition at line 59 of file ZipPackageEntry.cxx.

References msName.

Referenced by ZipPackageFolder::doInsertByName(), and ZipPackageFolder::insertByName().

◆ getParent()

uno::Reference< XInterface > SAL_CALL ZipPackageEntry::getParent ( )
overridevirtual

Definition at line 78 of file ZipPackageEntry.cxx.

References mpParent.

◆ getPropertySetInfo()

uno::Reference< beans::XPropertySetInfo > SAL_CALL ZipPackageEntry::getPropertySetInfo ( )
overridevirtual

Definition at line 108 of file ZipPackageEntry.cxx.

◆ getPropertyValue()

virtual css::uno::Any SAL_CALL ZipPackageEntry::getPropertyValue ( const OUString &  PropertyName)
overridepure virtual

◆ IsFolder()

bool ZipPackageEntry::IsFolder ( ) const
inline

Definition at line 62 of file ZipPackageEntry.hxx.

References mbIsFolder.

Referenced by ZipPackageFolder::doInsertByName().

◆ removePropertyChangeListener()

void SAL_CALL ZipPackageEntry::removePropertyChangeListener ( const OUString &  aPropertyName,
const css::uno::Reference< css::beans::XPropertyChangeListener > &  aListener 
)
overridevirtual

Definition at line 115 of file ZipPackageEntry.cxx.

◆ removeVetoableChangeListener()

void SAL_CALL ZipPackageEntry::removeVetoableChangeListener ( const OUString &  PropertyName,
const css::uno::Reference< css::beans::XVetoableChangeListener > &  aListener 
)
overridevirtual

Definition at line 121 of file ZipPackageEntry.cxx.

◆ saveChild()

virtual bool ZipPackageEntry::saveChild ( const OUString &  rPath,
std::vector< css::uno::Sequence< css::beans::PropertyValue > > &  rManList,
ZipOutputStream rZipOut,
const css::uno::Sequence< sal_Int8 > &  rEncryptionKey,
sal_Int32  nPBKDF2IterationCount,
const rtlRandomPool rRandomPool 
)
pure virtual

◆ SetFolder()

void ZipPackageEntry::SetFolder ( const bool  bSetFolder)
inline

Definition at line 63 of file ZipPackageEntry.hxx.

References mbIsFolder.

◆ SetMediaType()

void ZipPackageEntry::SetMediaType ( const OUString &  sNewType)
inline

Definition at line 60 of file ZipPackageEntry.hxx.

References msMediaType.

◆ setName()

void SAL_CALL ZipPackageEntry::setName ( const OUString &  aName)
overridevirtual

◆ setParent()

void SAL_CALL ZipPackageEntry::setParent ( const css::uno::Reference< css::uno::XInterface > &  Parent)
overridevirtual

◆ setPropertyValue()

virtual void SAL_CALL ZipPackageEntry::setPropertyValue ( const OUString &  aPropertyName,
const css::uno::Any &  aValue 
)
overridepure virtual

Member Data Documentation

◆ aEntry

ZipEntry ZipPackageEntry::aEntry

Definition at line 55 of file ZipPackageEntry.hxx.

◆ m_nFormat

sal_Int32 ZipPackageEntry::m_nFormat
protected

Definition at line 52 of file ZipPackageEntry.hxx.

◆ m_xContext

css::uno::Reference< css::uno::XComponentContext > ZipPackageEntry::m_xContext
protected

Definition at line 46 of file ZipPackageEntry.hxx.

◆ mbAllowRemoveOnInsert

bool ZipPackageEntry::mbAllowRemoveOnInsert
protected

Definition at line 49 of file ZipPackageEntry.hxx.

Referenced by setParent().

◆ mbIsFolder

bool ZipPackageEntry::mbIsFolder
protected

Definition at line 48 of file ZipPackageEntry.hxx.

Referenced by IsFolder(), and SetFolder().

◆ mpParent

ZipPackageFolder* ZipPackageEntry::mpParent
protected

◆ msMediaType

OUString ZipPackageEntry::msMediaType
protected

Definition at line 50 of file ZipPackageEntry.hxx.

Referenced by GetMediaType(), and SetMediaType().

◆ msName

OUString ZipPackageEntry::msName
protected

Definition at line 47 of file ZipPackageEntry.hxx.

Referenced by doSetParent(), getName(), setName(), and setParent().


The documentation for this class was generated from the following files: