LibreOffice Module sw (master)  1
Classes | Namespaces | Macros | Enumerations | 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/sizeitem.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 <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 <strings.hrc>
#include <svx/strings.hrc>
#include <svx/dialmgr.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

 o3tl
 

Macros

#define SwFPos   SvxSwFramePosString
 
#define MAX_PERCENT_WIDTH   254
 
#define MAX_PERCENT_HEIGHT   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)
 

Enumerations

enum  LB
 

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::ToggleButton &, void)
 
 IMPL_LINK (SwFramePage, RelSizeClickHdl, weld::ToggleButton &, rBtn, void)
 
 IMPL_LINK_NOARG (SwFramePage, RangeModifyClickHdl, weld::ToggleButton &, void)
 
 IMPL_LINK_NOARG (SwFramePage, AnchorTypeHdl, weld::ToggleButton &, 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::ToggleButton &, void)
 
 IMPL_LINK_NOARG (SwFramePage, AutoHeightClickHdl, weld::ToggleButton &, void)
 
 IMPL_LINK (SwFramePage, ModifyHdl, weld::MetricSpinButton &, rEdit, void)
 
 IMPL_LINK_NOARG (SwGrfExtPage, BrowseHdl, weld::Button &, void)
 
 IMPL_LINK_NOARG (SwGrfExtPage, MirrorHdl, weld::ToggleButton &, void)
 
 IMPL_LINK_NOARG (SwFrameURLPage, InsertFileHdl, weld::Button &, void)
 
 IMPL_LINK_NOARG (SwFrameAddPage, EditModifyHdl, weld::Entry &, 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

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

Definition at line 308 of file frmpage.cxx.

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

Definition at line 264 of file frmpage.cxx.

#define MAX_PERCENT_HEIGHT   254

Definition at line 91 of file frmpage.cxx.

Referenced by SwFramePage::FillItemSet(), and IMPL_LINK().

#define MAX_PERCENT_WIDTH   254

Definition at line 90 of file frmpage.cxx.

Referenced by SwFramePage::FillItemSet(), and IMPL_LINK().

#define SwFPos   SvxSwFramePosString

Definition at line 78 of file frmpage.cxx.

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

Definition at line 235 of file frmpage.cxx.

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

Definition at line 201 of file frmpage.cxx.

Enumeration Type Documentation

enum LB
strong

Definition at line 95 of file frmpage.cxx.

Function Documentation

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

Definition at line 1722 of file frmpage.cxx.

References MAX_PERCENT_HEIGHT, and MAX_PERCENT_WIDTH.

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

Definition at line 1999 of file frmpage.cxx.

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

Definition at line 2048 of file frmpage.cxx.

References rEdit.

IMPL_LINK ( SwFrameAddPage  ,
ChainModifyHdl  ,
weld::ComboBox ,
rBox  ,
void   
)
IMPL_LINK_NOARG ( SwFramePage  ,
MirrorHdl  ,
weld::ToggleButton ,
void   
)

Definition at line 1716 of file frmpage.cxx.

References LONG_MAX.

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

Definition at line 1748 of file frmpage.cxx.

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

Definition at line 1873 of file frmpage.cxx.

References LONG_MAX.

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

Definition at line 2028 of file frmpage.cxx.

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

Definition at line 2036 of file frmpage.cxx.

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

Definition at line 2042 of file frmpage.cxx.

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

Definition at line 2557 of file frmpage.cxx.

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

Definition at line 2764 of file frmpage.cxx.

References ERRCODE_NONE, and GetFrameWeld().

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

Definition at line 3097 of file frmpage.cxx.

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

Definition at line 478 of file frmpage.cxx.

References nIndex, and SAL_N_ELEMENTS.

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

static size_t lcl_GetFrameMapCount ( const FrameMap pMap)
static
static LB lcl_GetLBRelationsForRelations ( const sal_Int16  _nRel)
static

Definition at line 571 of file frmpage.cxx.

References i, and SwPostItHelper::NONE.

Referenced by SwFramePage::FillPosLB().

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

Definition at line 588 of file frmpage.cxx.

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

Referenced by SwFramePage::FillRelLB().

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

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 177 of file frmpage.cxx.

Referenced by SwFramePage::setOptimalRelWidth().

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 316 of file frmpage.cxx.

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

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:308

Definition at line 310 of file frmpage.cxx.

Referenced by SwFramePage::setOptimalFrameWidth().

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:296

Definition at line 300 of file frmpage.cxx.

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

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 228 of file frmpage.cxx.

Referenced by SwFramePage::setOptimalFrameWidth().

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:217

Definition at line 220 of file frmpage.cxx.

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

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

Definition at line 196 of file frmpage.cxx.

Referenced by SwFramePage::setOptimalFrameWidth().

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:185

Definition at line 188 of file frmpage.cxx.

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

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:264

Definition at line 272 of file frmpage.cxx.

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

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}
}
#define HTML_HORI_PARA_REL
Definition: frmpage.cxx:264

Definition at line 266 of file frmpage.cxx.

Referenced by SwFramePage::setOptimalFrameWidth().

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:252

Definition at line 256 of file frmpage.cxx.

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

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 151 of file frmpage.cxx.

Referenced by SwFramePage::setOptimalRelWidth().

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 375 of file frmpage.cxx.

Referenced by SwFramePage::setOptimalFrameWidth().

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 358 of file frmpage.cxx.

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

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 351 of file frmpage.cxx.

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

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

Definition at line 346 of file frmpage.cxx.

Referenced by SwFramePage::setOptimalFrameWidth().

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:324

Definition at line 327 of file frmpage.cxx.

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

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 245 of file frmpage.cxx.

Referenced by SwFramePage::setOptimalFrameWidth().

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:235

Definition at line 237 of file frmpage.cxx.

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

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

Definition at line 211 of file frmpage.cxx.

Referenced by SwFramePage::setOptimalFrameWidth().

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:201

Definition at line 203 of file frmpage.cxx.

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

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

Definition at line 290 of file frmpage.cxx.

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

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:279

Definition at line 282 of file frmpage.cxx.

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

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

Definition at line 296 of file frmpage.cxx.

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

Definition at line 217 of file frmpage.cxx.

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

Definition at line 185 of file frmpage.cxx.

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

Definition at line 252 of file frmpage.cxx.

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

Definition at line 324 of file frmpage.cxx.

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

Definition at line 279 of file frmpage.cxx.