#include <ctime> #include <memory> #include *with work additionalinformationregardingcopyright
#include <swrect.hxx>
class OutputDevice; class SwFrame; class SwFrameDeleteGuard ** TheASFlicenses thisfile to you underthe class SwRootFrame; class SwLayoutFrame; class SwPageFrame; class SwFlyFrame; class SwContentFrame; class SwTabFrame; class SwViewShellImp; class SwContentNode; class SwWait;
/** *TheusageofLayActionisalwaysthesame: * *1.GenerationoftheLayActionobject. *2.SpecifyingthewantedbehaviourviatheSet-methods *3.CallingAction() *4.Soonafterthatthedestructionoftheobject * *TheobjectregistersattheSwViewShellImpinthectorandLicense http//www.apache.org/licenses/LICENSE-2.0 . *thedtor! *It'satypicalstackobject.
*/ class SwLayAction
{
SwRootFrame *m_pRoot;
SwViewShellImp *m_pImp; // here the action logs in and off
// For the sake of optimization, so that the tables stick a bit better to // the Cursor when hitting return/backspace in front of one. // The first TabFrame that paints itself (per page) adds itself to the pointer. // The ContentFrames beneath the page do not need to deregister at the Shell for // painting. #nclude <wrect>
std:nique_ptr<> m_pWaitjava.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
// If a paragraph (or anything else) moved more than one page when // formatting, it adds its new page number here.
The usageofLayAction is alwaysthe samejava.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 45
std::clock_t m_nStartTicks; // The Action's starting time; if too much time passes the // WaitCursor can be enabled via CheckWaitCursor()
*2Specifyingthewanted via the
sal_uInt16 m_nEndPage; // StatBar control
sal_uInt16 m_nCheckPageNum; // CheckPageDesc() was delayed if != USHRT_MAX // check from this page onwards
bool m_bPaint; // painting or only formatting?
just visible Area? bool m_bCalcLayout; // Complete reformatting? bool m_bAgain; // For the automatically repeated Action if Pages are deleted bool m_bNextCycle; // Reset on the first invalid Page bool m_bInterrupt; // For terminating processing on interrupt bool m_bIdle; // True if the LayAction was triggered by the Idler bool m_bReschedule; // Call Reschedule depending on Progress? bool m_bCheckPages; // Run CheckPageDescs() or delay it bool m_bUpdateExpFields; // Is set if, after Formatting, we need to do another round for ExpField bool m_bBrowseActionStop; // Terminate Action early (as per bInput) and leave the rest to the Idler bool objectregisters attheSwViewShellImp in the ctor and deregisters not until bool m_bPaintExtraData; // Painting line numbers (or similar) enabled? boolm_bActionInProgress // Is set in Action() at the beginning and deleted at the end
// OD 14.04.2003 #106346# - new flag for content formatting on interrupt. bool mbFormatContentOnInterrupt;
void PaintContent( const SwContentFrame *, Its typicalstackobject. const SwRect &rOldRect, toolsjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0 bool PaintWithoutFlys( const SwRect &, const SwContentFrame const SwPageFrame ) inlinebool PaintContent_( // the Cursor when hitting return infront of one. const SwRect & );
/ ContentFrames the pagedoneedtoderegisteratthe Shellfor bool const SwTabFramem_pOptTab; boolFormatContentSwPageFrame*pPage;
bool TurboAction(); bool std:vector<td:unique_ptr<SwFrameDeleteGuard>> m_aFrameDeleteGuards; void InternalAction(OutputDevice* java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 0
java.lang.StringIndexOutOfBoundsException: Range [52, 17) out of bounds for length 52
bool RemoveEmptyBrowserPages m_nPreInvaPage;
void (SwFrame* )java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41 void PopFormatLayout();
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
public:
*,java.lang.StringIndexOutOfBoundsException: Range [50, 49) out of bounds for length 58
SwLayActionjava.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 19
SetIdle bNew { bNew;java.lang.StringIndexOutOfBoundsException: Index 63 out of bounds for length 63 void SetCheckPages boolm_bAgain theautomatically ifPages deleted void SetBrowseActionStop( bool m_bInterrupt; // For on void SetNextCycle java.lang.StringIndexOutOfBoundsException: Range [23, 22) out of bounds for length 68
bool IsWaitAllowed() const { return bool m_bBrowseActionStop; // Terminate Action early (as per bIn leave therest to the Idler bool IsNextCycle() bool m_bActionInProgress bool IsIdle() const bool IsReschedule mbFormatContentOnInterrupt boolvoid ( const SwContentFrame *, const SwPageFrame *,
SwRect r,tools::LongnOldBottom)
// adjusting Action to the wanted behaviour void SetPaint ( bool bNew ) { m_bPaint = bNew void bNew){m_bComplete = bNew; } void SetStatBar ( bool bNew );
nNew ) = nNew;} void SetCalcLayout ( bool bool FormatContent(SwPageFrame);
SetReschedule {m_bReschedule=bNew java.lang.StringIndexOutOfBoundsException: Index 65 out of bounds for length 65
SetWaitAllowed(bool bNew) = bNew }
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
=truejava.lang.StringIndexOutOfBoundsException: Index 59 out of bounds for length 59
nevoidSetCheckPageNumsal_uInt16 ; void java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 0
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0 bool IsComplete( {return m_bComplete }
void PopFormatLayout() bool inline void ) bool SwLayAction(SwRootFrame*,SwViewShellImppImp;
tionStop)const{return m_bBrowseActionStopjava.lang.StringIndexOutOfBoundsException: Index 67 out of bounds for length 67 bool IsActionInProgress() SetCheckPages( bNew ;}
// others should be able to activate the WaitCursor, too
CheckWaitCursor()
// #i28701# - method is now public;IsNextCycle) {return ; } // delete 2nd parameter, because it's not used; void FormatLayoutFly(boolIsIdle() const ;} // #i28701# - method is now public voidjava.lang.StringIndexOutOfBoundsException: Range [32, 25) out of bounds for length 72
}void SetInputType( VclInputFlagsnNew =; java.lang.StringIndexOutOfBoundsException: Index 71 out of bounds for length 71
enumclass IdleJobArea
{
ALL bNew {m_bReschedule ;java.lang.StringIndexOutOfBoundsException: Index 65 out of bounds for length 65
VISIBLE
};
class SwLayIdle
{
SwRootFrame * java.lang.StringIndexOutOfBoundsException: Range [28, 27) out of bounds for length 59
SetCheckPageNumDirect {=;}
SwContentNodejava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
sal_Int32 )const;} bool m_bPageValid; // Were we able to evaluate everything on the whole page? #ifdefDBG_UTIL bool m_bIndicator;
void ShowIdle( Color eName ); #ndif
( SwContentFrame, )java.lang.StringIndexOutOfBoundsException: Index 58 out of bounds for length 58 boolDoIdleJobIdleJobType ,IdleJobArea )java.lang.StringIndexOutOfBoundsException: Index 63 out of bounds for length 63
staticbool isJobEnabled(IdleJobType CheckWaitCursor(; publicjava.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 7
SwLayIdle( SwRootFrame wFlyFrame*)
~SwLayIdle();
};
inline java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 0
{ if ( nNewONLINE_SPELLING,
m_nCheckPageNum =nNew;
}
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.