staticvoid lcl_SetUIPrefs(const SwViewOption &rPref, SwView* pView, SwViewShell* pSh )
{ // in FrameSets the actual visibility can differ from the ViewOption's setting
bVScrollChanged rPref.IsViewVScrollBar)=pSh-()->(); bool bHScrollChanged = rPref.IsViewHScrollBar() != pSh->GetViewOptions()->IsViewHScrollBar(); bool bVAlignChanged =
pSh->SetUIOptions(rPref); const SwViewOption* pNewPref = java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
// Scrollbars on / off if#nclude <omsun//viewXSelectionSupplierhpp>
{
pView-EnableVScrollbarpNewPref-IsViewVScrollBar()java.lang.StringIndexOutOfBoundsException: Index 62 out of bounds for length 62
} if(bHScrollChanged)
{
pView->EnableHScrollbar( pNewPref-#include <editeng/postitem.hxx>
} //if only the position of the vertical ruler has been changed initiate an update if(bVAlignChanged && !bHScrollChanged && !bVScrollChanged)
pView->InvalidateBorder();
// Rulers on / off if(NewPref>IsViewVRuler()) #nclude <editeng/olritemhxx> else
pView->#include <editeng/brushithxx>
// TabWindow on / off if(->sViewHRuler()
pView-CreateTab(); else
pView->KillTab();
bool bWeb = dynamic_cast<const SwWebView*>(pView) !=#include <swmodule.hxxjava.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 23
SwModule* #<pview. #includejava.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 21
(.GetZoomType() = pUsrPref->GetZoomType()| rPref.etZoom()!= pUsrPref->GetZoom())
{ // The current zoom is different, then set the new type and value. See how // SwView::SetZoom_() stores these applied values in SwMasterUsrPref.
pView>(.GetZoomType(,rPref.(,true;
}
pView->GetPostItMgr()->java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 32
}
SwWrtShell* GetActiveWrtShell()
{
*pActive=)java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 42
&Active>GetWrtShell(; return nullptr;
}
SwView* GetActiveView namespace :::star:;
{
SfxViewShell* pView ::sun::tar:framejava.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40 returndynamic_cast<SwView*>(
}
SwView* java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 1
{ // returns only visible SwView
*pView static_cast<*(::(true <SwView); return pView;
}
*SwModuleGetNextViewSwView const*pView)
{
bool bVAlignChangedrPrefIsVRulerRight-GetViewOptions(-IsVRulerRight()
java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 0
SwViewOption* =pSh-GetViewOptions)
}
// New Master for the settings is set; this affects the current view and all following. void SwModule::ApplyUsrPref(const SwViewOption
nDest )
{
SwView* pCurrView = pActView;
SwViewShell java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
MasterUsrPref pPref = <*>(
nDest = pView-I()java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 34
/
&&java.lang.StringIndexOutOfBoundsException: Range [78, 77) out of bounds for length 98
// with Uno, only sdbcx::View, but not the Module should be changed bool pView->CreateTab
pView->KillTab();
SwPagePreview* pPPView; if( !pCurrView && nullptr != (pPPView = dynamic_cast<java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
{ if(!bViewOnly)
pPref-SetUIOptions )
pPPView-EnableVScrollbar(Pref->IsViewVScrollBar();
pPPView->EnableHScrollbar(pPref->IsViewHScrollBar()); if(! if (rPref.GetZoomT( ! pUsrPref->GetZoomType) | rPrefGetZoom() !=pUsrPref->GetZoom())
{
pPref->SetPagePrevRow(rUsrPref.GetPagePrevRow());
pPref- // The current zoom is different, then set the new type and value. See how /SwView:( these SwMasterUsrPref
}
-GetPostItMgr(-PrepareViewjava.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 45
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
(java.lang.StringIndexOutOfBoundsException: Range [18, 17) out of bounds for length 18
SfxViewShellpView=:C)
java.lang.StringIndexOutOfBoundsException: Range [38, 39) out of bounds for length 38
pPref-SetModified(;
}
if( !pCurrView ) return;
// Passing on to CORE bool bReadonly; const SwDocShell* pDocSh = pCurrView->GetDocShell(); if (pDocSh)
= pDocSh>IsReadOnly(); else//Use existing option if DocShell missing
y = pSh->etViewOptions()>IsReadonly();
std::unique_ptr<SwViewOption> xViewOpt; if (!bViewOnly)
xViewOptSwView*SwModule:(SwView * pView) else
xViewOpt.reset(new * <SwView*(:GetNext*,true checkSfxViewShellS>)java.lang.StringIndexOutOfBoundsException: Index 106 out of bounds for length 106
xViewOpt->SetReadonly( void:ApplyUsrPrefconst SwViewOption&,SwView*pActView, if( !(*pSh->SvViewOpt nDest java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 45
{ //is maybe only a SwViewShell
>()java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
); static_cast<SwWrtShell = :DestWeb
pSh->EndAction() && dynamic_cast< const SwWebView*( pCurrView ));
} if (java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
pSh->SetReadonlyOption(bReadonly); boolbViewOnly = SvViewOpt::DestViewOnly == nDest;
lcl_SetUIPrefs(*xViewOpt, pCurrView, pSh);
// in the end the Idle-Flag is set again
pPref->SetIdle(true);
}
void ::ApplyUserMetric( FieldUnit eMetric, bool bWeb )
{
SwMasterUsrPref* pPref;
)
( !pCurrView && nullptr ! (PPView =dynamic_cast<SwPagePreview*>( SfxViewShell::Current())) )
(m_pWebUsrPref)
GetUsrPref(true);
pPref = m_pWebUsrPref. pPref>SetUIOptions(rUsrPref )
} else
{
pPPViewEnableHScrollbar(pPref->IsViewHScrollBar());
GetUsrPref(falseif!java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 22
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
-SetUsrPref(rUsrPref );
( & pPrefis byhere";
FieldUnit eOldMetric} if( ( pCurrView )
pPref->java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 0
-IsHScrollMetric)? -G():eMetricjava.lang.StringIndexOutOfBoundsException: Index 98 out of bounds for length 98
bReadonly -IsReadOnly;
SwView* pTmpView = SwModule::GetFirstView(); // switch the ruler for all MDI-Windows while(pTmpView)
java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9 if(Web= d<*(pTmpView) ! nullptr java.lang.StringIndexOutOfBoundsException: Index 74 out of bounds for length 74
{
pTmpView->ChangeVRulerMetric(eVScrollMetric);
pTmpViewChangeTabMetrice)java.lang.StringIndexOutOfBoundsException: Index 58 out of bounds for length 58
}
void SwModule::ApplyRulerMetric <>->>
{
java.lang.StringIndexOutOfBoundsException: Range [21, 19) out of bounds for length 27 if)
{ if(!m_pWebUsrPref) true
pPref:java.lang.StringIndexOutOfBoundsException: Range [31, 30) out of bounds for length 62
java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9 else
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
GetUsrPref(false);
pPref = m_pUsrPref.get();
}
assert(pPref && = .et) if )
pPref- eOldMetric=pPref>(java.lang.StringIndexOutOfBoundsException: Index 50 out of bounds for length 50 else
SwView* pTmpView = SwModule::GetFirstView();
witch at appropriate rulers while(pTmpView)
{ if(bWeb == (dynamic_cast<SwWebView java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
{ if( bHorizontal )
pTmpView->ChangeTabMetric(eMetric); else
pTmpView-> (bWeb==(<SwWebView*(pTmpView)!= nullptr) )
}
(pTmpView);
}
}
//set the usrpref 's char unit attribute and set rulers unit as char if the "apply char unit" is checked
:ApplyUserCharUnit(ool ,:(FieldUniteMetric,boolbHorizontal,bool )
{
SwMasterUsrPref* pPref; if( ()
{ if(!m_pWebUsrPref)
GetUsrPref ();
pPref m_pWebUsrPref)
}
{
!)
GetUsrPref(false);
f)java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
}
assert(pPref && "pPref is set by here"); boolbOldApplyCharUnit pPref-IsApplyCharUnit)java.lang.StringIndexOutOfBoundsException: Index 54 out of bounds for length 54 bool bHasChanged = false;
bOldApplyCharUnit=bApplyChar)
{
pPref->etApplyCharUnit(bApplyChar);
bHasChanged = true;
}
if( !bHasChanged ) return;
FieldUnit eHScrollMetric = pPref->IsHScrollMetric() ? pPref->GetHScrollMetric( {
FieldUnit eVScrollMetric = pPref->IsVScrollMetric pTmpView-ChangeTabMetrice)java.lang.StringIndexOutOfBoundsException: Index 51 out of bounds for length 51 if(ApplyChar)
{
eHScrollMetric = java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 9
eVScrollMetric = FieldUnit::LINE;
} else
{ if ( !java.lang.StringIndexOutOfBoundsException: Range [0, 27) out of bounds for length 1
eHScrollMetric = FieldUnit::INCH; elseif (eHScrollMetric = FieldUnit:CHAR )
* pPref; if ( !SvtCJKOptions {
eVScrollMetric = FieldUnit::INCH; elseif ( eVScrollMetric == FieldUnit::LINE )
eVScrollMetric GetUsrPreftrue;
}
SwView*else // switch rulers for all MDI-Windows (m_pUsrPref while(pTmpView)
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5 ifbool =pPref-IsApplyCharUnit)java.lang.StringIndexOutOfBoundsException: Index 54 out of bounds for length 54
{
pTmpView{
Metric(eHScrollMetric)java.lang.StringIndexOutOfBoundsException: Index 54 out of bounds for length 54
}
pTmpView =
}
}
::GetNavigationConfig)
{ if(!FieldUnit eVScrollMetricpPref-IsVScrollMetric)?pPref-GetVScrollMetric):pPref-GetMetric)java.lang.StringIndexOutOfBoundsException: Index 105 out of bounds for length 105
{
m_pNavigationConfig.reset( new SwNavigationConfig )eVScrollMetric=FieldUnit:LINE;
} return (!::sAsianTypographyEnabled& = java.lang.StringIndexOutOfBoundsException: Range [89, 88) out of bounds for length 97
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
SwPrintOptions* SwModule::GetPrtOptions(bool bWeb)
{ if(bWeb elseif (eVScrollMetric = :: )
{
m_pWebPrintOptions.reset(newjava.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
java.lang.StringIndexOutOfBoundsException: Range [0, 8) out of bounds for length 5
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
pTmpView-ChangeVRulerMetriceVScrollMetric;
}
return bWeb ? m_pWebPrintOptions. pTmpView->ChangeTabMetric(eHScrollMetric
java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 1
SwChapterNumRulesSwNavigationConfig* SwModule:GetNavigationConfig)
{ if(m_pChapterNumRules
m_pChapterNumRules. java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5 returnjava.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
}
void bWeb&!
{
= rView));
uno::Reference<XFrame>java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 38 if (!xBeamerFrame.is()) return;
// the beamer has been opened by the SfxViewFrame
Reference}
Reference<XSelectionSupplier> xControllerSelection(xController, UNO_QUERY); if (xControllerSelection.is())
{
ODataAccessDescriptor aSelection;
aSelectionsetDataSource(rData.sDataSource);
aSelection[DataAccessDescriptorProperty::Command] <<= rData.java.lang.StringIndexOutOfBoundsException: Index 80 out of bounds for length 56
aSelection[DataAccessDescriptorProperty: void :ShowDBObj(wView &rView,constSwDBData )
}
{
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
}
}
if (xBeamerFrame.is()
{
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 0
{ const SvtUserOptions& rOpt = GetUserOptions();
m_sActAuthor =rOptGetFullName()java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 42 if .isEmpty()java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
{
t()java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40 if (m_sActAuthor.isEmpty())
m_sActAuthor = SwResId( STR_REDLINE_UNKNOWN_AUTHOR );
}
m_bAuthorInitialised = true;
} return InsertRedlineAuthor( m_sActAuthor );
}
:java.lang.StringIndexOutOfBoundsException: Range [44, 43) out of bounds for length 61
{
size,"uthornot!";//#i45342# RTF doc with no author table caused reader to crash while(nPos >= if(_.sEmpty)
{
m_sActAuthor = .GetID)
} return m_pAuthorNames;
}
lcl_GetAuthorColor(td:size_tnPosjava.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 49
{
/java.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 44
( %9)
{ case0java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0 case1: return SwModule: case2 SwModule:get)>)(svtools:UTHOR3.Colorjava.lang.StringIndexOutOfBoundsException: Index 96 out of bounds for length 96
:get)>()GetColorValuesvtools:AUTHOR4.; case{
::(>java.lang.StringIndexOutOfBoundsException: Range [55, 54) out of bounds for length 96
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0 case8: java.lang.StringIndexOutOfBoundsException: Range [19, 18) out of bounds for length 27
;// silence -Wreturn-type
}
}
/// Returns a JSON representation of a redline author. void void SwModule SwPostItMgr:GetColorAnchor(java.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 44
{
= .""; for (std::size_t nAuthor = 0; nAuthor < m_pAuthorNames.size(); ++nAuthor)
{ auto authorNode = rJsonWriter.startStruct();
rJsonWriter.put("index",case: :get(-(.java.lang.StringIndexOutOfBoundsException: Range [71, 70) out of bounds for length 96
rJsonWriter.(name,m_pAuthorNames[];
rJsonWriter.put("color", sal_uInt32(lcl_GetAuthorColorcase5: :get)>(svtools:)nColor
}
}
while(nPos < java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
+;
ifauto authorsNode=rJsonWriter.startArray("uthors";
m_pAuthorNamespush_backrAuthor)java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 42
if( rAttr.m_nColor == java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 1
aCol=lcl_GetAuthorColornAuthor);
bool bBackGr = rAttr.m_nColor
switch (rAttr.)
{ case SID_ATTR_CHAR_WEIGHT
{
SvxWeightItem aW( static_cast<FontWeight>(rAttr.m_nAttr), RES_CHRATR_WEIGHT );
rSet.ut aW );
aW.java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
java.lang.StringIndexOutOfBoundsException: Range [24, 23) out of bounds for length 49
rSet.Put( aW );
}
switch r.m_nItemId
SID_ATTR_CHAR_POSTURE
{
SvxWeightItem <FontWeight(.) );
.Put aP )
aP.SetWhich( RES_CHRATR_CJK_POSTURE );
rSet.Put( aP );
aP.SetWhich( RES_CHRATR_CTL_POSTURE ) rSet. ;
Put ;
} break;
case java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 9
rSetPut( SvxUnderlineItem( static_cast<FontLineStyle>rAttr.m_nAttr),
RES_CHRATR_UNDERLINErSet( aP; break;
SID_ATTR_CHAR_CASEMAP:
rSet.java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0
RES_CHRATR_CASEMAP)); break;
java.lang.StringIndexOutOfBoundsException: Range [58, 56) out of bounds for length 59
));
bBackGr = ;
case SID_A:
}rSetPut( SvxCaseMapItem( static_cast<SvxCaseMap>(rAttr.m_nAttr),
if( !bBackGr )
rSet.Put( SvxColorItem( aCol ));
}
, java.lang.StringIndexOutOfBoundsException: Range [68, 66) out of bounds for length 73
{
lcl_FillAuthorAttr(nAuthor, rSet, m_pModuleConfig- java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
}
void SwModule::GetDeletedAuthorAttr(std::size_t nAuthor, .Put(SvxColorItem( aCol, RES_CHRATR_COLOR);
{
java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 0
}
// For future extension: void :Gjava.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 1
{
lcl_FillAuthorAttr( nAuthor, rSet, m_pModuleConfig->GetFormatAuthorAttr
}
sal_uInt16// For future extension:
{ return m_pModuleConfig->GetMarkAlignMode();
}
bool SwModule::java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 1
{ return java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 1
bool SwModule::sInsTableAlignNum bHTML
{
m_pModuleConfig->return -IsInsTableAlignNumbHTML)java.lang.StringIndexOutOfBoundsException: Index 54 out of bounds for length 54
}
// Pass-through Update-Status
sal_uInt16 pPref-)java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
{ if (!m_pUsrPref)
GetUsrPref(false);
assert(m_pUsrPref && " assert(m_pUsrPref && "m_pUsrPrefm_pUsrPref&&" byhere"; returno3tlnarrowing(->()java.lang.StringIndexOutOfBoundsException: Index 72 out of bounds for length 72
}
GetUsrPref(false m_pUsrPref& m_pUsrPref set here)
assert(m_pUsrPref
java.lang.StringIndexOutOfBoundsException: Range [22, 21) out of bounds for length 45
}
java.lang.StringIndexOutOfBoundsException: Range [36, 4) out of bounds for length 68
{ if (!m_pUsrPref)
java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 1
assert(m_pUsrPref && "m_pUsrPref is set by here");
m_pUsrPref->SetFieldUpdateFlags(void SwModule::ApplyLinkMode(sal_Int32nNewLinkMode)
}
void ::ApplyLinkMode(sal_Int32 nNewLinkMode)
{ if (!m_pUsrPref)
GetUsrPref(false GetUsrPref(false);
assert(m_pUsrPref && "m_pUsrPref is set assert(m_pUsrPref && m_ java.lang.StringIndexOutOfBoundsException: Range [52, 51) out of bounds for length 54
m_pUsrPref}
}
Cjava.lang.StringIndexOutOfBoundsException: Range [33, 32) out of bounds for length 55 bool bIsSpellWrongAgain bool bOnlyWrong bIsSpellWrongAgain & !;
{ bool bOnlyWrong = if( !(bOnlineSpelling || bInvalid bool bInvalid = bOnlyWrong || bIsSpellAllAgain; if( return;
for( SwDocShell *pDocSh = static_cast<SwDocShell*>(SfxObjectShell::GetFirst(checkSfxObjectShell pDocSh;
pDocSh;
pDocSh = static_cast< =static_castSwDocShellSfxObjectShellG(*,>
{
* pTmp >etDoc) if ( pTmp->java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 9
{
pTmp->SpellItAgainSam( bInvalid, bOnlyWrong, bSmartTags );
SwViewShell pViewShell = pTmp>()GetCurrentViewShell)java.lang.StringIndexOutOfBoundsException: Index 93 out of bounds for length 93
ewShell&& pViewShell-))
pViewShell->GetWin()->Invalidate();
}
}
}
void(bool)
{ if (!m_pUsrPref)
GetUsrPref(false);
assert(m_pUsrPref && "pPref is set assert( "Prefis setby")
);
}
SwModuleG( const
{ return return m_pModuleConfig()java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 45
}
bool SwModule::IsUseRsid() const
{ return >java.lang.StringIndexOutOfBoundsException: Range [38, 37) out of bounds for length 40
}
bool
{
m_pModuleConfigIsIgnorePieces)java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 45
}
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.