LibreOffice Module sw (master)
1
|
Classes | |
class | SortedArray |
simple template that manages a static array More... | |
Typedefs | |
typedef std::vector< sal_uInt8 > | bytes |
Functions | |
sti | GetCanonicalStiFromStc (sal_uInt8 stc) throw () |
Find the WinWord sti index of an old <= Word2 stc (style code) More... | |
const char * | GetEnglishNameFromSti (sti eSti) throw () |
Find the WinWord english name from a sti index. More... | |
bool | StandardStiIsCharStyle (sti eSti) throw () |
Determine if the WinWord sti is standard Character Style. More... | |
const char * | GetEnglishFieldName (eField eIndex) throw () |
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) |
enum ww::sti |
Definition at line 27 of file wwstyles.hxx.
enum ww::WordVersion |
Ret ww::checking_cast | ( | Param | in, |
Ret | |||
) |
Definition at line 27 of file needed_cast.hxx.
Referenced by needed_cast().
Ret ww::checking_cast | ( | Ret | in, |
Ret | |||
) |
Definition at line 32 of file needed_cast.hxx.
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 155 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().
const char * ww::GetEnglishFieldName | ( | eField | eIndex | ) | |
throw | ( | ||||
) |
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().
const char * ww::GetEnglishNameFromSti | ( | sti | eSti | ) | |
throw | ( | ||||
) |
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 131 of file styles.cxx.
References stiMax.
Referenced by WW8RStyle::ImportOldFormatStyles(), and DocxAttributeOutput::StartStyle().
|
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(), and wwSprmParser::wwSprmParser().
Ret ww::needed_cast | ( | Param | in | ) |
Definition at line 43 of file needed_cast.hxx.
References checking_cast().
Referenced by sw::types::msword_cast(), and sw::types::writer_cast().
bool ww::StandardStiIsCharStyle | ( | sti | eSti | ) | |
throw | ( | ||||
) |
Determine if the WinWord sti is standard Character Style.
sti | the Style index |
Definition at line 139 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().