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 nEndStructureElement
 
sal_Int32 nRestoreCurrentTag
 
vcl::PDFExtOutDevDatampPDFExtOutDevData
 
const Num_InfompNumInfo
 
const Frame_InfompFrameInfo
 
const Por_InfompPorInfo
 

Detailed Description

Definition at line 128 of file EnhancedPDFExportHelper.hxx.

Constructor & Destructor Documentation

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

Member Function Documentation

void SwTaggedPDFHelper::BeginBlockStructureElements ( )
private

Definition at line 950 of file EnhancedPDFExportHelper.cxx.

References BeginTag(), vcl::PDFWriter::BlockQuote, vcl::PDFWriter::Caption, Cell, CheckReopenTag(), CONTENT_SECTION, SwFormat::DerivedFrom(), vcl::PDFWriter::Division, vcl::PDFWriter::Document, vcl::PDFWriter::Figure, SwStyleNameMapper::FillProgName(), SwTabFrame::FindMaster(), SwFrame::FindSctFrame(), Fly, Footer, vcl::PDFWriter::Formula, Ftn, FtnCont, SwTextNode::GetAttrOutlineLevel(), SwTabFrame::GetFollow(), SwContentNode::GetFormatColl(), SwFrameAreaDefinition::getFrameArea(), SwRectFnSet::GetLeft(), SwFrame::GetLower(), SwFormat::GetName(), SwFrame::GetNext(), SwNoTextFrame::GetNode(), SwNode::GetOLENode(), SwOLENode::GetOLEObj(), SwOLEObj::GetOleRef(), SwRectFnSet::GetRight(), SwFrame::getRootFrame(), SwSectionFrame::GetSection(), SwTabFrame::GetTable(), SwEnhancedPDFExportHelper::GetTableColumnsMap(), SwSection::GetTOXBase(), SwSection::GetType(), SwTOXBase::GetType(), SwFrame::GetType(), vcl::PDFWriter::H1, Header, vcl::PDFWriter::Heading, vcl::PDFWriter::Index, SwFlowFrame::IsFollow(), SwTabFrame::IsInHeadline(), SwFrame::IsInSct(), SotExchange::IsMath(), SwFrame::IsNoTextFrame(), SwTextNode::IsOutline(), sw::IsParaPropsNode(), SwLayoutFrame::Lower(), mpFrameInfo, Frame_Info::mrFrame, vcl::PDFWriter::NonStructElement, vcl::PDFWriter::Note, Page, vcl::PDFWriter::Paragraph, 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_CONTENT_SECTION, TOX_INDEX, Txt, TxtColl, and USHRT_MAX.

Referenced by SwTaggedPDFHelper().

void SwTaggedPDFHelper::BeginInlineStructureElements ( )
private
void SwTaggedPDFHelper::BeginNumberedListStructureElements ( )
private
void SwTaggedPDFHelper::BeginTag ( vcl::PDFWriter::StructElement  aTagRole,
const OUString &  rTagName 
)
private
bool SwTaggedPDFHelper::CheckReopenTag ( )
private
void SwTaggedPDFHelper::CheckRestoreTag ( ) const
private
void SwTaggedPDFHelper::EndStructureElements ( )
private

Definition at line 1288 of file EnhancedPDFExportHelper.cxx.

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

Referenced by ~SwTaggedPDFHelper().

void SwTaggedPDFHelper::EndTag ( )
private
bool SwTaggedPDFHelper::IsExportTaggedPDF ( const OutputDevice rOut)
static
void SwTaggedPDFHelper::SetAttributes ( vcl::PDFWriter::StructElement  eType)
private

Definition at line 473 of file EnhancedPDFExportHelper.cxx.

References vcl::PDFWriter::BaselineShift, vcl::PDFWriter::Block, vcl::PDFWriter::BlockQuote, SwTextPaintInfo::CalcRect(), vcl::PDFWriter::Caption, vcl::PDFWriter::Center, SwRect::Center(), vcl::PDFWriter::Code, vcl::PDFWriter::ColSpan, vcl::PDFWriter::Document, vcl::PDFWriter::End, vcl::PDFWriter::EndIndent, vcl::PDFWriter::Figure, SwFrame::FindTabFrame(), vcl::PDFWriter::Formula, SwRectFnSet::GetBottomMargin(), SwEnhancedPDFExportHelper::GetDefaultLanguage(), SwFont::GetEmphasisMark(), SwFont::GetEscapement(), SwTextSizeInfo::GetFont(), SwFrameAreaDefinition::getFrameArea(), SwRectFnSet::GetHeight(), SwTextSizeInfo::GetIdx(), SwTextPainter::GetInfo(), SwFont::GetLanguage(), SwRectFnSet::GetLeft(), SwRectFnSet::GetLeftMargin(), SwLinePortion::GetLen(), SwEnhancedPDFExportHelper::GetLinkIdMap(), SwFont::GetOverline(), SwRectFnSet::GetRight(), SwRectFnSet::GetRightMargin(), SwTableBox::getRowSpan(), SwFont::GetStrikeout(), SwCellFrame::GetTabBox(), SwTabFrame::GetTable(), SwEnhancedPDFExportHelper::GetTableColumnsMap(), SwTextSizeInfo::GetText(), 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::Heading, vcl::PDFWriter::Height, SwPosSize::Height(), Hyphen, HyphenStr, vcl::PDFWriter::Inline, SwFrame::IsRightToLeft(), SwFrame::IsTabFrame(), SwFrame::IsTextFrame(), SwFrame::IsVertical(), vcl::PDFWriter::Justify, vcl::PDFWriter::Language, LINESTYLE_NONE, vcl::PDFWriter::LineThrough, vcl::PDFWriter::Link, vcl::PDFWriter::LinkAnnotation, vcl::PDFWriter::LrTb, mpFrameInfo, mpPDFExtOutDevData, mpPorInfo, Frame_Info::mrFrame, Por_Info::mrPor, Por_Info::mrTextPainter, vcl::PDFWriter::Overline, vcl::PDFWriter::Paragraph, vcl::PDFWriter::Placement, vcl::PDFWriter::Quote, vcl::PDFWriter::RlTb, vcl::PDFWriter::RowSpan, vcl::PDFExtOutDevData::SetActualText(), vcl::PDFExtOutDevData::SetStructureAttribute(), vcl::PDFExtOutDevData::SetStructureAttributeNumerical(), vcl::PDFExtOutDevData::SetStructureBoundingBox(), SoftHyphen, SoftHyphenStr, vcl::PDFWriter::SpaceAfter, vcl::PDFWriter::SpaceBefore, vcl::PDFWriter::Span, vcl::PDFWriter::StartIndent, STRIKEOUT_NONE, 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, u, vcl::PDFWriter::Underline, vcl::PDFWriter::Width, and vcl::PDFWriter::WritingMode.

Referenced by BeginTag().

Member Data Documentation

const Frame_Info* SwTaggedPDFHelper::mpFrameInfo
private
const Num_Info* SwTaggedPDFHelper::mpNumInfo
private
vcl::PDFExtOutDevData* SwTaggedPDFHelper::mpPDFExtOutDevData
private
const Por_Info* SwTaggedPDFHelper::mpPorInfo
private
sal_uInt8 SwTaggedPDFHelper::nEndStructureElement
private

Definition at line 134 of file EnhancedPDFExportHelper.hxx.

Referenced by BeginTag(), and EndStructureElements().

sal_Int32 SwTaggedPDFHelper::nRestoreCurrentTag
private

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