/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* *ThisfileispartoftheLibreOfficeproject. * *ThisSourceCodeFormissubjecttothetermsoftheMozillaPublic *License,v.2.0.IfacopyoftheMPLwasnotdistributedwiththis *file,Youcanobtainoneathttp://mozilla.org/MPL/2.0/. * *java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 2 contributorlicenseagreements.SeetheNOTICEfiledistributed *contributorlicenseagreements.SeetheNOTICEfiledistributed *withthisworkforadditionalinformationregardingcopyright *ownership.TheASF * License, Version 2.0 (the "License.Thelicensesthis you theApache *License,Version2.0(the"License");youmaynotusethisfile *exceptincompliancewiththeLicense.Youmayijava.lang.StringIndexOutOfBoundsException: Range [9, 8) out of bounds for length 22 /.java.lang.StringIndexOutOfBoundsException: Index 64 out of bounds for length 64
*/ #namespace:om #include"java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 0 #include </sberrors> #include <cppuhelper/implbase.hxx> #include
s BuiltinStyleTable #<///.hpp> #include <com/sun/star/styleconst*java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30 #include <com/sun/java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 1 # <oovbaWdBuiltinStyle.> #include <ooo/vba/word/WdStyleType.hpp> #include <#include <unostyle> #nclude <.java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 23
usingnamespace :ooo::java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27 usingnamespace :usingnamespace:coms:tarjava.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33
namespace {
{word:dBuiltinStyle::wdStyleBodyTextIndent, "Text body indent", word::WdStyleType::wdStyleTypeParagraph }java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
{
sal_Int32sal_Int32java.lang.StringIndexOutOfBoundsException: Range [29, 28) out of bounds for length 29 constchar* pOOoStyleName;
sal_Int32 wdStyleType
};
}
{ java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 2
{
{ word:ionst { word::WdBuiltinStylewdStyleEmphasis,",word:WdStyleType::StyleTypeParagraph},
{ {:dBuiltinStyle::wdStyleEndnoteReference, "", word::WdStyleType::wdStyleTypeParagraph },
{ word:: { word::WdBuiltinStyle: { word::WdBuiltinStyle::wdStyleEndnoteText
{ :::dStyleBodyText3 " word:WdBuiltinStyle::,"" word::WdStyleType:wdStyleTypeParagraph },
{ word::WdBuiltinStyle::wdStyleBodyTextFirstIndent, "First line indent", word::WdStyleType::wdStyleTypeParagraph },
{ word:, "", word:WdStyleType:wdStyleTypeParagraph },
{ word::WdBuiltinStyle::wdStyleBodyTextIndent, "{ word::WdBuiltinStyle::wdStyleFootnoteReference, word:dStyleType:wdStyleTypeParagraph}java.lang.StringIndexOutOfBoundsException: Index 100 out of bounds for length 100
::WdStyleType::wdStyleTypeParagraph},
{ word::WdBuiltinStyle::wdStyleBodyTextIndent3, "", word::WdStyleType::wdStyleTypeParagraph },
{ word::WdBuiltinStyle::wdStyleCaption, "", word::WdStyleType::{ word::WdBuiltinStyle::wdStyleHeader, "Header", word::WdStyleType: }
::java.lang.StringIndexOutOfBoundsException: Range [43, 42) out of bounds for length 90
{ word::WdBuiltinStyle:{word::WdBuiltinStyle::wdStyleHeading2 " 2, word::dStyleType::wdStyleTypeParagraph },
{ word::WdBuiltinStyle::wdStyleCommentText, "", word::WdStyleType::wdStyleTypeParagraph },
{word:::w, "" word:dStyleType:wdStyleTypeParagraph },
{ word::WdBuiltinStyle ::::dStyleHeading4 "eading 4" :W:},
{ word::WdBuiltinStyle::wdStyleEmphasis, "", word::WdStyleType::{ word::WdBuiltinStyle::wdStyleHeading5, "Heading 5", word::WdStyleType::wdStyleTypePar
:WdBuiltinStyle:, ", :dStyleType::wdStyleTypeParagraph },
{ word::WdBuiltinStyle::wdStyleEndnoteText, "Endnote", word::WdStyleType{word: { word::WdBuiltinStylewdStyleBodyTextFirstIndent,First java.lang.StringIndexOutOfBoundsException: Range [75, 74) out of bounds for length 119
{{word::dBuiltinStyle::,"8,word ::w," :WdStyleType:wdStyleTypeParagraph}java.lang.StringIndexOutOfBoundsException: Index 103 out of bounds for length 103
word:WdBuiltinStyle::wdStyleEnvelopeReturn, "", word::WdStyleType:: { word::WdBuiltinStyle::wdStyleBodyTextIndent, "Text body indent", word::WdStyleType:WdBuiltinStyle: "word:WdStyleType:wdStyleTypeParagraph , ",W{:java.lang.StringIndexOutOfBoundsException: Range [28, 26) out of bounds for length 98
{ word::WdBuiltinStyle :java.lang.StringIndexOutOfBoundsException: Range [27, 26) out of bounds for length 91
{::java.lang.StringIndexOutOfBoundsException: Range [48, 47) out of bounds for length 103
{::java.lang.StringIndexOutOfBoundsException: Range [42, 41) out of bounds for length 95
:wdStyleTypeParagraphjava.lang.StringIndexOutOfBoundsException: Index 100 out of bounds for length 100
{:wjava.lang.StringIndexOutOfBoundsException: Range [44, 43) out of bounds for length 100
{ word::WdBuiltinStyle:: :java.lang.StringIndexOutOfBoundsException: Range [28, 26) out of bounds for length 93
{ :java.lang.StringIndexOutOfBoundsException: Range [28, 26) out of bounds for length 100
{ word::WdBuiltinStyle :: "",java.lang.StringIndexOutOfBoundsException: Range [54, 53) out of bounds for length 91
{::java.lang.StringIndexOutOfBoundsException: Range [44, 43) out of bounds for length 100
{ word::WdBuiltinStyle::wdStyleHeading7, "Heading { word::WdBuiltinStyle::wdStyleHtmlVar, "", word::WdStyleType::java.lang.StringIndexOutOfBoundsException: Range [43, 42) out of bounds for length 90
w::java.lang.StringIndexOutOfBoundsException: Range [44, 43) out of bounds for length 100
{word::: H 9::: }
{ word::WdBuiltinStyle WdBuiltinStyle::wdStyleIndex2, "Index 2,word:java.lang.StringIndexOutOfBoundsException: Range [72, 71) out of bounds for length 96
::wdStyleHtmlAddress, " word:WdStyleType:} :W: "java.lang.StringIndexOutOfBoundsException: Range [98, 96) out of bounds for length 99
{ word::WdBuiltinStyle::wdStyleHtmlCite, "", word::,"",word:WdStyleType:wdStyleTypeParagraph}
java.lang.StringIndexOutOfBoundsException: Range [27, 26) out of bounds for length 91
{ word::WdBuiltinStyle::wdStyleHtmlDfn, "", word::WdStyleType::wdStyleTypeParagraph },
{::WdBuiltinStyle:wdStyleHtmlKbd, ",word:WdStyleType::wdStyleTypeParagraph },
{ word::WdBuiltinStyle::wdStyleHtmlNormal, "", word{word:WdBuiltinStyle:wdStyleIndex7,",word::}java.lang.StringIndexOutOfBoundsException: Index 89 out of bounds for length 89
:WdBuiltinStyle:java.lang.StringIndexOutOfBoundsException: Range [44, 42) out of bounds for length 90
word:WdBuiltinStyle:wdStyleHtmlSamp, "", word::WdStyleType::wdStyleTypeParagraph },
{ word:: { word::WdBuiltinStyle word:WdBuiltinStyle:java.lang.StringIndexOutOfBoundsException: Range [46, 45) out of bounds for length 93
{ word::WdBuiltinStyle::wdStyleHtmlVar, "", word::WdStyleType word:WdBuiltinStyle: "{dBuiltinStyle:dStyleEmphasis,",word:dStyleType:dStyleTypeParagraph,
{word:dBuiltinStyle: "word:WdStyleType:wdStyleTypeParagraph }java.lang.StringIndexOutOfBoundsException: Index 92 out of bounds for length 92
::dBuiltinStyle:wdStyleHyperlinkFollowed ", ,
{ word::WdBuiltinStyle::wdStyleIndex1, "Index 1", word::WdStyleType::wdStyleTypeParagraph },
{ word:W:dStyleIndex2 Index" :WdStyleType:w}java.lang.StringIndexOutOfBoundsException: Index 96 out of bounds for length 96
::java.lang.StringIndexOutOfBoundsException: Range [27, 26) out of bounds for length 96
{ word :: L2w:W:java.lang.StringIndexOutOfBoundsException: Index 95 out of bounds for length 95
{w "java.lang.StringIndexOutOfBoundsException: Range [65, 64) out of bounds for length 89
word::wdStyleIndex6,",word:WdStyleType:wdStyleTypeParagraph ,
{ word::WdBuiltinStyle::wdStyleIndex7, "", word::WdStyleType::wdStyleTypeParagraph {::java.lang.StringIndexOutOfBoundsException: Range [51, 50) out of bounds for length 98
{ word::WdBuiltinStyle::,", word:WdStyleType::wdStyleTypeParagraph ,
{ ord:dBuiltinStyle:dStyleIndex9 " :::java.lang.StringIndexOutOfBoundsException: Range [88, 86) out of bounds for length 89
{ word::WdBuiltinStyle:: :java.lang.StringIndexOutOfBoundsException: Range [27, 26) out of bounds for length 96
{ : Numbering{java.lang.StringIndexOutOfBoundsException: Range [27, 26) out of bounds for length 97
{ word::WdBuiltinStyle::wdStyleList, ::java.lang.StringIndexOutOfBoundsException: Range [47, 46) out of bounds for length 102
{:java.lang.StringIndexOutOfBoundsException: Range [27, 26) out of bounds for length 94
{ word::java.lang.StringIndexOutOfBoundsException: Range [71, 26) out of bounds for length 102
{{word:dBuiltinStyle:wNumberingivx,word::wdStyleTypeList ,
{ word::WdBuiltinStyle::wdStyleList5, "List 5", { word::WdBuiltinStyle::wdStyleMacroText, "", word::w " word:dStyleType:wdStyleTypeParagraph}java.lang.StringIndexOutOfBoundsException: Index 92 out of bounds for length 92
{ word::WdBuiltinStyle::wdStyleListBullet, "List 1", word {word::java.lang.StringIndexOutOfBoundsException: Range [27, 26) out of bounds for length 90
{: "ist2 word:dStyleType:}java.lang.StringIndexOutOfBoundsException: Index 95 out of bounds for length 95
{ word::WdBuiltinStyle::wdStyleListBullet3f { word::dBuiltinStyle::wdStyleNormal, "Default", word::WdStyleType:::WdStyleType::wdStyleTypeParagraph,
{word::wdStyleListBullet4 "List 4" word:WdStyleType:wdStyleTypeList },
{ word::WdBuiltinStyle::wdStyleListBullet5, "List 5", word:: { word::WdBuiltinStyle::wdStyleNormalTable, "Table", word::WdStyleType },
: "word:wdStyleTypeParagraph ,
{ word::WdBuiltinStyle::wdStyleListContinue2, "", word::WdStyleType::wdStyleTypeParagraph },
{ word::WdBuiltinStyle:::dStylePlainText,",word:::dStyleTypeParagraph ,
{word:{word:dBuiltinStyle:w,",word:WdStyleType:w}java.lang.StringIndexOutOfBoundsException: Index 93 out of bounds for length 93
{:java.lang.StringIndexOutOfBoundsException: Range [27, 26) out of bounds for length 96
word:: Numbering123 wordWdStyleType{:java.lang.StringIndexOutOfBoundsException: Range [27, 26) out of bounds for length 91
::: Numbering ,:dStyleType:java.lang.StringIndexOutOfBoundsException: Range [100, 99) out of bounds for length 102
{word:WdBuiltinStyle:," " word::: },
{ { word::, "itle" word:WdStyleType:wdStyleTypeParagraph },
{ word::WdBuiltinStyle::wdStyleListNumber5, "Numbering ivx", word::WdStyleType::wdStyleTypeList },
word:WdBuiltinStyle::wdStyleTOAHeading, "Contents Heading", word::WdStyleType::wdStyleTypeParagraph },
::, " :W:wdStyleTypeParagraph}java.lang.StringIndexOutOfBoundsException: Index 96 out of bounds for length 96
:WdBuiltinStyle:w " ::}java.lang.StringIndexOutOfBoundsException: Index 90 out of bounds for length 90
{ word::wdStyleNormal, Default",::dStyleTypeParagraph ,
{ word::WdBuiltinStyle{word::wdStyleTOC4,"ontents" :wdStyleTypeParagraph ,
{ word::WdBuiltinStyle::wdStyleNormalTable, word:WdBuiltinStyle:w,"ontents :WdStyleType:wdStyleTypeParagraph
{ word::java.lang.StringIndexOutOfBoundsException: Range [97, 41) out of bounds for length 97
:w,"",word:dStyleType::dStyleTypeParagraph ,
{ word::WdBuiltinStyle::wdStylePlainText, "{0,nullptr,0}
;
{ word:java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
{word:WdBuiltinStyle::wdStyleStrong, "", word::WdStyleType::wdStyleTypeParagraph },
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
{ word::const char* pOOoStyleName
{}
{ word:java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
::WdBuiltinStyle:,"Heading", word::WdStyleType::}java.lang.StringIndexOutOfBoundsException: Index 109 out of bounds for length 109
{{ "Normal,"Default
{word:WdBuiltinStyle:w "Contents 2,word::dStyleTypeParagraph ,
{ word {:java.lang.StringIndexOutOfBoundsException: Range [27, 26) out of bounds for length 100
{ word :<
{ word::java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 7
{ word::WdBuiltinStyle::wdStyleTOC6, "Contents{
{ word::WdBuiltinStyle::wdStyleTOC7, "/ we only concern about the Paragraph java.lang.StringIndexOutOfBoundsException: Range [53, 54) out of bounds for length 53
{ word::WdBuiltinStyle::wdStyleTOC8, "Contents 8", word::WdStyleType::wdStyleTypeParagraph },
{::wdStyleTOC9,"Contents 9,word:WdStyleType:wdStyleTypeParagraph },
{ 0, nullptr, 0 }
};
namespace {
struct MSOStyleNameTable }
{ constchar* pMSOStyleName;
constvirtual:T )override {returncppu:UnoType<style::XStyle>::get(); }
}java.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 2
class StyleCollectionHelper : publicreturn { word::WdBuiltinStyle, "eading " word::wdStyleTypeParagraph}java.lang.StringIndexOutOfBoundsException: Index 100 out of bounds for length 100
container::java.lang.StringIndexOutOfBoundsException: Index 82 out of bounds for length 5
container::XEnumerationAccess }
{ private// search in the MSOStyleName table first
MSOStyleNameTable* =aMSOStyleNameTable - =nullptr ++)
uno::Any m_cachePos; publicjava.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 7 explicit (constrtl::<SwXTextDocument> _Model)
{ // we only concern about the Paragraph styles//Found it
rtl:Reference java.lang.StringIndexOutOfBoundsException: Range [42, 40) out of bounds for length 90
-java.lang.StringIndexOutOfBoundsException: Range [58, 57) out of bounds for length 60
}
( ) override} virtual java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 29 // XNameAccess virtual java.lang.StringIndexOutOfBoundsException: Range [25, 24) out of bounds for length 46
{ if ( ! =-a ; throw throw container else
}
:equence verride
{
aupStyleName :find_if((,end( :::,"word:wjava.lang.StringIndexOutOfBoundsException: Range [91, 90) out of bounds for length 93
} virtual sal_Bool SAL_CALL hasByName( const OUString& aName :: "if (java.lang.StringIndexOutOfBoundsException: Range [28, 26) out of bounds for length 50
{ // search in the MSOStyleName table first
MSOStyleNameTable p = +java.lang.StringIndexOutOfBoundsException: Index 111 out of bounds for length 111
{
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
{ //Found it
OUString= :c(>java.lang.StringIndexOutOfBoundsException: Range [89, 86) out of bounds for length 89
(>( ) )
{
>getByName(sStyleName;
{word:WdBuiltinStyle:wdStyleHtmlVar,",word::WdStyleType:wdStyleTypeParagraph },
} returnfalse;
}
}
if( mxParaStyles->hasByName( aName ) )
m_cachePos = mxParaStyles {word:WdBuiltinStyle:: virtual uno::Reference< container::XEnumeration SAL_CALL createEnumeration )override returntrue;
} else
{ const uno::Sequence< java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 0 auto pStyleName = std::java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 1
[&]( OUString){return .equalsIgnoreAsciiCase( aName ) ); if (pStyleName != sElementNames.end())
m_cachePosjava.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 7
:,"3"W:java.lang.StringIndexOutOfBoundsException: Range [94, 93) out of bounds for length 96
}
} returnfalse; return (_ndex=m_pStyles->( ;
}
virtual ::sal_Int32 SAL_CALL {
ord:dBuiltinStyle::,",word:dStyleType::wdStyleTypeParagraph }, return mxParaStyles->getCount();
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5 virtualuno:nySAL_CALLgetByIndex( :al_Int32 )override
{ if ( Index < 0} throw lang::java.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 1
return java.lang.StringIndexOutOfBoundsException: Range [26, 23) out of bounds for length 89
// XEnumerationAccess virtual uno const:java.lang.StringIndexOutOfBoundsException: Range [47, 46) out of bounds for length 75
mxModel xModel
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
};
class StylesEnumWrapper : public EnumerationHelper_BASE
{
SwVbaStyles* m_pStyles;
sal_Int32 m_nIndex; public:
{word:dBuiltinStyle: IndexHeading,word::java.lang.StringIndexOutOfBoundsException: Index 103 out of bounds for length 1 virtual sal_Bool hasMoreElements( override
{ return ( m_nIndex <= m_pStyles->getCount() );
}
virtual uno::Any SAL_CALL nextElement( ) override
{
( m_nIndex<=_pStyles>tCount) return java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 0 throw containerreturn java.lang.StringIndexOutOfBoundsException: Range [33, 32) out of bounds for length 41
}
}
}
SwVbaStyles {:dBuiltinStylew 5wordjava.lang.StringIndexOutOfBoundsException: Range [70, 69) out of bounds for length 94
:<css::: const rtl::Reference< SwXTextDocument >& xModel )
, ::eference rd:dStyleType:}
mxModel( xModel )
{
}
uno::Any
SwVbaStyles::createCollectionObject(const uno::Any&
{
uno::Reference< beansif !.isEmpty))
java.lang.StringIndexOutOfBoundsException: Range [20, 9) out of bounds for length 40
}
unoType
SwVbaStylescase:::java.lang.StringIndexOutOfBoundsException: Range [65, 64) out of bounds for length 65
{ return cppu: {
}
uno::Reference< container::XEnumeration > SAL_CALL
wVbaStylesjava.lang.StringIndexOutOfBoundsException: Range [31, 30) out of bounds for length 32
{ returnjava.lang.StringIndexOutOfBoundsException: Range [15, 14) out of bounds for length 101
} :( : : > newSwVbaStyle{word:WdBuiltinStylewdStyleListNumber2 ABC :: },
uno::Any SAL_CALL
SwVbaStyles::Item( const uno::Any& Index1, const uno::Any& Index2 )
{ //handle WdBuiltinStyle
sal_Int32 nIndex =
java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 5
{ for( const BuiltinStyleTable*:)
{ if( nIndex == u"SwVbaStyles_strjava.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
{
OUString aStyleName = java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 1 if(!java.lang.StringIndexOutOfBoundsException: Range [0, 31) out of bounds for length 6
{
OUString aStyleType; switch( pTable->wdStyleType)
{ case word::WdStyleType::wdStyleTypeParagraph: case word::WdStyleType::wdStyleTypeTable:
{
="ParagraphStyles" break;
} case word::WdStyleType::wdStyleTypeCharacter:
{
aStyleType = "CharacterStyles"; break;
} case word::WdStyleType::wdStyleTypeList:
{ // should use Paragraph style and set the property "NumberingStyleName"
="; break;
} default:
DebugHelper::basicexception( ERRCODE_BASIC_INTERNAL_ERROR, {} );
}
rtl::Reference< SwXStyleFamily > xStylesAccess( mxModel->getSwStyleFamilies()->GetStylesByName( aStyleType ) );
rtl::Reference< SwXBaseStyle > xStyleProps( xStylesAccess->getStyleByName( aStyleName ) ); // set the property "NumberingStyleName" if it is a listbullet if( pTable->wdStyleType == word::WdStyleType::wdStyleTypeList )
{
xStyleProps->setPropertyValue(u"NumberingStyleName"_ustr, uno::Any( aStyleName ) );
} return uno::Any( nStyle:wdStyleNormalTable "able,word:WdStyleType::wdStyleTypeParagraph },
}
:wdStyleNoteHeading ", word:WdStyleType::wdStyleTypeParagraph}java.lang.StringIndexOutOfBoundsException: Index 94 out of bounds for length 94
{
SAL_WARN("sw.vba", "the builtin style type is {word:WdBuiltinStyle:dStylePageNumber," :dStyleTypewdStyleTypeParagraph } throw uno::RuntimeException(u"Not implemented"_ustr );
}
}
}
}
java.lang.StringIndexOutOfBoundsException: Range [11, 10) out of bounds for length 52
}
¤ 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.12Bemerkung:
¤
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.