LibreOffice Module sc (master) 1
Public Member Functions | Private Attributes | List of all members
ScOrcusSharedStrings Class Reference

#include <orcusinterface.hxx>

Inheritance diagram for ScOrcusSharedStrings:
[legend]
Collaboration diagram for ScOrcusSharedStrings:
[legend]

Public Member Functions

 ScOrcusSharedStrings (ScOrcusFactory &rFactory)
 
virtual size_t append (std::string_view s) override
 
virtual size_t add (std::string_view s) override
 
virtual void set_segment_bold (bool b) override
 
virtual void set_segment_italic (bool b) override
 
virtual void set_segment_font (size_t font_index) override
 
virtual void set_segment_font_name (std::string_view s) override
 
virtual void set_segment_font_size (double point) override
 
virtual void set_segment_font_color (orcus::spreadsheet::color_elem_t alpha, orcus::spreadsheet::color_elem_t red, orcus::spreadsheet::color_elem_t green, orcus::spreadsheet::color_elem_t blue) override
 
virtual void append_segment (std::string_view s) override
 
virtual size_t commit_segments () override
 

Private Attributes

ScOrcusFactorymrFactory
 
OStringBuffer maCurSegment
 

Detailed Description

Definition at line 102 of file orcusinterface.hxx.

Constructor & Destructor Documentation

◆ ScOrcusSharedStrings()

ScOrcusSharedStrings::ScOrcusSharedStrings ( ScOrcusFactory rFactory)

Definition at line 1256 of file interface.cxx.

Member Function Documentation

◆ add()

size_t ScOrcusSharedStrings::add ( std::string_view  s)
overridevirtual

◆ append()

size_t ScOrcusSharedStrings::append ( std::string_view  s)
overridevirtual

◆ append_segment()

void ScOrcusSharedStrings::append_segment ( std::string_view  s)
overridevirtual

Definition at line 1298 of file interface.cxx.

References maCurSegment.

◆ commit_segments()

size_t ScOrcusSharedStrings::commit_segments ( )
overridevirtual

◆ set_segment_bold()

void ScOrcusSharedStrings::set_segment_bold ( bool  b)
overridevirtual

Definition at line 1275 of file interface.cxx.

◆ set_segment_font()

void ScOrcusSharedStrings::set_segment_font ( size_t  font_index)
overridevirtual

Definition at line 1271 of file interface.cxx.

◆ set_segment_font_color()

void ScOrcusSharedStrings::set_segment_font_color ( orcus::spreadsheet::color_elem_t  alpha,
orcus::spreadsheet::color_elem_t  red,
orcus::spreadsheet::color_elem_t  green,
orcus::spreadsheet::color_elem_t  blue 
)
overridevirtual

Definition at line 1291 of file interface.cxx.

◆ set_segment_font_name()

void ScOrcusSharedStrings::set_segment_font_name ( std::string_view  s)
overridevirtual

Definition at line 1283 of file interface.cxx.

◆ set_segment_font_size()

void ScOrcusSharedStrings::set_segment_font_size ( double  point)
overridevirtual

Definition at line 1287 of file interface.cxx.

◆ set_segment_italic()

void ScOrcusSharedStrings::set_segment_italic ( bool  b)
overridevirtual

Definition at line 1279 of file interface.cxx.

Member Data Documentation

◆ maCurSegment

OStringBuffer ScOrcusSharedStrings::maCurSegment
private

Definition at line 106 of file orcusinterface.hxx.

Referenced by append_segment(), and commit_segments().

◆ mrFactory

ScOrcusFactory& ScOrcusSharedStrings::mrFactory
private

Definition at line 104 of file orcusinterface.hxx.

Referenced by add(), append(), and commit_segments().


The documentation for this class was generated from the following files: