/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* * 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/. * * This file incorporates work covered by the following license notice: * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed * with this work for additional information regarding copyright * ownership. The ASF licenses this file to you under the Apache * License, Version 2.0 (the "License"); you may not use this file * except in compliance with the License. You may obtain a copy of * the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
// used only by OutputDevice::ImplLayout, TODO: make friend
SAL_DLLPRIVATE explicit MultiSalLayout( std::unique_ptr<SalLayout> pBaseLayout );
SAL_DLLPRIVATE void AddFallback(std::unique_ptr<SalLayout> pFallbackLayout, ImplLayoutRuns const &); // give up ownership of the initial pBaseLayout taken by the ctor
SAL_DLLPRIVATE std::unique_ptr<SalLayout> ReleaseBaseLayout();
SAL_DLLPRIVATE bool LayoutText(vcl::text::ImplLayoutArgs&, const SalLayoutGlyphsImpl*) override;
SAL_DLLPRIVATE void AdjustLayout(vcl::text::ImplLayoutArgs&) override;
void AdjustLayout(vcl::text::ImplLayoutArgs&) final override; bool LayoutText(vcl::text::ImplLayoutArgs&, const SalLayoutGlyphsImpl*) final override; void DrawText(SalGraphics&) const final override;
SalLayoutGlyphs GetGlyphs() const final override;
bool HasFontKashidaPositions() const final override; bool IsKashidaPosValid(int nCharPos, int nNextCharPos) const final override;
// used by upper layers double GetTextWidth() const final override; double GetPartialTextWidth(sal_Int32 skipStart, sal_Int32 amt) const final override; double FillDXArray(std::vector<double>* pDXArray, const OUString& rStr) const final override; double FillPartialDXArray(std::vector<double>* pDXArray, const OUString& rStr,
sal_Int32 skipStart, sal_Int32 amt) const final override;
sal_Int32 GetTextBreak(double nMaxWidth, double nCharExtra, int nFactor) const final override; void GetCaretPositions(std::vector<double>& rCaretPositions, const OUString& rStr) const override;
// used by display layers
LogicalFontInstance& GetFont() const
{ return *m_GlyphItems.GetFont(); }
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.