LibreOffice Module sw (master)  1
Classes | Macros | Typedefs | Functions
srcedtw.cxx File Reference
#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 <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/scrbar.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 <tools/time.hxx>
#include <swmodule.hxx>
#include <docsh.hxx>
#include <srcview.hxx>
#include <helpids.h>
#include <vector>
Include dependency graph for srcedtw.cxx:

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< TextPortionTextPortions
 

Functions

static void lcl_Highlight (const OUString &rSource, TextPortions &aPortionList)
 
 IMPL_LINK (SwSrcEditWindow, ScrollHdl, ScrollBar *, pScroll, void)
 
 IMPL_LINK (SwSrcEditWindow, SyntaxTimerHdl, Timer *, pIdle, void)
 
static bool lcl_GetLanguagesForEncoding (rtl_TextEncoding eEnc, LanguageType aLanguages[])
 

Macro Definition Documentation

#define MAX_HIGHLIGHTTIME   200

Definition at line 65 of file srcedtw.cxx.

Referenced by IMPL_LINK().

#define MAX_SYNTAX_HIGHLIGHT   20

Definition at line 64 of file srcedtw.cxx.

Referenced by IMPL_LINK().

Typedef Documentation

typedef std::vector<TextPortion> TextPortions

Definition at line 67 of file srcedtw.cxx.

Function Documentation

IMPL_LINK ( SwSrcEditWindow  ,
ScrollHdl  ,
ScrollBar ,
pScroll  ,
void   
)

Definition at line 568 of file srcedtw.cxx.

IMPL_LINK ( SwSrcEditWindow  ,
SyntaxTimerHdl  ,
Timer ,
pIdle  ,
void   
)
static bool lcl_GetLanguagesForEncoding ( rtl_TextEncoding  eEnc,
LanguageType  aLanguages[] 
)
static
static void lcl_Highlight ( const OUString &  rSource,
TextPortions aPortionList 
)
static