STOFFSpreadsheetListener.hxx
Go to the documentation of this file.
/* -*- Mode: C++; c-default-style: "k&r"; indent-tabs-mode: nil; tab-width: 2; c-basic-offset: 2 -*- */
/* libstaroffice
* Version: MPL 2.0 / LGPLv2+
*
* The contents of this file are subject to the Mozilla Public License Version
* 2.0 (the "License"); you may not use this file except in compliance with
* the License or as specified alternatively below. You may obtain a copy of
* the License at http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
* for the specific language governing rights and limitations under the
* License.
*
* Major Contributor(s):
* Copyright (C) 2002 William Lachance (wrlach@gmail.com)
* Copyright (C) 2002,2004 Marc Maurer (uwog@uwog.net)
* Copyright (C) 2004-2006 Fridrich Strba (fridrich.strba@bluewin.ch)
* Copyright (C) 2006, 2007 Andrew Ziem
* Copyright (C) 2011, 2012 Alonso Laurent (alonso@loria.fr)
*
*
* All Rights Reserved.
*
* For minor contributions see the git repository.
*
* Alternatively, the contents of this file may be used under the terms of
* the GNU Lesser General Public License Version 2 or later (the "LGPLv2+"),
* in which case the provisions of the LGPLv2+ are applicable
* instead of those above.
*/
#ifndef STOFF_SPREADSHEET_LISTENER_H
#define STOFF_SPREADSHEET_LISTENER_H
#include <vector>
#include <librevenge/librevenge.h>
#include "libstaroffice_internal.hxx"
#include "STOFFListener.hxx"
class STOFFCell;
class STOFFCellContent;
class STOFFChart;
class STOFFGraphicStyle;
class STOFFTable;
namespace STOFFSpreadsheetListenerInternal
{
struct DocumentState;
struct State;
}
class STOFFSpreadsheetListener final : public STOFFListener
{
public:
STOFFSpreadsheetListener(STOFFListManagerPtr &listManager, std::vector<STOFFPageSpan> const &pageList, librevenge::RVNGSpreadsheetInterface *documentInterface);
~STOFFSpreadsheetListener() final;
Type getType() const final
{
return Spreadsheet;
}
void setDocumentLanguage(std::string locale) final;
void setDocumentMetaData(const librevenge::RVNGPropertyList &list) final;
void startDocument() final;
void endDocument(bool sendDelayedSubDoc=true) final;
bool isDocumentStarted() const final;
void handleSubDocument(STOFFSubDocumentPtr subDocument, libstoff::SubDocumentType subDocumentType) final;
bool isSubDocumentOpened(libstoff::SubDocumentType &subdocType) const final;
bool openFrame(STOFFFrameStyle const &frame, STOFFGraphicStyle const &style=STOFFGraphicStyle()) final;
void closeFrame() final;
bool openGroup(STOFFFrameStyle const &frame) final;
void closeGroup() final;
bool canWriteText() const final;
// ------ page --------
bool isPageSpanOpened() const final;
STOFFPageSpan const &getPageSpan() final;
// ------ header/footer --------
bool openHeader(librevenge::RVNGPropertyList const &extras) final;
bool openFooter(librevenge::RVNGPropertyList const &extras) final;
bool closeHeader() final;
bool closeFooter() final;
bool insertHeaderRegion(STOFFSubDocumentPtr subDocument, librevenge::RVNGString const &which) final;
bool insertFooterRegion(STOFFSubDocumentPtr subDocument, librevenge::RVNGString const &which) final;
bool isHeaderFooterOpened() const final;
// ------- sheet -----------------
void openSheet(std::vector<float> const &colWidth, librevenge::RVNGUnit unit,
std::vector<int> const &repeatColWidthNumber=std::vector<int>(), librevenge::RVNGString const &name="");
void closeSheet();
void openSheetRow(float h, librevenge::RVNGUnit unit, int numRepeated=1);
void closeSheetRow();
void openSheetCell(STOFFCell const &cell, STOFFCellContent const &content, int numRepeated=1);
void closeSheetCell();
// ------- chart -----------------
void insertChart(STOFFFrameStyle const &frame, STOFFChart &chart, STOFFGraphicStyle const &style=STOFFGraphicStyle());
// ------ text data -----------
void insertChar(uint8_t character) final;
void insertUnicode(uint32_t character) final;
void insertUnicodeString(librevenge::RVNGString const &str) final;
void insertTab() final;
void insertEOL(bool softBreak=false) final;
// ------ text format -----------
void setFont(STOFFFont const &font) final;
STOFFFont const &getFont() const final;
// ------ paragraph format -----------
bool isParagraphOpened() const final;
void setParagraph(STOFFParagraph const &paragraph) final;
STOFFParagraph const &getParagraph() const final;
// ------ style definition -----------
void defineStyle(STOFFFont const &style) final;
bool isFontStyleDefined(librevenge::RVNGString const &name) const final;
void defineStyle(STOFFGraphicStyle const &style) final;
bool isGraphicStyleDefined(librevenge::RVNGString const &name) const final;
void defineStyle(STOFFParagraph const &style) final;
bool isParagraphStyleDefined(librevenge::RVNGString const &name) const final;
// ------- fields ----------------
void insertField(STOFFField const &field) final;
// ------- link ----------------
void openLink(STOFFLink const &link) final;
void closeLink() final;
// ------- subdocument -----------------
void insertNote(STOFFNote const &note, STOFFSubDocumentPtr &subDocument) final;
void insertComment(STOFFSubDocumentPtr &subDocument, librevenge::RVNGString const &creator="", librevenge::RVNGString const &date="") final;
void insertPicture(STOFFFrameStyle const &frame, STOFFEmbeddedObject const &picture,
STOFFGraphicStyle const &style=STOFFGraphicStyle()) final;
void insertEquation(STOFFFrameStyle const &frame, librevenge::RVNGString const &equation,
STOFFGraphicStyle const &style=STOFFGraphicStyle()) final;
void insertShape(STOFFFrameStyle const &frame, STOFFGraphicShape const &shape, STOFFGraphicStyle const &style) final;
void insertTextBox(STOFFFrameStyle const &frame, STOFFSubDocumentPtr subDocument,
STOFFGraphicStyle const &frameStyle=STOFFGraphicStyle()) final;
// ------- table -----------------
void openTable(STOFFTable const &table) final;
void closeTable() final;
void openTableRow(float h, librevenge::RVNGUnit unit, bool headerRow=false) final;
void closeTableRow() final;
void openTableCell(STOFFCell const &cell) final;
void closeTableCell() final;
void addCoveredTableCell(STOFFVec2i const &pos) final;
void addEmptyTableCell(STOFFVec2i const &pos, STOFFVec2i span=STOFFVec2i(1,1)) final;
// ------- section ---------------
bool canOpenSectionAddBreak() const final
{
return false;
}
bool isSectionOpened() const final
{
return false;
}
STOFFSection const &getSection() const final;
bool openSection(STOFFSection const &section) final;
bool closeSection() final;
void insertBreak(BreakType breakType) final;
protected:
void _openPageSpan(bool sendHeaderFooters=true);
void _closePageSpan();
void _startSubDocument();
void _endSubDocument();
void _handleFrameParameters(librevenge::RVNGPropertyList &propList, STOFFFrameStyle const &frame);
void _openParagraph();
void _closeParagraph();
void _resetParagraphState(const bool isListElement=false);
void _openListElement();
void _closeListElement();
void _changeList();
int _getListId() const;
void _openSpan();
void _closeSpan();
void _flushText();
void _flushDeferredTabs();
std::shared_ptr<STOFFSpreadsheetListenerInternal::State> _pushParsingState();
void _popParsingState();
protected:
std::shared_ptr<STOFFSpreadsheetListenerInternal::DocumentState> m_ds;
std::shared_ptr<STOFFSpreadsheetListenerInternal::State> m_ps;
std::vector<std::shared_ptr<STOFFSpreadsheetListenerInternal::State> > m_psStack;
librevenge::RVNGSpreadsheetInterface *m_documentInterface;
private:
STOFFSpreadsheetListener(const STOFFSpreadsheetListener &);
STOFFSpreadsheetListener &operator=(const STOFFSpreadsheetListener &);
};
#endif
// vim: set filetype=cpp tabstop=2 shiftwidth=2 cindent autoindent smartindent noexpandtab:
STOFFListener.hxx
STOFFCellContent
small class use to define a sheet cell content
Definition STOFFCell.hxx:235
STOFFCell
a structure used to define a cell and its format
Definition STOFFCell.hxx:54
STOFFChart
a class used to store a chart associated to a spreadsheet ....
Definition STOFFChart.hxx:58
STOFFFont
Class to store font.
Definition STOFFFont.hxx:44
STOFFFrameStyle
Class to store a frame style.
Definition STOFFFrameStyle.hxx:46
STOFFGraphicShape
a structure used to define a picture shape
Definition STOFFGraphicShape.hxx:46
STOFFGraphicStyle
Class to store a graphic style.
Definition STOFFGraphicStyle.hxx:45
STOFFListener::STOFFListener
STOFFListener(STOFFListManagerPtr &listManager)
constructor
Definition STOFFListener.cxx:41
STOFFListener::Type
Type
the listener type
Definition STOFFListener.hxx:57
STOFFListener::Spreadsheet
@ Spreadsheet
Definition STOFFListener.hxx:57
STOFFListener::BreakType
BreakType
the different break type
Definition STOFFListener.hxx:59
STOFFPageSpan
A class which defines the page properties.
Definition STOFFPageSpan.hxx:76
STOFFParagraph
class to store the paragraph properties
Definition STOFFParagraph.hxx:48
STOFFSection
a class which stores section properties
Definition STOFFSection.hxx:46
STOFFSpreadsheetListener::closeSheet
void closeSheet()
closes this sheet
Definition STOFFSpreadsheetListener.cxx:1405
STOFFSpreadsheetListener::_closeListElement
void _closeListElement()
close a list level
Definition STOFFSpreadsheetListener.cxx:814
STOFFSpreadsheetListener::getType
Type getType() const final
returns the listener type
Definition STOFFSpreadsheetListener.hxx:73
STOFFSpreadsheetListener::insertComment
void insertComment(STOFFSubDocumentPtr &subDocument, librevenge::RVNGString const &creator="", librevenge::RVNGString const &date="") final
adds comment
Definition STOFFSpreadsheetListener.cxx:1027
STOFFSpreadsheetListener::_popParsingState
void _popParsingState()
resets the previous parsing state
Definition STOFFSpreadsheetListener.cxx:1752
STOFFSpreadsheetListener::handleSubDocument
void handleSubDocument(STOFFSubDocumentPtr subDocument, libstoff::SubDocumentType subDocumentType) final
function called to add a subdocument
Definition STOFFSpreadsheetListener.cxx:1275
STOFFSpreadsheetListener::openSheetRow
void openSheetRow(float h, librevenge::RVNGUnit unit, int numRepeated=1)
open a row with given height ( if h < 0.0, set min-row-height = -h )
Definition STOFFSpreadsheetListener.cxx:1418
STOFFSpreadsheetListener::m_psStack
std::vector< std::shared_ptr< STOFFSpreadsheetListenerInternal::State > > m_psStack
stack of local state
Definition STOFFSpreadsheetListener.hxx:303
STOFFSpreadsheetListener::insertField
void insertField(STOFFField const &field) final
adds a field type
Definition STOFFSpreadsheetListener.cxx:448
STOFFSpreadsheetListener::openTable
void openTable(STOFFTable const &table) final
open a table
Definition STOFFSpreadsheetListener.cxx:1599
STOFFSpreadsheetListener::addEmptyTableCell
void addEmptyTableCell(STOFFVec2i const &pos, STOFFVec2i span=STOFFVec2i(1, 1)) final
add empty cell
Definition STOFFSpreadsheetListener.cxx:1685
STOFFSpreadsheetListener::_handleFrameParameters
void _handleFrameParameters(librevenge::RVNGPropertyList &propList, STOFFFrameStyle const &frame)
Definition STOFFSpreadsheetListener.cxx:1265
STOFFSpreadsheetListener::closeHeader
bool closeHeader() final
close a header
Definition STOFFSpreadsheetListener.cxx:667
STOFFSpreadsheetListener::closeTableRow
void closeTableRow() final
closes this row
Definition STOFFSpreadsheetListener.cxx:1659
STOFFSpreadsheetListener::insertEquation
void insertEquation(STOFFFrameStyle const &frame, librevenge::RVNGString const &equation, STOFFGraphicStyle const &style=STOFFGraphicStyle()) final
adds a equation given a position
Definition STOFFSpreadsheetListener.cxx:1096
STOFFSpreadsheetListener::_endSubDocument
void _endSubDocument()
Definition STOFFSpreadsheetListener.cxx:1352
STOFFSpreadsheetListener::insertNote
void insertNote(STOFFNote const &note, STOFFSubDocumentPtr &subDocument) final
insert a note
Definition STOFFSpreadsheetListener.cxx:974
STOFFSpreadsheetListener::canOpenSectionAddBreak
bool canOpenSectionAddBreak() const final
returns true if we can add open a section, add page break, ...
Definition STOFFSpreadsheetListener.hxx:239
STOFFSpreadsheetListener::startDocument
void startDocument() final
starts the document
Definition STOFFSpreadsheetListener.cxx:517
STOFFSpreadsheetListener::closeTableCell
void closeTableCell() final
close a cell
Definition STOFFSpreadsheetListener.cxx:1721
STOFFSpreadsheetListener::_openSpan
void _openSpan()
Definition STOFFSpreadsheetListener.cxx:897
STOFFSpreadsheetListener::insertHeaderRegion
bool insertHeaderRegion(STOFFSubDocumentPtr subDocument, librevenge::RVNGString const &which) final
insert a header
Definition STOFFSpreadsheetListener.cxx:649
STOFFSpreadsheetListener::getFont
STOFFFont const & getFont() const final
returns the actual font
Definition STOFFSpreadsheetListener.cxx:419
STOFFSpreadsheetListener::m_documentInterface
librevenge::RVNGSpreadsheetInterface * m_documentInterface
the document interface
Definition STOFFSpreadsheetListener.hxx:305
STOFFSpreadsheetListener::insertChar
void insertChar(uint8_t character) final
adds a basic character, ..
Definition STOFFSpreadsheetListener.cxx:302
STOFFSpreadsheetListener::insertPicture
void insertPicture(STOFFFrameStyle const &frame, STOFFEmbeddedObject const &picture, STOFFGraphicStyle const &style=STOFFGraphicStyle()) final
adds a picture with potential various representationin given position
Definition STOFFSpreadsheetListener.cxx:1081
STOFFSpreadsheetListener::openSheet
void openSheet(std::vector< float > const &colWidth, librevenge::RVNGUnit unit, std::vector< int > const &repeatColWidthNumber=std::vector< int >(), librevenge::RVNGString const &name="")
open a sheet
Definition STOFFSpreadsheetListener.cxx:1368
STOFFSpreadsheetListener::STOFFSpreadsheetListener
STOFFSpreadsheetListener(STOFFListManagerPtr &listManager, std::vector< STOFFPageSpan > const &pageList, librevenge::RVNGSpreadsheetInterface *documentInterface)
constructor
Definition STOFFSpreadsheetListener.cxx:240
STOFFSpreadsheetListener::getParagraph
STOFFParagraph const & getParagraph() const final
returns the actual paragraph
Definition STOFFSpreadsheetListener.cxx:440
STOFFSpreadsheetListener::openTableCell
void openTableCell(STOFFCell const &cell) final
open a cell
Definition STOFFSpreadsheetListener.cxx:1704
STOFFSpreadsheetListener::_flushText
void _flushText()
Definition STOFFSpreadsheetListener.cxx:943
STOFFSpreadsheetListener::setParagraph
void setParagraph(STOFFParagraph const &paragraph) final
sets the paragraph
Definition STOFFSpreadsheetListener.cxx:429
STOFFSpreadsheetListener::setFont
void setFont(STOFFFont const &font) final
sets the font
Definition STOFFSpreadsheetListener.cxx:412
STOFFSpreadsheetListener::_openListElement
void _openListElement()
open a list level
Definition STOFFSpreadsheetListener.cxx:792
STOFFSpreadsheetListener::closeSheetCell
void closeSheetCell()
close a cell
Definition STOFFSpreadsheetListener.cxx:1556
STOFFSpreadsheetListener::defineStyle
void defineStyle(STOFFFont const &style) final
defines a font styles
Definition STOFFSpreadsheetListener.cxx:253
STOFFSpreadsheetListener::openTableRow
void openTableRow(float h, librevenge::RVNGUnit unit, bool headerRow=false) final
open a row with given height ( if h < 0.0, set min-row-height = -h )
Definition STOFFSpreadsheetListener.cxx:1638
STOFFSpreadsheetListener::~STOFFSpreadsheetListener
~STOFFSpreadsheetListener() final
destructor
Definition STOFFSpreadsheetListener.cxx:249
STOFFSpreadsheetListener::insertTextBox
void insertTextBox(STOFFFrameStyle const &frame, STOFFSubDocumentPtr subDocument, STOFFGraphicStyle const &frameStyle=STOFFGraphicStyle()) final
adds a textbox in given position
Definition STOFFSpreadsheetListener.cxx:1062
STOFFSpreadsheetListener::isDocumentStarted
bool isDocumentStarted() const final
returns true if a document is opened
Definition STOFFSpreadsheetListener.cxx:512
STOFFSpreadsheetListener::_closeSpan
void _closeSpan()
Definition STOFFSpreadsheetListener.cxx:919
STOFFSpreadsheetListener::setDocumentMetaData
void setDocumentMetaData(const librevenge::RVNGPropertyList &list) final
sets the document meta data
Definition STOFFSpreadsheetListener.cxx:505
STOFFSpreadsheetListener::isPageSpanOpened
bool isPageSpanOpened() const final
returns true if a page is opened
Definition STOFFSpreadsheetListener.cxx:563
STOFFSpreadsheetListener::insertBreak
void insertBreak(BreakType breakType) final
inserts a break type: ColumBreak, PageBreak, ..
Definition STOFFSpreadsheetListener.cxx:387
STOFFSpreadsheetListener::openLink
void openLink(STOFFLink const &link) final
open a link
Definition STOFFSpreadsheetListener.cxx:463
STOFFSpreadsheetListener::openSheetCell
void openSheetCell(STOFFCell const &cell, STOFFCellContent const &content, int numRepeated=1)
open a cell
Definition STOFFSpreadsheetListener.cxx:1449
STOFFSpreadsheetListener::isParagraphStyleDefined
bool isParagraphStyleDefined(librevenge::RVNGString const &name) const final
check if a paragraph style with a display name is already defined
Definition STOFFSpreadsheetListener.cxx:289
STOFFSpreadsheetListener::_resetParagraphState
void _resetParagraphState(const bool isListElement=false)
Definition STOFFSpreadsheetListener.cxx:782
STOFFSpreadsheetListener::insertChart
void insertChart(STOFFFrameStyle const &frame, STOFFChart &chart, STOFFGraphicStyle const &style=STOFFGraphicStyle())
adds a chart in given position
Definition STOFFSpreadsheetListener.cxx:1574
STOFFSpreadsheetListener::setDocumentLanguage
void setDocumentLanguage(std::string locale) final
sets the document language
Definition STOFFSpreadsheetListener.cxx:499
STOFFSpreadsheetListener::getSection
STOFFSection const & getSection() const final
returns the actual section
Definition STOFFSpreadsheetListener.cxx:722
STOFFSpreadsheetListener::closeLink
void closeLink() final
close a link
Definition STOFFSpreadsheetListener.cxx:485
STOFFSpreadsheetListener::closeFooter
bool closeFooter() final
close a footer
Definition STOFFSpreadsheetListener.cxx:708
STOFFSpreadsheetListener::closeGroup
void closeGroup() final
close a group (not implemented)
Definition STOFFSpreadsheetListener.cxx:1181
STOFFSpreadsheetListener::isGraphicStyleDefined
bool isGraphicStyleDefined(librevenge::RVNGString const &name) const final
check if a graphic style with a display name is already defined
Definition STOFFSpreadsheetListener.cxx:284
STOFFSpreadsheetListener::insertEOL
void insertEOL(bool softBreak=false) final
adds an end of line ( by default an hard one)
Definition STOFFSpreadsheetListener.cxx:351
STOFFSpreadsheetListener::closeFrame
void closeFrame() final
tries to close a frame
Definition STOFFSpreadsheetListener.cxx:1254
STOFFSpreadsheetListener::getPageSpan
STOFFPageSpan const & getPageSpan() final
returns the current page span
Definition STOFFSpreadsheetListener.cxx:568
STOFFSpreadsheetListener::_changeList
void _changeList()
update the list so that it corresponds to the actual level
Definition STOFFSpreadsheetListener.cxx:843
STOFFSpreadsheetListener::_openPageSpan
void _openPageSpan(bool sendHeaderFooters=true)
does open a new page (low level)
Definition STOFFSpreadsheetListener.cxx:576
STOFFSpreadsheetListener::_getListId
int _getListId() const
low level: find a list id which corresponds to actual list and a change of level.
Definition STOFFSpreadsheetListener.cxx:827
STOFFSpreadsheetListener::isSectionOpened
bool isSectionOpened() const final
returns true if a section is opened
Definition STOFFSpreadsheetListener.hxx:244
STOFFSpreadsheetListener::closeSection
bool closeSection() final
close a section
Definition STOFFSpreadsheetListener.cxx:734
STOFFSpreadsheetListener::addCoveredTableCell
void addCoveredTableCell(STOFFVec2i const &pos) final
add covered cell
Definition STOFFSpreadsheetListener.cxx:1669
STOFFSpreadsheetListener::isSubDocumentOpened
bool isSubDocumentOpened(libstoff::SubDocumentType &subdocType) const final
returns try if a subdocument is open
Definition STOFFSpreadsheetListener.cxx:1338
STOFFSpreadsheetListener::insertShape
void insertShape(STOFFFrameStyle const &frame, STOFFGraphicShape const &shape, STOFFGraphicStyle const &style) final
adds a shape picture in given position
Definition STOFFSpreadsheetListener.cxx:1116
STOFFSpreadsheetListener::canWriteText
bool canWriteText() const final
returns true if we can add text data
Definition STOFFSpreadsheetListener.cxx:297
STOFFSpreadsheetListener::openFrame
bool openFrame(STOFFFrameStyle const &frame, STOFFGraphicStyle const &style=STOFFGraphicStyle()) final
tries to open a frame
Definition STOFFSpreadsheetListener.cxx:1185
STOFFSpreadsheetListener::closeTable
void closeTable() final
closes this table
Definition STOFFSpreadsheetListener.cxx:1624
STOFFSpreadsheetListener::_closeParagraph
void _closeParagraph()
Definition STOFFSpreadsheetListener.cxx:761
STOFFSpreadsheetListener::_pushParsingState
std::shared_ptr< STOFFSpreadsheetListenerInternal::State > _pushParsingState()
creates a new parsing state (copy of the actual state)
Definition STOFFSpreadsheetListener.cxx:1741
STOFFSpreadsheetListener::insertFooterRegion
bool insertFooterRegion(STOFFSubDocumentPtr subDocument, librevenge::RVNGString const &which) final
insert a footer
Definition STOFFSpreadsheetListener.cxx:690
STOFFSpreadsheetListener::_openParagraph
void _openParagraph()
Definition STOFFSpreadsheetListener.cxx:743
STOFFSpreadsheetListener::_flushDeferredTabs
void _flushDeferredTabs()
Definition STOFFSpreadsheetListener.cxx:933
STOFFSpreadsheetListener::insertUnicode
void insertUnicode(uint32_t character) final
adds an unicode character.
Definition STOFFSpreadsheetListener.cxx:317
STOFFSpreadsheetListener::endDocument
void endDocument(bool sendDelayedSubDoc=true) final
ends the document
Definition STOFFSpreadsheetListener.cxx:530
STOFFSpreadsheetListener::insertUnicodeString
void insertUnicodeString(librevenge::RVNGString const &str) final
adds a unicode string
Definition STOFFSpreadsheetListener.cxx:339
STOFFSpreadsheetListener::openGroup
bool openGroup(STOFFFrameStyle const &frame) final
open a group (not implemented)
Definition STOFFSpreadsheetListener.cxx:1175
STOFFSpreadsheetListener::openSection
bool openSection(STOFFSection const &section) final
open a section if possible
Definition STOFFSpreadsheetListener.cxx:728
STOFFSpreadsheetListener::isFontStyleDefined
bool isFontStyleDefined(librevenge::RVNGString const &name) const final
check if a font style with a display name is already defined
Definition STOFFSpreadsheetListener.cxx:279
STOFFSpreadsheetListener::_startSubDocument
void _startSubDocument()
Definition STOFFSpreadsheetListener.cxx:1346
STOFFSpreadsheetListener::openFooter
bool openFooter(librevenge::RVNGPropertyList const &extras) final
open a footer (interaction with STOFFPageSpan which fills the parameters for openFooter)
Definition STOFFSpreadsheetListener.cxx:678
STOFFSpreadsheetListener::_closePageSpan
void _closePageSpan()
does close a page (low level)
Definition STOFFSpreadsheetListener.cxx:620
STOFFSpreadsheetListener::insertTab
void insertTab() final
adds a tab
Definition STOFFSpreadsheetListener.cxx:371
STOFFSpreadsheetListener::openHeader
bool openHeader(librevenge::RVNGPropertyList const &extras) final
open a header (interaction with STOFFPageSpan which fills the parameters for openHeader)
Definition STOFFSpreadsheetListener.cxx:637
STOFFSpreadsheetListener::isParagraphOpened
bool isParagraphOpened() const final
returns true if a paragraph or a list is opened
Definition STOFFSpreadsheetListener.cxx:424
STOFFSpreadsheetListener::m_ps
std::shared_ptr< STOFFSpreadsheetListenerInternal::State > m_ps
the actual local parse state
Definition STOFFSpreadsheetListener.hxx:301
STOFFSpreadsheetListener::isHeaderFooterOpened
bool isHeaderFooterOpened() const final
returns true if the header/footer is open
Definition STOFFSpreadsheetListener.cxx:632
STOFFSpreadsheetListener::m_ds
std::shared_ptr< STOFFSpreadsheetListenerInternal::DocumentState > m_ds
the main parse state
Definition STOFFSpreadsheetListener.hxx:299
STOFFSpreadsheetListener::closeSheetRow
void closeSheetRow()
closes this row
Definition STOFFSpreadsheetListener.cxx:1439
STOFFTable
a class used to recreate the table structure using cell informations, ....
Definition STOFFTable.hxx:52
libstaroffice_internal.hxx
STOFFSubDocumentPtr
std::shared_ptr< STOFFSubDocument > STOFFSubDocumentPtr
a smart pointer of STOFFSubDocument
Definition libstaroffice_internal.hxx:499
STOFFListManagerPtr
std::shared_ptr< STOFFListManager > STOFFListManagerPtr
a smart pointer of STOFFListManager
Definition libstaroffice_internal.hxx:493
STOFFVec2i
STOFFVec2< int > STOFFVec2i
STOFFVec2 of int.
Definition libstaroffice_internal.hxx:767
STOFFSpreadsheetListenerInternal
Internal and low level namespace to define the states of STOFFSpreadsheetListener.
Definition STOFFSpreadsheetListener.cxx:75
librevenge
Definition STOFFDocument.hxx:43
libstoff
namespace used to regroup all libwpd functions, enumerations which we have redefined for internal usa...
Definition libstaroffice_internal.cxx:51
STOFFEmbeddedObject
small class use to define a embedded object
Definition libstaroffice_internal.hxx:408
STOFFField
a field
Definition libstaroffice_internal.hxx:363
STOFFLink
a link
Definition libstaroffice_internal.hxx:375
STOFFNote
a note
Definition libstaroffice_internal.hxx:389
STOFFSpreadsheetListenerInternal::DocumentState
a class to store the document state of a STOFFSpreadsheetListener
Definition STOFFSpreadsheetListener.cxx:79
STOFFSpreadsheetListenerInternal::State
the state of a STOFFSpreadsheetListener
Definition STOFFSpreadsheetListener.cxx:136