LibreOffice Module sw (master) 1
|
@HTML More...
Classes | |
class | SortedArray |
simple template that manages a static array More... | |
Typedefs | |
typedef std::vector< sal_uInt8 > | bytes |
Functions | |
sti | GetCanonicalStiFromStc (sal_uInt8 stc) noexcept |
Find the WinWord sti index of an old <= Word2 stc (style code) More... | |
const char * | GetEnglishNameFromSti (sti eSti) noexcept |
Find the WinWord english name from a sti index. More... | |
bool | StandardStiIsCharStyle (sti eSti) noexcept |
Determine if the WinWord sti is standard Character Style. More... | |
const char * | GetEnglishFieldName (eField eIndex) noexcept |
Find the English Field Name from a winword index. More... | |
template<typename Ret , typename Param > | |
Ret | checking_cast (Param in, Ret) |
template<typename Ret > | |
Ret | checking_cast (Ret in, Ret) |
template<typename Ret , typename Param > | |
Ret | needed_cast (Param in) |
bool | IsSevenMinus (WordVersion eVer) |
bool | IsEightPlus (WordVersion eVer) |
@HTML
enum ww::sti : sal_uInt16 |
Definition at line 28 of file wwstyles.hxx.
enum ww::WordVersion |
Ret ww::checking_cast | ( | Param | in, |
Ret | |||
) |
Ret ww::checking_cast | ( | Ret | in, |
Ret | |||
) |
Definition at line 32 of file needed_cast.hxx.
References in.
Find the WinWord sti index of an old <= Word2 stc (style code)
When importing a Word 2 document we would like to treat styles as similar to how word 8 does as possible, to this end word will treat some styles with special codes as inbuilt styles, and some as user defined styles.
stc | the Style code to test to see what winword sti word would give such a code |
Definition at line 157 of file styles.cxx.
References stiAtnRef, stiAtnText, stiFooter, stiFootnoteRef, stiFootnoteText, stiHeader, stiIndex1, stiIndex2, stiIndex3, stiIndex4, stiIndex5, stiIndex6, stiIndex7, stiIndexHeading, stiLev1, stiLev2, stiLev3, stiLev4, stiLev5, stiLev6, stiLev7, stiLev8, stiLev9, stiLnn, stiNil, stiNormal, stiNormIndent, stiToc1, stiToc2, stiToc3, stiToc4, stiToc5, stiToc6, stiToc7, stiToc8, and stiUser.
Referenced by WW8RStyle::ImportOldFormatStyles().
|
noexcept |
Find the English Field Name from a winword index.
See OpenOffice.org issue 12831 (https://bz.apache.org/ooo/show_bug.cgi?id=12831) and MS Knowledge Base article 268717 (http://support.microsoft.com/default.aspx?scid=kb;en-us;268717) for details of why to use english field names and not localized ones since Word 2000.
nIndex | the index to search for |
Definition at line 26 of file fields.cxx.
References aFieldNames, eNONE, nIndex, and SAL_N_ELEMENTS.
Referenced by FieldString().
|
noexcept |
Find the WinWord english name from a sti index.
Map the word style index to its english name
sti | the Style index |
Definition at line 133 of file styles.cxx.
References stiMax.
Referenced by MSWordStyles::BuildWwNames(), and WW8RStyle::ImportOldFormatStyles().
|
inline |
Definition at line 33 of file types.hxx.
References eWW8.
Referenced by wwSprmParser::GetSprmInfo(), WW8PLCFx_Cp_FKP::GetSprms(), WW8Fib::WW8Fib(), and WW8PLCFx_Fc_FKP::WW8Fkp::WW8Fkp().
|
inline |
Definition at line 32 of file types.hxx.
References eWW7.
Referenced by wwSprmParser::GetSprmId(), WW8PLCFx_PCDAttrs::GetSprms(), wwSprmParser::MinSprmLen(), WW8Fib::WW8Fib(), WW8PLCFx_Cp_FKP::WW8PLCFx_Cp_FKP(), WW8ScannerBase::WW8ScannerBase(), WW8TabDesc::WW8TabDesc(), and wwSprmParser::wwSprmParser().
Ret ww::needed_cast | ( | Param | in | ) |
Definition at line 43 of file needed_cast.hxx.
References checking_cast(), and in.
|
noexcept |
Determine if the WinWord sti is standard Character Style.
sti | the Style index |
Definition at line 141 of file styles.cxx.
References stiAtnRef, stiEdnRef, stiFootnoteRef, stiLnn, stiNormalChar, and stiPgn.
Referenced by WW8RStyle::ImportOldFormatStyles().
const int ww::nWrap100Percent = 21600 |
For custom wrapping.
When you edit the wrap points of a contour in word, word uses a relative scale of 0 to 21600 where 21600 is apparently 100% of the graphic width
Definition at line 40 of file types.hxx.
Referenced by sw::util::CorrectWordWrapPolygonForExport(), and SwWW8ImplReader::MapWrapIntoFlyFormat().