LibreOffice Module sw (master) 1
Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | List of all members
SwTaggedPDFHelper Class Reference

#include <EnhancedPDFExportHelper.hxx>

Collaboration diagram for SwTaggedPDFHelper:
[legend]

Public Member Functions

 SwTaggedPDFHelper (const Num_Info *pNumInfo, const Frame_Info *pFrameInfo, const Por_Info *pPorInfo, OutputDevice const &rOut)
 
 ~SwTaggedPDFHelper ()
 

Static Public Member Functions

static bool IsExportTaggedPDF (const OutputDevice &rOut)
 

Private Member Functions

void BeginTag (vcl::PDFWriter::StructElement aTagRole, const OUString &rTagName)
 
void EndTag ()
 
void SetAttributes (vcl::PDFWriter::StructElement eType)
 
void BeginNumberedListStructureElements ()
 
void BeginBlockStructureElements ()
 
void BeginInlineStructureElements ()
 
void EndStructureElements ()
 
bool CheckReopenTag ()
 
void CheckRestoreTag () const
 

Private Attributes

sal_uInt8 m_nEndStructureElement
 
sal_Int32 m_nRestoreCurrentTag
 
vcl::PDFExtOutDevDatampPDFExtOutDevData
 
const Num_InfompNumInfo
 
const Frame_InfompFrameInfo
 
const Por_InfompPorInfo
 

Detailed Description

Definition at line 132 of file EnhancedPDFExportHelper.hxx.

Constructor & Destructor Documentation

◆ SwTaggedPDFHelper()

SwTaggedPDFHelper::SwTaggedPDFHelper ( const Num_Info pNumInfo,
const Frame_Info pFrameInfo,
const Por_Info pPorInfo,
OutputDevice const &  rOut 
)

◆ ~SwTaggedPDFHelper()

SwTaggedPDFHelper::~SwTaggedPDFHelper ( )

Member Function Documentation

◆ BeginBlockStructureElements()

void SwTaggedPDFHelper::BeginBlockStructureElements ( )
private

Definition at line 1135 of file EnhancedPDFExportHelper.cxx.

References BeginTag(), vcl::PDFWriter::BlockQuote, vcl::PDFWriter::Caption, Cell, CheckReopenTag(), Content, SwFormat::DerivedFrom(), vcl::PDFWriter::Division, vcl::PDFWriter::Document, vcl::PDFWriter::Figure, SwStyleNameMapper::FillProgName(), SwFrame::FindFooterOrHeader(), SwTabFrame::FindMaster(), SwFrame::FindSctFrame(), Fly, Footer, vcl::PDFWriter::Formula, Ftn, FtnCont, SfxItemSet::Get(), SwAnchoredObject::GetAnchorFrame(), SwTextNode::GetAttrOutlineLevel(), SwFormat::GetAttrSet(), SwTabFrame::GetFollow(), SwContentNode::GetFormatColl(), SwFrameAreaDefinition::getFrameArea(), SwFlyFrame::GetFrameFormat(), SwRectFnSet::GetLeft(), SwFrame::GetLower(), SwFormat::GetName(), SwFrame::GetNext(), SwNoTextFrame::GetNode(), SwNode::GetOLENode(), SwOLENode::GetOLEObj(), SwOLEObj::GetOleRef(), SwTextFrame::GetPara(), SwRectFnSet::GetRight(), SwFrame::getRootFrame(), SwSectionFrame::GetSection(), SwTabFrame::GetTable(), SwEnhancedPDFExportHelper::GetTableColumnsMap(), SwTextFrame::GetTextNodeForParaProps(), SwSection::GetTOXBase(), SwSection::GetType(), SwTOXBase::GetType(), SwFrame::GetType(), vcl::PDFWriter::H1, SwParaPortion::HasNumberingPortion(), Header, vcl::PDFWriter::Heading, vcl::PDFWriter::Index, SwFrame::IsFlyFrame(), SwTabFrame::IsInHeadline(), SwNode::IsInRedlines(), SwFrame::IsInSct(), SotExchange::IsMath(), SwFrame::IsNoTextFrame(), sw::IsParaPropsNode(), SwRowFrame::IsRepeatedHeadline(), vcl::PDFWriter::LIBody, vcl::PDFWriter::Link, SwLayoutFrame::Lower(), Frame_Info::m_isLink, min(), mpFrameInfo, Frame_Info::mrFrame, vcl::PDFWriter::NonStructElement, vcl::PDFWriter::Note, SwParaPortion::OnlyNumbering, Page, vcl::PDFWriter::Paragraph, RES_DECORATIVE(), Row, vcl::PDFWriter::Section, Section, Tab, vcl::PDFWriter::Table, vcl::PDFWriter::TableData, vcl::PDFWriter::TableHeader, vcl::PDFWriter::TableRow, vcl::PDFWriter::TOC, vcl::PDFWriter::TOCI, TOX_INDEX, ToxContent, Txt, and TxtColl.

Referenced by SwTaggedPDFHelper().

◆ BeginInlineStructureElements()

void SwTaggedPDFHelper::BeginInlineStructureElements ( )
private

◆ BeginNumberedListStructureElements()

void SwTaggedPDFHelper::BeginNumberedListStructureElements ( )
private

◆ BeginTag()

void SwTaggedPDFHelper::BeginTag ( vcl::PDFWriter::StructElement  aTagRole,
const OUString &  rTagName 
)
private

◆ CheckReopenTag()

bool SwTaggedPDFHelper::CheckReopenTag ( )
private

◆ CheckRestoreTag()

void SwTaggedPDFHelper::CheckRestoreTag ( ) const
private

◆ EndStructureElements()

void SwTaggedPDFHelper::EndStructureElements ( )
private

Definition at line 1509 of file EnhancedPDFExportHelper.cxx.

References CheckRestoreTag(), EndTag(), and m_nEndStructureElement.

Referenced by ~SwTaggedPDFHelper().

◆ EndTag()

void SwTaggedPDFHelper::EndTag ( )
private

◆ IsExportTaggedPDF()

bool SwTaggedPDFHelper::IsExportTaggedPDF ( const OutputDevice rOut)
static

◆ SetAttributes()

void SwTaggedPDFHelper::SetAttributes ( vcl::PDFWriter::StructElement  eType)
private

Definition at line 553 of file EnhancedPDFExportHelper.cxx.

References vcl::PDFWriter::BaselineShift, vcl::PDFWriter::BibEntry, vcl::PDFWriter::Block, vcl::PDFWriter::BlockQuote, SwTextPaintInfo::CalcRect(), vcl::PDFWriter::Caption, vcl::PDFWriter::Center, vcl::PDFWriter::Circle, vcl::PDFWriter::Code, vcl::PDFWriter::ColSpan, vcl::PDFWriter::Column, vcl::PDFWriter::Decimal, vcl::PDFWriter::Disc, vcl::PDFWriter::Division, vcl::PDFWriter::Document, vcl::PDFWriter::End, vcl::PDFWriter::EndIndent, eType, vcl::PDFWriter::Figure, SwFrame::FindTabFrame(), vcl::PDFWriter::Footer, vcl::PDFWriter::Formula, SwNumRule::Get(), SwTextNode::GetActualListLevel(), SvxAdjustItem::GetAdjust(), SwAttrSet::GetAdjust(), SwRectFnSet::GetBottomMargin(), SwEnhancedPDFExportHelper::GetDefaultLanguage(), SwFont::GetEmphasisMark(), SwFont::GetEscapement(), SwTextSizeInfo::GetFont(), GetFormat(), SwFrameAreaDefinition::getFrameArea(), SwRectFnSet::GetHeight(), SwTextSizeInfo::GetIdx(), SwTextPainter::GetInfo(), SwFont::GetLanguage(), SwRectFnSet::GetLeft(), SwRectFnSet::GetLeftMargin(), SwLinePortion::GetLen(), SwTextNode::GetNumRule(), SwFlyFrameFormat::GetObjDescription(), SwFlyFrameFormat::GetObjTitle(), SwFont::GetOverline(), SwRectFnSet::GetRight(), SwRectFnSet::GetRightMargin(), SwTableBox::getRowSpan(), SwFont::GetStrikeout(), SwCellFrame::GetTabBox(), SwTabFrame::GetTable(), SwEnhancedPDFExportHelper::GetTableColumnsMap(), SwTextSizeInfo::GetText(), SvxFirstLineIndentItem::GetTextFirstLineOffset(), SwTextFrame::GetTextNodeForParaProps(), SwRectFnSet::GetTopMargin(), SwFont::GetUnderline(), SwLinePortion::GetWhichPor(), SwRectFnSet::GetWidth(), vcl::PDFWriter::H1, vcl::PDFWriter::H2, vcl::PDFWriter::H3, vcl::PDFWriter::H4, vcl::PDFWriter::H5, vcl::PDFWriter::H6, vcl::PDFWriter::Header, vcl::PDFWriter::Heading, vcl::PDFWriter::Height, SwPosSize::Height(), Hyphen, HyphenStr, vcl::PDFWriter::Inline, SwFrame::IsCellFrame(), SwFrame::IsFlyFrame(), SwFrame::IsFooterFrame(), SwFrame::IsHeaderFrame(), SwFrame::IsRightToLeft(), SwFrame::IsTabFrame(), SwFrame::IsTextFrame(), SwFrame::IsVertical(), vcl::PDFWriter::Justify, vcl::PDFWriter::Language, LINESTYLE_NONE, vcl::PDFWriter::LineThrough, vcl::PDFWriter::Link, vcl::PDFWriter::List, vcl::PDFWriter::ListNumbering, vcl::PDFWriter::LowerAlpha, vcl::PDFWriter::LowerRoman, vcl::PDFWriter::LrTb, Frame_Info::m_isLink, mpFrameInfo, mpNumInfo, mpPDFExtOutDevData, mpPorInfo, Num_Info::mrFrame, Frame_Info::mrFrame, Por_Info::mrPor, Por_Info::mrTextPainter, nAdjust, vcl::PDFWriter::NONE, vcl::PDFWriter::NonStructElement, vcl::PDFWriter::Overline, vcl::PDFWriter::Pagination, vcl::PDFWriter::Paragraph, vcl::PDFWriter::Placement, vcl::PDFWriter::Quote, vcl::PDFWriter::RlTb, vcl::PDFWriter::RowSpan, vcl::PDFWriter::Scope, vcl::PDFExtOutDevData::SetActualText(), vcl::PDFExtOutDevData::SetAlternateText(), vcl::PDFExtOutDevData::SetStructureAttribute(), vcl::PDFExtOutDevData::SetStructureAttributeNumerical(), vcl::PDFExtOutDevData::SetStructureBoundingBox(), SoftHyphen, SoftHyphenStr, vcl::PDFWriter::SpaceAfter, vcl::PDFWriter::SpaceBefore, vcl::PDFWriter::Span, vcl::PDFWriter::Square, vcl::PDFWriter::StartIndent, STRIKEOUT_NONE, vcl::PDFWriter::Subtype, SwRect::SVRect(), vcl::PDFWriter::Table, vcl::PDFWriter::TableData, vcl::PDFWriter::TableHeader, vcl::PDFWriter::TableRow, vcl::PDFWriter::TbRl, vcl::PDFWriter::TextAlign, vcl::PDFWriter::TextDecorationType, vcl::PDFWriter::TextIndent, vcl::PDFWriter::Type, u, vcl::PDFWriter::Underline, vcl::PDFWriter::UpperAlpha, vcl::PDFWriter::UpperRoman, value, vcl::PDFWriter::Width, and vcl::PDFWriter::WritingMode.

Referenced by BeginTag().

Member Data Documentation

◆ m_nEndStructureElement

sal_uInt8 SwTaggedPDFHelper::m_nEndStructureElement
private

Definition at line 138 of file EnhancedPDFExportHelper.hxx.

Referenced by BeginTag(), CheckReopenTag(), and EndStructureElements().

◆ m_nRestoreCurrentTag

sal_Int32 SwTaggedPDFHelper::m_nRestoreCurrentTag
private

◆ mpFrameInfo

const Frame_Info* SwTaggedPDFHelper::mpFrameInfo
private

◆ mpNumInfo

const Num_Info* SwTaggedPDFHelper::mpNumInfo
private

◆ mpPDFExtOutDevData

vcl::PDFExtOutDevData* SwTaggedPDFHelper::mpPDFExtOutDevData
private

◆ mpPorInfo

const Por_Info* SwTaggedPDFHelper::mpPorInfo
private

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