diff options
author | Mike Kaganski <mike.kaganski@collabora.com> | 2017-11-29 13:01:05 +0300 |
---|---|---|
committer | Mike Kaganski <mike.kaganski@collabora.com> | 2017-11-29 22:38:03 +0100 |
commit | 42dafb5c7bd218f4d368fbd1113fa4a0fcd7f0cb (patch) | |
tree | 6c436d9c357b2a20968f66c6d01bf037f80f83d8 /sw/source/filter/ww8/sprmids.hxx | |
parent | 3a6840cecaff91e7f90a2bbeee9c927b37608a78 (diff) |
ww8: use sprm names instead of numbers
Added sprms for Word 6 binary format; removed obsolete comments.
Change-Id: Iac88f8df9397f81586e39c1cf152c762be8f9aed
Reviewed-on: https://gerrit.libreoffice.org/45474
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Tested-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'sw/source/filter/ww8/sprmids.hxx')
-rw-r--r-- | sw/source/filter/ww8/sprmids.hxx | 165 |
1 files changed, 165 insertions, 0 deletions
diff --git a/sw/source/filter/ww8/sprmids.hxx b/sw/source/filter/ww8/sprmids.hxx index 6a97a405249f..09cddb24a960 100644 --- a/sw/source/filter/ww8/sprmids.hxx +++ b/sw/source/filter/ww8/sprmids.hxx @@ -73,6 +73,171 @@ const sal_uInt16 LN_TSetShd80 = 0x7627; const sal_uInt16 LN_TSetShdOdd80 = 0x7628; const sal_uInt16 LN_TDiagLine = 0xd62a; +namespace v6 +{ +// Microsoft Word for Windows 6.0 Binary File Format + // Parameter size +const sal_uInt16 sprmPIstd = 2; // short +const sal_uInt16 sprmPIstdPermute = 3; // variable +const sal_uInt16 sprmPIncLv1 = 4; // byte +const sal_uInt16 sprmPJc = 5; // byte +const sal_uInt16 sprmPFSideBySide = 6; // byte +const sal_uInt16 sprmPFKeep = 7; // byte +const sal_uInt16 sprmPFKeepFollow = 8; // byte +const sal_uInt16 sprmPPageBreakBefore = 9; // byte +const sal_uInt16 sprmPBrcl = 10; // byte +const sal_uInt16 sprmPBrcp = 11; // byte +const sal_uInt16 sprmPAnld = 12; // variable +const sal_uInt16 sprmPNLvlAnm = 13; // byte +const sal_uInt16 sprmPFNoLineNumb = 14; // byte +const sal_uInt16 sprmPChgTabsPapx = 15; // variable +const sal_uInt16 sprmPDxaRight = 16; // word +const sal_uInt16 sprmPDxaLeft = 17; // word +const sal_uInt16 sprmPNest = 18; // word +const sal_uInt16 sprmPDxaLeft1 = 19; // word +const sal_uInt16 sprmPDyaLine = 20; // long +const sal_uInt16 sprmPDyaBefore = 21; // word +const sal_uInt16 sprmPDyaAfter = 22; // word +const sal_uInt16 sprmPChgTabs = 23; // variable +const sal_uInt16 sprmPFInTable = 24; // byte +const sal_uInt16 sprmPTtp = 25; // byte +const sal_uInt16 sprmPDxaAbs = 26; // word +const sal_uInt16 sprmPDyaAbs = 27; // word +const sal_uInt16 sprmPDxaWidth = 28; // word +const sal_uInt16 sprmPPc = 29; // byte +const sal_uInt16 sprmPBrcTop10 = 30; // word +const sal_uInt16 sprmPBrcLeft10 = 31; // word +const sal_uInt16 sprmPBrcBottom10 = 32; // word +const sal_uInt16 sprmPBrcRight10 = 33; // word +const sal_uInt16 sprmPBrcBetween10 = 34; // word +const sal_uInt16 sprmPBrcBar10 = 35; // word +const sal_uInt16 sprmPFromText10 = 36; // word +const sal_uInt16 sprmPWr = 37; // byte +const sal_uInt16 sprmPBrcTop = 38; // word +const sal_uInt16 sprmPBrcLeft = 39; // word +const sal_uInt16 sprmPBrcBottom = 40; // word +const sal_uInt16 sprmPBrcRight = 41; // word +const sal_uInt16 sprmPBrcBetween = 42; // word +const sal_uInt16 sprmPBrcBar = 43; // word +const sal_uInt16 sprmPFNoAutoHyph = 44; // byte +const sal_uInt16 sprmPWHeightAbs = 45; // word +const sal_uInt16 sprmPDcs = 46; // short +const sal_uInt16 sprmPShd = 47; // word +const sal_uInt16 sprmPDyaFromText = 48; // word +const sal_uInt16 sprmPDxaFromText = 49; // word +const sal_uInt16 sprmPFLocked = 50; // byte +const sal_uInt16 sprmPFWidowControl = 51; // byte +const sal_uInt16 sprmPRuler = 52; +const sal_uInt16 sprmCFStrikeRM = 65; // bit +const sal_uInt16 sprmCFRMark = 66; // bit +const sal_uInt16 sprmCFFldVanish = 67; // bit +const sal_uInt16 sprmCPicLocation = 68; // variable +const sal_uInt16 sprmCIbstRMark = 69; // short +const sal_uInt16 sprmCDttmRMark = 70; // long +const sal_uInt16 sprmCFData = 71; // bit +const sal_uInt16 sprmCRMReason = 72; // short +const sal_uInt16 sprmCChse = 73; // 3 bytes +const sal_uInt16 sprmCSymbol = 74; // variable +const sal_uInt16 sprmCFOle2 = 75; // bit +const sal_uInt16 sprmCIstd = 80; // short +const sal_uInt16 sprmCIstdPermute = 81; // variable +const sal_uInt16 sprmCDefault = 82; // variable +const sal_uInt16 sprmCPlain = 83; // 0 +const sal_uInt16 sprmCFBold = 85; // byte +const sal_uInt16 sprmCFItalic = 86; // byte +const sal_uInt16 sprmCFStrike = 87; // byte +const sal_uInt16 sprmCFOutline = 88; // byte +const sal_uInt16 sprmCFShadow = 89; // byte +const sal_uInt16 sprmCFSmallCaps = 90; // byte +const sal_uInt16 sprmCFCaps = 91; // byte +const sal_uInt16 sprmCFVanish = 92; // byte +const sal_uInt16 sprmCFtc = 93; // word +const sal_uInt16 sprmCKul = 94; // byte +const sal_uInt16 sprmCSizePos = 95; // 3 bytes +const sal_uInt16 sprmCDxaSpace = 96; // word +const sal_uInt16 sprmCLid = 97; // word +const sal_uInt16 sprmCIco = 98; // byte +const sal_uInt16 sprmCHps = 99; // byte +const sal_uInt16 sprmCHpsInc = 100; // byte +const sal_uInt16 sprmCHpsPos = 101; // byte +const sal_uInt16 sprmCHpsPosAdj = 102; // byte +const sal_uInt16 sprmCMajority = 103; // variable +const sal_uInt16 sprmCIss = 104; // byte +const sal_uInt16 sprmCHpsNew50 = 105; // variable +const sal_uInt16 sprmCHpsInc1 = 106; // variable +const sal_uInt16 sprmCHpsKern = 107; // short +const sal_uInt16 sprmCMajority50 = 108; // variable +const sal_uInt16 sprmCHpsMul = 109; // short +const sal_uInt16 sprmCCondHyhen = 110; // short +const sal_uInt16 sprmCFSpec = 117; // bit +const sal_uInt16 sprmCFObj = 118; // bit +const sal_uInt16 sprmPicBrcl = 119; // byte +const sal_uInt16 sprmPicScale = 120; // length +const sal_uInt16 sprmPicBrcTop = 121; // word +const sal_uInt16 sprmPicBrcLeft = 122; // word +const sal_uInt16 sprmPicBrcBottom = 123; // word +const sal_uInt16 sprmPicBrcRight = 124; // word +const sal_uInt16 sprmSScnsPgn = 131; // byte +const sal_uInt16 sprmSiHeadingPgn = 132; // byte +const sal_uInt16 sprmSOlstAnm = 133; // variable +const sal_uInt16 sprmSDxaColWidth = 136; // 3 bytes +const sal_uInt16 sprmSDxaColSpacing = 137; // 3 bytes +const sal_uInt16 sprmSFEvenlySpaced = 138; // byte +const sal_uInt16 sprmSFProtected = 139; // byte +const sal_uInt16 sprmSDmBinFirst = 140; // word +const sal_uInt16 sprmSDmBinOther = 141; // word +const sal_uInt16 sprmSBkc = 142; // byte +const sal_uInt16 sprmSFTitlePage = 143; // byte +const sal_uInt16 sprmSCcolumns = 144; // word +const sal_uInt16 sprmSDxaColumns = 145; // word +const sal_uInt16 sprmSFAutoPgn = 146; // byte +const sal_uInt16 sprmSNfcPgn = 147; // byte +const sal_uInt16 sprmSDyaPgn = 148; // short +const sal_uInt16 sprmSDxaPgn = 149; // short +const sal_uInt16 sprmSFPgnRestart = 150; // byte +const sal_uInt16 sprmSFEndnote = 151; // byte +const sal_uInt16 sprmSLnc = 152; // byte +const sal_uInt16 sprmSGprfIhdt = 153; // byte +const sal_uInt16 sprmSNLnnMod = 154; // word +const sal_uInt16 sprmSDxaLnn = 155; // word +const sal_uInt16 sprmSDyaHdrTop = 156; // word +const sal_uInt16 sprmSDyaHdrBottom = 157; // word +const sal_uInt16 sprmSLBetween = 158; // byte +const sal_uInt16 sprmSVjc = 159; // byte +const sal_uInt16 sprmSLnnMin = 160; // word +const sal_uInt16 sprmSPgnStart = 161; // word +const sal_uInt16 sprmSBOrientation = 162; // byte +const sal_uInt16 sprmSBCustomize = 163; +const sal_uInt16 sprmSXaPage = 164; // word +const sal_uInt16 sprmSYaPage = 165; // word +const sal_uInt16 sprmSDxaLeft = 166; // word +const sal_uInt16 sprmSDxaRight = 167; // word +const sal_uInt16 sprmSDyaTop = 168; // word +const sal_uInt16 sprmSDyaBottom = 169; // word +const sal_uInt16 sprmSDzaGutter = 170; // word +const sal_uInt16 sprmSDMPaperReq = 171; // word +const sal_uInt16 sprmTJc = 182; // word (low +const sal_uInt16 sprmTDxaLeft = 183; // word +const sal_uInt16 sprmTDxaGapHalf = 184; // word +const sal_uInt16 sprmTFCantSplit = 185; // byte +const sal_uInt16 sprmTTableHeader = 186; // byte +const sal_uInt16 sprmTTableBorders = 187; // 12 bytes +const sal_uInt16 sprmTDefTable10 = 188; // variable +const sal_uInt16 sprmTDyaRowHeight = 189; // word +const sal_uInt16 sprmTDefTable = 190; +const sal_uInt16 sprmTDefTableShd = 191; +const sal_uInt16 sprmTTlp = 192; // 4 bytes +const sal_uInt16 sprmTSetBrc = 193; // 5 bytes +const sal_uInt16 sprmTInsert = 194; // 4 bytes +const sal_uInt16 sprmTDelete = 195; // word +const sal_uInt16 sprmTDxaCol = 196; // 4 bytes +const sal_uInt16 sprmTMerge = 197; // word +const sal_uInt16 sprmTSplit = 198; // word +const sal_uInt16 sprmTSetBrc10 = 199; // 5 bytes +const sal_uInt16 sprmTSetShd = 200; // 4 bytes +const sal_uInt16 sprmMax = 208; +} + // [MS-DOC] - v20170112 Section 2.2.5.1 enum class sgc { |