LibreOffice Module sw (master)  1
Classes | Macros | Functions | Variables
unosett.cxx File Reference
#include <svx/svxids.hrc>
#include <editeng/memberids.h>
#include <swtypes.hxx>
#include <cmdid.h>
#include <unomid.h>
#include <hintids.hxx>
#include <strings.hrc>
#include <poolfmt.hxx>
#include <fmtcol.hxx>
#include <unomap.hxx>
#include <unostyle.hxx>
#include <unosett.hxx>
#include <unoprnms.hxx>
#include <ftninfo.hxx>
#include <doc.hxx>
#include <pagedesc.hxx>
#include <IDocumentStylePoolAccess.hxx>
#include <charfmt.hxx>
#include <lineinfo.hxx>
#include <docsh.hxx>
#include <docary.hxx>
#include <docstyle.hxx>
#include <fmtclds.hxx>
#include <editeng/brushitem.hxx>
#include <com/sun/star/lang/IndexOutOfBoundsException.hpp>
#include <com/sun/star/text/XFootnotesSettingsSupplier.hpp>
#include <com/sun/star/text/XFootnote.hpp>
#include <com/sun/star/text/XFootnotesSupplier.hpp>
#include <com/sun/star/text/XEndnotesSupplier.hpp>
#include <com/sun/star/text/XEndnotesSettingsSupplier.hpp>
#include <com/sun/star/text/FootnoteNumbering.hpp>
#include <com/sun/star/text/HoriOrientation.hpp>
#include <com/sun/star/style/LineNumberPosition.hpp>
#include <com/sun/star/awt/FontDescriptor.hpp>
#include <com/sun/star/awt/XBitmap.hpp>
#include <com/sun/star/graphic/XGraphic.hpp>
#include <com/sun/star/beans/PropertyAttribute.hpp>
#include <com/sun/star/style/VerticalAlignment.hpp>
#include <o3tl/any.hxx>
#include <o3tl/enumarray.hxx>
#include <vcl/font.hxx>
#include <editeng/flstitem.hxx>
#include <vcl/metric.hxx>
#include <vcl/graph.hxx>
#include <vcl/GraphicLoader.hxx>
#include <sfx2/docfile.hxx>
#include <svtools/ctrltool.hxx>
#include <vcl/svapp.hxx>
#include <editeng/unofdesc.hxx>
#include <fmtornt.hxx>
#include <SwStyleNameMapper.hxx>
#include <com/sun/star/text/PositionAndSpaceMode.hpp>
#include <com/sun/star/text/LabelFollow.hpp>
#include <numrule.hxx>
#include <comphelper/servicehelper.hxx>
#include <comphelper/sequence.hxx>
#include <cppuhelper/supportsservice.hxx>
#include <comphelper/propertyvalue.hxx>
#include <svl/itemprop.hxx>
#include <svl/listener.hxx>
#include <paratr.hxx>
#include <sal/log.hxx>
#include <numeric>
Include dependency graph for unosett.cxx:

Go to the source code of this file.

Classes

class  SwXNumberingRules::Impl
 

Macros

#define API_COL_LINE_NONE   0
 
#define API_COL_LINE_SOLID   1
 
#define API_COL_LINE_DOTTED   2
 
#define API_COL_LINE_DASHED   3
 
#define WID_PREFIX   0
 
#define WID_SUFFIX   1
 
#define WID_NUMBERING_TYPE   2
 
#define WID_START_AT   3
 
#define WID_FOOTNOTE_COUNTING   4
 
#define WID_PARAGRAPH_STYLE   5
 
#define WID_PAGE_STYLE   6
 
#define WID_CHARACTER_STYLE   7
 
#define WID_POSITION_END_OF_DOC   8
 
#define WID_END_NOTICE   9
 
#define WID_BEGIN_NOTICE   10
 
#define WID_ANCHOR_CHARACTER_STYLE   11
 
#define WID_NUM_ON   0
 
#define WID_SEPARATOR_INTERVAL   1
 
#define WID_NUMBERING_TYPE   2
 
#define WID_NUMBER_POSITION   3
 
#define WID_DISTANCE   4
 
#define WID_INTERVAL   5
 
#define WID_SEPARATOR_TEXT   6
 
#define WID_COUNT_EMPTY_LINES   8
 
#define WID_COUNT_LINES_IN_FRAMES   9
 
#define WID_RESTART_AT_EACH_PAGE   10
 

Functions

static const SfxItemPropertySetGetFootnoteSet ()
 
static const SfxItemPropertySetGetEndnoteSet ()
 
static const SfxItemPropertySetGetNumberingRulesSet ()
 
static const SfxItemPropertySetGetLineNumberingSet ()
 
static SwCharFormatlcl_getCharFormat (SwDoc *pDoc, const uno::Any &aValue)
 
static SwTextFormatColllcl_GetParaStyle (SwDoc *pDoc, const uno::Any &aValue)
 
static SwPageDesclcl_GetPageDesc (SwDoc *pDoc, const uno::Any &aValue)
 
static PropertyValue const * lcl_FindProperty (const char *cName, std::vector< PropertyValue const * > const &rPropertyValues)
 

Variables

const o3tl::enumarray< SvxAdjust, unsigned short > aSvxToUnoAdjust USHRT_MAX
 
const unsigned short aUnoToSvxAdjust []
 
static const char aInvalidStyle [] = "__XXX___invalid"
 
static const char * STR_POOLCOLL_HEADLINE_ARY []
 

Macro Definition Documentation

#define API_COL_LINE_DASHED   3

Definition at line 103 of file unosett.cxx.

Referenced by SwXTextColumns::SwXTextColumns().

#define API_COL_LINE_DOTTED   2

Definition at line 102 of file unosett.cxx.

Referenced by SwXTextColumns::SwXTextColumns().

#define API_COL_LINE_NONE   0

Definition at line 100 of file unosett.cxx.

Referenced by SwXTextColumns::SwXTextColumns().

#define API_COL_LINE_SOLID   1

Definition at line 101 of file unosett.cxx.

Referenced by SwXTextColumns::SwXTextColumns().

#define WID_ANCHOR_CHARACTER_STYLE   11
#define WID_BEGIN_NOTICE   10
#define WID_CHARACTER_STYLE   7
#define WID_COUNT_EMPTY_LINES   8
#define WID_COUNT_LINES_IN_FRAMES   9
#define WID_DISTANCE   4
#define WID_END_NOTICE   9
#define WID_FOOTNOTE_COUNTING   4
#define WID_INTERVAL   5
#define WID_NUM_ON   0
#define WID_NUMBER_POSITION   3
#define WID_NUMBERING_TYPE   2
#define WID_NUMBERING_TYPE   2

Definition at line 176 of file unosett.cxx.

#define WID_PAGE_STYLE   6
#define WID_PARAGRAPH_STYLE   5
#define WID_POSITION_END_OF_DOC   8
#define WID_PREFIX   0
#define WID_RESTART_AT_EACH_PAGE   10
#define WID_SEPARATOR_INTERVAL   1
#define WID_SEPARATOR_TEXT   6
#define WID_START_AT   3
#define WID_SUFFIX   1

Function Documentation

static const SfxItemPropertySet* GetEndnoteSet ( )
static
static const SfxItemPropertySet* GetFootnoteSet ( )
static
static const SfxItemPropertySet* GetLineNumberingSet ( )
static
static const SfxItemPropertySet* GetNumberingRulesSet ( )
static
static PropertyValue const* lcl_FindProperty ( const char *  cName,
std::vector< PropertyValue const * > const &  rPropertyValues 
)
static

Definition at line 1475 of file unosett.cxx.

Referenced by SwXNumberingRules::SetPropertiesToNumFormat().

static SwCharFormat* lcl_getCharFormat ( SwDoc pDoc,
const uno::Any aValue 
)
static
static SwPageDesc* lcl_GetPageDesc ( SwDoc pDoc,
const uno::Any aValue 
)
static
static SwTextFormatColl* lcl_GetParaStyle ( SwDoc pDoc,
const uno::Any aValue 
)
static

Variable Documentation

const char aInvalidStyle[] = "__XXX___invalid"
static
const unsigned short aUnoToSvxAdjust[]
Initial value:
=
{
static_cast<unsigned short>(SvxAdjust::Right),
static_cast<unsigned short>(SvxAdjust::Center),
static_cast<unsigned short>(SvxAdjust::Left),
}
const o3tl::enumarray< SvxAdjust, unsigned short > aSvxToUnoAdjust USHRT_MAX
Definition: unosett.cxx:261

Definition at line 269 of file unosett.cxx.

const char* STR_POOLCOLL_HEADLINE_ARY[]
static
Initial value:
{
STR_POOLCOLL_HEADLINE1,
STR_POOLCOLL_HEADLINE2,
STR_POOLCOLL_HEADLINE3,
STR_POOLCOLL_HEADLINE4,
STR_POOLCOLL_HEADLINE5,
STR_POOLCOLL_HEADLINE6,
STR_POOLCOLL_HEADLINE7,
STR_POOLCOLL_HEADLINE8,
STR_POOLCOLL_HEADLINE9,
STR_POOLCOLL_HEADLINE10
}

Definition at line 1242 of file unosett.cxx.

Referenced by SwXNumberingRules::GetNumberingRuleByIndex().

const o3tl::enumarray< SvxAdjust, unsigned short > aSvxToUnoAdjust USHRT_MAX

Definition at line 261 of file unosett.cxx.

Referenced by SwNumPositionTabPage::ActivatePage(), SwOutlineSettingsTabPage::ActivatePage(), SwXMLTextBlocks::AddName(), SwImpBlocks::AddName(), FndBox_::AreLinesToRestore(), SwXTextField::attach(), SwXDocumentIndexMark::attach(), SwXTextTable::attach(), SwHTMLTableLayout::AutoLayoutPass1(), SwTaggedPDFHelper::BeginBlockStructureElements(), SwTextBlocks::BeginGetDoc(), SwTaggedPDFHelper::BeginInlineStructureElements(), SwOrderIter::Bottom(), SwAutoFormat::BuildEnum(), SwTextFormatter::BuildMultiPortion(), SwDropCapCache::CalcFontSize(), SwAutoFormat::CalcLevel(), SwView::CalcPt(), SwTableBoxFormula::ChangeState(), SwTable::CheckConsistency(), SwImplProtocol::CheckLine(), SwRootFrame::CheckViewLayout(), SwAutoCorrDoc::ChgAutoCorrWord(), ChkChartSel(), SwTextBlocks::ClearDoc(), SwTextFrame::ClearPara(), SwBookmarkControl::Command(), SwTemplateControl::Command(), BigPtrArray::Compress(), SwXMLItemSetStyleContext_Impl::ConnectPageDesc(), SwAbstractDialogFactory_Impl::CreateMultiTOXTabDialog(), SaveTable::CreateNew(), SwFntObj::CreateScrFont(), SwLineInfo::CtorInitLineInfo(), SwInsertDBColAutoPilot::DataToDoc(), SwTextBlocks::Delete(), FndBox_::DelFrames(), SwDoc::DelNumRule(), MSWordExportBase::DuplicateNumRule(), SwDocShell::Edit(), SwHTMLParser::EndMarquee(), SwTextShell::ExecCharAttrArgs(), SwView::ExecDraw(), SwTextShell::ExecInsert(), SwTextShell::ExecSetNumber(), SwReadOnlyPopup::Execute(), SwBaseShell::Execute(), SwSpellPopup::Execute(), SwDocShell::Execute(), SwPagePreview::Execute(), SwXMLTableRow_Impl::Expand(), SwExtUserFieldType::Expand(), SwXMLExport::exportDoc(), SwXMLExport::ExportFormat(), SvXMLExportItemMapper::exportXML(), FillCharStyleListBox(), SwFieldDokInfPage::FillItemSet(), SwFieldDokPage::FillItemSet(), SwParagraphNumTabPage::FillItemSet(), SwTextFlowPage::FillItemSet(), SwStyleNameMapper::FillProgName(), SwFieldDokInfPage::FillSelectionLB(), SwDocStyleSheet::FillStyleSheet(), SwWriteTable::FillTableRowsCols(), SwStyleNameMapper::FillUIName(), SwFieldDokInfPage::FillUserData(), SwFieldDokPage::FillUserData(), SwFieldDBPage::FillUserData(), SwFieldVarPage::FillUserData(), SwFieldRefPage::FillUserData(), SwFieldFuncPage::FillUserData(), SwTableLine::FindNextBox(), SwDoc::FindNumRule(), SwFEShell::FindPageDescByName(), FindPos(), SwTableLine::FindPreviousBox(), SwCellFrame::FindStartEndOfRowSpanCell(), SwTextFrame::FirstLineHeight(), sw::ToxTextGenerator::GenerateText(), SwFEShell::GetAutoSum(), GetAutoSumSel(), SwGlossaries::GetAutoTextEntry(), SwDoc::GetBoxAlign(), SwTableLine::GetBoxPos(), SwAutoTextEventDescriptor::getByName(), SwXMLTableRow_Impl::GetCell(), SwWrtShell::GetCharStyle(), SwFieldMgr::GetCurTypeId(), SwAutoFormat::GetDigitLevel(), GetFieldTypeMId(), SwEscherEx::GetFlyShapeId(), SwFntObj::GetFontAscent(), SwFntObj::GetFontHeight(), SwFntObj::GetFontLeading(), SwFieldMgr::GetFormatCount(), SwFieldMgr::GetFormatStr(), SwFieldMgr::GetGroup(), SwColMgr::GetGutterWidth(), SwFormatCol::GetGutterWidth(), SwDocStyleSheet::GetHelpId(), SwImpBlocks::GetIndex(), SwTextBlocks::GetIndex(), SwTableFormula::GetLnPosInTable(), SwImpBlocks::GetLongIndex(), SwTextBlocks::GetLongIndex(), SwGlossaryHdl::GetMacros(), SwTextNode::GetMinMaxSize(), SwCursorShell::GetNextPrevPageNum(), SwEditShell::GetNodeNumStart(), SwTextFrame::GetPara(), SwWrtShell::GetParaStyle(), SwDocStyleSheet::GetParent(), SwHTMLWriter::GetParentFormat(), SwStyleNameMapper::GetPoolIdFromProgName(), SwStyleNameMapper::GetPoolIdFromUIName(), GetPoolParent(), SwMovedBoxes::GetPos(), SwTableLines::GetPos(), SwFieldMgr::GetPos(), WW8_WrPlcTextBoxes::GetPos(), HTMLTable::GetPrevBoxStartNode(), SwStyleNameMapper::GetProgName(), SwXFieldMaster::getPropertyValue(), SwXLineNumberingProperties::getPropertyValue(), SwFEShell::GetRowSelectionFromTop(), SwTextShell::GetState(), SwFieldMgr::GetSubTypes(), AttributeOutputBase::GetTablePageSize(), GetTableSel(), SwFntObj::GetTextSize(), SwWW8ImplReader::GetTxbxTextSttEndCp(), SwXCell::getType(), SwStyleNameMapper::GetUIName(), SwFntObj::GuessLeading(), SwTextFrame::HasPara(), SwTextFrame::HasPara_(), HTMLTableOptions::HTMLTableOptions(), SwTextNode::Hyphenate(), IMPL_LINK(), IMPL_LINK_NOARG(), SwRootFrame::ImplCalcBrowseWidth(), SvXMLImportItemMapper::importXML(), SwFormatCol::Init(), SwNumPositionTabPage::InitControls(), HTMLTable::InitCtor(), SwView::InsertCaption(), SwXMLTableContext::InsertCell(), HTMLTable::InsertCell(), SwXMLTableContext::InsertColumn(), SwHTMLParser::InsertEmbed(), SwHTMLParser::InsertFloatingFrame(), SwDoc::InsertGlossary(), SwXAutoTextGroup::insertNewByName(), SwXMLTableContext::InsertRow(), SwTable::InsertRow(), SwDoc::InsertSwSection(), SwDoc::InsertTable(), SwLayAction::InternalAction(), SwView::IsDrawMode(), SwAutoFormat::IsEnumericChar(), SwTableBox::IsFormulaOrValueBox(), SwXMLTableContext::IsInsertColPossible(), SwXMLTableContext::IsInsertRowPossible(), SwMultiTOXTabDialog::IsNoNum(), SwXMLTextBlocks::IsOnlyTextBlock(), SwTextBlocks::IsOnlyTextBlock(), ItemSetToPageDesc(), SwEditWin::KeyInput(), lcl_CalcAutoWidth(), lcl_CalcHeightOfFirstContentLine(), lcl_CalcMinColDiff(), lcl_CalculateSplitLineHeights(), lcl_ChgTableSize(), lcl_CpyLines(), lcl_CreateAFormatBoxFormat(), lcl_CreateDfltBoxFormat(), lcl_FindCharFormat(), lcl_FindFrameFormat(), lcl_FindNumRule(), lcl_FindPageDesc(), lcl_FindParaFormat(), lcl_getCharFormat(), lcl_GetPageDesc(), lcl_GetParaStyle(), lcl_GetPropertyMapOfService(), lcl_GetRowNumber(), lcl_Highlight(), lcl_html_OutSectionStartTag(), lcl_InitConditional(), lcl_InsertDrawLabel(), lcl_InsertLabel(), lcl_InsertPosition(), lcl_LineIndex(), lcl_Merge_MoveBox(), lcl_Merge_MoveLine(), lcl_MergeGCLine(), lcl_Save(), lcl_SetTableBoxWidths(), lcl_SetTableBoxWidths2(), lcl_SophisticatedFillLineIndices(), SwView::LeaveDrawCreate(), SwTableAutoFormat::Load(), SwTable::MakeCopy(), FndBox_::MakeFrames(), SwEditShell::MakeGlossary(), FndBox_::MakeNewFrames(), SwDoc::MakeNumRule(), SwDoc::MakePageDesc(), SwUnoCursorHelper::makeRedline(), HTMLTable::MakeTable(), SwViewShell::MakeVisible(), SwWW8ImplReader::MatchSdrBoxIntoFlyBoxItem(), MoveCol(), MoveRow(), SwTable::NewInsertCol(), SwHTMLParser::NewMultiCol(), SwHTMLParser::NewNumBulList(), SwHTMLParser::NewNumBulListItem(), SwTable::NewSetTabCols(), SwTextFormatter::NewTabPortion(), SwOrderIter::Next(), sw::ToxLinkProcessor::ObtainPoolId(), SwTOXEntryTabPage::OnModify(), OutHTML_FrameFormatAsMulticol(), OutHTML_SwFormat(), SwMultiTOXTabDialog::PageCreated(), SwShadowCursor::Paint(), SwPagePreviewWin::Paint(), AttributeOutputBase::ParaNumRule(), RtfAttributeOutput::ParaNumRule_Impl(), DocxAttributeOutput::ParaNumRule_Impl(), ParseCSS1_border_xxx(), ParseCSS1_border_xxx_width(), SwFlowFrame::PasteTree(), SwView::PhyPageDown(), SwView::PhyPageUp(), SwTabPortion::PostFormat(), WW8RStyle::PostStyle(), SwTable::PrepareDelBoxes(), SwMSDffManager::ProcessObj(), SwTextBlocks::PutDoc(), SwTextBlocks::PutText(), SvXMLImportItemMapper::PutXMLValue(), SwWW8ImplReader::Read_F_Tox(), SwWW8ImplReader::Read_LFOPosition(), SwWW8ImplReader::Read_ListLevel(), WW8ListManager::ReadLVL(), SwView::ReadUserData(), SwUndoSort::RedoImpl(), SwWW8ImplReader::RegisterNumFormatOnStyle(), SwRedlineExtraData_FormatColl::Reject(), BigPtrArray::Remove(), SwXAutoTextGroup::removeByName(), SwTextFrame::RemoveFromCache(), SwGlossaryHdl::Rename(), SwTextBlocks::Rename(), SwXAutoTextGroup::renameByName(), SwAutoTextEventDescriptor::replaceByName(), SwFieldDokInfPage::Reset(), SwFieldDokPage::Reset(), SwFieldDBPage::Reset(), SwParagraphNumTabPage::Reset(), SwFieldVarPage::Reset(), SwFieldRefPage::Reset(), SwFieldFuncPage::Reset(), SwNumPositionTabPage::Reset(), SwLayAction::Reset(), SwTextFrame::ResetPreps(), SwSrcEditWindow::Resize(), SaveTable::RestoreAttr(), RestoreContent(), SwEditShell::SaveGlossaryDoc(), SaveTable::SaveTable(), WW8AttributeOutput::SectionPageBorders(), SwAccessibleTable::selectAccessibleChild(), SwTextNode::SetAttrListRestartValue(), SvxCSS1BorderInfo::SetBorderLine(), SwXTextColumns::setColumnCount(), SwXTextColumns::setColumns(), SwTable::SetColWidth(), SwGlossaryHdl::SetCurGroup(), SwHTMLParser::SetFixSize(), SwXCell::setFormula(), SwColMgr::SetGutterWidth(), SwXMLTextBlocks::SetIsTextOnly(), SwDocStyleSheet::SetItemSet(), SwTableAutoFormat::SetName(), SwNumRulesWithName::SetNumFormat(), SwTextFrame::SetPara(), SwShadowCursor::SetPos(), SwXNumberingRules::SetPropertiesToNumFormat(), SwXFieldMaster::setPropertyValue(), SwSetExpFieldType::SetSeqRefNo(), SwLayAction::SetStatBar(), SwWW8ImplReader::SetStylesList(), SwTable::SetTabCols(), FndBox_::SetTableLines(), SwWW8ImplReader::SetTextFormatCollAndListLevel(), SwPagePreviewWin::SetWinSize(), SwTableFormula::SplitMergeBoxNm_(), SwNodes::SplitTable(), QuickHelpData::Start(), SwDocShell::StateStyleSheet(), SwCursorShell::SttCursorMove(), SwWW8ImplReader::StyleUsingLFO(), sw_frmitems_parseXMLBorder(), sw_frmitems_setXMLBorder(), sw_ParagraphDialogResult(), SwAutoFormat::SwAutoFormat(), SwColMgr::SwColMgr(), SwColumnDlg::SwColumnDlg(), SwFntAccess::SwFntAccess(), SwFntObj::SwFntObj(), SwLayHelper::SwLayHelper(), SwLineNumberingDlg::SwLineNumberingDlg(), SwNumFormat::SwNumFormat(), SwPagePreviewWin::SwPagePreviewWin(), SwTOXEntryTabPage::SwTOXEntryTabPage(), SwUndoNumRuleStart::SwUndoNumRuleStart(), SwView::SwView(), SwWriteTable::SwWriteTable(), SwXMLTableRow_Impl::SwXMLTableRow_Impl(), SwXTextColumns::SwXTextColumns(), SwXTextField::SwXTextField(), SwCalc::Term(), SwDoc::TextToTable(), SwWW8ImplReader::TxbxChainContainsRealText(), SwUndoSort::UndoImpl(), SwUndoDelSection::UndoImpl(), SwOutlineSettingsTabPage::Update(), SwTOXBaseSection::UpdateContent(), SwTOXBaseSection::UpdatePageNum_(), SwDoc::UpdateSection(), SwHTMLWrtTable::Write(), SwTOXEntryTabPage::WriteBackLevel(), SwEscherEx::WriteFlyFrame(), SwWW8WrGrf::WritePICBulletFHeader(), SwEscherEx::WriteTextFlyFrame(), WW8ListManager::WW8ListManager(), and SwShadowCursor::~SwShadowCursor().