LibreOffice Module sw (master) 1
|
#include <sal/config.h>
#include <hintids.hxx>
#include <cmdid.h>
#include <com/sun/star/beans/XMultiPropertySet.hpp>
#include <com/sun/star/beans/XPropertiesChangeListener.hpp>
#include <com/sun/star/container/XHierarchicalNameAccess.hpp>
#include <cppuhelper/implbase.hxx>
#include <officecfg/Office/Common.hxx>
#include <rtl/ustring.hxx>
#include <sal/log.hxx>
#include <vcl/commandevent.hxx>
#include <vcl/event.hxx>
#include <vcl/svapp.hxx>
#include <vcl/textview.hxx>
#include <vcl/ptrstyle.hxx>
#include <sfx2/dispatch.hxx>
#include <sfx2/viewfrm.hxx>
#include <svtools/htmltokn.h>
#include <vcl/txtattr.hxx>
#include <vcl/settings.hxx>
#include <svtools/colorcfg.hxx>
#include <editeng/flstitem.hxx>
#include <vcl/metric.hxx>
#include <svtools/ctrltool.hxx>
#include <svtools/scrolladaptor.hxx>
#include <tools/time.hxx>
#include <swmodule.hxx>
#include <docsh.hxx>
#include <srcview.hxx>
#include <helpids.h>
#include <vector>
Go to the source code of this file.
Classes | |
class | SwSrcEditWindow::ChangesListener |
Macros | |
#define | MAX_SYNTAX_HIGHLIGHT 20 |
#define | MAX_HIGHLIGHTTIME 200 |
Typedefs | |
typedef std::vector< TextPortion > | TextPortions |
Functions | |
static void | lcl_Highlight (std::u16string_view aSource, TextPortions &aPortionList) |
IMPL_LINK_NOARG (SwSrcEditWindow, HorzScrollHdl, weld::Scrollbar &, void) | |
IMPL_LINK_NOARG (SwSrcEditWindow, VertScrollHdl, weld::Scrollbar &, void) | |
IMPL_LINK (SwSrcEditWindow, SyntaxTimerHdl, Timer *, pIdle, void) | |
static bool | lcl_GetLanguagesForEncoding (rtl_TextEncoding eEnc, LanguageType aLanguages[]) |
#define MAX_HIGHLIGHTTIME 200 |
Definition at line 66 of file srcedtw.cxx.
#define MAX_SYNTAX_HIGHLIGHT 20 |
Definition at line 65 of file srcedtw.cxx.
typedef std::vector<TextPortion> TextPortions |
Definition at line 68 of file srcedtw.cxx.
IMPL_LINK | ( | SwSrcEditWindow | , |
SyntaxTimerHdl | , | ||
Timer * | , | ||
pIdle | , | ||
void | |||
) |
Definition at line 572 of file srcedtw.cxx.
References TextPaM::GetPara(), TextSelection::GetStart(), tools::Time::GetTime(), GetTime(), i, MAX_HIGHLIGHTTIME, MAX_SYNTAX_HIGHLIGHT, nCount, SAL_WARN_IF, and tools::Time::SYSTEM.
IMPL_LINK_NOARG | ( | SwSrcEditWindow | , |
HorzScrollHdl | , | ||
weld::Scrollbar & | , | ||
void | |||
) |
Definition at line 554 of file srcedtw.cxx.
IMPL_LINK_NOARG | ( | SwSrcEditWindow | , |
VertScrollHdl | , | ||
weld::Scrollbar & | , | ||
void | |||
) |
Definition at line 563 of file srcedtw.cxx.
|
static |
Definition at line 776 of file srcedtw.cxx.
References LanguageTag::getLanguageType(), Application::GetSettings(), AllSettings::GetUILanguageTag(), LANGUAGE_ARABIC_SAUDI_ARABIA, LANGUAGE_CHINESE_SIMPLIFIED, LANGUAGE_CHINESE_TRADITIONAL, LANGUAGE_CROATIAN, LANGUAGE_CZECH, LANGUAGE_DANISH, LANGUAGE_ENGLISH, LANGUAGE_ESTONIAN, LANGUAGE_FARSI, LANGUAGE_FINNISH, LANGUAGE_FRENCH, LANGUAGE_FRENCH_CANADIAN, LANGUAGE_GERMAN, LANGUAGE_GREEK, LANGUAGE_HEBREW, LANGUAGE_HUNGARIAN, LANGUAGE_ICELANDIC, LANGUAGE_ITALIAN, LANGUAGE_JAPANESE, LANGUAGE_KOREAN, LANGUAGE_LATVIAN, LANGUAGE_LITHUANIAN, LANGUAGE_NORWEGIAN, LANGUAGE_POLISH, LANGUAGE_PORTUGUESE, LANGUAGE_ROMANIAN, LANGUAGE_RUSSIAN, LANGUAGE_SLOVAK, LANGUAGE_SPANISH, LANGUAGE_SWEDISH, LANGUAGE_SYSTEM, LANGUAGE_THAI, LANGUAGE_TURKISH, and LANGUAGE_UKRAINIAN.
Referenced by SwSrcEditWindow::SetFont().
|
static |
Definition at line 70 of file srcedtw.cxx.
References svtools::HTMLCOMMENT, svtools::HTMLKEYWORD, svtools::HTMLSGML, svtools::HTMLUNKNOWN, i, nToken, SAL_MAX_INT32, and SAL_WARN.
Referenced by SwSrcEditWindow::ImpDoHighlight().