LibreOffice Module lotuswordpro (master) 1
Public Member Functions | Private Attributes | List of all members
LwpAtomHolder Class Reference

AtomHolder class of Word Pro to hold a string. More...

#include <lwpatomholder.hxx>

Public Member Functions

 LwpAtomHolder ()
 
void Read (LwpObjectStream *pStrm)
 @descr read atomholder from object stream the default encoding used in Word Pro is 1252 More...
 
void ReadPathAtom (LwpObjectStream *pStrm)
 @descr read path atom No use now for lwp filter, just skip the atom More...
 
void Skip (LwpObjectStream *pStrm)
 @descr skip the atom holder in object stream More...
 
const OUString & str () const
 
bool HasValue () const
 

Private Attributes

sal_Int32 m_nAtom
 
sal_Int32 m_nAssocAtom
 
OUString m_String
 

Detailed Description

AtomHolder class of Word Pro to hold a string.

Definition at line 64 of file lwpatomholder.hxx.

Constructor & Destructor Documentation

◆ LwpAtomHolder()

LwpAtomHolder::LwpAtomHolder ( )

Definition at line 60 of file lwpatomholder.cxx.

Member Function Documentation

◆ HasValue()

bool LwpAtomHolder::HasValue ( ) const
inline

◆ Read()

void LwpAtomHolder::Read ( LwpObjectStream pStrm)

◆ ReadPathAtom()

void LwpAtomHolder::ReadPathAtom ( LwpObjectStream pStrm)

@descr read path atom No use now for lwp filter, just skip the atom

Definition at line 101 of file lwpatomholder.cxx.

References Skip().

Referenced by LwpAutoRunMacroOptions::Read(), LwpMergeOptions::Read(), and LwpUIDocument::Read().

◆ Skip()

void LwpAtomHolder::Skip ( LwpObjectStream pStrm)

@descr skip the atom holder in object stream

Definition at line 91 of file lwpatomholder.cxx.

References BAD_ATOM, m_nAssocAtom, m_nAtom, LwpObjectStream::QuickReaduInt16(), and LwpObjectStream::SeekRel().

Referenced by ReadPathAtom(), and LwpPrinterInfo::Skip().

◆ str()

const OUString & LwpAtomHolder::str ( ) const
inline

Member Data Documentation

◆ m_nAssocAtom

sal_Int32 LwpAtomHolder::m_nAssocAtom
private

Definition at line 71 of file lwpatomholder.hxx.

Referenced by Read(), and Skip().

◆ m_nAtom

sal_Int32 LwpAtomHolder::m_nAtom
private

Definition at line 70 of file lwpatomholder.hxx.

Referenced by HasValue(), Read(), and Skip().

◆ m_String

OUString LwpAtomHolder::m_String
private

Definition at line 72 of file lwpatomholder.hxx.

Referenced by Read(), and str().


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