LibreOffice Module writerfilter (master) 1
Classes | Namespaces | Typedefs | Enumerations | Functions
rtfdocumentimpl.hxx File Reference
#include <memory>
#include <queue>
#include <tuple>
#include <vector>
#include <optional>
#include <com/sun/star/text/WrapTextMode.hpp>
#include <com/sun/star/io/WrongFormatException.hpp>
#include <oox/mathml/importutils.hxx>
#include <rtl/strbuf.hxx>
#include <rtl/ustrbuf.hxx>
#include <tools/color.hxx>
#include <tools/long.hxx>
#include <rtftok/RTFDocument.hxx>
#include "rtfreferencetable.hxx"
#include "rtfsprm.hxx"
#include "rtflistener.hxx"
Include dependency graph for rtfdocumentimpl.hxx:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  writerfilter::rtftok::TableRowBuffer
 holds one nested table row More...
 
class  writerfilter::rtftok::RTFColorTableEntry
 An entry in the color table. More...
 
class  writerfilter::rtftok::RTFShape
 Stores the properties of a shape. More...
 
class  writerfilter::rtftok::RTFDrawingObject
 Stores the properties of a drawing object. More...
 
class  writerfilter::rtftok::RTFPicture
 Stores the properties of a picture. More...
 
class  writerfilter::rtftok::RTFFrame
 Stores the properties of a frame. More...
 
class  writerfilter::rtftok::RTFParserState
 State of the parser, which gets saved / restored when changing groups. More...
 
struct  writerfilter::rtftok::RTFStack
 An RTF stack is similar to std::stack, except that it has an operator[]. More...
 
class  writerfilter::rtftok::RTFDocumentImpl
 Implementation of the RTFDocument interface. More...
 

Namespaces

namespace  oox
 
namespace  com
 
namespace  com::sun
 
namespace  com::sun::star
 
namespace  com::sun::star::beans
 
namespace  com::sun::star::document
 
namespace  com::sun::star::lang
 
namespace  writerfilter
 
namespace  writerfilter::rtftok
 

Typedefs

using writerfilter::rtftok::Buf_t = std::tuple< RTFBufferTypes, RTFValue::Pointer_t, tools::SvRef< TableRowBuffer > >
 A buffer storing dmapper calls. More...
 
using writerfilter::rtftok::RTFBuffer_t = std::deque< Buf_t >
 

Enumerations

enum class  writerfilter::rtftok::RTFBorderState {
  writerfilter::rtftok::NONE ,
  writerfilter::rtftok::PARAGRAPH ,
  writerfilter::rtftok::PARAGRAPH_BOX ,
  writerfilter::rtftok::CELL ,
  writerfilter::rtftok::PAGE ,
  writerfilter::rtftok::CHARACTER
}
 
enum  writerfilter::rtftok::RTFBufferTypes {
  writerfilter::rtftok::BUFFER_SETSTYLE ,
  writerfilter::rtftok::BUFFER_PROPS ,
  writerfilter::rtftok::BUFFER_PROPS_CHAR ,
  writerfilter::rtftok::BUFFER_NESTROW ,
  writerfilter::rtftok::BUFFER_CELLEND ,
  writerfilter::rtftok::BUFFER_STARTRUN ,
  writerfilter::rtftok::BUFFER_TEXT ,
  writerfilter::rtftok::BUFFER_UTEXT ,
  writerfilter::rtftok::BUFFER_ENDRUN ,
  writerfilter::rtftok::BUFFER_PAR ,
  writerfilter::rtftok::BUFFER_STARTSHAPE ,
  writerfilter::rtftok::BUFFER_RESOLVESHAPE ,
  writerfilter::rtftok::BUFFER_ENDSHAPE ,
  writerfilter::rtftok::BUFFER_RESOLVESUBSTREAM ,
  writerfilter::rtftok::BUFFER_PICTURE
}
 Different kind of buffers for table cell contents. More...
 
enum class  writerfilter::rtftok::RTFFormFieldType {
  writerfilter::rtftok::NONE ,
  writerfilter::rtftok::TEXT ,
  writerfilter::rtftok::CHECKBOX ,
  writerfilter::rtftok::LIST
}
 Form field types. More...
 
enum class  writerfilter::rtftok::RTFBmpStyle {
  writerfilter::rtftok::NONE ,
  writerfilter::rtftok::PNG ,
  writerfilter::rtftok::JPEG ,
  writerfilter::rtftok::DIBITMAP
}
 
enum class  writerfilter::rtftok::RTFFieldStatus {
  writerfilter::rtftok::NONE ,
  writerfilter::rtftok::INSTRUCTION ,
  writerfilter::rtftok::RESULT
}
 

Functions

void writerfilter::rtftok::putBorderProperty (RTFStack &aStates, Id nId, const RTFValue::Pointer_t &pValue)
 
void writerfilter::rtftok::putNestedSprm (RTFSprms &rSprms, Id nParent, Id nId, const RTFValue::Pointer_t &pValue, RTFOverwrite eOverwrite)
 
Id writerfilter::rtftok::getParagraphBorder (sal_uInt32 nIndex)
 
void writerfilter::rtftok::putNestedAttribute (RTFSprms &rSprms, Id nParent, Id nId, const RTFValue::Pointer_t &pValue, RTFOverwrite eOverwrite, bool bAttribute)
 
bool writerfilter::rtftok::eraseNestedAttribute (RTFSprms &rSprms, Id nParent, Id nId)
 
RTFValue::Pointer_t writerfilter::rtftok::getNestedAttribute (RTFSprms &rSprms, Id nParent, Id nId)
 Looks up the nParent then the nested nId attribute in rSprms. More...
 
RTFValue::Pointer_t writerfilter::rtftok::getNestedSprm (RTFSprms &rSprms, Id nParent, Id nId)
 Looks up the nParent then the nested nId sprm in rSprms. More...
 
bool writerfilter::rtftok::findPropertyName (const std::vector< css::beans::PropertyValue > &rProperties, const OUString &rName)
 Checks if rName is contained at least once in rProperties as a key. More...
 
RTFSprms & writerfilter::rtftok::getLastAttributes (RTFSprms &rSprms, Id nId)
 
OString writerfilter::rtftok::DTTM22OString (tools::Long nDTTM)