Go to the documentation of this file.
38 #ifndef STAR_OBJECT_DRAW
39 # define STAR_OBJECT_DRAW
72 bool updatePageSpans(std::vector<STOFFPageSpan> &pageSpan,
int &numPages)
const;
the main class to read/.
Definition: StarFileManager.hxx:61
vectorized graphic: .sda
Definition: STOFFDocument.hxx:71
static bool readPresentationData(StarZone &zone)
try to read the presentation data
Definition: StarObjectDraw.cxx:235
librevenge::RVNGString getString(std::vector< uint32_t > const &unicode)
transform a unicode string in a RNVGString
Definition: libstaroffice_internal.cxx:63
libstoff::DebugFile & ascii()
returns the ascii file
Definition: StarZone.hxx:254
std::shared_ptr< StarObjectDrawInternal::State > m_drawState
the state
Definition: StarObjectDraw.hxx:104
#define STOFF_DEBUG_MSG(M)
Definition: libstaroffice_internal.hxx:129
bool openRecord()
try to open a classic record: size (32 bytes) + size-4 bytes
Definition: StarZone.cxx:455
~StarObjectDraw() override
destructor
Definition: StarObjectDraw.cxx:86
bool closeSDRHeader(std::string const &debugName)
close a zone header
Definition: StarZone.cxx:436
static bool readSdrHelpLineSet(StarZone &zone)
try to read a SdrHelpLine list
Definition: StarObjectDraw.cxx:577
void cleanPools()
clean each pool
Definition: StarObject.cxx:106
STOFFBox2< int > STOFFBox2i
STOFFBox2 of int.
Definition: libstaroffice_internal.hxx:1129
std::shared_ptr< StarItemPool > getNewItemPool(StarItemPool::Type type)
returns a new item pool for this document
Definition: StarObject.cxx:142
int m_numPages
the list of pages number
Definition: StarObjectDraw.cxx:72
bool readString(std::vector< uint32_t > &string, int encoding=-1) const
try to read an unicode string
Definition: StarZone.hxx:220
bool openSCHHeader()
open a zone header present in a SCH file
Definition: StarZone.cxx:341
the main class to read a SdrModel zone
Definition: StarObjectModel.hxx:64
static STOFFInputStreamPtr decodeStream(STOFFInputStreamPtr input, uint8_t mask)
decode a zone given a mask
Definition: StarEncryption.cxx:192
static void reset()
Definition: STOFFDebug.hxx:228
static std::string str()
Definition: STOFFDebug.hxx:203
Internal: the state of a StarObjectDraw.
Definition: StarObjectDraw.cxx:62
bool openSDRHeader(std::string &magic)
open a zone header present in a SDR file
Definition: StarZone.cxx:403
bool readSfxStyleSheets(STOFFInputStreamPtr input, std::string const &fileName)
try to read a draw style zone: SfxStyleSheets
Definition: StarObjectDraw.cxx:428
static bool readSdrHelpLine(StarZone &zone)
try to read a SdrHelpLine
Definition: StarObjectDraw.cxx:539
static bool readSdrFrameView(StarZone &zone)
try to read a SdrFrameView
Definition: StarObjectDraw.cxx:619
bool closeSCHHeader(std::string const &debugName)
close a zone header
Definition: StarZone.cxx:366
the main class to read a StarOffice draw
Definition: StarObjectDraw.hxx:61
std::shared_ptr< STOFFInputStream > STOFFInputStreamPtr
a smart pointer of STOFFInputStream
Definition: libstaroffice_internal.hxx:485
a zone in a StarOffice file
Definition: StarZone.hxx:56
Definition: StarItemPool.hxx:75
int getRecordLevel() const
returns the record level
Definition: StarZone.hxx:195
an object corresponding to an OLE directory
Definition: StarObject.hxx:64
bool parse()
try to parse the current object
Definition: StarObjectDraw.cxx:125
bool sendPages(STOFFGraphicListenerPtr listener)
try to send the different page
Definition: StarObjectDraw.cxx:115
State()
constructor
Definition: StarObjectDraw.cxx:64
Definition: STOFFDebug.hxx:194
void setInput(STOFFInputStreamPtr input)
reset the current input
Definition: StarZone.cxx:75
bool sendMasterPages(STOFFGraphicListenerPtr listener)
try to send the master pages
Definition: StarObjectDraw.cxx:108
std::shared_ptr< STOFFGraphicListener > STOFFGraphicListenerPtr
a smart pointer of STOFFGraphicListener
Definition: libstaroffice_internal.hxx:481
const char * getPassword() const
returns the document password (the password given by the user)
Definition: StarObject.hxx:81
Definition: StarItemPool.hxx:75
bool updatePageSpans(std::vector< STOFFPageSpan > &pageSpan, int &numPages) const
try to update the page span (to create draw document)
Definition: StarObjectDraw.cxx:97
STOFFDocument::Kind getDocumentKind() const
returns the document kind
Definition: StarObject.cxx:115
bool parse()
try to parse data
Definition: StarObject.cxx:170
static bool readJobSetUp(StarZone &zone, bool usePrinterLen)
try to read a printer zone
Definition: StarFileManager.cxx:848
static void addPos(long)
Definition: STOFFDebug.hxx:223
static void addDelimiter(long, char)
Definition: STOFFDebug.hxx:225
std::shared_ptr< StarObjectModel > m_model
the model
Definition: StarObjectDraw.cxx:70
static bool readSdrCustomShow(StarZone &zone)
try to read a SdCustomShow
Definition: StarObjectDraw.cxx:485
Definition: STOFFDebug.hxx:210
std::shared_ptr< STOFFOLEParser::OleDirectory > getOLEDirectory()
returns the object directory
Definition: StarObject.hxx:86
bool closeRecord(std::string const &debugName)
try to close a record
Definition: StarZone.hxx:147
static void addNote(char const *)
Definition: STOFFDebug.hxx:224
static uint8_t getMaskToDecodeStream(uint8_t src, uint8_t dest)
retrieves a mask needed to decode a stream knowing a src and dest bytes
Definition: StarEncryption.cxx:216
Internal: the structures of a StarObjectDraw.
Definition: StarObjectDraw.cxx:58
STOFFInputStreamPtr input()
return the zone input
Definition: StarZone.hxx:247
STOFFVec2< int > STOFFVec2i
STOFFVec2 of int.
Definition: libstaroffice_internal.hxx:763
static bool open(std::string const &)
Definition: STOFFDebug.hxx:218
static bool readSdrView(StarZone &zone)
try to read a SdrView
Definition: StarObjectDraw.cxx:772
bool readDrawDocument(STOFFInputStreamPtr input, std::string const &fileName)
try to read a spreadsheet zone: StarDrawDocument .sdd
Definition: StarObjectDraw.cxx:188
Definition: StarItemPool.hxx:75
long getRecordLastPosition() const
returns the actual record last position
Definition: StarZone.hxx:200
StarObjectDraw(StarObject const &orig, bool duplicateState)
constructor
Definition: StarObjectDraw.cxx:80
int getHeaderVersion() const
returns the StarOffice header version (if set)
Definition: StarZone.hxx:94
Generated on Mon Jan 20 2020 23:02:17 for libstaroffice by
doxygen 1.8.16