LibreOffice Module sw (master) 1
|
#include <sal/config.h>
#include <officecfg/Office/Common.hxx>
#include <comphelper/string.hxx>
#include <AnnotationWin.hxx>
#include <o3tl/any.hxx>
#include <utility>
#include <vcl/virdev.hxx>
#include <vcl/sysdata.hxx>
#include <vcl/svapp.hxx>
#include <vcl/print.hxx>
#include <sfx2/bindings.hxx>
#include <sfx2/viewfrm.hxx>
#include <sfx2/lokhelper.hxx>
#include <sfx2/LokControlHandler.hxx>
#include <sfx2/docfile.hxx>
#include <sfx2/printer.hxx>
#include <toolkit/helper/vclunohelper.hxx>
#include <toolkit/awt/vclxdevice.hxx>
#include <LibreOfficeKit/LibreOfficeKitEnums.h>
#include <sfx2/lokcomponenthelpers.hxx>
#include <sfx2/ipclient.hxx>
#include <editeng/svxacorr.hxx>
#include <editeng/acorrcfg.hxx>
#include <cmdid.h>
#include <swtypes.hxx>
#include <wdocsh.hxx>
#include <wrtsh.hxx>
#include <pview.hxx>
#include <viewsh.hxx>
#include <pvprtdat.hxx>
#include <printdata.hxx>
#include <pagefrm.hxx>
#include <rootfrm.hxx>
#include <svl/stritem.hxx>
#include <unotxdoc.hxx>
#include <svl/numformat.hxx>
#include <svl/numuno.hxx>
#include <fldbas.hxx>
#include <unomap.hxx>
#include <unotextbodyhf.hxx>
#include <unotextrange.hxx>
#include <unotextcursor.hxx>
#include <unosett.hxx>
#include <unocoll.hxx>
#include <unoredlines.hxx>
#include <unosrch.hxx>
#include <sfx2/request.hxx>
#include <sfx2/objsh.hxx>
#include <unoprnms.hxx>
#include <unostyle.hxx>
#include <unodraw.hxx>
#include <svl/eitem.hxx>
#include <unotools/configmgr.hxx>
#include <unotools/datetime.hxx>
#include <unocrsr.hxx>
#include <unofieldcoll.hxx>
#include <unoidxcoll.hxx>
#include <unocrsrhelper.hxx>
#include <globdoc.hxx>
#include <viewopt.hxx>
#include <unochart.hxx>
#include <charatr.hxx>
#include <svx/xmleohlp.hxx>
#include <com/sun/star/lang/ServiceNotRegisteredException.hpp>
#include <com/sun/star/lang/DisposedException.hpp>
#include <com/sun/star/lang/IndexOutOfBoundsException.hpp>
#include <com/sun/star/lang/NoSupportException.hpp>
#include <com/sun/star/beans/PropertyAttribute.hpp>
#include <com/sun/star/beans/XFastPropertySet.hpp>
#include <com/sun/star/beans/XPropertyAccess.hpp>
#include <com/sun/star/document/RedlineDisplayType.hpp>
#include <com/sun/star/document/XDocumentEventBroadcaster.hpp>
#include <com/sun/star/frame/XController.hpp>
#include <com/sun/star/frame/XFrame.hpp>
#include <com/sun/star/script/XInvocation.hpp>
#include <com/sun/star/view/XSelectionSupplier.hpp>
#include <sfx2/linkmgr.hxx>
#include <svx/unofill.hxx>
#include <swmodule.hxx>
#include <docstat.hxx>
#include <modcfg.hxx>
#include <ndtxt.hxx>
#include <strings.hrc>
#include <bitmaps.hlst>
#include "unodefaults.hxx"
#include "SwXDocumentSettings.hxx"
#include <doc.hxx>
#include <IDocumentSettingAccess.hxx>
#include <IDocumentDeviceAccess.hxx>
#include <IDocumentDrawModelAccess.hxx>
#include <IDocumentChartDataProviderAccess.hxx>
#include <IDocumentLinksAdministration.hxx>
#include <IDocumentRedlineAccess.hxx>
#include <IDocumentFieldsAccess.hxx>
#include <IDocumentStatistics.hxx>
#include <IDocumentStylePoolAccess.hxx>
#include <IDocumentState.hxx>
#include <drawdoc.hxx>
#include <SwStyleNameMapper.hxx>
#include <osl/file.hxx>
#include <comphelper/lok.hxx>
#include <comphelper/propertyvalue.hxx>
#include <comphelper/storagehelper.hxx>
#include <cppuhelper/supportsservice.hxx>
#include <sfx2/dispatch.hxx>
#include <swruler.hxx>
#include <docufld.hxx>
#include <EnhancedPDFExportHelper.hxx>
#include <numrule.hxx>
#include <editeng/langitem.hxx>
#include <docary.hxx>
#include <i18nlangtag/languagetag.hxx>
#include <i18nutil/searchopt.hxx>
#include <charfmt.hxx>
#include <fmtcol.hxx>
#include <istyleaccess.hxx>
#include <swatrset.hxx>
#include <view.hxx>
#include <viscrs.hxx>
#include <srcview.hxx>
#include <edtwin.hxx>
#include <swdtflvr.hxx>
#include <PostItMgr.hxx>
#include <svtools/langtab.hxx>
#include <map>
#include <set>
#include <vector>
#include <editeng/eeitem.hxx>
#include <editeng/editeng.hxx>
#include <editeng/editview.hxx>
#include <svx/svdoutl.hxx>
#include <svx/svdview.hxx>
#include <comphelper/interfacecontainer4.hxx>
#include <comphelper/servicehelper.hxx>
#include <memory>
#include <redline.hxx>
#include <DocumentRedlineManager.hxx>
#include <xmloff/odffields.hxx>
#include <tools/json_writer.hxx>
#include <tools/UnitConversion.hxx>
#include <svx/svdpage.hxx>
#include <o3tl/string_view.hxx>
#include <comphelper/sequenceashashmap.hxx>
#include <IDocumentOutlineNodes.hxx>
#include <SearchResultLocator.hxx>
#include <textcontentcontrol.hxx>
#include <unocontentcontrol.hxx>
Go to the source code of this file.
Classes | |
class | SwXTextDocument::Impl |
Functions | |
static std::unique_ptr< SwPrintUIOptions > | lcl_GetPrintUIOptions (SwDocShell *pDocShell, const SfxViewShell *pView) |
static SwTextFormatColl * | lcl_GetParaStyle (const OUString &rCollName, SwDoc &rDoc) |
static void | lcl_DisposeView (SfxViewFrame *pToClose, SwDocShell const *pDocShell) |
static sal_uInt32 | lcl_Any_To_ULONG (const Any &rValue, bool &bException) |
static OUString | lcl_CreateOutlineString (const size_t nIndex, const SwDoc *pDoc) |
static VclPtr< OutputDevice > | lcl_GetOutputDevice (const SwPrintUIOptions &rPrintUIOptions) |
static bool | lcl_SeqHasProperty (const uno::Sequence< beans::PropertyValue > &rOptions, const char *pPropName) |
static bool | lcl_GetBoolProperty (const uno::Sequence< beans::PropertyValue > &rOptions, const char *pPropName) |
static void | lcl_SavePrintUIOptionsToDocumentPrintData (SwDoc &rDoc, const SwPrintUIOptions &rPrintUIOptions, bool bIsPDFEXport) |
static Any | lcl_GetDisplayBitmap (std::u16string_view sLinkSuffix) |
|
static |
Definition at line 966 of file unotxdoc.cxx.
References eType.
Referenced by SwXTextDocument::setPagePrintSettings().
|
static |
Definition at line 985 of file unotxdoc.cxx.
References SwNumRule::Get(), SwTextNode::GetActualListLevel(), SwDoc::GetDocShell(), SwDoc::getIDocumentOutlineNodes(), SwViewShell::GetLayout(), SwDoc::GetNodes(), SwTextNode::GetNumberVector(), SwTextNode::GetNumRule(), SwNodes::GetOutLineNds(), SwDoc::GetOutlineNumRule(), IDocumentOutlineNodes::getOutlineText(), SvxNumberFormat::GetStart(), SwDocShell::GetWrtShell(), and nIndex.
Referenced by SwXLinkNameAccessWrapper::getByName(), SwXLinkNameAccessWrapper::getElementNames(), and SwXLinkNameAccessWrapper::hasByName().
|
static |
Definition at line 251 of file unotxdoc.cxx.
References SfxViewFrame::DoClose(), SfxViewFrame::GetFirst(), and SfxViewFrame::GetNext().
Referenced by SwXTextDocument::close(), and SwXTextDocument::render().
|
static |
Definition at line 2326 of file unotxdoc.cxx.
Referenced by SwXTextDocument::getRendererCount(), and SwXTextDocument::render().
|
static |
Definition at line 4433 of file unotxdoc.cxx.
References Any, VCLUnoHelper::CreateBitmap(), and u.
Referenced by SwXLinkNameAccessWrapper::getPropertyValue().
|
static |
Definition at line 2301 of file unotxdoc.cxx.
References VCLXDevice::GetOutputDevice(), vcl::PrinterOptionsHelper::getValue(), and pOut.
Referenced by SwXTextDocument::getRenderer(), SwXTextDocument::getRendererCount(), and SwXTextDocument::render().
|
static |
Definition at line 238 of file unotxdoc.cxx.
References SwDoc::FindTextFormatCollByName(), SwDoc::getIDocumentStylePoolAccess(), SwStyleNameMapper::GetPoolIdFromUIName(), IDocumentStylePoolAccess::GetTextCollFromPool(), nId, and TxtColl.
Referenced by SwXTextDocument::FindAny(), and SwXTextDocument::replaceAll().
|
static |
Definition at line 186 of file unotxdoc.cxx.
References SwCursorShell::GetCursor(), SwDocShell::GetDoc(), SwFrameAreaDefinition::getFrameArea(), SwDoc::getIDocumentDeviceAccess(), SwDoc::getIDocumentFieldsAccess(), SwViewShell::GetLayout(), SwFrame::GetNext(), SwPaM::GetPageNum(), IDocumentDeviceAccess::getPrintData(), SwPagePreview::GetSelectedPage(), SwPagePreview::GetViewShell(), SwDocShell::GetWrtShell(), SwView::HasSelection(), SwRect::Height(), SwPrintData::IsPrintEmptyPages(), SwLayoutFrame::Lower(), and sw_GetPostIts().
Referenced by SwXTextDocument::getRenderer(), SwXTextDocument::getRendererCount(), and SwXTextDocument::render().
|
static |
Definition at line 2434 of file unotxdoc.cxx.
References SwDoc::getIDocumentDeviceAccess(), IDocumentDeviceAccess::getPrintData(), SwPrintUIOptions::GetPrintPostItsType(), SwPrintUIOptions::IsPaperFromSetup(), SwPrintUIOptions::IsPrintDrawings(), SwPrintUIOptions::IsPrintEmptyPages(), SwPrintUIOptions::IsPrintFormControls(), SwPrintUIOptions::IsPrintGraphics(), SwPrintUIOptions::IsPrintHiddenText(), SwPrintUIOptions::IsPrintLeftPages(), SwPrintUIOptions::IsPrintPageBackground(), SwPrintUIOptions::IsPrintProspect(), SwPrintUIOptions::IsPrintProspectRTL(), SwPrintUIOptions::IsPrintRightPages(), SwPrintUIOptions::IsPrintTextPlaceholders(), SwPrintUIOptions::IsPrintWithBlackTextColor(), SwPrintData::SetPaperFromSetup(), SwPrintData::SetPrintBlackFont(), SwPrintData::SetPrintControl(), IDocumentDeviceAccess::setPrintData(), SwPrintData::SetPrintDraw(), SwPrintData::SetPrintEmptyPages(), SwPrintData::SetPrintGraphic(), SwPrintData::SetPrintHiddenText(), SwPrintData::SetPrintLeftPage(), SwPrintData::SetPrintPageBackground(), SwPrintData::SetPrintPostIts(), SwPrintData::SetPrintProspect(), SwPrintData::SetPrintProspect_RTL(), SwPrintData::SetPrintReverse(), SwPrintData::SetPrintRightPage(), SwPrintData::SetPrintTable(), and SwPrintData::SetPrintTextPlaceholder().
Referenced by SwXTextDocument::getRendererCount().
|
static |
Definition at line 2317 of file unotxdoc.cxx.
Referenced by SwXTextDocument::getRenderer(), SwXTextDocument::getRendererCount(), and SwXTextDocument::render().