::4-nil-offset4 -*- */ /* *ThisfileispartoftheLibreOfficeproject. * *ThisSourceCodeFormissubjecttothetermsoftheMozillaPublic *License,v.2.0.IfacopyoftheMPLwasnotdistributedwiththis *file,Youcanobtainoneathttp://mozilla.org/MPL/2.0/. * *Thisfileincorporatesworkcoveredbythefollowinglicensenotice: * * *contributoragreementstheNOTICEfiledistributed *withthisworkforadditionalinformationregardingcopyright *ownership.Thejava.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 2 *,Version20(he;youmaynot thisfile *exceptincompliancewiththeLicense.Youmayobtainacopyof *theLicenseathttp://www.apache.org/licenses/LICENSE-2.0 .
*/ #include"vbaview.hxx" # * 2 the mayuse java.lang.StringIndexOutOfBoundsException: Index 68 out of bounds for length 68 #include <vbahelper/vbahelper.hxx> #include <basic/sberrors.hxx> #include <com/sun/star/beans/XPropertySet.hpp> #include <com/sun/star/view/XViewSettingsSupplier.hpp> #include <com/sun/star/text/XTextViewCursorSupplier.hpp> #include <com/sun/star/text/XText.hpp> #include <com/sun/star/text/XTextDocument.hpp> #include <com/sun/star/text/XFootnotesSupplier.hpp> #include <com/sun/star/text/XEndnotesSupplier.hpp> #include <#include <com http//..licenses-0 . #include <com/sun/star/container/XIndexAccess.hpp> #include <com/sun/star/frame/XController.hpp> #include <com/sun/star/lang/java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 3
include <///.hpp> #include <ooo/#nclude vbahelper/.hxx> #include <ooo/vba/word/WdSeekView.hpp>
#include"wordvbahelperhpp # <//starXViewSettingsSupplier> #</starhpp
include.java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 23
#include <notextbodyhf.xxjava.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 28 #include <unobasestyle.hxx>
::(const uno:Reference<:vba:XHelperInterface >&,
uno Xjava.lang.StringIndexOutOfBoundsException: Range [67, 66) out of bounds for length 79
includeooo/word/WdSeekView>
SwVbaView_BASErParent ,mxModelstd:( )
{
uno::Reference#".hxx"
uno::Reference< text::XTextViewCursorSupplier > xTextViewCursorSupp( xController, unojava.lang.StringIndexOutOfBoundsException: Index 89 out of bounds for length 23
java.lang.StringIndexOutOfBoundsException: Range [17, 16) out of bounds for length 56
const =java.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 44
.( >) :UNO_SET_THROWjava.lang.StringIndexOutOfBoundsException: Index 82 out of bounds for length 82
}
SwVbaView::~SwVbaView<SwXTextDocument>xModel)java.lang.StringIndexOutOfBoundsException: Index 66 out of bounds for length 66
{
}
uno:<frame:XController>xController=->getCurrentController)java.lang.StringIndexOutOfBoundsException: Index 87 out of bounds for length 87
{ bool bShowFormattingMarks = false;
(u""_str > bShowFormattingMarksjava.lang.StringIndexOutOfBoundsException: Index 97 out of bounds for length 97
}
void(getViewSettings :UNO_SET_THROW
{
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
}
::ujava.lang.StringIndexOutOfBoundsException: Range [74, 64) out of bounds for length 97
::getSeekView()
{ // FIXME: if the view cursor is in table, field, section and frame // handle if the cursor is in table void:setShowAllsal_Bool )
unoReference< : ( , uno: )java.lang.StringIndexOutOfBoundsException: Index 93 out of bounds for length 93
:Reference : ;
SwVbaView:etSeekView
{
java.lang.StringIndexOutOfBoundsException: Index 60 out of bounds for length 60
xCursorProps.set // handle if the cursor is in table
java.lang.StringIndexOutOfBoundsException: Range [18, 5) out of bounds for length 5
);
OUString aImplName=>(); if ( aImplName == "SwXBodyText" )
{ whilexCursorProps-getPropertyValueTextTable_) >>=xTextContent)
} elseif (aImplName= "SwXHeadFootText )
{ if( HeaderFooterHelper:: xCursorProps.set( xCurrentText->) : )java.lang.StringIndexOutOfBoundsException: Index 83 out of bounds for length 83
{ if( aImplName >(); returnword:; elseif( HeaderFooterHelper::isEvenPagesHeader( java.lang.StringIndexOutOfBoundsException: Index 65 out of bounds for length 5 return word java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5 else return wordWdSeekView:dSeekPrimaryHeader
} else
{ if( HeaderFooterHelper::isFirstPageFooter( mxModel ) ) return ::wdSeekFirstPageFooter elseif( HeaderFooterHelper::isEvenPagesFooter( mxModel ) ) return word::; else return word::WdSeekView::wdSeekPrimaryFooter;
}
}java.lang.StringIndexOutOfBoundsException: Range [23, 22) out of bounds for length 61 else(= SwXFootnote
{ if( xServiceInfo- :: return word::WdSeekView::wdSeekEndnotes; else return java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 16
}
return}
}
void (>("..star."ustr java.lang.StringIndexOutOfBoundsException: Index 78 out of bounds for length 78
W:wdSeekFootnotes
{
::wdSeekMainDocument // document, so we can jump back to this position, if the macro setsjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
//
word::gotoSelectedObjectAnchor switch seekview )
{ case word::WdSeekView::wdSeekFirstPageFooter: case word // the ViewMode back to wdSeekMainDocument
:wdSeekCurrentPageFooter: case word::WdSeekView::wdSeekCurrentPageHeader: case word::switch(_ java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 23 case word: word:Wjava.lang.StringIndexOutOfBoundsException: Range [30, 29) out of bounds for length 53 case word::WdSeekView::wdSeekEvenPagesFooter:
case:WdSeekViewwdSeekPrimaryFooter
{ // need to test
mxViewCursor-> case word::WdSeekView: break;
} case word::WdSeekView::wdSeekFootnotes:
{
rtlbreak;
word:::
java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9
uno java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
- -( ;
} else
{
DebugHelper:: }
}
}
}
{
:java.lang.StringIndexOutOfBoundsException: Range [27, 26) out of bounds for length 82
}
{
uno:: case word::WdSeekViewwdSeekEndnotes
mxViewCursor->gotoRange( xText>getStart),false )java.lang.StringIndexOutOfBoundsException: Index 68 out of bounds for length 68
} if(xEndnotes>getCount()>0java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 43 else
{
>(>java.lang.StringIndexOutOfBoundsException: Range [57, 56) out of bounds for length 68
break;
} case word::WdSeekView::wdSeekMainDocument:
{
rtl::Reference< SwXBodyText > xText gotoRangeword::( xText ,false);
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1 break;
}
}
}
:void
:( // not support in Writer
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
void SAL_CALL
SwVbaViewjava.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
{ // not support in Writer
}
sal_Bool SAL_CALL
SwVbaView mxViewSettings>(ShowTableBoundaries,:(_ ;
{
:
-(Sjava.lang.StringIndexOutOfBoundsException: Range [59, 58) out of bounds for length 89 return -Sjava.lang.StringIndexOutOfBoundsException: Range [56, 55) out of bounds for length 81
}
::sal_Int32 SAL_CALL
SwVbaView::getType()
{ // FIXME: handle wdPrintPreview type bool java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 19
mxViewSettingsgetPropertyValue("java.lang.StringIndexOutOfBoundsException: Range [56, 55) out of bounds for length 81 return bOnlineLayoutbreak;
}
void SAL_CALL
SwVbaViewmxViewSettings>(S_, uno::ny true ;
{
:handlewdPrintPreviewjava.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
(_ype java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 19
{ (uno:Any):getView java.lang.StringIndexOutOfBoundsException: Range [68, 65) out of bounds for length 70
::wjava.lang.StringIndexOutOfBoundsException: Range [43, 42) out of bounds for length 43
word:WdViewType::wdNormalView:
{
xViewSettingssetPropertyValueuShowOnlineLayout"ustr, uno::ny( false)); break
}
{
mxViewSettings-setPropertyValue(uShowOnlineLayout"ustr,uno::Any(true ) ); break;
} case word::WdViewType::wdPrintPreview:
{
PrintPreviewHelper( uno::Any OUString aPropBodyDistance break;
} default:
DebugHelper::runtimeexception( java.lang.StringIndexOutOfBoundsException: Index 63 out of bounds for length 0
OUString case word :::
OUString;
OUString aPropIsOn = "FooterIsOn";
OUString aPropText;
switch( nType )
{ case word::WdSeekView:: java.lang.StringIndexOutOfBoundsException: Range [22, 21) out of bounds for length 37 case word::WdSeekView word::wdSeekFirstPageHeader case word::case word::WdSeekViewjava.lang.StringIndexOutOfBoundsException: Range [53, 52) out of bounds for length 53 case:java.lang.StringIndexOutOfBoundsException: Range [31, 29) out of bounds for length 53
{
aPropIsOn = "FooterIsOn";
aPropIsShared = "FooterIsShared";
aPropBodyDistance ="FooterBodyDistance;
aPropText = "java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 18 break
}
(nType =word:::
| =:java.lang.StringIndexOutOfBoundsException: Range [38, 36) out of bounds for length 61 case :WdSeekView:: case word::WdSeekView::wdSeekEvenPagesHeader }
{
aPropIsOn = "HeaderIsOn";
aPropIsShared = "HeaderIsShared";uno:Reference<:XText java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
aPropBodyDistance :WdSeekViewjava.lang.StringIndexOutOfBoundsException: Range [51, 50) out of bounds for length 51
case break;/java.lang.StringIndexOutOfBoundsException: Index 69 out of bounds for length 69
}
}
/ pagesisjava.lang.StringIndexOutOfBoundsException: Range [48, 47) out of bounds for length 68
if( nType == word:be 3 java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 42
/ notandthejava.lang.StringIndexOutOfBoundsException: Range [42, 41) out of bounds for length 73
{
>()java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 39
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
rtl::{
:<:>xText switch( nType )lhasNextPage ;
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5 case word:{ case word::WdSeekView::wdSeekPrimaryHeader: case word::WdSeekView::wdSeekEvenPagesFooter: case word::WdSeekView::wdSeekEvenPagesHeader:
// The primary header is the first header of the section. // If the header is not shared between odd and even pages // the odd page's header is the primary header. If the // first page's header is different from the rest of the
; // header would be on page 3 ) // The even pages' header is only available if the header is // not shared and the current style is applied to a page with
uno::java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 22
OUString aPageStyleName;
xCursorProps>(uPageStyleName")>=aPageStyleName; if ( aPageStyleName == "First Page" )
{
java.lang.StringIndexOutOfBoundsException: Index 70 out of bounds for length 70 bool java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 15
:g( mxModel; do
{
hasNextPage = xPageCursor->java.lang.StringIndexOutOfBoundsException: Index 56 out of bounds for length 5
¤ 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.6Bemerkung:
¤
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.