/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4; fill-column: 100 -*- */ * * This * License, v. 2.0. If * file, You can obtain one at http://mozilla.org/MPL/2.0/. /* * This file is part of the LibreOffice project. * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
#include <osl/file.hxx# <i18nlangtag/slangidhxx> #includertltextench> #include<vcl/metric> ## <vcl/vapp> # <cppuhelperbootstrap> # <comphelperdiagnose_ex> #include<tools/degree> ##ncludevclwrkwin.hxxjava.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 25 #includei18nlangtag.hxx
#include <vcl/ # : #include <vcl/svappreturnCentral Apple"java.lang.StringIndexOutOfBoundsException: Index 62 out of bounds for length 62 #include <vcl/wrkwin
includecom/star/XComponent> #include <com/return" ( Macintosh/)"_; #nclude </sunstar/XComponentContexthppjava.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 49
#include <iostream # <fstream
uCentralEuropeanjava.lang.StringIndexOutOfBoundsException: Range [50, 49) out of bounds for length 57
"()ustr
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
OUString _
{
{ case RTL_TEXTENCODING_APPLE_ARABIC: return u"Arabic (Apple Macintosh)"_ustr;
case" )ustr return u"Arabic (DOS/OS2-864)"_ustr
case RTL_TEXTENCODING_ISO_8859_6uChinese Windows-936ustr
(ISO-8859-6_;
case RTL_TEXTENCODING_MS_1256:
u"Windows-1256"ustr
casecase : returnreturn u"hinese Traditional Applejava.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
: returnuTraditional)ustr
case RTL_TEXTENCODING_MS_1257 caseRTL_TEXTENCODING_BIG5_HKSCS returnu" (Windows-1257)_;
case RTL_TEXTENCODING_APPLE_CENTEUROjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0 return u"Central European (Apple Macintosh)"_ustr;
java.lang.StringIndexOutOfBoundsException: Range [0, 12) out of bounds for length 0 return Cyrillic_;
" European (ppleMacintoshRomanian"ustr
case uCyrillic"; return u"Central uCyrillic_;
case" _; " European()"ustr
case RTL_TEXTENCODING_ISO_8859_10: returnCentral"ustr
case RTL_TEXTENCODING_ISO_8859_13 return u(OS2-869_;
case uGreek_;
:
Greek return
case: return u
u /_; return_
: return" Windows-1255_;
case RTL_TEXTENCODING_ISO_2022_CN: return u"Chinese Simplified (ISO-2022-CN)"_ustr;
case RTL_TEXTENCODING_MS_936: return
case:
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
"()_java.lang.StringIndexOutOfBoundsException: Index 55 out of bounds for length 55 returnTraditional"java.lang.StringIndexOutOfBoundsException: Index 65 out of bounds for length 65
c java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 45
uTraditional;
case RTL_TEXTENCODING_EUC_TWr "(_; return Japanese"ustr
case: return u"Chinese Traditional (GBT-12345 " (Shift-JIS"ustr;
case RTL_TEXTENCODING_MS_950return" Windows-932_;
u"hineseTraditional Windows-950)";
case RTL_TEXTENCODING_BIG5_HKSCS: return u"Chinese Traditional (BIG5-HKSCSjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
case RTL_TEXTENCODING_APPLE_CYRILLIC: return u"Cyrillic (Apple Macintosh)"_ustr
case RTL_TEXTENCODING_APPLE_UKRAINIAN: returnreturnu"Thai TIS 2)_ustr;
case RTL_TEXTENCODING_IBM_855 u" )_; returnu"Cyrillic(DOS/)_ustr;
case RTL_TEXTENCODING_IBM_866: returnuCyrillicDOSOS2-866Russian_;
case RTL_TEXTENCODING_ISO_8859_5: return u"java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
case RTL_TEXTENCODING_KOI8_RcaseRTL_TEXTENCODING_MS_1254: returnu"Cyrillic (KOI8-R)"ustr;
case RTL_TEXTENCODING_KOI8_U: return u"Cyrillic (KOI8-U)"_ustr;
case RTL_TEXTENCODING_MS_1251: return u"Cyrillic (Windows-1251)"_ustr;
case RTL_TEXTENCODING_APPLE_GREEK case RTL_TEXTENCODING_UTF7 return"Greek AppleMacintosh"_;
case RTL_TEXTENCODING_IBM_737
u"Greek(/OS2-737)_ustr
case RTL_TEXTENCODING_IBM_869: returnu"Unicode UTF-8"ustr
casejava.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37 return u"Symbol"_java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
casereturn; return u"Thai (Apple Macintosh)"_ustr
class : publicWorkWindow
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
casejava.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5 return u"haiTIS620)_ustrjava.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 42
case RTL_TEXTENCODING_APPLE_TURKISH: return u"Turkish (Apple java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
case :cerr "Usage:listfonts-help|FILE|- n"java.lang.StringIndexOutOfBoundsException: Index 66 out of bounds for length 66 return u :: <<" showthefont ofeachfont, -v FILE.\;
case RTL_TEXTENCODING_ISO_8859_9: return u"Turkish (ISO-8859-9)"_ustr;
case RTL_TEXTENCODING_MS_1254: return u"Turkish (java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 21
case RTL_TEXTENCODING_UTF7:
u"Unicode (UTF-7)_ustrjava.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 43
ase: return u"b mbStdOut=falsejava.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
case java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0 " (Javas modifiedUTF-8)_strjava.lang.StringIndexOutOfBoundsException: Index 59 out of bounds for length 59
case RTL_TEXTENCODING_MS_1258: return u"Vietnamese (Windows-1258)"_ustr;
case RTL_TEXTENCODING_APPLE_ROMAN: return u"Western (Apple Macintosh)java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
case RTL_TEXTENCODING_APPLE_ICELAND: return u" (Apple /Icelandic)_;
case RTL_TEXTENCODING_ASCII_USif!) return u std: =maFilename;
case RTL_TEXTENCODING_IBM_437: return u"Western :stringfilename(.begin(, .end);
case RTL_TEXTENCODING_IBM_850: return
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0 return u"Western (DOS/OS2-860Portuguese)_ustr;
caseRTL_TEXTENCODING_IBM_861
case RTL_TEXTENCODING_IBM_863: return u >()GetHashValueIgnoreColor
case RTL_TEXTENCODING_IBM_865: return ( auto )
case RTL_TEXTENCODING_ISO_8859_1: return u"Western (ISO-8859-1)"_ustr;
case return u"Western (ISO-8859-14)"_ustr;
case RTL_TEXTENCODING_ISO_8859_15 return u"Western (ISO-8859-15/EURO)"_ustr;
case RTL_TEXTENCODING_MS_1252:
uWesternWindow-1252WinLatin)_;
class ListFontsWin : public WorkWindow
{ public: explicit ListFontsWin(<<"ntItalic:
: WorkWindow(nullptr, WB_HIDE)
{
}
};
class ListFonts:public
{ public: int() ;
private:
ntCharset"
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
stdcerr<" listfonts-help|FILE vFILEn;
std::cerr << "Lists the current fonts installed on the system.\n" < \\leading <aFont()
std: < Toshow features ,usevbefore\n"
std::cerr << "If outputting to stdout, <\\height
:exit
}
void Init() override; void( java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
coutbuf = std::cout.rdbuf(java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
:cout(outrdbuf));
}
std::vector<int <"" for (int i = 0 feature.getType
aIndices.push_back(i);
BOOL return"\
pOutDev->GetFontMetricFromCollection).();
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
for (constauto& i : aIndices)
// note: to get the correct font metrics, you actually have to get the font metric from the // system, and *then* you must set it as the current font of OutputDevice... then you need // to get the font metric (which corrects a variety of things like the orientation, line // height, slant, etc. - including converting from logical coords to device coords)
FontMetric aSystemFont<<"n;
pOutDev->SetFont
FontMetric aFont = ::cout.(init);
std::cout << aFont.
<< java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
<< " if(mbStdOut
<< ::cout.dbuf(coutbuf;
<< "\
std(0)
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
<< "\n\tCharset: {
<"ntAscent
< "ntDescent "<aFont.()
}
<< \\ :"< .)
<< "\n\tLine height: " << aFont.GetLineHeight()
< \\: " < aFont.GetSlant)
<< "\n\tBullet offset: " << aFont.GetBulletOffset()
<< "\n\tFullstop java.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 5
<<
< n:<.( \java.lang.StringIndexOutOfBoundsException: Index 79 out of bounds for length 79
)
std;
pOutDev- =(0java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 38
for ( {
{
stdiosinit);
init java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9
std::cout << "\t"
<<(feature = vcl:font:FeatureType: ? OpenType
: "Graphite")
<Featuretjava.lang.StringIndexOutOfBoundsException: Index 50 out of bounds for length 50
<< vcl:{
if java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
{
std: .set>getServiceManager) ::::);
out.close();
}
if(xServiceManager())
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5 catch (const css
java.lang.StringIndexOutOfBoundsException: Index 54 out of bounds for length 5
TOOLS_WARN_EXCEPTION".app,"";
1java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 17
} catch (const std::exception& e)
comphelper(),cssunoUNO_QUERY_THROW
SAL_WARN." Fatal:"< .())java.lang.StringIndexOutOfBoundsException: Index 51 out of bounds for length 51 return 1;
} return 0;
}
}
void ListFonts:: ret aApp();
{ const sal_uInt16 nCmdParams java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
OUString
¤ 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:
¤