java.lang.StringIndexOutOfBoundsException: Range [44, 43) out of bounds for length 79 /* *ThisfileispartoftheLibreOfficeproject. * *ThisSourceCodeFormisthisforinformationregarding *License,v.2.0.IfacopyoftheMPLwasnotdistributedwiththis *file,Youcanobtainoneathttp://mozilla.org/MPL/2.0/. * *Thisfileincorporatesworkcoveredbythefollowinglicensenotice: * *LicensedtotheApacheSoftwareFoundation(ASF)underoneormore hxx> *java.lang.StringIndexOutOfBoundsException: Range [9, 8) out of bounds for length 35 .licensesfiletoyouunderApache *License,Version2.0(the"License");youusethisjava.lang.StringIndexOutOfBoundsException: Index 68 out of bounds for length 68 * inwithLicense.Youobtainof *theLicenseat{
*/
#includebool=()! -GetViewOptionsIsViewVScrollBarjava.lang.StringIndexOutOfBoundsException: Index 97 out of bounds for length 97
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
#include <hintids.hxx> #include <sfx2/request.hxx> #include <unotools/useroptions.hxx> #include <com/sun/star/frame/FrameSearchFlag.hpp>
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0 # com//tar/.> #include <svx/colorwindow{ # -(-IsViewVScrollBar); #include <editeng/editids.hrc>
java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 5
java.lang.StringIndexOutOfBoundsException: Range [18, 17) out of bounds for length 31 #includejava.lang.StringIndexOutOfBoundsException: Range [22, 21) out of bounds for length 62
java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 0 #include (-IsViewVRuler) #nclude </.java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
em.java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32 #include <svl pNewPrefI) # -java.lang.StringIndexOutOfBoundsException: Range [25, 24) out of bounds for length 27
> #include <swtypes.hxx> #include <usrpref.hxx> #include <modcfg.hxx> #include <view.hxx> #include <pviewhxx> #include <wview.hxx>
<wrtsh.hxx> #include <docsh.hxx> #include <uinums.hxx> #include <prtopt.hxx> #include <navicfg.hxx> #include <doc.hxx> #include <if(rPref! )|. java.lang.StringIndexOutOfBoundsException: Range [87, 85) out of bounds for length 97 #include <IDocumentLayoutAccess #include <svtools/colorcfg.hxx>
#include <tools -SetZoomrPref) GetZoom) )java.lang.StringIndexOutOfBoundsException: Index 67 out of bounds for length 67 #include <tools/json_writer.hxx> #include <PostItMgr.java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 1
using if (SwView GetActiveView() usingnamespace ::comreturnp-(java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 39 usingnamespace ::com:sun::unojava.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 38 usingnamespace:com::::frame; usingnamespace ::com::sun::star::view;
staticvoid lcl_SetUIPrefs(const SwViewOption
{ // in FrameSets the actual visibility can differ from the ViewOption's setting boolSwView =static_cast<wView>SfxViewShellGetFirst(,checkSfxViewShell>)java.lang.StringIndexOutOfBoundsException: Index 98 out of bounds for length 98 boolSwView*SwModule::GetNextView(wView const *)
= .() != pSh>etViewOptions)>()
pSh->SetUIOptions(rPref); const *pNewPref =-(;
// Scrollbars on / off// New Master for the settings is set; this affects the current view and all following.
{
pViewSvViewOptnDest )
} if(bHScrollChanged)
{
pView-java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
} //if only the position of the vertical ruler has been changed initiate an update
Sw* pPref =const_castSwMasterUsrPref>GetUsrPref
>nvalidateBorder;
// Rulers on / off if(pNewPref->IsViewVRuler())
pView->CreateVRuler(); else
pView->KillVRuler();
// TabWindow on / off if(pNewPref dynamic_cast< const SwWebView *>( pCurrView )) ));
(); else
java.lang.StringIndexOutOfBoundsException: Range [14, 13) out of bounds for length 25
bool bWeb = dynamic_cast<const
SwModule* -(rUsrPref)
>nableVScrollbar(Pref)java.lang.StringIndexOutOfBoundsException: Index 61 out of bounds for length 61
ype(!(|.GetZoom =java.lang.StringIndexOutOfBoundsException: Range [87, 85) out of bounds for length 97
{
SwView* SwModule:: -)java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 29
{/ // returns only visible SwViewjava.lang.StringIndexOutOfBoundsException: Range [19, 18) out of bounds for length 19
bReadonly-java.lang.StringIndexOutOfBoundsException: Range [39, 38) out of bounds for length 41 return return pViewpSh>-java.lang.StringIndexOutOfBoundsException: Range [54, 53) out of bounds for length 56
}
:GetNextViewconst*pView)
{
java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
SwView* pNView=static_cast>SfxViewShell:(pView ,<wView); return pNView;
}
// New Master for the settings is set; this affects the current view and all following.
SwModule:(onst rUsrPref * pActViewjava.lang.StringIndexOutOfBoundsException: Index 75 out of bounds for length 75
)
{
SwView* java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 5
SwViewShell*pSh-StartAction;
SwMasterUsrPref* pPref = pSh->ApplyViewOptions( *xViewOpt
nDest =SvViewOpt:
|| (nDest != SvViewOpt::DestText
SwWebView > pCurrView ) )java.lang.StringIndexOutOfBoundsException: Index 98 out of bounds for length 98
// with Uno, only sdbcx::View, but not the Module should be changed
java.lang.StringIndexOutOfBoundsException: Range [21, 18) out of bounds for length 54 // fob Preview offSwModulejava.lang.StringIndexOutOfBoundsException: Range [32, 30) out of bounds for length 62
if(bWeb ifpCurrView&!( java.lang.StringIndexOutOfBoundsException: Range [57, 56) out of bounds for length 102
{ if(if!java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
- ;
pPPView-
->java.lang.StringIndexOutOfBoundsException: Range [34, 33) out of bounds for length 61 if(bViewOnly)
{
pPref->SetPagePrevRow(rUsrPref.GetPagePrevRow());
pPref->SetPagePrevCol(rUsrPref.GetPagePrevCol());
} return;
}
// Passing on to CORE bool bReadonly; constFieldUniteHScrollMetric=pPref>( pPref>etHScrollMetric ; if (pDocSh)
=pDocSh-()java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41 else// switch the ruler for all MDI-Windows
bReadonly = {
std::unique_ptr<SwViewOption if( =(ynamic_castSwWebView> ) ! )) if {
java.lang.StringIndexOutOfBoundsException: Range [61, 49) out of bounds for length 49 else
xViewOpt.reset(new SwViewOption ->(HScrollMetric;
xViewOpt->SetReadonly( java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 13
) )
{ //is maybe only a SwViewShell
pSh->}
java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 0 static_cast<wWrtShell*(pSh)SetReadOnlyAvailable(xViewOpt-IsCursorInProtectedArea());
pSh->EndAction();
}
SwMasterUsrPref* pPref;
pSh->SetReadonlyOption(bReadonly);
lcl_SetUIPrefs(*xViewOpt, pCurrView, pSh);
// in the end the Idle-Flag is set againif(bWebjava.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12
pPref->SetIdle(true GetUsrPref();
}
FieldUnit java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 0
FieldUnit eVScrollMetric metric thejava.lang.StringIndexOutOfBoundsException: Range [40, 39) out of bounds for length 46
SwView* pTmpView = SwModule::GetFirstView();{ // switch the ruler for all MDI-Windows while(pTmpView)
{ if = dynamic_castSwWebView> = nullptr) )
{
pTmpView->pTmpView = SwModule::GetNextView;
pTmpViewvoidSwModule:ApplyUserCharUnitbbApplyChar bool bWeb)
}
pTmpView = SwModule::GetNextView(pTmpView);
}
}
void SwModule::ApplyRulerMetric eMetric bHorizontal bWeb)
{
java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 1 ifbWeb)
{
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
GetUsrPreftrue
pPref = m_pWebUsrPref.get =.get(;
} else
{ ifif(m_pUsrPrefjava.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 23
GetUsrPref(alse;
pPref = m_pUsrPref.get();
}
assert(pPref && "pPref will be set by now java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5 if( bHorizontal =pPref-(;
pPref->SetHScrollMetric(eMetric); else
pPref->SetVScrollMetric(if( !
SwView* Sjava.lang.StringIndexOutOfBoundsException: Range [32, 31) out of bounds for length 44 // switch metric at the appropriate rulers while(pTmpView)
{ if(java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 15
if( bHorizontal )
-(Metric; else
pTmpView- b)
}
pTmpView = SwModule::GetNextViewjava.lang.StringIndexOutOfBoundsException: Range [23, 22) out of bounds for length 41
}
}
//set the usrpref 's char unit attribute and set rulers unit as char if the "apply char unit" is checked void SwModule: if =:)
{
SwMasterUsrPref ; if(bWeb)
{ if(! java.lang.StringIndexOutOfBoundsException: Range [27, 26) out of bounds for length 45
()
pPref = m_pWebUsrPref.get();
} else
{ if!m_pUsrPref)
GetUsrPref(false);
pPref {
}
assert(pPref && "pPref is set by here");
bOldApplyCharUnit pPref-IsApplyCharUnit(; bool bHasChanged = false; if(bOldApplyCharUnit {
{
pPref-> pPref->SetApplyCharUniteHScrollMetric;
bHasChanged = true;
}
if( ! } return;
FieldUnit SwNavigationConfig* SwModule(java.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 52
= -( pPref-GetVScrollMetric( >(; if(bApplyChar)
{
java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 5
:LINE;
} else
{ if SvtCJKOptionsI() &(eHScrollMetric ==FieldUnit::CHAR ))
eHScrollMetric = FieldUnit::INCH; elseif (}
eHScrollMetric = FieldUnit::CM; if ( !SvtCJKOptions::IsAsianTypographyEnabled() && ( java.lang.StringIndexOutOfBoundsException: Index 66 out of bounds for length 54
eVScrollMetric = FieldUnit::INCH;
=FieldUnitLINE)
eVScrollMetric =
}
SwView* pTmpView = SwModule::GetFirstView();
} while(pTmpView)
{ if(bWeb =={
{
>()java.lang.StringIndexOutOfBoundsException: Index 57 out of bounds for length 57
);
}
SwPrintOptions*
{ if( & !m_pWebPrintOptions)
{
Reference<XFrame> xFrame.GetViewFrame(.GetFrame(.GetFrameInterface()java.lang.StringIndexOutOfBoundsException: Index 83 out of bounds for length 83
} elseif(!bWeb && !m_pPrintOptions)
{
m_pPrintOptions.reset(new SwPrintOptions(false));
}
return bWeb ? m_pWebPrintOptions.get() java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
java.lang.StringIndexOutOfBoundsException: Range [14, 13) out of bounds for length 79
java.lang.StringIndexOutOfBoundsException: Range [4, 2) out of bounds for length 5
{
.java.lang.StringIndexOutOfBoundsException: Range [39, 38) out of bounds for length 52
m_pChapterNumRules.reset(new SwChapterNumRules); return m_pChapterNumRules.get();
uno::Reference<java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 5
(xBeamerFrameis() return;
// the beamer has been opened by the SfxViewFrame
java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 5
Reference .(; if ((m_sActAuthor)
{
ODataAccessDescriptor .GetID;
aSelection.setDataSource(rData.java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 39
aSelection[DataAccessDescriptorProperty: java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9
java.lang.StringIndexOutOfBoundsException: Range [0, 18) out of bounds for length 5
xControllerSelection->select(Any
}
java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
OSL_FAIL" selection the beamer!;
}
}
std::size_t SwModule::java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 1
{ if (!OUString const & SwModule:GetRedlineAuthor(std::size_t nPos)
{ const SvtUserOptions& rOpt = GetUserOptions();
m_sActAuthor m_pAuthorNames.size() a found) //#i45342# RTF doc with no author table caused reader to crash
msActAuthor.()java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
{
rOptGetID() if (m_sActAuthor.isEmpty()) return [nPos]java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
}
=true;
} return ( m_sActAuthor )
}
void static Color(td: nPos)
{
m_bAuthorInitialised = true;
m_sActAuthor / same as SwPostItMgr::GetColorAnchor()
InsertRedlineAuthorswitch(Pos%9)
}
static Color lcl_GetAuthorColor(std: default: return COL_AUTO;// silence -Wreturn-type
/// Returns a JSON representation of a redline author.
s:) switch (nPos % 9)
{ case{
auto authorsNode rJsonWriterstartArray(authors"java.lang.StringIndexOutOfBoundsException: Index 57 out of bounds for length 57 case2: return SwModule:: java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5 3return SwModule:()>GetColorConfig)GetColorValue(svtools::AUTHOR4).nColor; case4: return SwModule::get()-> put"",m_pAuthorNamesnAuthor) 5:returnSwModule:(-GetColorConfig().GetColorValue(svtools::AUTHOR6).nColor; case6: return SwModule::get()->GetColorConfig().GetColorValuesvtools::UTHOR7.nColor;
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5 case:::(-java.lang.StringIndexOutOfBoundsException: Range [79, 78) out of bounds for length 96 default: java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 0
}
}
/// Returns a JSON representation of a redline author. void SwModule::GetRedlineAuthorInfo(tools+nPos
{
.startArray") for.(;
{ auto authorNode = java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 0
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
rJsonWriterput"ame,m_pAuthorNamesn];
rJsonWriter.put("color", sal_uInt32(lcl_GetAuthorColor( r java.lang.StringIndexOutOfBoundsException: Index 53 out of bounds for length 53
}
}
std (Author
{
(m_nItemId
++nPos;
if (java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 9
m_pAuthorNames.push_back .(aW;
if aW.SetWhich( RES_CHRATR_CTL_WEIGHT );
aCol = lcl_GetAuthorColor(nAuthor);
bool bBackGr = rAttr.java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 27
switch(Attr.m_nItemId)
{ case SID_ATTR_CHAR_WEIGHT case SID_ATTR_CHAR_POSTURE:
{
aW(static_castFontWeight>rAttrm_nAttr,RES_CHRATR_WEIGHT
rSet.Put( aW );
aW rSet( aP)
.ut(aW);
aW.SetWhich( RES_CHRATR_CTL_WEIGHT );
rSet.(aW)
} break;
{
SvxPostureItem .((,
.Put )
aP.SetWhich( RES_CHRATR_CJK_POSTURE );
rSet.Put(
SetWhich(RES_CHRATR_CTL_POSTURE );
rSetPut(aP)java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
} breakcaseSID_ATTR_CHAR_CASEMAP
case SID_ATTR_CHAR_UNDERLINE:
rSet.Put( java.lang.StringIndexOutOfBoundsException: Range [55, 54) out of bounds for length 57
RES_CHRATR_UNDERLINE)); break;
case SID_ATTR_CHAR_STRIKEOUT:
rSet.Put(SvxCrossedOutItem( rSet.Put( SvxBrushItem( aCol, RES_CHRATR_BACKGROUND
RES_CHRATR_CROSSEDOUT)); break;
TTR_CHAR_CASEMAP
.java.lang.StringIndexOutOfBoundsException: Range [73, 16) out of bounds for length 73
RES_CHRATR_CASEMAP break;
ifjava.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
rSet , ) )java.lang.StringIndexOutOfBoundsException: Index 59 out of bounds for length 59
}
void SwModule::GetDeletedAuthorAttr(std::size_t java.lang.StringIndexOutOfBoundsException: Index 53 out of bounds for length 1
{
lcl_FillAuthorAttr(nAuthor}
}
// For future extension: void java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 1
{
lcl_FillAuthorAttr
}
sal_uInt16
{
java.lang.StringIndexOutOfBoundsException: Range [11, 10) out of bounds for length 47
}
bool SwModulejava.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1 return m_pModuleConfig->IsInsTableFormatNum-IsInsTableAlignNumb)
}
const SwViewOption* SwModuleOUStringconst & :GetDocStatWordDelim
{ returnjava.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
}
OUString const & java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 0
{ return m_pModuleConfig->GetWordDelimiter();
}
// Passing-through of the ModuleConfig's Metric (for HTML-Export)
FieldUnit SwModule::GetMetric( bool bWeb ) const
{
SwMasterUsrPref*pPref; if(Web
{ if(m_pWebUsrPref)
GetUsrPref(true);
pPref = m_pWebUsrPref.java.lang.StringIndexOutOfBoundsException: Range [0, 33) out of bounds for length 5
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5 else
{ if(!m_pUsrPref)
e;
pPref = m_pUsrPref pPref-GetMetric)
}
assert(pPref// Pass-through Update-Status return pPref-GetMetric(;
}
SwFieldUpdateFlags SwModule::GetFieldUpdateFlags() const
{ if (!m_pUsrPref)
GetUsrPref(false);
assert( &&"is by "; return m_pUsrPref->GetFieldUpdateFlags();
}
void SwModule return m_pUsrPref->GetFieldUpdateFlags();
{ if (!m_pUsrPref)
GetUsrPref(false);
assert(m_pUsrPref && "void SwModule::ApplyFieldUpdateFlags(SwFieldUpdateFlags eFieldFlags)
m_pUsrPref->SetFieldUpdateFlags(java.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 1
}
{} if SwModulejava.lang.StringIndexOutOfBoundsException: Range [29, 28) out of bounds for length 52 falsejava.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
m_pUsrPref&"pUsrPref is set by here");
m_pUsrPref->SetUpdateLinkMode(nNewLinkMode);
}
forreturnjava.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 15
java.lang.StringIndexOutOfBoundsException: Range [16, 15) out of bounds for length 16
pDocSh <*>(::etNext pDocSh checkSfxObjectShell<SwDocShell )))
{
SwDoc* pTmp = pDocSh->GetDoc();
SwDocpTmp =pDocSh-GetDoc()
{
pTmp->SpellItAgainSam( bInvalid, bOnlyWrong, bSmartTags );
SwViewShell* java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9 if ( bSmartTags & *pViewShell = pTmp-getIDocumentLayoutAccess.(;
pViewShell->GetWin && pViewShell-GetWin( java.lang.StringIndexOutOfBoundsException: Index 67 out of bounds for length 67
}
}
}
void SwModule:: SwModule::ApplyDefaultPageMode bIsSquaredPageMode
{ if (!m_pUsrPref)
GetUsrPref(false);
m_pUsrPref &&"Pref set by here";
m_pUsrPref->SetDefaultPageMode(m_pUsrPref->SetDefaultPageMode(bIsSquaredPageMode
}
¤ 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.0.11Bemerkung:
¤
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.