LibreOffice Module writerperfect (master) 1
Classes | Enumerations | Functions
writerperfect::exp Namespace Reference

Classes

struct  FixedLayoutPage
 Contains info about a fixed-layout page. More...
 
class  XMLBase64ImportContext
 Handler for <office:binary-data>. More...
 
class  XMLBodyContentContext
 Handler for <office:text>. More...
 
class  XMLFontFaceDeclsContext
 Handler for <office:font-face-decls>. More...
 
class  XMLFootnoteImportContext
 Handler for <text:note>. More...
 
class  XMLImport
 ODT export feeds this class to make librevenge calls. More...
 
class  XMLImportContext
 Base class for a handler of a single XML element during ODF -> librevenge conversion. More...
 
class  XMLMetaDocumentContext
 Handler for <office:meta>. More...
 
class  XMLParaContext
 Handler for <text:p>/<text:h>. More...
 
class  XMLSectionContext
 Handler for <text:section>. More...
 
class  XMLStyleContext
 Handler for <style:style>. More...
 
class  XMLStylesContext
 Handler for <office:automatic-styles>/<office:styles>. More...
 
class  XMLTableContext
 Handler for <table:table>. More...
 
class  XMLTextFrameContext
 Handler for <draw:frame>. More...
 
class  XMLTextListContext
 Handler for <text:list>. More...
 
class  XMLTextListItemContext
 Handler for <text:list-item>. More...
 
class  XMPParser
 Parses an XMP file. More...
 

Enumerations

enum class  PopupState {
  NONE ,
  Consumed ,
  NotConsumed ,
  Ignore
}
 States describing the result of a link -> popup conversion. More...
 

Functions

rtl::Reference< XMLImportContextCreateParagraphOrSpanChildContext (XMLImport &rImport, const OUString &rName, const librevenge::RVNGPropertyList &rTextPropertyList)
 Shared child context factory for paragraph and span contexts. More...
 
void FillStyles (const OUString &rName, std::map< OUString, librevenge::RVNGPropertyList > &rAutomaticStyles, std::map< OUString, librevenge::RVNGPropertyList > &rNamedStyles, librevenge::RVNGPropertyList &rPropertyList)
 Looks for rName in rAutomaticStyles (and failing that, in rNamedStyles) and fills rPropertyList based on that. More...
 
rtl::Reference< XMLImportContextCreateTextChildContext (XMLImport &rImport, std::u16string_view rName, bool bTopLevel=false)
 Context factory for body text, section, table cell, etc. More...
 

Enumeration Type Documentation

◆ PopupState

enum class writerperfect::exp::PopupState
strong

States describing the result of a link -> popup conversion.

Enumerator
NONE 

Conversion did not happen yet.

Consumed 

The relative link was converted to a popup.

NotConsumed 

The absolute link was not handled.

Ignore 

The relative link is invalid and should be ignored.

Definition at line 55 of file xmlimp.hxx.

Function Documentation

◆ CreateParagraphOrSpanChildContext()

rtl::Reference< XMLImportContext > writerperfect::exp::CreateParagraphOrSpanChildContext ( XMLImport rImport,
const OUString &  rName,
const librevenge::RVNGPropertyList &  rTextPropertyList 
)

Shared child context factory for paragraph and span contexts.

Definition at line 602 of file txtparai.cxx.

References SAL_WARN.

Referenced by writerperfect::exp::XMLParaContext::CreateChildContext().

◆ CreateTextChildContext()

rtl::Reference< XMLImportContext > writerperfect::exp::CreateTextChildContext ( XMLImport rImport,
std::u16string_view  rName,
bool  bTopLevel 
)

Context factory for body text, section, table cell, etc.

Definition at line 39 of file xmltext.cxx.

References u.

Referenced by writerperfect::exp::XMLBodyContentContext::CreateChildContext(), and writerperfect::exp::XMLSectionContext::CreateChildContext().

◆ FillStyles()

void writerperfect::exp::FillStyles ( const OUString &  rName,
std::map< OUString, librevenge::RVNGPropertyList > &  rAutomaticStyles,
std::map< OUString, librevenge::RVNGPropertyList > &  rNamedStyles,
librevenge::RVNGPropertyList &  rPropertyList 
)

Looks for rName in rAutomaticStyles (and failing that, in rNamedStyles) and fills rPropertyList based on that.

Definition at line 623 of file txtparai.cxx.

References FillStyle.

Referenced by writerperfect::exp::XMLParaContext::characters(), writerperfect::exp::XMLParaContext::startElement(), writerperfect::exp::XMLTableContext::startElement(), and writerperfect::exp::XMLTextFrameContext::startElement().