LibreOffice Module sw (master)  1
Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | List of all members
SwXMLItemSetStyleContext_Impl Class Reference
Inheritance diagram for SwXMLItemSetStyleContext_Impl:
[legend]
Collaboration diagram for SwXMLItemSetStyleContext_Impl:
[legend]

Public Member Functions

 SwXMLItemSetStyleContext_Impl (SwXMLImport &rImport, sal_uInt16 nPrfx, const OUString &rLName, const uno::Reference< xml::sax::XAttributeList > &xAttrList, SvXMLStylesContext &rStylesC, sal_uInt16 nFamily)
 
virtual void CreateAndInsert (bool bOverwrite) override
 
virtual SvXMLImportContextRef CreateChildContext (sal_uInt16 nPrefix, const OUString &rLocalName, const uno::Reference< xml::sax::XAttributeList > &xAttrList) override
 
SfxItemSetGetItemSet ()
 
bool HasMasterPageName () const
 
bool IsPageDescConnected () const
 
void ConnectPageDesc ()
 
bool ResolveDataStyleName ()
 
- Public Member Functions inherited from SvXMLStyleContext
 SvXMLStyleContext (SvXMLImport &rImport, sal_uInt16 nPrfx, const OUString &rLName, const css::uno::Reference< css::xml::sax::XAttributeList > &xAttrList, sal_uInt16 nFamily=0, bool bDefaultStyle=false)
 
 SvXMLStyleContext (SvXMLImport &rImport, sal_Int32 nElement, const css::uno::Reference< css::xml::sax::XFastAttributeList > &xAttrList, sal_uInt16 nFamily=0, bool bDefaultStyle=false)
 
virtual ~SvXMLStyleContext () override
 
virtual SvXMLImportContextRef CreateChildContext (sal_uInt16 nPrefix, const OUString &rLocalName, const css::uno::Reference< css::xml::sax::XAttributeList > &xAttrList) override
 
virtual void StartElement (const css::uno::Reference< css::xml::sax::XAttributeList > &xAttrList) override
 
const OUString & GetName () const
 
const OUString & GetDisplayName () const
 
const OUString & GetAutoName () const
 
const OUString & GetParentName () const
 
const OUString & GetFollow () const
 
sal_uInt16 GetFamily () const
 
bool IsValid () const
 
void SetValid (bool b)
 
bool IsNew () const
 
void SetNew (bool b)
 
bool IsHidden () const
 
virtual void SetDefaults ()
 
virtual void CreateAndInsertLate (bool bOverwrite)
 
virtual void Finish (bool bOverwrite)
 
bool IsDefaultStyle () const
 
virtual bool IsTransient () const
 
- Public Member Functions inherited from SvXMLImportContext
sal_uInt16 GetPrefix () const
 
const OUString & GetLocalName () const
 
 SvXMLImportContext (SvXMLImport &rImport, sal_uInt16 nPrfx, const OUString &rLName)
 
 SvXMLImportContext (SvXMLImport &rImport)
 
virtual ~SvXMLImportContext ()
 
virtual void EndElement ()
 
virtual void Characters (const OUString &rChars)
 
virtual void SAL_CALL startFastElement (sal_Int32 Element, const css::uno::Reference< css::xml::sax::XFastAttributeList > &Attribs) override
 
virtual void SAL_CALL startUnknownElement (const OUString &Namespace, const OUString &Name, const css::uno::Reference< css::xml::sax::XFastAttributeList > &Attribs) override
 
virtual void SAL_CALL endFastElement (sal_Int32 Element) override
 
virtual void SAL_CALL endUnknownElement (const OUString &Namespace, const OUString &Name) override
 
virtual css::uno::Reference< XFastContextHandler > SAL_CALL createFastChildContext (sal_Int32 Element, const css::uno::Reference< css::xml::sax::XFastAttributeList > &Attribs) override
 
virtual css::uno::Reference< css::xml::sax::XFastContextHandler > SAL_CALL createUnknownChildContext (const OUString &Namespace, const OUString &Name, const css::uno::Reference< css::xml::sax::XFastAttributeList > &Attribs) override
 
virtual void SAL_CALL characters (const OUString &aChars) override
 
virtual css::uno::Any SAL_CALL queryInterface (const css::uno::Type &aType) final override
 
virtual void SAL_CALL acquire () final override
 
virtual void SAL_CALL release () final override
 
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes () final override
 
virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId () final override
 

Protected Member Functions

virtual void SetAttribute (sal_uInt16 nPrefixKey, const OUString &rLocalName, const OUString &rValue) override
 
SwXMLImportGetSwImport ()
 
- Protected Member Functions inherited from SvXMLStyleContext
void SetFamily (sal_uInt16 nSet)
 
void SetAutoName (const OUString &rName)
 
- Protected Member Functions inherited from SvXMLImportContext
SvXMLImportGetImport ()
 
const SvXMLImportGetImport () const
 

Private Member Functions

SvXMLImportContextCreateItemSetContext (sal_uInt16 nPrefix, const OUString &rLName, const uno::Reference< xml::sax::XAttributeList > &xAttrList)
 

Private Attributes

OUString sMasterPageName
 
std::unique_ptr< SfxItemSetpItemSet
 
SwXMLTextStyleContext_ImplpTextStyle
 
SvXMLStylesContextrStyles
 
OUString sDataStyleName
 
bool bHasMasterPageName: 1
 
bool bPageDescConnected: 1
 
bool bDataStyleIsResolved
 

Detailed Description

Definition at line 391 of file xmlfmt.cxx.

Constructor & Destructor Documentation

SwXMLItemSetStyleContext_Impl::SwXMLItemSetStyleContext_Impl ( SwXMLImport rImport,
sal_uInt16  nPrfx,
const OUString &  rLName,
const uno::Reference< xml::sax::XAttributeList > &  xAttrList,
SvXMLStylesContext rStylesC,
sal_uInt16  nFamily 
)

Definition at line 520 of file xmlfmt.cxx.

Member Function Documentation

void SwXMLItemSetStyleContext_Impl::ConnectPageDesc ( )
void SwXMLItemSetStyleContext_Impl::CreateAndInsert ( bool  bOverwrite)
overridevirtual

Reimplemented from SvXMLStyleContext.

Definition at line 534 of file xmlfmt.cxx.

References XMLTextStyleContext::CreateAndInsert(), and pTextStyle.

SvXMLImportContextRef SwXMLItemSetStyleContext_Impl::CreateChildContext ( sal_uInt16  nPrefix,
const OUString &  rLocalName,
const uno::Reference< xml::sax::XAttributeList > &  xAttrList 
)
overridevirtual
SvXMLImportContext * SwXMLItemSetStyleContext_Impl::CreateItemSetContext ( sal_uInt16  nPrefix,
const OUString &  rLName,
const uno::Reference< xml::sax::XAttributeList > &  xAttrList 
)
private
SfxItemSet* SwXMLItemSetStyleContext_Impl::GetItemSet ( )
inline

Definition at line 435 of file xmlfmt.cxx.

Referenced by SwXMLImport::FindAutomaticStyle().

SwXMLImport& SwXMLItemSetStyleContext_Impl::GetSwImport ( )
inlineprotected
bool SwXMLItemSetStyleContext_Impl::HasMasterPageName ( ) const
inline

Definition at line 437 of file xmlfmt.cxx.

References bHasMasterPageName.

Referenced by ConnectPageDesc(), and SwXMLImport::FindAutomaticStyle().

bool SwXMLItemSetStyleContext_Impl::IsPageDescConnected ( ) const
inline

Definition at line 439 of file xmlfmt.cxx.

References bPageDescConnected.

Referenced by SwXMLImport::FindAutomaticStyle().

bool SwXMLItemSetStyleContext_Impl::ResolveDataStyleName ( )
void SwXMLItemSetStyleContext_Impl::SetAttribute ( sal_uInt16  nPrefixKey,
const OUString &  rLocalName,
const OUString &  rValue 
)
overrideprotectedvirtual

Member Data Documentation

bool SwXMLItemSetStyleContext_Impl::bDataStyleIsResolved
private

Definition at line 402 of file xmlfmt.cxx.

Referenced by ResolveDataStyleName(), and SetAttribute().

bool SwXMLItemSetStyleContext_Impl::bHasMasterPageName
private

Definition at line 400 of file xmlfmt.cxx.

Referenced by HasMasterPageName(), and SetAttribute().

bool SwXMLItemSetStyleContext_Impl::bPageDescConnected
private

Definition at line 401 of file xmlfmt.cxx.

Referenced by ConnectPageDesc(), and IsPageDescConnected().

std::unique_ptr<SfxItemSet> SwXMLItemSetStyleContext_Impl::pItemSet
private

Definition at line 394 of file xmlfmt.cxx.

Referenced by ConnectPageDesc(), CreateItemSetContext(), and ResolveDataStyleName().

SwXMLTextStyleContext_Impl* SwXMLItemSetStyleContext_Impl::pTextStyle
private

Definition at line 395 of file xmlfmt.cxx.

Referenced by CreateAndInsert(), and CreateChildContext().

SvXMLStylesContext& SwXMLItemSetStyleContext_Impl::rStyles
private

Definition at line 396 of file xmlfmt.cxx.

Referenced by CreateChildContext().

OUString SwXMLItemSetStyleContext_Impl::sDataStyleName
private

Definition at line 398 of file xmlfmt.cxx.

Referenced by ResolveDataStyleName(), and SetAttribute().

OUString SwXMLItemSetStyleContext_Impl::sMasterPageName
private

Definition at line 393 of file xmlfmt.cxx.

Referenced by ConnectPageDesc(), and SetAttribute().


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