LibreOffice Module sw (master) 1
Classes | Namespaces | Macros | Functions | Variables
frmpage.cxx File Reference
#include <com/sun/star/embed/Aspects.hpp>
#include <com/sun/star/embed/EmbedMisc.hpp>
#include <com/sun/star/embed/XEmbeddedObject.hpp>
#include <cmdid.h>
#include <hintids.hxx>
#include <bitmaps.hlst>
#include <o3tl/safeint.hxx>
#include <vcl/mnemonic.hxx>
#include <svl/stritem.hxx>
#include <sfx2/htmlmode.hxx>
#include <editeng/opaqitem.hxx>
#include <editeng/protitem.hxx>
#include <editeng/prntitem.hxx>
#include <editeng/brushitem.hxx>
#include <editeng/ulspitem.hxx>
#include <editeng/frmdiritem.hxx>
#include <svx/swframeposstrings.hxx>
#include <svx/swframevalidation.hxx>
#include <svx/sdangitm.hxx>
#include <comphelper/classids.hxx>
#include <tools/globname.hxx>
#include <tools/urlobj.hxx>
#include <fmturl.hxx>
#include <fmteiro.hxx>
#include <fmtcnct.hxx>
#include <fmtsrnd.hxx>
#include <view.hxx>
#include <wrtsh.hxx>
#include <swmodule.hxx>
#include <uitool.hxx>
#include <docsh.hxx>
#include <viewopt.hxx>
#include <frmdlg.hxx>
#include <frmmgr.hxx>
#include <frmpage.hxx>
#include <colmgr.hxx>
#include <grfatr.hxx>
#include <fmtfollowtextflow.hxx>
#include <svx/sdtaitm.hxx>
#include <sal/macros.h>
#include <osl/diagnose.h>
#include <strings.hrc>
#include <formatflysplit.hxx>
#include <fmtcntnt.hxx>
#include <svx/strings.hrc>
#include <svx/dialmgr.hxx>
#include <svx/graphichelper.hxx>
#include <sfx2/filedlghelper.hxx>
#include <com/sun/star/ui/dialogs/TemplateDescription.hpp>
#include <com/sun/star/ui/dialogs/XFilePicker3.hpp>
#include <com/sun/star/ui/dialogs/XFilePickerControlAccess.hpp>
#include <com/sun/star/ui/dialogs/ExtendedFilePickerElementIds.hpp>
#include <vcl/graphicfilter.hxx>
#include <svtools/embedhlp.hxx>
#include <comphelper/lok.hxx>
#include <memory>
Include dependency graph for frmpage.cxx:

Go to the source code of this file.

Classes

struct  o3tl::typed_flags< LB >
 
struct  FrameMap
 

Namespaces

namespace  o3tl
 

Macros

#define SwFPos   SvxSwFramePosString
 
#define MAX_PERCENT_WIDTH   SAL_CONST_INT64(254)
 
#define MAX_PERCENT_HEIGHT   SAL_CONST_INT64(254)
 
#define VERT_PAGE_REL   (LB::RelPageFrame|LB::RelPagePrintArea)
 
#define VERT_FRAME_REL   (LB::FlyVertFrame|LB::FlyVertPrintArea)
 
#define HTML_HORI_PARA_REL   (LB::Frame|LB::PrintArea)
 
#define HTML_HORI_CHAR_REL   (LB::Frame|LB::PrintArea|LB::RelChar)
 

Functions

static size_t lcl_GetFrameMapCount (const FrameMap *pMap)
 
static void lcl_InsertVectors (weld::ComboBox &rBox, const std::vector< OUString > &rPrev, const std::vector< OUString > &rThis, const std::vector< OUString > &rNext, const std::vector< OUString > &rRemain)
 
static SvxSwFramePosString::StringId lcl_ChangeResIdToVerticalOrRTL (SvxSwFramePosString::StringId eStringId, bool bVertical, bool bVerticalL2R, bool bRTL)
 
static LB lcl_GetLBRelationsForRelations (const sal_Int16 _nRel)
 
static LB lcl_GetLBRelationsForStrID (const FrameMap *_pMap, const SvxSwFramePosString::StringId _eStrId, const bool _bUseMirrorStr)
 
 IMPL_LINK_NOARG (SwFramePage, MirrorHdl, weld::Toggleable &, void)
 
 IMPL_LINK (SwFramePage, RelSizeClickHdl, weld::Toggleable &, rBtn, void)
 
 IMPL_LINK_NOARG (SwFramePage, RangeModifyClickHdl, weld::Toggleable &, void)
 
 IMPL_LINK_NOARG (SwFramePage, AnchorTypeHdl, weld::Toggleable &, void)
 
 IMPL_LINK (SwFramePage, PosHdl, weld::ComboBox &, rLB, void)
 
 IMPL_LINK (SwFramePage, RelHdl, weld::ComboBox &, rLB, void)
 
 IMPL_LINK_NOARG (SwFramePage, RealSizeHdl, weld::Button &, void)
 
 IMPL_LINK_NOARG (SwFramePage, AutoWidthClickHdl, weld::Toggleable &, void)
 
 IMPL_LINK_NOARG (SwFramePage, AutoHeightClickHdl, weld::Toggleable &, void)
 
 IMPL_LINK (SwFramePage, ModifyHdl, weld::MetricSpinButton &, rEdit, void)
 
 IMPL_LINK_NOARG (SwGrfExtPage, BrowseHdl, weld::Button &, void)
 
 IMPL_LINK_NOARG (SwGrfExtPage, MirrorHdl, weld::Toggleable &, void)
 
 IMPL_LINK_NOARG (SwFrameURLPage, InsertFileHdl, weld::Button &, void)
 
 IMPL_LINK_NOARG (SwFrameAddPage, EditModifyHdl, weld::Entry &, void)
 
 IMPL_LINK_NOARG (SwFrameAddPage, DecorativeHdl, weld::Toggleable &, void)
 
 IMPL_LINK (SwFrameAddPage, ChainModifyHdl, weld::ComboBox &, rBox, void)
 

Variables

RelationMap const aRelationMap []
 
RelationMap const aAsCharRelationMap []
 
constexpr auto HORI_PAGE_REL
 
FrameMap const aHPageMap []
 
FrameMap const aHPageHtmlMap []
 
FrameMap const aVPageMap []
 
FrameMap const aVPageHtmlMap []
 
constexpr auto HORI_FRAME_REL
 
FrameMap const aHFrameMap []
 
FrameMap const aHFlyHtmlMap []
 
FrameMap const aVFrameMap []
 
FrameMap const aVFlyHtmlMap []
 
constexpr auto HORI_PARA_REL
 
FrameMap const aHParaMap []
 
FrameMap const aHParaHtmlMap []
 
FrameMap const aHParaHtmlAbsMap []
 
constexpr auto VERT_PARA_REL
 
FrameMap const aVParaMap []
 
FrameMap const aVParaHtmlMap []
 
constexpr auto HORI_CHAR_REL
 
FrameMap const aHCharMap []
 
FrameMap const aHCharHtmlMap []
 
FrameMap const aHCharHtmlAbsMap []
 
constexpr auto VERT_CHAR_REL
 
FrameMap const aVCharMap []
 
FrameMap const aVCharHtmlMap []
 
FrameMap const aVCharHtmlAbsMap []
 
FrameMap const aVAsCharMap []
 
FrameMap const aVAsCharHtmlMap []
 

Macro Definition Documentation

◆ HTML_HORI_CHAR_REL

#define HTML_HORI_CHAR_REL   (LB::Frame|LB::PrintArea|LB::RelChar)

Definition at line 312 of file frmpage.cxx.

◆ HTML_HORI_PARA_REL

#define HTML_HORI_PARA_REL   (LB::Frame|LB::PrintArea)

Definition at line 268 of file frmpage.cxx.

◆ MAX_PERCENT_HEIGHT

#define MAX_PERCENT_HEIGHT   SAL_CONST_INT64(254)

Definition at line 95 of file frmpage.cxx.

◆ MAX_PERCENT_WIDTH

#define MAX_PERCENT_WIDTH   SAL_CONST_INT64(254)

Definition at line 94 of file frmpage.cxx.

◆ SwFPos

#define SwFPos   SvxSwFramePosString

Definition at line 82 of file frmpage.cxx.

◆ VERT_FRAME_REL

#define VERT_FRAME_REL   (LB::FlyVertFrame|LB::FlyVertPrintArea)

Definition at line 239 of file frmpage.cxx.

◆ VERT_PAGE_REL

#define VERT_PAGE_REL   (LB::RelPageFrame|LB::RelPagePrintArea)

Definition at line 205 of file frmpage.cxx.

Function Documentation

◆ IMPL_LINK() [1/5]

IMPL_LINK ( SwFrameAddPage  ,
ChainModifyHdl  ,
weld::ComboBox ,
rBox  ,
void   
)

◆ IMPL_LINK() [2/5]

IMPL_LINK ( SwFramePage  ,
ModifyHdl  ,
weld::MetricSpinButton ,
rEdit  ,
void   
)

Definition at line 2117 of file frmpage.cxx.

◆ IMPL_LINK() [3/5]

IMPL_LINK ( SwFramePage  ,
PosHdl  ,
weld::ComboBox ,
rLB  ,
void   
)

◆ IMPL_LINK() [4/5]

IMPL_LINK ( SwFramePage  ,
RelHdl  ,
weld::ComboBox ,
rLB  ,
void   
)

Definition at line 2068 of file frmpage.cxx.

◆ IMPL_LINK() [5/5]

IMPL_LINK ( SwFramePage  ,
RelSizeClickHdl  ,
weld::Toggleable ,
rBtn  ,
void   
)

Definition at line 1787 of file frmpage.cxx.

References MAX_PERCENT_HEIGHT, and MAX_PERCENT_WIDTH.

◆ IMPL_LINK_NOARG() [1/11]

IMPL_LINK_NOARG ( SwFrameAddPage  ,
DecorativeHdl  ,
weld::Toggleable ,
void   
)

Definition at line 3186 of file frmpage.cxx.

◆ IMPL_LINK_NOARG() [2/11]

IMPL_LINK_NOARG ( SwFrameAddPage  ,
EditModifyHdl  ,
weld::Entry ,
void   
)

Definition at line 3179 of file frmpage.cxx.

◆ IMPL_LINK_NOARG() [3/11]

IMPL_LINK_NOARG ( SwFramePage  ,
AnchorTypeHdl  ,
weld::Toggleable ,
void   
)

Definition at line 1941 of file frmpage.cxx.

References LONG_MAX.

◆ IMPL_LINK_NOARG() [4/11]

IMPL_LINK_NOARG ( SwFramePage  ,
AutoHeightClickHdl  ,
weld::Toggleable ,
void   
)

Definition at line 2111 of file frmpage.cxx.

◆ IMPL_LINK_NOARG() [5/11]

IMPL_LINK_NOARG ( SwFramePage  ,
AutoWidthClickHdl  ,
weld::Toggleable ,
void   
)

Definition at line 2105 of file frmpage.cxx.

◆ IMPL_LINK_NOARG() [6/11]

IMPL_LINK_NOARG ( SwFramePage  ,
MirrorHdl  ,
weld::Toggleable ,
void   
)

Definition at line 1781 of file frmpage.cxx.

References LONG_MAX.

◆ IMPL_LINK_NOARG() [7/11]

IMPL_LINK_NOARG ( SwFramePage  ,
RangeModifyClickHdl  ,
weld::Toggleable ,
void   
)

Definition at line 1813 of file frmpage.cxx.

◆ IMPL_LINK_NOARG() [8/11]

IMPL_LINK_NOARG ( SwFramePage  ,
RealSizeHdl  ,
weld::Button ,
void   
)

Definition at line 2097 of file frmpage.cxx.

◆ IMPL_LINK_NOARG() [9/11]

IMPL_LINK_NOARG ( SwFrameURLPage  ,
InsertFileHdl  ,
weld::Button ,
void   
)

Definition at line 2833 of file frmpage.cxx.

References ERRCODE_NONE, and GetFrameWeld().

◆ IMPL_LINK_NOARG() [10/11]

IMPL_LINK_NOARG ( SwGrfExtPage  ,
BrowseHdl  ,
weld::Button ,
void   
)

◆ IMPL_LINK_NOARG() [11/11]

IMPL_LINK_NOARG ( SwGrfExtPage  ,
MirrorHdl  ,
weld::Toggleable ,
void   
)

Definition at line 2627 of file frmpage.cxx.

◆ lcl_ChangeResIdToVerticalOrRTL()

static SvxSwFramePosString::StringId lcl_ChangeResIdToVerticalOrRTL ( SvxSwFramePosString::StringId  eStringId,
bool  bVertical,
bool  bVerticalL2R,
bool  bRTL 
)
static

Definition at line 480 of file frmpage.cxx.

References nIndex, and SAL_N_ELEMENTS.

Referenced by SwFramePage::FillPosLB(), and SwFramePage::FillRelLB().

◆ lcl_GetFrameMapCount()

static size_t lcl_GetFrameMapCount ( const FrameMap pMap)
static

◆ lcl_GetLBRelationsForRelations()

static LB lcl_GetLBRelationsForRelations ( const sal_Int16  _nRel)
static

Definition at line 573 of file frmpage.cxx.

References aRelationMap, i, and SwPostItHelper::NONE.

Referenced by SwFramePage::FillPosLB().

◆ lcl_GetLBRelationsForStrID()

static LB lcl_GetLBRelationsForStrID ( const FrameMap _pMap,
const SvxSwFramePosString::StringId  _eStrId,
const bool  _bUseMirrorStr 
)
static

Definition at line 590 of file frmpage.cxx.

References lcl_GetFrameMapCount(), FrameMap::nLBRelations, and SwPostItHelper::NONE.

Referenced by SwFramePage::FillRelLB().

◆ lcl_InsertVectors()

static void lcl_InsertVectors ( weld::ComboBox rBox,
const std::vector< OUString > &  rPrev,
const std::vector< OUString > &  rThis,
const std::vector< OUString > &  rNext,
const std::vector< OUString > &  rRemain 
)
static

Variable Documentation

◆ aAsCharRelationMap

RelationMap const aAsCharRelationMap[]
Initial value:
=
{
{SwFPos::REL_BASE, SwFPos::REL_BASE, LB::RelBase, text::RelOrientation::FRAME},
{SwFPos::REL_CHAR, SwFPos::REL_CHAR, LB::RelChar, text::RelOrientation::FRAME},
{SwFPos::REL_ROW, SwFPos::REL_ROW, LB::RelRow, text::RelOrientation::FRAME}
}

Definition at line 181 of file frmpage.cxx.

Referenced by SwFramePage::FillRelLB(), and SwFramePage::setOptimalRelWidth().

◆ aHCharHtmlAbsMap

FrameMap const aHCharHtmlAbsMap[]
Initial value:
=
{
{SwFPos::LEFT, SwFPos::MIR_LEFT, text::HoriOrientation::LEFT, LB::PrintArea|LB::RelChar},
{SwFPos::RIGHT, SwFPos::MIR_RIGHT, text::HoriOrientation::RIGHT, LB::PrintArea},
{SwFPos::FROMLEFT, SwFPos::MIR_FROMLEFT, text::HoriOrientation::NONE, LB::RelPageFrame}
}

Definition at line 320 of file frmpage.cxx.

Referenced by SwFramePage::InitPos(), lcl_GetFrameMapCount(), and SwFramePage::setOptimalFrameWidth().

◆ aHCharHtmlMap

FrameMap const aHCharHtmlMap[]
Initial value:
=
{
{SwFPos::LEFT, SwFPos::LEFT, text::HoriOrientation::LEFT, HTML_HORI_CHAR_REL},
{SwFPos::RIGHT, SwFPos::RIGHT, text::HoriOrientation::RIGHT, HTML_HORI_CHAR_REL}
}
#define HTML_HORI_CHAR_REL
Definition: frmpage.cxx:312

Definition at line 314 of file frmpage.cxx.

Referenced by lcl_GetFrameMapCount(), and SwFramePage::setOptimalFrameWidth().

◆ aHCharMap

FrameMap const aHCharMap[]
Initial value:
=
{
{SwFPos::LEFT, SwFPos::MIR_LEFT, text::HoriOrientation::LEFT, HORI_CHAR_REL},
{SwFPos::RIGHT, SwFPos::MIR_RIGHT, text::HoriOrientation::RIGHT, HORI_CHAR_REL},
{SwFPos::CENTER_HORI, SwFPos::CENTER_HORI, text::HoriOrientation::CENTER, HORI_CHAR_REL},
{SwFPos::FROMLEFT, SwFPos::MIR_FROMLEFT, text::HoriOrientation::NONE, HORI_CHAR_REL}
}
constexpr auto HORI_CHAR_REL
Definition: frmpage.cxx:300

Definition at line 304 of file frmpage.cxx.

Referenced by SwFramePage::InitPos(), lcl_GetFrameMapCount(), and SwFramePage::setOptimalFrameWidth().

◆ aHFlyHtmlMap

FrameMap const aHFlyHtmlMap[]
Initial value:
=
{
{SwFPos::LEFT, SwFPos::MIR_LEFT, text::HoriOrientation::LEFT, LB::FlyRelPageFrame},
{SwFPos::FROMLEFT, SwFPos::MIR_FROMLEFT, text::HoriOrientation::NONE, LB::FlyRelPageFrame}
}

Definition at line 232 of file frmpage.cxx.

Referenced by SwFramePage::InitPos(), lcl_GetFrameMapCount(), and SwFramePage::setOptimalFrameWidth().

◆ aHFrameMap

FrameMap const aHFrameMap[]
Initial value:
=
{
{SwFPos::LEFT, SwFPos::MIR_LEFT, text::HoriOrientation::LEFT, HORI_FRAME_REL},
{SwFPos::RIGHT, SwFPos::MIR_RIGHT, text::HoriOrientation::RIGHT, HORI_FRAME_REL},
{SwFPos::CENTER_HORI, SwFPos::CENTER_HORI, text::HoriOrientation::CENTER, HORI_FRAME_REL},
{SwFPos::FROMLEFT, SwFPos::MIR_FROMLEFT, text::HoriOrientation::NONE, HORI_FRAME_REL}
}
constexpr auto HORI_FRAME_REL
Definition: frmpage.cxx:221

Definition at line 224 of file frmpage.cxx.

Referenced by SwFramePage::InitPos(), lcl_GetFrameMapCount(), and SwFramePage::setOptimalFrameWidth().

◆ aHPageHtmlMap

FrameMap const aHPageHtmlMap[]
Initial value:
=
{
{SwFPos::FROMLEFT, SwFPos::MIR_FROMLEFT, text::HoriOrientation::NONE, LB::RelPageFrame}
}

Definition at line 200 of file frmpage.cxx.

Referenced by SwFramePage::InitPos(), lcl_GetFrameMapCount(), and SwFramePage::setOptimalFrameWidth().

◆ aHPageMap

FrameMap const aHPageMap[]
Initial value:
=
{
{SwFPos::LEFT, SwFPos::MIR_LEFT, text::HoriOrientation::LEFT, HORI_PAGE_REL},
{SwFPos::RIGHT, SwFPos::MIR_RIGHT, text::HoriOrientation::RIGHT, HORI_PAGE_REL},
{SwFPos::CENTER_HORI, SwFPos::CENTER_HORI, text::HoriOrientation::CENTER, HORI_PAGE_REL},
{SwFPos::FROMLEFT, SwFPos::MIR_FROMLEFT, text::HoriOrientation::NONE, HORI_PAGE_REL}
}
constexpr auto HORI_PAGE_REL
Definition: frmpage.cxx:189

Definition at line 192 of file frmpage.cxx.

Referenced by SwFramePage::InitPos(), lcl_GetFrameMapCount(), and SwFramePage::setOptimalFrameWidth().

◆ aHParaHtmlAbsMap

FrameMap const aHParaHtmlAbsMap[]
Initial value:
=
{
{SwFPos::LEFT, SwFPos::MIR_LEFT, text::HoriOrientation::LEFT, HTML_HORI_PARA_REL},
{SwFPos::RIGHT, SwFPos::MIR_RIGHT, text::HoriOrientation::RIGHT, HTML_HORI_PARA_REL}
}
#define HTML_HORI_PARA_REL
Definition: frmpage.cxx:268

Definition at line 276 of file frmpage.cxx.

Referenced by SwFramePage::InitPos(), lcl_GetFrameMapCount(), and SwFramePage::setOptimalFrameWidth().

◆ aHParaHtmlMap

FrameMap const aHParaHtmlMap[]
Initial value:
=
{
{SwFPos::LEFT, SwFPos::LEFT, text::HoriOrientation::LEFT, HTML_HORI_PARA_REL},
{SwFPos::RIGHT, SwFPos::RIGHT, text::HoriOrientation::RIGHT, HTML_HORI_PARA_REL}
}

Definition at line 270 of file frmpage.cxx.

Referenced by lcl_GetFrameMapCount(), and SwFramePage::setOptimalFrameWidth().

◆ aHParaMap

FrameMap const aHParaMap[]
Initial value:
=
{
{SwFPos::LEFT, SwFPos::MIR_LEFT, text::HoriOrientation::LEFT, HORI_PARA_REL},
{SwFPos::RIGHT, SwFPos::MIR_RIGHT, text::HoriOrientation::RIGHT, HORI_PARA_REL},
{SwFPos::CENTER_HORI, SwFPos::CENTER_HORI, text::HoriOrientation::CENTER, HORI_PARA_REL},
{SwFPos::FROMLEFT, SwFPos::MIR_FROMLEFT, text::HoriOrientation::NONE, HORI_PARA_REL}
}
constexpr auto HORI_PARA_REL
Definition: frmpage.cxx:256

Definition at line 260 of file frmpage.cxx.

Referenced by SwFramePage::InitPos(), lcl_GetFrameMapCount(), and SwFramePage::setOptimalFrameWidth().

◆ aRelationMap

RelationMap const aRelationMap[]
Initial value:
=
{
{SwFPos::FRAME, SwFPos::FRAME, LB::Frame, text::RelOrientation::FRAME},
{SwFPos::PRTAREA, SwFPos::PRTAREA, LB::PrintArea, text::RelOrientation::PRINT_AREA},
{SwFPos::REL_PG_LEFT, SwFPos::MIR_REL_PG_LEFT, LB::RelPageLeft, text::RelOrientation::PAGE_LEFT},
{SwFPos::REL_PG_RIGHT, SwFPos::MIR_REL_PG_RIGHT, LB::RelPageRight, text::RelOrientation::PAGE_RIGHT},
{SwFPos::REL_FRM_LEFT, SwFPos::MIR_REL_FRM_LEFT, LB::RelFrameLeft, text::RelOrientation::FRAME_LEFT},
{SwFPos::REL_FRM_RIGHT, SwFPos::MIR_REL_FRM_RIGHT, LB::RelFrameRight, text::RelOrientation::FRAME_RIGHT},
{SwFPos::REL_PG_FRAME, SwFPos::REL_PG_FRAME, LB::RelPageFrame, text::RelOrientation::PAGE_FRAME},
{SwFPos::REL_PG_PRTAREA, SwFPos::REL_PG_PRTAREA, LB::RelPagePrintArea, text::RelOrientation::PAGE_PRINT_AREA},
{SwFPos::REL_CHAR, SwFPos::REL_CHAR, LB::RelChar, text::RelOrientation::CHAR},
{SwFPos::FLY_REL_PG_LEFT, SwFPos::FLY_MIR_REL_PG_LEFT, LB::FlyRelPageLeft, text::RelOrientation::PAGE_LEFT},
{SwFPos::FLY_REL_PG_RIGHT, SwFPos::FLY_MIR_REL_PG_RIGHT, LB::FlyRelPageRight, text::RelOrientation::PAGE_RIGHT},
{SwFPos::FLY_REL_PG_FRAME, SwFPos::FLY_REL_PG_FRAME, LB::FlyRelPageFrame, text::RelOrientation::PAGE_FRAME},
{SwFPos::FLY_REL_PG_PRTAREA, SwFPos::FLY_REL_PG_PRTAREA, LB::FlyRelPagePrintArea, text::RelOrientation::PAGE_PRINT_AREA},
{SwFPos::REL_BORDER, SwFPos::REL_BORDER, LB::VertFrame, text::RelOrientation::FRAME},
{SwFPos::REL_PRTAREA, SwFPos::REL_PRTAREA, LB::VertPrintArea, text::RelOrientation::PRINT_AREA},
{SwFPos::FLY_REL_PG_FRAME, SwFPos::FLY_REL_PG_FRAME, LB::FlyVertFrame, text::RelOrientation::FRAME},
{SwFPos::FLY_REL_PG_PRTAREA, SwFPos::FLY_REL_PG_PRTAREA, LB::FlyVertPrintArea, text::RelOrientation::PRINT_AREA},
{SwFPos::REL_LINE, SwFPos::REL_LINE, LB::VertLine, text::RelOrientation::TEXT_LINE}
}

Definition at line 155 of file frmpage.cxx.

Referenced by SwFramePage::FillRelLB(), lcl_GetLBRelationsForRelations(), and SwFramePage::setOptimalRelWidth().

◆ aVAsCharHtmlMap

FrameMap const aVAsCharHtmlMap[]
Initial value:
=
{
{SwFPos::TOP, SwFPos::TOP, text::VertOrientation::TOP, LB::RelBase},
{SwFPos::CENTER_VERT, SwFPos::CENTER_VERT, text::VertOrientation::CENTER, LB::RelBase},
{SwFPos::TOP, SwFPos::TOP, text::VertOrientation::CHAR_TOP, LB::RelChar},
{SwFPos::TOP, SwFPos::TOP, text::VertOrientation::LINE_TOP, LB::RelRow},
{SwFPos::BOTTOM, SwFPos::BOTTOM, text::VertOrientation::LINE_BOTTOM, LB::RelRow},
{SwFPos::CENTER_VERT, SwFPos::CENTER_VERT, text::VertOrientation::LINE_CENTER, LB::RelRow}
}

Definition at line 379 of file frmpage.cxx.

Referenced by SwFramePage::FillRelLB(), SwFramePage::GetAlignment(), SwFramePage::GetMapPos(), SwFramePage::InitPos(), lcl_GetFrameMapCount(), and SwFramePage::setOptimalFrameWidth().

◆ aVAsCharMap

FrameMap const aVAsCharMap[]
Initial value:
=
{
{SwFPos::TOP, SwFPos::TOP, text::VertOrientation::TOP, LB::RelBase},
{SwFPos::BOTTOM, SwFPos::BOTTOM, text::VertOrientation::BOTTOM, LB::RelBase},
{SwFPos::CENTER_VERT, SwFPos::CENTER_VERT, text::VertOrientation::CENTER, LB::RelBase},
{SwFPos::TOP, SwFPos::TOP, text::VertOrientation::CHAR_TOP, LB::RelChar},
{SwFPos::BOTTOM, SwFPos::BOTTOM, text::VertOrientation::CHAR_BOTTOM, LB::RelChar},
{SwFPos::CENTER_VERT, SwFPos::CENTER_VERT, text::VertOrientation::CHAR_CENTER, LB::RelChar},
{SwFPos::TOP, SwFPos::TOP, text::VertOrientation::LINE_TOP, LB::RelRow},
{SwFPos::BOTTOM, SwFPos::BOTTOM, text::VertOrientation::LINE_BOTTOM, LB::RelRow},
{SwFPos::CENTER_VERT, SwFPos::CENTER_VERT, text::VertOrientation::LINE_CENTER, LB::RelRow},
{SwFPos::FROMBOTTOM, SwFPos::FROMBOTTOM, text::VertOrientation::NONE, LB::RelBase}
}

Definition at line 362 of file frmpage.cxx.

Referenced by SwFramePage::FillRelLB(), SwFramePage::GetAlignment(), SwFramePage::GetMapPos(), SwFramePage::InitPos(), lcl_GetFrameMapCount(), and SwFramePage::setOptimalFrameWidth().

◆ aVCharHtmlAbsMap

FrameMap const aVCharHtmlAbsMap[]
Initial value:
=
{
{SwFPos::TOP, SwFPos::TOP, text::VertOrientation::TOP, LB::RelChar},
{SwFPos::BELOW, SwFPos::BELOW, text::VertOrientation::CHAR_BOTTOM, LB::RelChar}
}

Definition at line 355 of file frmpage.cxx.

Referenced by SwFramePage::InitPos(), lcl_GetFrameMapCount(), and SwFramePage::setOptimalFrameWidth().

◆ aVCharHtmlMap

FrameMap const aVCharHtmlMap[]
Initial value:
=
{
{SwFPos::BELOW, SwFPos::BELOW, text::VertOrientation::CHAR_BOTTOM, LB::RelChar}
}

Definition at line 350 of file frmpage.cxx.

Referenced by lcl_GetFrameMapCount(), and SwFramePage::setOptimalFrameWidth().

◆ aVCharMap

FrameMap const aVCharMap[]
Initial value:
=
{
{SwFPos::TOP, SwFPos::TOP, text::VertOrientation::TOP, VERT_CHAR_REL|LB::RelChar},
{SwFPos::BOTTOM, SwFPos::BOTTOM, text::VertOrientation::BOTTOM, VERT_CHAR_REL|LB::RelChar},
{SwFPos::BELOW, SwFPos::BELOW, text::VertOrientation::CHAR_BOTTOM, LB::RelChar},
{SwFPos::CENTER_VERT, SwFPos::CENTER_VERT, text::VertOrientation::CENTER, VERT_CHAR_REL|LB::RelChar},
{SwFPos::FROMTOP, SwFPos::FROMTOP, text::VertOrientation::NONE, VERT_CHAR_REL},
{SwFPos::FROMBOTTOM, SwFPos::FROMBOTTOM, text::VertOrientation::NONE, LB::RelChar|LB::VertLine},
{SwFPos::TOP, SwFPos::TOP, text::VertOrientation::LINE_TOP, LB::VertLine},
{SwFPos::BOTTOM, SwFPos::BOTTOM, text::VertOrientation::LINE_BOTTOM, LB::VertLine},
{SwFPos::CENTER_VERT, SwFPos::CENTER_VERT, text::VertOrientation::LINE_CENTER, LB::VertLine}
}
constexpr auto VERT_CHAR_REL
Definition: frmpage.cxx:328

Definition at line 331 of file frmpage.cxx.

Referenced by SwFramePage::FillPosLB(), SwFramePage::FillRelLB(), SwFramePage::GetAlignment(), SwFramePage::InitPos(), lcl_GetFrameMapCount(), and SwFramePage::setOptimalFrameWidth().

◆ aVFlyHtmlMap

FrameMap const aVFlyHtmlMap[]
Initial value:
=
{
{SwFPos::TOP, SwFPos::TOP, text::VertOrientation::TOP, LB::FlyVertFrame},
{SwFPos::FROMTOP, SwFPos::FROMTOP, text::VertOrientation::NONE, LB::FlyVertFrame}
}

Definition at line 249 of file frmpage.cxx.

Referenced by SwFramePage::InitPos(), lcl_GetFrameMapCount(), and SwFramePage::setOptimalFrameWidth().

◆ aVFrameMap

FrameMap const aVFrameMap[]
Initial value:
=
{
{SwFPos::TOP, SwFPos::TOP, text::VertOrientation::TOP, VERT_FRAME_REL},
{SwFPos::BOTTOM, SwFPos::BOTTOM, text::VertOrientation::BOTTOM, VERT_FRAME_REL},
{SwFPos::CENTER_VERT, SwFPos::CENTER_VERT, text::VertOrientation::CENTER, VERT_FRAME_REL},
{SwFPos::FROMTOP, SwFPos::FROMTOP, text::VertOrientation::NONE, VERT_FRAME_REL}
}
#define VERT_FRAME_REL
Definition: frmpage.cxx:239

Definition at line 241 of file frmpage.cxx.

Referenced by SwFramePage::InitPos(), lcl_GetFrameMapCount(), and SwFramePage::setOptimalFrameWidth().

◆ aVPageHtmlMap

FrameMap const aVPageHtmlMap[]
Initial value:
=
{
{SwFPos::FROMTOP, SwFPos::FROMTOP, text::VertOrientation::NONE, LB::RelPageFrame}
}

Definition at line 215 of file frmpage.cxx.

Referenced by SwFramePage::InitPos(), lcl_GetFrameMapCount(), and SwFramePage::setOptimalFrameWidth().

◆ aVPageMap

FrameMap const aVPageMap[]
Initial value:
=
{
{SwFPos::TOP, SwFPos::TOP, text::VertOrientation::TOP, VERT_PAGE_REL},
{SwFPos::BOTTOM, SwFPos::BOTTOM, text::VertOrientation::BOTTOM, VERT_PAGE_REL},
{SwFPos::CENTER_VERT, SwFPos::CENTER_VERT, text::VertOrientation::CENTER, VERT_PAGE_REL},
{SwFPos::FROMTOP, SwFPos::FROMTOP, text::VertOrientation::NONE, VERT_PAGE_REL}
}
#define VERT_PAGE_REL
Definition: frmpage.cxx:205

Definition at line 207 of file frmpage.cxx.

Referenced by SwFramePage::InitPos(), lcl_GetFrameMapCount(), and SwFramePage::setOptimalFrameWidth().

◆ aVParaHtmlMap

FrameMap const aVParaHtmlMap[]
Initial value:
=
{
{SwFPos::TOP, SwFPos::TOP, text::VertOrientation::TOP, LB::VertPrintArea}
}

Definition at line 294 of file frmpage.cxx.

Referenced by SwFramePage::InitPos(), lcl_GetFrameMapCount(), and SwFramePage::setOptimalFrameWidth().

◆ aVParaMap

FrameMap const aVParaMap[]
Initial value:
=
{
{SwFPos::TOP, SwFPos::TOP, text::VertOrientation::TOP, VERT_PARA_REL},
{SwFPos::BOTTOM, SwFPos::BOTTOM, text::VertOrientation::BOTTOM, VERT_PARA_REL},
{SwFPos::CENTER_VERT, SwFPos::CENTER_VERT, text::VertOrientation::CENTER, VERT_PARA_REL},
{SwFPos::FROMTOP, SwFPos::FROMTOP, text::VertOrientation::NONE, VERT_PARA_REL}
}
constexpr auto VERT_PARA_REL
Definition: frmpage.cxx:283

Definition at line 286 of file frmpage.cxx.

Referenced by SwFramePage::InitPos(), lcl_GetFrameMapCount(), and SwFramePage::setOptimalFrameWidth().

◆ HORI_CHAR_REL

constexpr auto HORI_CHAR_REL
constexpr
Initial value:
= LB::Frame|LB::PrintArea | LB::RelPageLeft | LB::RelPageRight |
LB::RelPageFrame | LB::RelPagePrintArea | LB::RelFrameLeft |
LB::RelFrameRight | LB::RelChar

Definition at line 300 of file frmpage.cxx.

◆ HORI_FRAME_REL

constexpr auto HORI_FRAME_REL
constexpr
Initial value:
= LB::FlyRelPageFrame | LB::FlyRelPagePrintArea |
LB::FlyRelPageLeft | LB::FlyRelPageRight

Definition at line 221 of file frmpage.cxx.

◆ HORI_PAGE_REL

constexpr auto HORI_PAGE_REL
constexpr
Initial value:
= LB::RelPageFrame | LB::RelPagePrintArea | LB::RelPageLeft |
LB::RelPageRight

Definition at line 189 of file frmpage.cxx.

◆ HORI_PARA_REL

constexpr auto HORI_PARA_REL
constexpr
Initial value:
= LB::Frame | LB::PrintArea | LB::RelPageLeft | LB::RelPageRight |
LB::RelPageFrame | LB::RelPagePrintArea | LB::RelFrameLeft |
LB::RelFrameRight

Definition at line 256 of file frmpage.cxx.

◆ VERT_CHAR_REL

constexpr auto VERT_CHAR_REL
constexpr
Initial value:
= LB::VertFrame | LB::VertPrintArea |
LB::RelPageFrame | LB::RelPagePrintArea

Definition at line 328 of file frmpage.cxx.

◆ VERT_PARA_REL

constexpr auto VERT_PARA_REL
constexpr
Initial value:
= LB::VertFrame | LB::VertPrintArea |
LB::RelPageFrame | LB::RelPagePrintArea

Definition at line 283 of file frmpage.cxx.