Go to the documentation of this file.
38 #ifndef FULL_WRT_GRAPH
39 # define FULL_WRT_GRAPH
44 #include <librevenge/librevenge.h>
111 std::shared_ptr<FullWrtStruct::ZoneHeader>
readSideBar
143 std::shared_ptr<FullWrtGraphInternal::State>
m_state;
std::shared_ptr< MWAWTextListener > MWAWTextListenerPtr
a smart pointer of MWAWTextListener
Definition: libmwaw_internal.hxx:567
basic class to store an entry in a file This contained :
Definition: MWAWEntry.hxx:47
std::shared_ptr< MWAWInputStream > MWAWInputStreamPtr
a smart pointer of MWAWInputStream
Definition: libmwaw_internal.hxx:551
#define MWAW_DEBUG_MSG(M)
Definition: libmwaw_internal.hxx:129
MWAWVec2< float > MWAWVec2f
MWAWVec2 of float.
Definition: libmwaw_internal.hxx:842
void addDelimiter(long pos, char c)
adds a not breaking delimiter in position pos
Definition: MWAWDebug.cxx:73
a namespace use to define common structure in a FullWrite file
Definition: FullWrtStruct.cxx:44
virtual ~FullWrtGraph()
destructor
Definition: FullWrtGraph.cxx:170
void setRelativePosition(AnchorTo anchor, XPos X=XLeft, YPos Y=YTop)
sets the relative position
Definition: MWAWPosition.hxx:237
void setPage(int pg) const
sets the page
Definition: MWAWPosition.hxx:205
std::shared_ptr< FullWrtStruct::ZoneHeader > readSideBar(FullWrtStruct::EntryPtr zone, FullWrtStruct::ZoneHeader const &doc)
try to read a sidebar data (zone 13 or zone 14)
Definition: FullWrtGraph.cxx:275
@ WBackground
Definition: MWAWPosition.hxx:53
int m_id
the zone file id
Definition: FullWrtGraph.cxx:126
the class to store a color
Definition: libmwaw_internal.hxx:192
small class use to define a embedded object
Definition: libmwaw_internal.hxx:467
std::shared_ptr< MWAWSubDocument > MWAWSubDocumentPtr
a smart pointer of MWAWSubDocument
Definition: libmwaw_internal.hxx:565
Internal: class to store a border which appear in docInfo.
Definition: FullWrtStruct.hxx:60
bool sendGraphic(int fId)
send a graphic knowing the graphic fileId
Definition: FullWrtGraph.cxx:694
@ WDynamic
Definition: MWAWPosition.hxx:53
SubDocument(FullWrtGraph &pars, int id, MWAWColor fontColor)
constructor
Definition: FullWrtGraph.cxx:107
static MWAWPictData * get(MWAWInputStreamPtr const &input, int size)
checks if the data pointed by input is known
Definition: MWAWPictData.hxx:108
bool readSideBarUnknown(FullWrtStruct::EntryPtr zone, FullWrtGraphInternal::SideBar &frame)
try to read the sidebar third zone
Definition: FullWrtGraph.cxx:483
void addNote(char const *note)
adds a note in the file, in actual position
Definition: MWAWDebug.cxx:59
abstract class used to store a subdocument (with a comparison function)
Definition: MWAWSubDocument.hxx:42
Internal: the subdocument of a FullWrtGraph.
Definition: FullWrtGraph.cxx:104
a structure used to define a picture style
Definition: MWAWGraphicStyle.hxx:48
bool readSideBarPosition(FullWrtStruct::EntryPtr zone, FullWrtGraphInternal::SideBar &frame)
try to read the sidebar position zone
Definition: FullWrtGraph.cxx:356
Internal: the structures of a FullWrtGraph.
Definition: FullWrtGraph.cxx:55
void setNaturalSize(MWAWVec2f const &naturalSz)
sets the natural size (if known)
Definition: MWAWPosition.hxx:220
bool sendSideBar(FullWrtGraphInternal::SideBar const &frame)
try to send a sidebar
Definition: FullWrtGraph.cxx:530
std::string getDocumentTypeName(int zId) const
returns a the type of a document zone ( mainly used for debugging)
Definition: FullWrtParser.cxx:366
SubDocumentType
Definition: libmwaw_internal.hxx:188
void reset()
writes the current file and reset to zero
Definition: MWAWDebug.hxx:93
void parse(MWAWListenerPtr &listener, libmwaw::SubDocumentType type) final
the parser function
Definition: FullWrtGraph.cxx:135
the main class to read a FullWrite file
Definition: FullWrtParser.hxx:67
void skipZone(long beginPos, long endPos)
skips the file zone defined by beginPos-endPos
Definition: MWAWDebug.hxx:113
T y() const
second element
Definition: libmwaw_internal.hxx:673
bool dumpFile(librevenge::RVNGBinaryData &data, char const *fileName)
a debug function to store in a datafile in the current directory WARNING: this function erase the fil...
Definition: MWAWDebug.cxx:193
T x() const
first element
Definition: libmwaw_internal.hxx:668
SubDocument & operator=(SubDocument const &orig)=delete
Class to define the position of an object (textbox, picture, ..) in the document.
Definition: MWAWPosition.hxx:48
FullWrtGraph(FullWrtGraph const &orig)=delete
Wrapping m_wrapping
Wrapping.
Definition: MWAWPosition.hxx:278
~SubDocument() final
destructor
Definition: FullWrtGraph.cxx:114
@ MWAW_R_BAD
Definition: MWAWPict.hxx:73
MWAWBox2< float > MWAWBox2f
MWAWBox2 of float.
Definition: libmwaw_internal.hxx:1193
std::vector< std::shared_ptr< SideBar > > m_sidebarList
the sidebar list
Definition: FullWrtGraph.cxx:93
bool readGraphic(FullWrtStruct::EntryPtr zone)
check if a zone is a graphic zone
Definition: FullWrtGraph.cxx:635
Internal: the state of a FullWrtGraph.
Definition: FullWrtGraph.cxx:81
@ Char
Definition: MWAWPosition.hxx:51
static ReadResult check(MWAWInputStreamPtr const &input, int size, MWAWBox2f &box)
checks if the data pointed by input is known
Definition: MWAWPictData.hxx:100
bool readSideBarFormat(FullWrtStruct::EntryPtr zone, FullWrtGraphInternal::SideBar &frame)
try to read the sidebar second zone
Definition: FullWrtGraph.cxx:423
FullWrtParser * m_mainParser
the main parser;
Definition: FullWrtGraph.hxx:146
MWAWColor m_frontColor
the front color (used for layout )
Definition: FullWrtStruct.hxx:95
std::multimap< int, FullWrtStruct::EntryPtr > m_graphicMap
zoneId -> graphic entry
Definition: FullWrtGraph.cxx:95
MWAWVec2f getPageLeftTop() const
returns the page left top point ( in inches)
Definition: FullWrtParser.cxx:350
void addTo(MWAWGraphicStyle &style) const
add to frame properties
Definition: FullWrtStruct.cxx:127
std::shared_ptr< FullWrtStruct::ZoneHeader > readGraphicData(FullWrtStruct::EntryPtr zone, FullWrtStruct::ZoneHeader &doc)
try to read the graphic data
Definition: FullWrtGraph.cxx:556
void flushExtra()
sends the data which have not yet been sent to the listener
Definition: FullWrtGraph.cxx:785
Defines MWAWTextListener: the libmwaw word processor listener.
bool send(int fileId, MWAWColor const &fontColor)
try to send the child of a zone
Definition: FullWrtGraph.cxx:206
FullWrtGraph * m_graphParser
the graph parser
Definition: FullWrtGraph.cxx:124
State()
constructor
Definition: FullWrtGraph.cxx:83
@ Page
Definition: MWAWPosition.hxx:51
bool read(std::shared_ptr< FullWrtStruct::Entry > zone, int fSz)
try to read a border definiton
Definition: FullWrtStruct.cxx:142
std::shared_ptr< MWAWParserState > MWAWParserStatePtr
a smart pointer of MWAWParserState
Definition: libmwaw_internal.hxx:557
void addPos(long pos)
adds a new position in the file
Definition: MWAWDebug.cxx:53
bool readBorderDocInfo(FullWrtStruct::EntryPtr zone)
try to read the border definiton (at the end of doc info)
Definition: FullWrtGraph.cxx:223
std::vector< FullWrtStruct::Border > m_borderList
a list of border
Definition: FullWrtGraph.cxx:97
MWAWVec2< T > size() const
the box size
Definition: libmwaw_internal.hxx:1067
FullWrtGraph(FullWrtParser &parser)
constructor
Definition: FullWrtGraph.cxx:163
an interface used to insert comment in a binary file, written in ascii form (if debug_with_files is n...
Definition: MWAWDebug.hxx:66
int numPages() const
returns the number of pages
Definition: FullWrtGraph.cxx:181
int m_version
the file version
Definition: FullWrtGraph.cxx:91
FullWrtGraph & operator=(FullWrtGraph const &orig)=delete
bool operator!=(MWAWSubDocument const &doc) const final
operator!=
Definition: FullWrtGraph.cxx:148
std::shared_ptr< MWAWListener > MWAWListenerPtr
a smart pointer of MWAWListener
Definition: libmwaw_internal.hxx:553
MWAWColor m_fontColor
the default font color
Definition: FullWrtGraph.cxx:128
std::shared_ptr< FullWrtGraphInternal::State > m_state
the state
Definition: FullWrtGraph.hxx:143
SubDocument(SubDocument const &orig)=delete
bool sendPageGraphics()
try to send the page graphic
Definition: FullWrtGraph.cxx:774
std::stringstream DebugStream
a basic stream (if debug_with_files is not defined, does nothing)
Definition: MWAWDebug.hxx:61
MWAWParserStatePtr m_parserState
the parser state
Definition: FullWrtGraph.hxx:140
bool getBorder(int bId, FullWrtStruct::Border &border) const
try to return a border corresponding to an id
Definition: FullWrtGraph.cxx:195
int version() const
returns the file version
Definition: FullWrtGraph.cxx:174
the main class to read the graphic part of a FullWrite Text file
Definition: FullWrtGraph.hxx:68
std::shared_ptr< Entry > EntryPtr
Definition: FullWrtStruct.hxx:153
bool send(int fileId, MWAWColor fontColor=MWAWColor::black())
ask the text parser to send a zone
Definition: FullWrtParser.cxx:387
Generated on Fri Sep 18 2020 18:14:52 for libmwaw by
doxygen 1.8.20