LibreOffice Module sw (master)
1
|
#include <EnhancedPDFExportHelper.hxx>
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::PDFExtOutDevData * | mpPDFExtOutDevData |
const Num_Info * | mpNumInfo |
const Frame_Info * | mpFrameInfo |
const Por_Info * | mpPorInfo |
Definition at line 128 of file EnhancedPDFExportHelper.hxx.
SwTaggedPDFHelper::SwTaggedPDFHelper | ( | const Num_Info * | pNumInfo, |
const Frame_Info * | pFrameInfo, | ||
const Por_Info * | pPorInfo, | ||
OutputDevice const & | rOut | ||
) |
Definition at line 286 of file EnhancedPDFExportHelper.cxx.
References BeginBlockStructureElements(), BeginInlineStructureElements(), BeginNumberedListStructureElements(), BeginTag(), vcl::PDFExtOutDevData::GetCurrentStructureElement(), OutputDevice::GetExtOutDevData(), vcl::PDFExtOutDevData::GetIsExportTaggedPDF(), lcl_DBGCheckStack(), mpFrameInfo, mpNumInfo, mpPDFExtOutDevData, mpPorInfo, vcl::PDFWriter::NonStructElement, and void().
SwTaggedPDFHelper::~SwTaggedPDFHelper | ( | ) |
Definition at line 322 of file EnhancedPDFExportHelper.cxx.
References EndStructureElements(), vcl::PDFExtOutDevData::GetCurrentStructureElement(), vcl::PDFExtOutDevData::GetIsExportTaggedPDF(), lcl_DBGCheckStack(), mpPDFExtOutDevData, and void().
|
private |
Definition at line 966 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(), 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(), min(), 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_INDEX, ToxContent, Txt, and TxtColl.
Referenced by SwTaggedPDFHelper().
|
private |
Definition at line 1315 of file EnhancedPDFExportHelper.cxx.
References BeginTag(), vcl::PDFWriter::BibEntry, vcl::PDFWriter::Code, Field, SwStyleNameMapper::FillProgName(), Footnote, SwFont::GetActual(), SwAttrIter::GetAttr(), SwEnhancedPDFExportHelper::GetDefaultLanguage(), SwFont::GetEmphasisMark(), SwFont::GetEscapement(), SwFormatField::GetField(), SwTextSizeInfo::GetFont(), SwTextAttr::GetFormatField(), SwTextSizeInfo::GetIdx(), SwTextPainter::GetInfo(), SwFont::GetLanguage(), SwFont::GetOverline(), GetRef, SwFont::GetStrikeout(), SwTextSizeInfo::GetTextFrame(), SwFont::GetUnderline(), SwLinePortion::GetWhichPor(), Hyphen, HyphenStr, Latin, Lay, LINESTYLE_NONE, vcl::PDFWriter::Link, SwTextFrame::MapViewToModel(), mpPorInfo, Por_Info::mrPor, Por_Info::mrTextPainter, vcl::PDFWriter::NonStructElement, Para, pos, vcl::PDFWriter::Quote, RES_TXTATR_CHARFMT(), RES_TXTATR_FIELD(), RES_TXTATR_INETFMT(), SoftHyphen, SoftHyphenStr, vcl::PDFWriter::Span, STRIKEOUT_NONE, TabCenter, TabDecimal, Table, TableOfAuthorities, TabRight, Text, TxtColl, SwTextAttr::Which(), and SwField::Which().
Referenced by SwTaggedPDFHelper().
|
private |
Definition at line 829 of file EnhancedPDFExportHelper.cxx.
References aStructStack, BeginTag(), vcl::PDFExtOutDevData::GetCurrentStructureElement(), SwTextNode::GetNum(), SwEnhancedPDFExportHelper::GetNumListBodyIdMap(), SwEnhancedPDFExportHelper::GetNumListIdMap(), SwTextNode::GetNumRule(), SwNumberTreeNode::GetParent(), SwNumberTreeNode::GetPred(), SwNumberTreeNode::IsCounted(), SwTextNode::IsCountedInList(), SwNumberTreeNode::IsFirst(), SwTextNode::IsListRestart(), SwTextNode::IsOutline(), SwFrame::IsTextFrame(), vcl::PDFWriter::LIBody, vcl::PDFWriter::List, vcl::PDFWriter::ListItem, m_nRestoreCurrentTag, mpNumInfo, mpPDFExtOutDevData, Num_Info::mrFrame, and vcl::PDFExtOutDevData::SetCurrentStructureElement().
Referenced by SwTaggedPDFHelper().
|
private |
Definition at line 421 of file EnhancedPDFExportHelper.cxx.
References aStructStack, vcl::PDFExtOutDevData::BeginStructureElement(), SwFlowFrame::CastFlowFrame(), SwFrame::GetDrawObjs(), SwEnhancedPDFExportHelper::GetFrameTagIdMap(), SwTextNode::GetNum(), SwEnhancedPDFExportHelper::GetNumListBodyIdMap(), SwEnhancedPDFExportHelper::GetNumListIdMap(), SwFrame::getRootFrame(), SwTextFrame::GetTextNodeForParaProps(), SwFlowFrame::HasFollow(), SwFrame::IsCellFrame(), SwFrame::IsFlowFrame(), SwFlowFrame::IsFollow(), SwFrame::IsInSplitTableRow(), SwFrame::IsPageFrame(), SwFrame::IsRowFrame(), SwFrame::IsTextFrame(), vcl::PDFWriter::LIBody, vcl::PDFWriter::List, m_nEndStructureElement, mpFrameInfo, mpNumInfo, mpPDFExtOutDevData, Num_Info::mrFrame, Frame_Info::mrFrame, nId, and SetAttributes().
Referenced by BeginBlockStructureElements(), BeginInlineStructureElements(), BeginNumberedListStructureElements(), and SwTaggedPDFHelper().
|
private |
Definition at line 340 of file EnhancedPDFExportHelper.cxx.
References aStructStack, SwFlowFrame::CastFlowFrame(), SwFormatAnchor::GetAnchorId(), vcl::PDFExtOutDevData::GetCurrentStructureElement(), GetFormat(), SwEnhancedPDFExportHelper::GetFrameTagIdMap(), SwFrame::IsCellFrame(), SwFrame::IsFlowFrame(), SwFrame::IsFlyFrame(), SwFlowFrame::IsFollow(), SwFrame::IsInFollowFlowRow(), SwFrame::IsPageFrame(), SwFrame::IsRowFrame(), m_nRestoreCurrentTag, mpFrameInfo, mpPDFExtOutDevData, Frame_Info::mrFrame, and vcl::PDFExtOutDevData::SetCurrentStructureElement().
Referenced by BeginBlockStructureElements().
|
private |
Definition at line 408 of file EnhancedPDFExportHelper.cxx.
References aStructStack, m_nRestoreCurrentTag, mpPDFExtOutDevData, and vcl::PDFExtOutDevData::SetCurrentStructureElement().
Referenced by EndStructureElements().
|
private |
Definition at line 1304 of file EnhancedPDFExportHelper.cxx.
References CheckRestoreTag(), EndTag(), and m_nEndStructureElement.
Referenced by ~SwTaggedPDFHelper().
|
private |
Definition at line 479 of file EnhancedPDFExportHelper.cxx.
References aStructStack, vcl::PDFExtOutDevData::EndStructureElement(), and mpPDFExtOutDevData.
Referenced by EndStructureElements().
|
static |
Definition at line 1447 of file EnhancedPDFExportHelper.cxx.
References OutputDevice::GetExtOutDevData(), and vcl::PDFExtOutDevData::GetIsExportTaggedPDF().
Referenced by SwHolePortion::Paint().
|
private |
Definition at line 489 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::IsCellFrame(), 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, Point, 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().
|
private |
Definition at line 134 of file EnhancedPDFExportHelper.hxx.
Referenced by BeginTag(), and EndStructureElements().
|
private |
Definition at line 138 of file EnhancedPDFExportHelper.hxx.
Referenced by BeginNumberedListStructureElements(), CheckReopenTag(), and CheckRestoreTag().
|
private |
Definition at line 143 of file EnhancedPDFExportHelper.hxx.
Referenced by BeginBlockStructureElements(), BeginTag(), CheckReopenTag(), SetAttributes(), and SwTaggedPDFHelper().
|
private |
Definition at line 142 of file EnhancedPDFExportHelper.hxx.
Referenced by BeginNumberedListStructureElements(), BeginTag(), and SwTaggedPDFHelper().
|
private |
Definition at line 140 of file EnhancedPDFExportHelper.hxx.
Referenced by BeginNumberedListStructureElements(), BeginTag(), CheckReopenTag(), CheckRestoreTag(), EndTag(), SetAttributes(), SwTaggedPDFHelper(), and ~SwTaggedPDFHelper().
|
private |
Definition at line 144 of file EnhancedPDFExportHelper.hxx.
Referenced by BeginInlineStructureElements(), SetAttributes(), and SwTaggedPDFHelper().