xmlfileview.hxx (22e87013) xmlfileview.hxx (c2eaa082)
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance

--- 71 unchanged lines hidden (view full) ---

80 TextView* pTextView;
81 TextEngine* pTextEngine;
82
83 TextViewOutWin* pOutWin;
84 ScrollBar *pHScrollbar,
85 *pVScrollbar;
86
87 long nCurTextWidth;
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance

--- 71 unchanged lines hidden (view full) ---

80 TextView* pTextView;
81 TextEngine* pTextEngine;
82
83 TextViewOutWin* pOutWin;
84 ScrollBar *pHScrollbar,
85 *pVScrollbar;
86
87 long nCurTextWidth;
88 sal_uInt16 nStartLine;
88 sal_uInt32 nStartLine;
89 rtl_TextEncoding eSourceEncoding;
90
91 Timer aSyntaxIdleTimer;
92 Table aSyntaxLineTable;
93
94 bool bHighlighting;
95protected:
96 DECL_LINK( SyntaxTimerHdl, Timer * );
89 rtl_TextEncoding eSourceEncoding;
90
91 Timer aSyntaxIdleTimer;
92 Table aSyntaxLineTable;
93
94 bool bHighlighting;
95protected:
96 DECL_LINK( SyntaxTimerHdl, Timer * );
97 void ImpDoHighlight( const String& rSource, sal_uInt16 nLineOff );
97 void ImpDoHighlight( const String& rSource, sal_uInt32 nLineOff );
98
99 virtual void Resize();
100 virtual void DataChanged( const DataChangedEvent& );
101 virtual void GetFocus();
102
103 void CreateTextEngine();
104
105 virtual void Notify( SfxBroadcaster& rBC, const SfxHint& rHint );
106
107 DECL_LINK(ScrollHdl, ScrollBar*);
108
98
99 virtual void Resize();
100 virtual void DataChanged( const DataChangedEvent& );
101 virtual void GetFocus();
102
103 void CreateTextEngine();
104
105 virtual void Notify( SfxBroadcaster& rBC, const SfxHint& rHint );
106
107 DECL_LINK(ScrollHdl, ScrollBar*);
108
109 void DoDelayedSyntaxHighlight( sal_uInt16 nPara );
109 void DoDelayedSyntaxHighlight( sal_uInt32 nPara );
110
110
111 void DoSyntaxHighlight( sal_uInt16 nPara );
111 void DoSyntaxHighlight( sal_uInt32 nPara );
112
113public:
114 XMLFileWindow( Window* pParent );
115 ~XMLFileWindow();
116
117 void SetScrollBarRanges();
118 void InitScrollBars();
119 sal_uLong Read( SvStream& rInput) { return pTextEngine->Read(rInput); }

--- 54 unchanged lines hidden ---
112
113public:
114 XMLFileWindow( Window* pParent );
115 ~XMLFileWindow();
116
117 void SetScrollBarRanges();
118 void InitScrollBars();
119 sal_uLong Read( SvStream& rInput) { return pTextEngine->Read(rInput); }

--- 54 unchanged lines hidden ---