20#ifndef INCLUDED_SW_SOURCE_FILTER_WW8_SPRMIDS_HXX
21#define INCLUDED_SW_SOURCE_FILTER_WW8_SPRMIDS_HXX
263template <>
constexpr int spraLen<SPRA::operand_toggle_1b_0>() {
return 1; }
264template <>
constexpr int spraLen<SPRA::operand_1b_1>() {
return 1; }
265template <>
constexpr int spraLen<SPRA::operand_2b_2>() {
return 2; }
266template <>
constexpr int spraLen<SPRA::operand_4b_3>() {
return 4; }
267template <>
constexpr int spraLen<SPRA::operand_2b_4>() {
return 2; }
268template <>
constexpr int spraLen<SPRA::operand_2b_5>() {
return 2; }
269template <>
constexpr int spraLen<SPRA::operand_varlen_6>() {
return 0; }
270template <>
constexpr int spraLen<SPRA::operand_3b_7>() {
return 3; }
272template <
int ispmd,
int fSpec, SGC sgc, SPRA spra>
struct sprm
274 static_assert((ispmd & 0x01FF) == ispmd);
275 static_assert((fSpec & 0x0001) == fSpec);
276 static_assert((
static_cast<sal_uInt16
>(sgc) & 0x0007) ==
static_cast<sal_uInt16
>(sgc));
277 static_assert((
static_cast<sal_uInt16
>(spra) & 0x0007) ==
static_cast<sal_uInt16
>(spra));
278 static constexpr sal_uInt16
val = ispmd + (fSpec << 9) + (static_cast<sal_uInt16>(sgc) << 10)
279 + (
static_cast<sal_uInt16
>(spra) << 13);
280 static constexpr int len = spraLen<spra>();
const sal_uInt16 sprmPFWidowControl
const sal_uInt16 sprmPDxaFromText
const sal_uInt16 sprmCHpsPosAdj
const sal_uInt16 sprmCFOutline
const sal_uInt16 sprmCHpsNew50
const sal_uInt16 sprmPDyaLine
const sal_uInt16 sprmPFLocked
const sal_uInt16 sprmTSetBrc10
const sal_uInt16 sprmCFStrike
const sal_uInt16 sprmPBrcLeft10
const sal_uInt16 sprmPChgTabsPapx
const sal_uInt16 sprmPFKeep
const sal_uInt16 sprmPShd
const sal_uInt16 sprmSDyaHdrBottom
const sal_uInt16 sprmCFSmallCaps
const sal_uInt16 sprmCIss
const sal_uInt16 sprmPBrcTop10
const sal_uInt16 sprmPBrcLeft
const sal_uInt16 sprmPChgTabs
const sal_uInt16 sprmSNLnnMod
const sal_uInt16 sprmTSetBrc
const sal_uInt16 sprmPicBrcBottom
const sal_uInt16 sprmTDxaCol
const sal_uInt16 sprmPDyaBefore
const sal_uInt16 sprmSDmBinOther
const sal_uInt16 sprmTDxaLeft
const sal_uInt16 sprmSYaPage
const sal_uInt16 sprmPFromText10
const sal_uInt16 sprmCSizePos
const sal_uInt16 sprmCHps
const sal_uInt16 sprmCIbstRMark
const sal_uInt16 sprmPWHeightAbs
const sal_uInt16 sprmCHpsKern
const sal_uInt16 sprmSDxaColumns
const sal_uInt16 sprmPFNoLineNumb
const sal_uInt16 sprmSDxaLeft
const sal_uInt16 sprmPPageBreakBefore
const sal_uInt16 sprmPicBrcLeft
const sal_uInt16 sprmSLnnMin
const sal_uInt16 sprmSDxaLnn
const sal_uInt16 sprmPTtp
const sal_uInt16 sprmSFPgnRestart
const sal_uInt16 sprmSDxaColWidth
const sal_uInt16 sprmPBrcRight10
const sal_uInt16 sprmSFTitlePage
const sal_uInt16 sprmCFData
const sal_uInt16 sprmSDxaRight
const sal_uInt16 sprmTSetShd
const sal_uInt16 sprmCFRMark
const sal_uInt16 sprmTDyaRowHeight
const sal_uInt16 sprmCFBold
const sal_uInt16 sprmTSplit
const sal_uInt16 sprmPBrcl
const sal_uInt16 sprmSDxaPgn
const sal_uInt16 sprmPDyaAfter
const sal_uInt16 sprmCCondHyhen
const sal_uInt16 sprmCPicLocation
const sal_uInt16 sprmCDttmRMark
const sal_uInt16 sprmPIstdPermute
const sal_uInt16 sprmSNfcPgn
const sal_uInt16 sprmPFInTable
const sal_uInt16 sprmPDxaLeft1
const sal_uInt16 sprmCHpsPos
const sal_uInt16 sprmPicBrcTop
const sal_uInt16 sprmSDMPaperReq
const sal_uInt16 sprmPBrcBetween
const sal_uInt16 sprmPIncLv1
const sal_uInt16 sprmSScnsPgn
const sal_uInt16 sprmPDyaAbs
const sal_uInt16 sprmCFCaps
const sal_uInt16 sprmPBrcBottom10
const sal_uInt16 sprmPFSideBySide
const sal_uInt16 sprmPRuler
const sal_uInt16 sprmSDyaHdrTop
const sal_uInt16 sprmSDzaGutter
const sal_uInt16 sprmPicBrcl
const sal_uInt16 sprmPNLvlAnm
const sal_uInt16 sprmSFAutoPgn
const sal_uInt16 sprmCFFldVanish
const sal_uInt16 sprmTTableHeader
const sal_uInt16 sprmSVjc
const sal_uInt16 sprmPBrcTop
const sal_uInt16 sprmPDcs
const sal_uInt16 sprmCFOle2
const sal_uInt16 sprmSFEvenlySpaced
const sal_uInt16 sprmSiHeadingPgn
const sal_uInt16 sprmCIstdPermute
const sal_uInt16 sprmTTableBorders
const sal_uInt16 sprmCLid
const sal_uInt16 sprmSGprfIhdt
const sal_uInt16 sprmSBCustomize
const sal_uInt16 sprmPBrcRight
const sal_uInt16 sprmPBrcp
const sal_uInt16 sprmPDyaFromText
const sal_uInt16 sprmPBrcBar
const sal_uInt16 sprmCIstd
const sal_uInt16 sprmCPlain
const sal_uInt16 sprmTDelete
const sal_uInt16 sprmSOlstAnm
const sal_uInt16 sprmCMajority50
const sal_uInt16 sprmCHpsInc1
const sal_uInt16 sprmPFNoAutoHyph
const sal_uInt16 sprmPDxaAbs
const sal_uInt16 sprmPDxaWidth
const sal_uInt16 sprmTFCantSplit
const sal_uInt16 sprmCFSpec
const sal_uInt16 sprmPBrcBetween10
const sal_uInt16 sprmCHpsInc
const sal_uInt16 sprmPIstd
const sal_uInt16 sprmSBkc
const sal_uInt16 sprmTDxaGapHalf
const sal_uInt16 sprmCChse
const sal_uInt16 sprmPBrcBottom
const sal_uInt16 sprmCMajority
const sal_uInt16 sprmSPgnStart
const sal_uInt16 sprmPAnld
const sal_uInt16 sprmCRMReason
const sal_uInt16 sprmCDxaSpace
const sal_uInt16 sprmTInsert
const sal_uInt16 sprmTTlp
const sal_uInt16 sprmSDyaPgn
const sal_uInt16 sprmSDxaColSpacing
const sal_uInt16 sprmPNest
const sal_uInt16 sprmTMerge
const sal_uInt16 sprmSDyaBottom
const sal_uInt16 sprmPFKeepFollow
const sal_uInt16 sprmSFEndnote
const sal_uInt16 sprmCHpsMul
const sal_uInt16 sprmCIco
const sal_uInt16 sprmCDefault
const sal_uInt16 sprmTDefTable
const sal_uInt16 sprmCFVanish
const sal_uInt16 sprmCKul
const sal_uInt16 sprmPBrcBar10
const sal_uInt16 sprmCSymbol
const sal_uInt16 sprmTDefTableShd
const sal_uInt16 sprmPDxaRight
const sal_uInt16 sprmSBOrientation
const sal_uInt16 sprmSCcolumns
const sal_uInt16 sprmSLBetween
const sal_uInt16 sprmSXaPage
const sal_uInt16 sprmCFShadow
const sal_uInt16 sprmSFProtected
const sal_uInt16 sprmPDxaLeft
const sal_uInt16 sprmCFObj
const sal_uInt16 sprmSLnc
const sal_uInt16 sprmTDefTable10
const sal_uInt16 sprmPicScale
const sal_uInt16 sprmSDyaTop
const sal_uInt16 sprmCFItalic
const sal_uInt16 sprmPicBrcRight
const sal_uInt16 sprmSDmBinFirst
const sal_uInt16 sprmCFtc
const sal_uInt16 sprmCFStrikeRM
const sal_uInt16 LN_CMajority50
const sal_uInt16 LN_PBrcl
const sal_uInt16 LN_CFDiacColor
const sal_uInt16 LN_CHpsPosAdj
const sal_uInt16 LN_CDefault
const sal_uInt16 LN_PDxaFromText10
const sal_uInt16 LN_TDefTable
const sal_uInt16 LN_PBrcp
const sal_uInt16 LN_PBrcBetween10
const sal_uInt16 LN_THTMLProps
const sal_uInt16 LN_SOlstAnm
const sal_uInt16 LN_CSizePos
const sal_uInt16 LN_PBrcTop10
const sal_uInt16 LN_TSetShdOdd80
const sal_uInt16 LN_CObjLocation
const sal_uInt16 LN_TDefTable10
const sal_uInt16 LN_CHpsNew50
const sal_uInt16 LN_CFFtcAsciSymb
const sal_uInt16 LN_PBrcBar10
const sal_uInt16 LN_CHpsInc1
const sal_uInt16 LN_PCrLf
const sal_uInt16 LN_PBrcBottom10
const sal_uInt16 LN_PBrcRight10
const sal_uInt16 LN_PFSideBySide
const sal_uInt16 LN_SDyaPgn
const sal_uInt16 LN_TSetShd80
const sal_uInt16 LN_PicBrcl
const sal_uInt16 LN_PicScale
const sal_uInt16 LN_SGprfIhdt
const sal_uInt16 LN_PHugePapx
const sal_uInt16 LN_PRuler
const sal_uInt16 LN_PISnapBaseLine
const sal_uInt16 LN_SBCustomize
const sal_uInt16 LN_CHpsMul
const sal_uInt16 LN_CIdCharType
const sal_uInt16 LN_CHpsInc
const sal_uInt16 LN_PAnld
const sal_uInt16 LN_PPropRMark
const sal_uInt16 LN_TDiagLine
const sal_uInt16 LN_CFtcDefault
const sal_uInt16 LN_SFFacingCol
const sal_uInt16 LN_PBrcLeft10
const sal_uInt16 LN_SDxaPgn
const sal_uInt16 LN_SFAutoPgn
const sal_uInt16 LN_TSetBrc10
const sal_uInt16 LN_SPropRMark
static constexpr bool varlen
static constexpr sal_uInt16 val