LibreOffice Module sw (master)  1
Classes | Namespaces | Functions
writerhelper.cxx File Reference
#include <sal/config.h>
#include <sal/log.hxx>
#include <com/sun/star/util/CloseVetoException.hpp>
#include <com/sun/star/util/XCloseable.hpp>
#include <doc.hxx>
#include "writerhelper.hxx"
#include <msfilter.hxx>
#include <com/sun/star/container/XChild.hpp>
#include <algorithm>
#include <svl/itemiter.hxx>
#include <svx/svdobj.hxx>
#include <svx/svdoole2.hxx>
#include <svx/fmglob.hxx>
#include <editeng/formatbreakitem.hxx>
#include <editeng/tstpitem.hxx>
#include <ndtxt.hxx>
#include <ndnotxt.hxx>
#include <fmtcntnt.hxx>
#include <swtable.hxx>
#include <frmfmt.hxx>
#include <flypos.hxx>
#include <fmtanchr.hxx>
#include <ndgrf.hxx>
#include <fmtfsize.hxx>
#include <SwStyleNameMapper.hxx>
#include <docary.hxx>
#include <charfmt.hxx>
#include <fchrfmt.hxx>
#include <redline.hxx>
#include "types.hxx"
#include <unotools/streamwrap.hxx>
#include <svtools/embedhlp.hxx>
#include <numrule.hxx>
#include <vcl/svapp.hxx>
#include <IDocumentDrawModelAccess.hxx>
#include <IDocumentLayoutAccess.hxx>
#include <IDocumentStylePoolAccess.hxx>
#include <IDocumentMarkAccess.hxx>
#include <IMark.hxx>
Include dependency graph for writerhelper.cxx:

Go to the source code of this file.

Classes

class  sw::util::SameOpenRedlineType
 

Namespaces

 ww8
 
 sw
 Dialog to specify the properties of date form field.
 
 sw::hack
 
 sw::util
 

Functions

sal_uInt16 sw::hack::TransformWhichBetweenPools (const SfxItemPool &rDestPool, const SfxItemPool &rSrcPool, sal_uInt16 nWhich)
 Map an ID valid in one SfxItemPool to its equivalent in another. More...
 
sal_uInt16 sw::hack::GetSetWhichFromSwDocWhich (const SfxItemSet &rSet, const SwDoc &rDoc, sal_uInt16 nWhich)
 Map a SwDoc WhichId to the equivalent Id for a given SfxItemSet. More...
 
SwTwips sw::util::MakeSafePositioningValue (SwTwips nIn)
 Clips a value to MAX/MIN 16bit value to make it safe for use as a position value to give to writer. More...
 
void sw::util::GetPoolItems (const SfxItemSet &rSet, ww8::PoolItems &rItems, bool bExportParentItemSet)
 Get the SfxPoolItems of a SfxItemSet. More...
 
const SfxPoolItemsw::util::SearchPoolItems (const ww8::PoolItems &rItems, sal_uInt16 eType)
 
void sw::util::ClearOverridesFromSet (const SwFormatCharFormat &rFormat, SfxItemSet &rSet)
 Remove properties from an SfxItemSet which a SwFormatCharFormat overrides. More...
 
ww8::ParaStyles sw::util::GetParaStyles (const SwDoc &rDoc)
 Get the Paragraph Styles of a SwDoc. More...
 
SwTextFormatCollsw::util::GetParaStyle (SwDoc &rDoc, const OUString &rName)
 Get a Paragraph Style which fits a given name. More...
 
SwCharFormatsw::util::GetCharStyle (SwDoc &rDoc, const OUString &rName)
 Get a Character Style which fits a given name. More...
 
void sw::util::SortByAssignedOutlineStyleListLevel (ww8::ParaStyles &rStyles)
 Sort sequence of Paragraph Styles by assigned outline style list level. More...
 
ww8::Frames sw::util::GetFrames (const SwDoc &rDoc, SwPaM const *pPaM)
 Get the Floating elements in a SwDoc. More...
 
void sw::util::UpdateFramePositions (ww8::Frames &rFrames)
 fix up frame positions, must be called after SetRedlineFlags More...
 
ww8::Frames sw::util::GetFramesInNode (const ww8::Frames &rFrames, const SwNode &rNode)
 Get the Frames anchored to a given node. More...
 
const SwNumFormatsw::util::GetNumFormatFromSwNumRuleLevel (const SwNumRule &rRule, int nLevel)
 Get the Numbering Format for a given level from a numbering rule. More...
 
const SwNumFormatsw::util::GetNumFormatFromTextNode (const SwTextNode &rTextNode)
 Get the Numbering Format used on a paragraph. More...
 
const SwNumRulesw::util::GetNumRuleFromTextNode (const SwTextNode &rTextNode)
 
const SwNumRulesw::util::GetNormalNumRuleFromTextNode (const SwTextNode &rTextNode)
 
SwNoTextNodesw::util::GetNoTextNodeFromSwFrameFormat (const SwFrameFormat &rFormat)
 Get the SwNoTextNode associated with a SwFrameFormat if here is one. More...
 
bool sw::util::HasPageBreak (const SwNode &rNode)
 Does a node have a "page break before" applied. More...
 
tools::Polygon sw::util::PolygonFromPolyPolygon (const tools::PolyPolygon &rPolyPoly)
 Make a best fit Polygon from a PolyPolygon. More...
 
tools::Polygon sw::util::CorrectWordWrapPolygonForExport (const tools::PolyPolygon &rPolyPoly, const SwNoTextNode *pNd)
 Undo all scaling / move tricks of the wrap polygon done during import. More...