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 132 of file EnhancedPDFExportHelper.hxx.
SwTaggedPDFHelper::SwTaggedPDFHelper | ( | const Num_Info * | pNumInfo, |
const Frame_Info * | pFrameInfo, | ||
const Por_Info * | pPorInfo, | ||
OutputDevice const & | rOut | ||
) |
Definition at line 310 of file EnhancedPDFExportHelper.cxx.
References BeginBlockStructureElements(), BeginInlineStructureElements(), BeginNumberedListStructureElements(), BeginTag(), vcl::PDFExtOutDevData::GetCurrentStructureElement(), OutputDevice::GetExtOutDevData(), vcl::PDFExtOutDevData::GetIsExportTaggedPDF(), lcl_DBGCheckStack(), mpFrameInfo, mpNumInfo, mpPDFExtOutDevData, mpPorInfo, and vcl::PDFWriter::NonStructElement.
SwTaggedPDFHelper::~SwTaggedPDFHelper | ( | ) |
Definition at line 346 of file EnhancedPDFExportHelper.cxx.
References EndStructureElements(), vcl::PDFExtOutDevData::GetCurrentStructureElement(), vcl::PDFExtOutDevData::GetIsExportTaggedPDF(), lcl_DBGCheckStack(), and mpPDFExtOutDevData.
|
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().
|
private |
Definition at line 1520 of file EnhancedPDFExportHelper.cxx.
References BeginTag(), vcl::PDFWriter::BibEntry, Bullet, vcl::PDFWriter::Code, Field, SwStyleNameMapper::FillProgName(), Footnote, FootnoteNum, SwFont::GetActual(), SwAttrIter::GetAttr(), SwEnhancedPDFExportHelper::GetDefaultLanguage(), SwFont::GetEmphasisMark(), SwFont::GetEscapement(), SwFormatField::GetField(), SwTextSizeInfo::GetFont(), SwTextAttr::GetFormatField(), SwTextSizeInfo::GetIdx(), SwTextPainter::GetInfo(), SwFont::GetLanguage(), SwFormat::GetName(), SwFont::GetOverline(), GetRef, SwFont::GetStrikeout(), SwTextSizeInfo::GetTextFrame(), SwFont::GetUnderline(), SwLinePortion::GetWhichPor(), GrfNum, Hyphen, HyphenStr, Latin, Lay, vcl::PDFWriter::LILabel, LINESTYLE_NONE, vcl::PDFWriter::Link, Por_Info::m_isNumberingLabel, SwTextFrame::MapViewToModel(), mpPorInfo, Por_Info::mrPor, Por_Info::mrTextPainter, vcl::PDFWriter::NonStructElement, Number, Para, pos, vcl::PDFWriter::Quote, RES_TXTATR_CHARFMT(), RES_TXTATR_FIELD(), RES_TXTATR_INETFMT(), SoftHyphen, SoftHyphenStr, vcl::PDFWriter::Span, STRIKEOUT_NONE, Tab, TabCenter, TabDecimal, TableOfAuthorities, TabRight, Text, TxtColl, SwField::Which(), and SwTextAttr::Which().
Referenced by SwTaggedPDFHelper().
|
private |
Definition at line 984 of file EnhancedPDFExportHelper.cxx.
References aStructStack, BeginTag(), vcl::PDFExtOutDevData::GetCurrentStructureElement(), SwTextNode::GetNum(), SwEnhancedPDFExportHelper::GetNumListBodyIdMap(), SwEnhancedPDFExportHelper::GetNumListIdMap(), SwTextNode::GetNumRule(), SwTextFrame::GetPara(), SwNumberTreeNode::GetParent(), SwNumberTreeNode::GetPred(), SwFrame::getRootFrame(), SwTextFrame::GetTextNodeForParaProps(), SwParaPortion::HasContentPortions(), SwParaPortion::HasNumberingPortion(), SwTextFrame::HasPara(), 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, SwParaPortion::OnlyNumbering, and vcl::PDFExtOutDevData::SetCurrentStructureElement().
Referenced by SwTaggedPDFHelper().
|
private |
Definition at line 449 of file EnhancedPDFExportHelper.cxx.
References aStructStack, vcl::PDFExtOutDevData::BeginStructureElement(), vcl::PDFExtOutDevData::EnsureStructureElement(), eType, SwFrame::GetDrawObjs(), SwEnhancedPDFExportHelper::GetFrameTagSet(), SwFrame::GetNextCellLeaf(), SwTextNode::GetNum(), SwEnhancedPDFExportHelper::GetNumListBodyIdMap(), SwEnhancedPDFExportHelper::GetNumListIdMap(), SwFrame::GetPrev(), SwFrame::getRootFrame(), SwTextFrame::GetTextNodeForParaProps(), vcl::PDFExtOutDevData::InitStructureElement(), SwFrame::IsCellFrame(), SwFrame::IsFlowFrame(), 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 370 of file EnhancedPDFExportHelper.cxx.
References aStructStack, vcl::PDFExtOutDevData::BeginStructureElement(), vcl::PDFExtOutDevData::EnsureStructureElement(), SwFormatAnchor::GetAnchorId(), GetFormat(), SwEnhancedPDFExportHelper::GetFrameTagSet(), SwFrame::GetPrev(), SwFrame::GetPrevCellLeaf(), SwFrame::IsCellFrame(), SwFrame::IsFlowFrame(), SwFrame::IsFlyFrame(), SwFrame::IsInFollowFlowRow(), SwFrame::IsPageFrame(), SwFrame::IsRowFrame(), Frame_Info::m_isLink, m_nEndStructureElement, mpFrameInfo, mpPDFExtOutDevData, and Frame_Info::mrFrame.
Referenced by BeginBlockStructureElements().
|
private |
Definition at line 436 of file EnhancedPDFExportHelper.cxx.
References aStructStack, m_nRestoreCurrentTag, mpPDFExtOutDevData, and vcl::PDFExtOutDevData::SetCurrentStructureElement().
Referenced by EndStructureElements().
|
private |
Definition at line 1509 of file EnhancedPDFExportHelper.cxx.
References CheckRestoreTag(), EndTag(), and m_nEndStructureElement.
Referenced by ~SwTaggedPDFHelper().
|
private |
Definition at line 526 of file EnhancedPDFExportHelper.cxx.
References aStructStack, vcl::PDFExtOutDevData::EndStructureElement(), and mpPDFExtOutDevData.
Referenced by EndStructureElements().
|
static |
Definition at line 1671 of file EnhancedPDFExportHelper.cxx.
References OutputDevice::GetExtOutDevData(), and vcl::PDFExtOutDevData::GetIsExportTaggedPDF().
Referenced by SwHolePortion::Paint().
|
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().
|
private |
Definition at line 138 of file EnhancedPDFExportHelper.hxx.
Referenced by BeginTag(), CheckReopenTag(), and EndStructureElements().
|
private |
Definition at line 142 of file EnhancedPDFExportHelper.hxx.
Referenced by BeginNumberedListStructureElements(), and CheckRestoreTag().
|
private |
Definition at line 147 of file EnhancedPDFExportHelper.hxx.
Referenced by BeginBlockStructureElements(), BeginTag(), CheckReopenTag(), SetAttributes(), and SwTaggedPDFHelper().
|
private |
Definition at line 146 of file EnhancedPDFExportHelper.hxx.
Referenced by BeginNumberedListStructureElements(), BeginTag(), SetAttributes(), and SwTaggedPDFHelper().
|
private |
Definition at line 144 of file EnhancedPDFExportHelper.hxx.
Referenced by BeginNumberedListStructureElements(), BeginTag(), CheckReopenTag(), CheckRestoreTag(), EndTag(), SetAttributes(), SwTaggedPDFHelper(), and ~SwTaggedPDFHelper().
|
private |
Definition at line 148 of file EnhancedPDFExportHelper.hxx.
Referenced by BeginInlineStructureElements(), SetAttributes(), and SwTaggedPDFHelper().