LibreOffice Module sc (master) 1
Public Member Functions | Public Attributes | List of all members
AutoFormatSwBlob Struct Reference

A binary blob of writer-specific data. More...

#include <autoform.hxx>

Public Member Functions

 AutoFormatSwBlob ()
 
 AutoFormatSwBlob (const AutoFormatSwBlob &)=delete
 
const AutoFormatSwBloboperator= (const AutoFormatSwBlob &)=delete
 
void Reset ()
 

Public Attributes

std::unique_ptr< sal_uInt8[]> pData
 
std::size_t size
 

Detailed Description

A binary blob of writer-specific data.

This data typically consists of types that are unavailable to Calc (e.g. SwFmtVertOrient), or that Calc doesn't care about.

Remarks
Note that in autoformat versions prior to AUTOFORMAT_DATA_ID_31005, Calc logic handled and stored several writer-specific items (such as ScAutoFormatDataField::aAdjust). That logic was preserved. From _31005 onward, writer-specific data should be handled by blobs to avoid needlessly complicating the Calc logic.

Definition at line 54 of file autoform.hxx.

Constructor & Destructor Documentation

◆ AutoFormatSwBlob() [1/2]

AutoFormatSwBlob::AutoFormatSwBlob ( )
inline

Definition at line 59 of file autoform.hxx.

◆ AutoFormatSwBlob() [2/2]

AutoFormatSwBlob::AutoFormatSwBlob ( const AutoFormatSwBlob )
delete

Member Function Documentation

◆ operator=()

const AutoFormatSwBlob & AutoFormatSwBlob::operator= ( const AutoFormatSwBlob )
delete

◆ Reset()

void AutoFormatSwBlob::Reset ( void  )
inline

Definition at line 65 of file autoform.hxx.

References pData, and size.

Member Data Documentation

◆ pData

std::unique_ptr<sal_uInt8[]> AutoFormatSwBlob::pData

Definition at line 56 of file autoform.hxx.

Referenced by Reset().

◆ size

std::size_t AutoFormatSwBlob::size

Definition at line 57 of file autoform.hxx.

Referenced by Reset().


The documentation for this struct was generated from the following file: