bin/find-can-be-private-symbols.functions.results | 618 ---------------------- include/vcl/BinaryDataContainer.hxx | 14 include/vcl/BitmapPalette.hxx | 10 include/vcl/BitmapTools.hxx | 6 include/vcl/BitmapWriteAccess.hxx | 9 include/vcl/EnumContext.hxx | 10 include/vcl/animate/Animation.hxx | 33 - include/vcl/bitmap.hxx | 34 - include/vcl/bitmapex.hxx | 18 include/vcl/cursor.hxx | 16 include/vcl/dndhelp.hxx | 12 include/vcl/dockwin.hxx | 28 include/vcl/filter/SvmReader.hxx | 6 include/vcl/filter/SvmWriter.hxx | 8 include/vcl/filter/pdfdocument.hxx | 164 ++--- include/vcl/font.hxx | 18 include/vcl/fontcharmap.hxx | 10 include/vcl/gdimtf.hxx | 12 include/vcl/gradient.hxx | 8 include/vcl/graph.hxx | 18 include/vcl/graphicfilter.hxx | 114 ++-- include/vcl/htmltransferable.hxx | 13 include/vcl/imap.hxx | 30 - include/vcl/menu.hxx | 26 include/vcl/menubarupdateicon.hxx | 28 include/vcl/metric.hxx | 8 include/vcl/outdev.hxx | 72 +- include/vcl/print.hxx | 28 include/vcl/region.hxx | 2 include/vcl/settings.hxx | 108 +-- include/vcl/svapp.hxx | 18 include/vcl/textview.hxx | 104 +-- include/vcl/toolkit/button.hxx | 20 include/vcl/toolkit/combobox.hxx | 48 - include/vcl/toolkit/edit.hxx | 24 include/vcl/toolkit/fixed.hxx | 34 - include/vcl/toolkit/floatwin.hxx | 26 include/vcl/toolkit/lstbox.hxx | 56 - include/vcl/toolkit/spinfld.hxx | 48 - include/vcl/transfer.hxx | 8 include/vcl/unohelp2.hxx | 10 include/vcl/weld.hxx | 5 include/vcl/window.hxx | 186 +++--- include/vcl/wizardmachine.hxx | 16 vcl/inc/animate/AnimationRenderer.hxx | 8 vcl/inc/configsettings.hxx | 10 vcl/inc/font/FontMetricData.hxx | 14 vcl/inc/font/LogicalFontInstance.hxx | 27 vcl/inc/font/PhysicalFontCollection.hxx | 24 vcl/inc/font/PhysicalFontFace.hxx | 14 vcl/inc/font/PhysicalFontFamily.hxx | 15 vcl/inc/fontsubset.hxx | 10 vcl/inc/graphic/GraphicFormatDetector.hxx | 23 vcl/inc/headless/svpinst.hxx | 40 - vcl/inc/sallayout.hxx | 20 vcl/inc/sft.hxx | 4 vcl/inc/textlayout.hxx | 24 vcl/inc/unx/genpspgraphics.h | 38 - vcl/inc/unx/glyphcache.hxx | 30 - vcl/inc/unx/saldisp.hxx | 44 - vcl/inc/widgetdraw/WidgetDefinitionReader.hxx | 12 61 files changed, 920 insertions(+), 1521 deletions(-)
New commits: commit acd40306b3737d50cf24462b2d3e451092543e64 Author: Noel Grandin <noel.gran...@collabora.co.uk> AuthorDate: Thu Mar 14 12:22:13 2024 +0200 Commit: Noel Grandin <noel.gran...@collabora.co.uk> CommitDate: Thu Mar 14 19:17:08 2024 +0100 reduce symbol visibility in vcl Change-Id: Ifaa37246e79678aa0c548b9ca8a9faf8036b9195 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/164804 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.gran...@collabora.co.uk> diff --git a/bin/find-can-be-private-symbols.functions.results b/bin/find-can-be-private-symbols.functions.results index 36d0af459a9c..659ca5be7453 100644 --- a/bin/find-can-be-private-symbols.functions.results +++ b/bin/find-can-be-private-symbols.functions.results @@ -1,38 +1,5 @@ -AllSettings::CopyData() -AllSettings::Update(AllSettingsFlags, AllSettings const&) -AllSettings::operator!=(AllSettings const&) const -AllSettings::operator==(AllSettings const&) const AlphaMask::AlphaMask(AlphaMask&&) AlphaMask::operator=(Bitmap const&) -Animation::Adjust(short, short, short, short, short, double, bool) -Animation::Convert(BmpConversion) -Animation::Draw(OutputDevice&, Point const&) const -Animation::Draw(OutputDevice&, Point const&, Size const&) const -Animation::GetChecksum() const -Animation::GetSizeBytes() const -Animation::IsTransparent() const -Animation::Mirror(BmpMirrorFlags) -Animation::ResetLoopCount() -Animation::Start(OutputDevice&, Point const&, Size const&, long, OutputDevice*) -Animation::Stop(OutputDevice const*, long) -Animation::operator=(Animation const&) -Animation::operator==(Animation const&) const -AnimationRenderer::createAnimationData() const -AnimationRenderer::draw(unsigned long, VirtualDevice*) -AnimationRenderer::repaint() -AnimationRenderer::~AnimationRenderer() -Application::DeInit() -Application::EnableBitmapRendering() -Application::GetAppLocaleDataWrapper() -Application::GetSystemDependentDataManager() -Application::HandleKey(VclEventId, vcl::Window*, KeyEvent*) -Application::ImplCallEventListeners(VclSimpleEvent&) -Application::ImplCallEventListenersApplicationDataChanged(void*) -Application::InsertAccel(Accelerator*) -Application::IsBitmapRendering() -Application::Main() -Application::RemoveAccel(Accelerator const*) -Application::setDeInitHook(Link<LinkParamNone*, void> const&) AsWinding(SkPath const&, SkPath*) AsyncQuitHandler::AsyncQuitHandler() AsyncQuitHandler::OnAsyncQuit(AsyncQuitHandler*, void*) @@ -62,44 +29,11 @@ BasicManager::SetLibraryContainerInfo(LibraryContainerInfo const&) BasicManager::~BasicManager() BigInt::BigInt(unsigned int) BigInt::operator%=(BigInt const&) -BinaryDataContainer::calculateHash() const -BinaryDataContainer::ensureSwappedIn() const -BinaryDataContainer::getAsStream() -BinaryDataContainer::getAsXInputStream() -BinaryDataContainer::getCopyAsByteSequence() const -BinaryDataContainer::getSizeBytes() const -BinaryDataContainer::swapOut() const -Bitmap::AdaptBitCount(Bitmap&) const -Bitmap::Adjust(short, short, short, short, short, double, bool, bool) -Bitmap::Bitmap(std::shared_ptr<SalBitmap>) -Bitmap::Blend(AlphaMask const&, Color const&) -Bitmap::CopyPixel(tools::Rectangle const&, tools::Rectangle const&) -Bitmap::CopyPixel(tools::Rectangle const&, tools::Rectangle const&, Bitmap const&) -Bitmap::CopyPixel_AlphaOptimized(tools::Rectangle const&, tools::Rectangle const&) -Bitmap::CopyPixel_AlphaOptimized(tools::Rectangle const&, tools::Rectangle const&, AlphaMask const&) -Bitmap::CreateDisplayBitmap(OutputDevice*) const -Bitmap::CreateRegion(Color const&, tools::Rectangle const&) const -Bitmap::Expand(int, int, Color const*) -Bitmap::Replace(AlphaMask const&, Color const&) -Bitmap::Replace(Color const&, Color const&, unsigned char) -Bitmap::Replace(Color const*, Color const*, unsigned long, unsigned char const*) -Bitmap::ReplaceMask(AlphaMask const&, Color const&) -Bitmap::Rotate(o3tl::strong_int<short, FractionTag<10> >, Color const&) -Bitmap::accessSystemDependentDataHolder() const BitmapAlphaClampFilter::execute(BitmapEx const&) const BitmapBasicMorphologyFilter::filter(Bitmap const&) const BitmapColorQuantizationFilter::execute(BitmapEx const&) const BitmapConvolutionMatrixFilter::execute(BitmapEx const&) const BitmapEmbossGreyFilter::execute(BitmapEx const&) const -BitmapEx::AdjustTransparency(unsigned char) -BitmapEx::ChangeColorAlpha(unsigned char, signed char) -BitmapEx::Clear() -BitmapEx::ClearAlpha() -BitmapEx::Draw(OutputDevice*, Point const&) const -BitmapEx::Replace(Color const&, Color const&, unsigned char) -BitmapEx::SetSizePixel(Size const&) -BitmapEx::getTransformed(basegfx::B2DHomMatrix const&, basegfx::B2DRange const&, double) const -BitmapEx::loadFromIconTheme(rtl::OUString const&) BitmapFilterStackBlur::execute(BitmapEx const&) const BitmapHelper::BitmapHelper(SalBitmap const&, bool) BitmapHelper::getBits(int&) @@ -109,14 +43,6 @@ BitmapInfoAccess::GetMatchingPaletteIndex(BitmapColor const&) const BitmapMedianFilter::execute(BitmapEx const&) const BitmapMonochromeFilter::execute(BitmapEx const&) const BitmapMosaicFilter::execute(BitmapEx const&) const -BitmapPalette::BitmapPalette(BitmapColor const*, BitmapColor const*) -BitmapPalette::BitmapPalette(BitmapPalette&&) -BitmapPalette::GetChecksum() const -BitmapPalette::GetMatchingIndex(BitmapColor const&) const -BitmapPalette::IsGreyPalette8Bit() const -BitmapPalette::IsGreyPaletteAny() const -BitmapPalette::operator=(BitmapPalette&&) -BitmapPalette::operator==(BitmapPalette const&) const BitmapPopArtFilter::execute(BitmapEx const&) const BitmapSepiaFilter::execute(BitmapEx const&) const BitmapShadowFilter::execute(BitmapEx const&) const @@ -125,9 +51,6 @@ BitmapSmoothenFilter::execute(BitmapEx const&) const BitmapSobelGreyFilter::execute(BitmapEx const&) const BitmapSolarizeFilter::execute(BitmapEx const&) const BitmapSymmetryCheck::checkImpl(BitmapReadAccess const*) -BitmapWriteAccess::CopyScanline(long, BitmapReadAccess const&) -BitmapWriteAccess::CopyScanline(long, unsigned char const*, ScanlineFormat, unsigned int) -BitmapWriteAccess::DrawLine(Point const&, Point const&) BitmapWriteAccess::SetFillColor() BmpWriter(SvStream&, Graphic const&, FilterConfigItem*) BrowseBox::BrowseBox(vcl::Window*, long, BrowserMode) @@ -158,16 +81,6 @@ BuilderBase::collectAtkRelationAttribute(xmlreader::XmlReader&, std::map<rtl::OU BuilderBase::collectAtkRoleAttribute(xmlreader::XmlReader&, std::map<rtl::OUString, rtl::OUString, std::less<rtl::OUString>, std::allocator<std::pair<rtl::OUString const, rtl::OUString> > >&) BuilderBase::collectPangoAttribute(xmlreader::XmlReader&, std::map<rtl::OUString, rtl::OUString, std::less<rtl::OUString>, std::allocator<std::pair<rtl::OUString const, rtl::OUString> > >&) BuilderBase::isToolbarItemClass(std::basic_string_view<char16_t, std::char_traits<char16_t> >) -Button::Button(WindowType) -Button::GetButtonState() -Button::GetButtonState() const -Button::GetCustomButtonImage() const -Button::GetModeImage() const -Button::HasImage() const -Button::IsSmallSymbol() const -Button::SetCommandHandler(rtl::OUString const&, com::sun::star::uno::Reference<com::sun::star::frame::XFrame> const&) -Button::SetCustomButtonImage(Image const&) -Button::SetSmallSymbol() CLuceneError::CLuceneError() CLuceneError::CLuceneError(CLuceneError const&) CLuceneError::CLuceneError(int, char const*, bool) @@ -239,30 +152,6 @@ ColorWindow::SelectEntry(NamedColor const&) ColorWindow::SelectValueSetEntry(SvxColorValueSet*, Color const&) ColorWindow::ShowNoneButton() ColorWindow::statusChanged(com::sun::star::frame::FeatureStateEvent const&) -ComboBox::AdaptDropDownLineCountToMaximum() -ComboBox::AddSeparator(int) -ComboBox::DoubleClick() -ComboBox::DrawEntry(UserDrawEvent const&) -ComboBox::EnableUserDraw(bool) -ComboBox::GetDropDownEntryHeight() const -ComboBox::GetEntryData(int) const -ComboBox::GetMRUEntries() const -ComboBox::GetMainWindow() const -ComboBox::GetMaxMRUCount() const -ComboBox::IsAutoSizeEnabled() const -ComboBox::IsDropDownBox() const -ComboBox::IsModifyByKeyboard() const -ComboBox::IsSyntheticModify() const -ComboBox::IsUserDrawEnabled() const -ComboBox::SetEntryActivateHdl(Link<Edit&, bool> const&) -ComboBox::SetEntryData(int, void*) -ComboBox::SetMRUEntries(std::basic_string_view<char16_t, std::char_traits<char16_t> >) -ComboBox::SetMaxMRUCount(int) -ComboBox::SetSelectHdl(Link<ComboBox&, void> const&) -ComboBox::SetUserDrawHdl(Link<UserDrawEvent*, void> const&) -ComboBox::SetUserItemSize(Size const&) -ComboBox::SetWidthInChars(int) -ComboBox::setMaxWidthChars(int) CommandEvent::CommandEvent() CommandEvent::GetAutoScrollData() const CommandEvent::GetGesturePanData() const @@ -480,20 +369,6 @@ DockingAreaWindow::Resize() DockingAreaWindow::StateChanged(StateChangedType) DockingAreaWindow::dispose() DockingAreaWindow::~DockingAreaWindow() -DockingManager::AddWindow(vcl::Window const*) -DockingManager::DockingManager() -DockingManager::GetDockingWindowWrapper(vcl::Window const*) -DockingManager::IsInPopupMode(vcl::Window const*) -DockingManager::RemoveWindow(vcl::Window const*) -DockingManager::SetPopupModeEndHdl(vcl::Window const*, Link<FloatingWindow*, void> const&) -DockingManager::StartPopupMode(vcl::Window const*, tools::Rectangle const&, FloatWinPopupFlags) -DockingManager::~DockingManager() -DockingWindow::DockingWindow(WindowType, char const*) -DockingWindow::DockingWindow(vcl::Window*, rtl::OUString const&, rtl::OUString const&, char const*, com::sun::star::uno::Reference<com::sun::star::frame::XFrame> const&) -DockingWindow::SetMaxOutputSizePixel(Size const&) -DockingWindow::isLayoutEnabled() const -DockingWindow::loadUI(vcl::Window*, rtl::OUString const&, rtl::OUString const&, com::sun::star::uno::Reference<com::sun::star::frame::XFrame> const&) -DockingWindow::setOptimalLayoutSize() DocumentSignatureManager::ImplOpenSignatureStream(int, bool) DocumentSignatureManager::getGpgSecurityContext() const DocumentSignatureManager::getGpgSecurityEnvironment() @@ -517,11 +392,6 @@ DriverBlocklist::Parser::handleContent(xmlreader::XmlReader&) DriverBlocklist::Parser::handleDevices(DriverBlocklist::DriverInfo&, xmlreader::XmlReader&) DriverBlocklist::Parser::handleEntry(DriverBlocklist::DriverInfo&, xmlreader::XmlReader&) DriverBlocklist::Parser::handleList(xmlreader::XmlReader&) -DropTargetHelper::AcceptDrop(AcceptDropEvent const&) -DropTargetHelper::ExecuteDrop(ExecuteDropEvent const&) -DropTargetHelper::ImplBeginDrag(com::sun::star::uno::Sequence<com::sun::star::datatransfer::DataFlavor> const&) -DropTargetHelper::ImplConstruct() -DropTargetHelper::ImplEndDrag() E3dAttributesUndoAction::CanRepeat(SfxRepeatTarget&) const E3dAttributesUndoAction::Redo() E3dAttributesUndoAction::Undo() @@ -622,18 +492,6 @@ E3dView::InitView() EFieldInfo::EFieldInfo(EFieldInfo const&) EFieldInfo::EFieldInfo(SvxFieldItem const&, int, int) EFieldInfo::operator=(EFieldInfo const&) -Edit::CreatePopupMenu() -Edit::Edit(WindowType) -Edit::IsCharInput(KeyEvent const&) -Edit::IsInsertMode() const -Edit::SetCursorAtLast() -Edit::SetInsertMode(bool) -Edit::SetPlaceholderText(rtl::OUString const&) -Edit::SetSubEdit(Edit*) -Edit::SetWidthInChars(int) -Edit::ShowTruncationWarning(weld::Widget*) -Edit::Undo() -Edit::setMaxWidthChars(int) EditAbstractDialogFactory::Create() EditEngine::AppendDeletedNodeInfo(DeletedNodeInfo*) EditEngine::CallHtmlImportHandler(HtmlImportInfo&) @@ -835,13 +693,6 @@ FilterConfigItem::GetStatusIndicator() const FilterConfigItem::ImpInitTree(std::basic_string_view<char16_t, std::char_traits<char16_t> >) FilterConfigItem::ImplGetPropertyValue(com::sun::star::uno::Any&, com::sun::star::uno::Reference<com::sun::star::beans::XPropertySet> const&, rtl::OUString const&) FilterConfigItem::WritePropertyValue(com::sun::star::uno::Sequence<com::sun::star::beans::PropertyValue>&, com::sun::star::beans::PropertyValue const&) -FixedBitmap::ApplySettings(OutputDevice&) -FixedBitmap::DataChanged(DataChangedEvent const&) -FixedBitmap::Draw(OutputDevice*, Point const&, SystemTextColorFlags) -FixedBitmap::Paint(OutputDevice&, tools::Rectangle const&) -FixedBitmap::Resize() -FixedBitmap::SetBitmap(BitmapEx const&) -FixedBitmap::StateChanged(StateChangedType) FixedHyperlink::GetFocus() FixedHyperlink::Initialize() FixedHyperlink::KeyInput(KeyEvent const&) @@ -850,16 +701,6 @@ FixedHyperlink::MouseButtonUp(MouseEvent const&) FixedHyperlink::MouseMove(MouseEvent const&) FixedHyperlink::RequestHelp(HelpEvent const&) FixedHyperlink::set_property(rtl::OUString const&, rtl::OUString const&) -FixedImage::ApplySettings(OutputDevice&) -FixedImage::DataChanged(DataChangedEvent const&) -FixedImage::Draw(OutputDevice*, Point const&, SystemTextColorFlags) -FixedImage::DumpAsPropertyTree(tools::JsonWriter&) -FixedImage::GetOptimalSize() const -FixedImage::Paint(OutputDevice&, tools::Rectangle const&) -FixedImage::Resize() -FixedImage::StateChanged(StateChangedType) -FixedImage::loadThemeImage(rtl::OUString const&) -FixedImage::set_property(rtl::OUString const&, rtl::OUString const&) FixedLine::ApplySettings(OutputDevice&) FixedLine::DataChanged(DataChangedEvent const&) FixedLine::Draw(OutputDevice*, Point const&, SystemTextColorFlags) @@ -890,21 +731,6 @@ FixedText::setMinWidthChars(int) FixedText::set_mnemonic_widget(vcl::Window*) FixedText::set_property(rtl::OUString const&, rtl::OUString const&) FixedText::~FixedText() -FloatingWindow::AddPopupModeWindow(vcl::Window*) -FloatingWindow::ApplySettings(OutputDevice&) -FloatingWindow::DataChanged(DataChangedEvent const&) -FloatingWindow::EventNotify(NotifyEvent&) -FloatingWindow::FloatingWindow(vcl::Window*, rtl::OUString const&, rtl::OUString const&, com::sun::star::uno::Reference<com::sun::star::frame::XFrame> const&) -FloatingWindow::ImplConvertToRelPos(vcl::Window*, AbsoluteScreenPixelRectangle const&) -FloatingWindow::PixelInvalidate(tools::Rectangle const*) -FloatingWindow::PopupModeEnd() -FloatingWindow::SetTitleType(FloatWinTitleType) -FloatingWindow::StartPopupMode(ToolBox*, FloatWinPopupFlags) -FloatingWindow::StartPopupMode(tools::Rectangle const&, FloatWinPopupFlags) -FloatingWindow::StateChanged(StateChangedType) -FloatingWindow::dispose() -FloatingWindow::doDeferredInit(long) -FloatingWindow::~FloatingWindow() FmDesignModeChangedHint::FmDesignModeChangedHint(bool) FmDesignModeChangedHint::~FmDesignModeChangedHint() FmFormModel::AllocPage(bool) @@ -976,28 +802,11 @@ FocusListenerMultiplexer::focusLost(com::sun::star::awt::FocusEvent const&) FocusListenerMultiplexer::queryInterface(com::sun::star::uno::Type const&) FocusListenerMultiplexer::release() FontAttributes::CompareDeviceIndependentFontAttributes(FontAttributes const&) const -FontCharMap::FontCharMap(bool, std::vector<unsigned int, std::allocator<unsigned int> >) -FontCharMap::FontCharMap(tools::SvRef<ImplFontCharMap>) -FontCharMap::findRangeIndex(unsigned int) const -FontCharMap::isMicrosoftSymbolMap() const -FontCharMap::~FontCharMap() FontConfigFontOptions::SyncPattern(rtl::OString const&, unsigned int, unsigned int, bool) FontConfigFontOptions::cairo_font_options_substitute(_FcPattern*) FontConfigFontOptions::~FontConfigFontOptions() FontList::GetNextFontMetric(void*) FontList::GetStyleName(FontWeight, FontItalic) const -FontMetric::EqualIgnoreColor(FontMetric const&) const -FontMetric::EqualNoBase(FontMetric const&) const -FontMetric::FontMetric(vcl::font::PhysicalFontFace const&) -FontMetric::GetHashValueIgnoreColor() const -FontMetric::GetHashValueNoBase() const -FontMetricData::FontMetricData(vcl::font::FontSelectPattern const&) -FontMetricData::ImplInitAboveTextLineSize(OutputDevice const*) -FontMetricData::ImplInitFlags(OutputDevice const*) -FontMetricData::ImplInitTextLineSize(OutputDevice const*) -FontMetricData::ImplInitTextLineSizeHarfBuzz(LogicalFontInstance*) -FontMetricData::ShouldNotUseUnderlineMetrics() const -FontMetricData::ShouldUseWinMetrics(int, int, int, int, int, int) const FontNameBox::CachePreview(unsigned long, Point*, int, int) FontNameBox::InitFontMRUEntriesFile() FontNameBox::LoadMRUEntries(rtl::OUString const&) @@ -1007,11 +816,6 @@ FontSizeBox::SetValue(int, FieldUnit) FontSizeBox::format_number(int) const FontSizeNames::Name2Size(std::basic_string_view<char16_t, std::char_traits<char16_t> >) const FontSizeNames::Size2Name(int) const -FontSubsetInfo::CreateFontSubset(FontType, SvStream*, char const*, unsigned int const*, unsigned char const*, int) -FontSubsetInfo::CreateFontSubsetFromCff() -FontSubsetInfo::FontSubsetInfo() -FontSubsetInfo::LoadFont(FontType, unsigned char const*, int) -FontSubsetInfo::~FontSubsetInfo() FormattedField::Down() FormattedField::DumpAsPropertyTree(tools::JsonWriter&) FormattedField::EventNotify(NotifyEvent&) @@ -1054,29 +858,7 @@ Fraction::Fraction(double, double) Fraction::operator-=(Fraction const&) FrameDeleteWatch::Notify(SfxHint const&) FreeTypeTextRenderImpl::ClearDevFontCache() -FreetypeFont::ApplyGlyphTransform(bool, FT_GlyphRec_*) const -FreetypeFont::FreetypeFont(FreetypeFontInstance&, std::shared_ptr<FreetypeFontInfo>) -FreetypeFont::GetFontFaceIndex() const -FreetypeFont::GetFontFaceVariation() const -FreetypeFont::GetFontFileName() const -FreetypeFont::GetFontMetric(tools::SvRef<FontMetricData> const&) const -FreetypeFont::GetFtFace() const -FreetypeFont::GetGlyphOutline(unsigned int, basegfx::B2DPolyPolygon&, bool) const -FreetypeFont::~FreetypeFont() -FreetypeManager::AnnounceFonts(vcl::font::PhysicalFontCollection*) const -FreetypeManager::CreateFont(FreetypeFontInstance*) -FreetypeManager::FindFontFile(rtl::OString const&) -FreetypeManager::FreetypeManager() -FreetypeManager::InitFreetype() -FreetypeManager::~FreetypeManager() FuConstUnoControl::Activate() -GDIMetaFile::GetSizeBytes() const -GDIMetaFile::Linker(OutputDevice*, bool) -GDIMetaFile::Mirror(BmpMirrorFlags) -GDIMetaFile::ReplaceAction(rtl::Reference<MetaAction>, unsigned long) -GDIMetaFile::Rotate(o3tl::strong_int<short, FractionTag<10> >) -GDIMetaFile::dumpAsXml(char const*) const -GDIMetaFile::push_back(rtl::Reference<MetaAction> const&) GLWindow::Synchronize(bool) const GUB_count GalleryExplorer::BeginLocking(std::basic_string_view<char16_t, std::char_traits<char16_t> >) @@ -1105,35 +887,6 @@ GalleryThemeEntry::getCachedTheme(Gallery*) GalleryThemeEntry::removeTheme() GalleryThemeEntry::setStorageLocations(INetURLObject&) GalleryThemeEntry::~GalleryThemeEntry() -GenPspGraphics::AddTempDevFont(vcl::font::PhysicalFontCollection*, rtl::OUString const&, rtl::OUString const&) -GenPspGraphics::ClearDevFontCache() -GenPspGraphics::CreateBitmapSurface(OutputDevice const&, BitmapSystemData const&, Size const&) const -GenPspGraphics::CreateSurface(OutputDevice const&, int, int, int, int) const -GenPspGraphics::CreateSurface(std::shared_ptr<_cairo_surface> const&) const -GenPspGraphics::DrawTextLayout(GenericSalLayout const&) -GenPspGraphics::GetDevFontList(vcl::font::PhysicalFontCollection*) -GenPspGraphics::GetFontCapabilities(vcl::FontCapabilities&) const -GenPspGraphics::GetFontCharMap() const -GenPspGraphics::GetFontMetric(tools::SvRef<FontMetricData>&, int) -GenPspGraphics::GetGraphicsData() const -GenPspGraphics::GetNativeSurfaceHandle(std::shared_ptr<cairo::Surface>&, basegfx::B2ISize const&) const -GenPspGraphics::GetResolution(int&, int&) -GenPspGraphics::GetTextLayout(int) -GenPspGraphics::Init(psp::JobData*) -GenPspGraphics::SetFont(LogicalFontInstance*, int) -GenPspGraphics::SetTextColor(Color) -GenPspGraphics::SupportsCairo() const -GenPspGraphics::~GenPspGraphics() -GenericSalLayout::ApplyAsianKerning(std::basic_string_view<char16_t, std::char_traits<char16_t> >) -GenericSalLayout::ApplyDXArray(double const*, unsigned char const*) -GenericSalLayout::DropGlyph(int) -GenericSalLayout::GetCharWidths(std::vector<double, std::allocator<double> >&, rtl::OUString const&) const -GenericSalLayout::HasVerticalAlternate(unsigned int, unsigned int) -GenericSalLayout::Justify(double) -GenericSalLayout::MoveGlyph(int, double) -GenericSalLayout::ParseFeatures(std::basic_string_view<char16_t, std::char_traits<char16_t> >) -GenericSalLayout::SetNeedFallback(vcl::text::ImplLayoutArgs&, int, bool) -GenericSalLayout::Simplify(bool) GenericUnixSalData::InitFreetypeManager() GenericUnixSalData::InitPrintFontManager() GetODFSaneDefaultVersion(SvtSaveOptions::ODFDefaultVersion) @@ -1319,22 +1072,9 @@ GrYUVABackendTextureInfo::operator==(GrYUVABackendTextureInfo const&) const GrYUVABackendTextureInfo::toYUVALocations() const GrYUVABackendTextures::GrYUVABackendTextures(SkYUVAInfo const&, GrBackendTexture const*, GrSurfaceOrigin) GrYUVABackendTextures::toYUVALocations() const -Gradient::DrawComplexGradientToMetafile(tools::Rectangle const&, GDIMetaFile&) const -Gradient::DrawLinearGradientToMetafile(tools::Rectangle const&, GDIMetaFile&) const -Gradient::GetMetafileSteps(tools::Rectangle const&) const -Gradient::MakeGrayscale() Gradient::operator=(Gradient const&) Gradient::operator=(Gradient&&) Gradient::operator==(Gradient const&) const -Graphic::GetAnimationLoopCount() const -Graphic::GetAnimationNotifyHdl() const -Graphic::Graphic(std::shared_ptr<GfxLink> const&, int) -Graphic::IsDummyContext() const -Graphic::IsEPS() const -Graphic::SetAnimationNotifyHdl(Link<Animation*, void> const&) -Graphic::SetDummyContext(bool) -Graphic::SetReaderContext(std::shared_ptr<GraphicReader> const&) -Graphic::getUniqueID() const GraphicConverter::GraphicConverter() GraphicDescriptor::ImpConstruct() GraphicDescriptor::ImpDetectBMP(SvStream&, bool) @@ -1628,21 +1368,6 @@ ImageControl::ImplDraw(OutputDevice&, Point const&, Size const&) const ImageControl::LoseFocus() ImageControl::Paint(OutputDevice&, tools::Rectangle const&) ImageControl::Resize() -ImageMap::ImpDetectFormat(SvStream&) -ImageMap::ImpReadCERN(SvStream&) -ImageMap::ImpReadCERNCoords(char const**) -ImageMap::ImpReadCERNLine(std::basic_string_view<char, std::char_traits<char> >) -ImageMap::ImpReadCERNRadius(char const**) -ImageMap::ImpReadCERNURL(char const**) -ImageMap::ImpReadImageMap(SvStream&, unsigned long) -ImageMap::ImpReadNCSA(SvStream&) -ImageMap::ImpReadNCSACoords(char const**) -ImageMap::ImpReadNCSALine(std::basic_string_view<char, std::char_traits<char> >) -ImageMap::ImpReadNCSAURL(char const**) -ImageMap::ImpWriteCERN(SvStream&) const -ImageMap::ImpWriteImageMap(SvStream&) const -ImageMap::ImpWriteNCSA(SvStream&) const -ImageMap::Write(SvStream&) const ImageTree::getNameAccess() ImageTree::loadImage(rtl::OUString const&, rtl::OUString const&, BitmapEx&, bool, int, ImageLoadFlags) ImageTree::shutdown() @@ -1777,16 +1502,6 @@ LogLuv24fromXYZ LogLuv24toXYZ LogLuv32fromXYZ LogLuv32toXYZ -LogicalFontInstance::AddFallbackForUnicode(unsigned int, FontWeight, rtl::OUString const&, bool, ItalicMatrix const&) -LogicalFontInstance::GetFallbackForUnicode(unsigned int, FontWeight, rtl::OUString*, bool*, ItalicMatrix*) const -LogicalFontInstance::GetGlyphOutlineUntransformed(unsigned int) const -LogicalFontInstance::GetGlyphWidth(unsigned int, bool, bool) const -LogicalFontInstance::GetHbFontUntransformed() const -LogicalFontInstance::GetScale(double*, double*) const -LogicalFontInstance::IgnoreFallbackForUnicode(unsigned int, FontWeight, std::basic_string_view<char16_t, std::char_traits<char16_t> >) -LogicalFontInstance::InitHbFont() -LogicalFontInstance::IsGraphiteFont() -LogicalFontInstance::NeedOffsetCorrection(int) LokChartHelper::Hit(Point const&) LokChartHelper::HitAny(Point const&, bool) LokChartHelper::Invalidate() @@ -1826,34 +1541,6 @@ Menu::SetAccessibleName(unsigned short, rtl::OUString const&) Menu::dispose() Menu::operator=(Menu const&) Menu::~Menu() -MenuBar::AddMenuBarButton(Image const&, Link<MenuBarButtonCallbackArg&, bool> const&, rtl::OUString const&) -MenuBar::ClosePopup(Menu*) -MenuBar::GetMenuBarButtonRectPixel(unsigned short) -MenuBar::GetMenuBarHeight() const -MenuBar::HandleMenuHighlightEvent(Menu*, unsigned short) const -MenuBar::MenuBar(MenuBar const&) -MenuBar::MenuBarKeyInput(KeyEvent const&) -MenuBar::RemoveMenuBarButton(unsigned short) -MenuBar::SelectItem(unsigned short) -MenuBar::SetMenuBarButtonHighlightHdl(unsigned short, Link<MenuBarButtonCallbackArg&, bool> const&) -MenuBar::ShowButtons(bool, bool, bool) -MenuBar::dispose() -MenuBar::getMenuBarWindow() -MenuBar::~MenuBar() -MenuBarUpdateIconManager::AddMenuBarIcon(SystemWindow&, bool) -MenuBarUpdateIconManager::GetBubbleWindow() -MenuBarUpdateIconManager::GetIconID(MenuBar*) const -MenuBarUpdateIconManager::MenuBarUpdateIconManager() -MenuBarUpdateIconManager::RemoveBubbleWindow() -MenuBarUpdateIconManager::RemoveMenuBarIcon(MenuBar*) -MenuBarUpdateIconManager::RemoveMenuBarIcons() -MenuBarUpdateIconManager::SetBubbleChanged() -MenuBarUpdateIconManager::SetBubbleImage(Image const&) -MenuBarUpdateIconManager::SetBubbleText(rtl::OUString const&) -MenuBarUpdateIconManager::SetBubbleTitle(rtl::OUString const&) -MenuBarUpdateIconManager::SetShowBubble(bool) -MenuBarUpdateIconManager::SetShowMenuIcon(bool) -MenuBarUpdateIconManager::~MenuBarUpdateIconManager() MenuButton::Activate() MenuButton::CancelMenu() MenuButton::DumpAsPropertyTree(tools::JsonWriter&) @@ -18599,46 +18286,7 @@ vcl::ControlLayoutData::ToRelativeLineIndex(long) const vcl::ConvertDoubleValue(double, long, unsigned short, FieldUnit, FieldUnit) vcl::CreateTTFfontSubset(vcl::AbstractTrueTypeFont&, std::vector<unsigned char, std::allocator<unsigned char> >&, unsigned int const*, unsigned char const*, int, FontSubsetInfo&) vcl::CreateTTFromTTGlyphs(vcl::AbstractTrueTypeFont*, std::vector<unsigned char, std::allocator<unsigned char> >&, unsigned short const*, unsigned char const*, int) -vcl::Cursor::Cursor(vcl::Cursor const&) -vcl::Cursor::ImplDoHide(bool) -vcl::Cursor::ImplDoShow(bool, bool) -vcl::Cursor::ImplPrepForDraw(OutputDevice const*, ImplCursorData&) -vcl::Cursor::ImplRestore() -vcl::Cursor::LOKNotify(vcl::Window*, rtl::OUString const&) -vcl::Cursor::operator=(vcl::Cursor const&) -vcl::Cursor::operator==(vcl::Cursor const&) const -vcl::DefaultTextLayout::DecomposeTextRectAction() const -vcl::DefaultTextLayout::DrawText(Point const&, rtl::OUString const&, int, int, std::vector<tools::Rectangle, std::allocator<tools::Rectangle> >*, rtl::OUString*) -vcl::DefaultTextLayout::GetTextArray(rtl::OUString const&, KernArray*, int, int, bool) const -vcl::DefaultTextLayout::GetTextBreak(rtl::OUString const&, long, int, int) const -vcl::DefaultTextLayout::GetTextWidth(rtl::OUString const&, int, int) const -vcl::EnumContext::AddEntry(rtl::OUString const&, vcl::EnumContext::Application) -vcl::EnumContext::AddEntry(rtl::OUString const&, vcl::EnumContext::Context) -vcl::EnumContext::GetApplication_DI() const -vcl::EnumContext::ProvideApplicationContainers() -vcl::EnumContext::ProvideContextContainers() vcl::ExtOutDevData::~ExtOutDevData() -vcl::Font::EqualIgnoreColor(vcl::Font const&) const -vcl::Font::GetAverageFontSize() const -vcl::Font::GetCJKContextLanguageTag() const -vcl::Font::GetFontAttributes(FontAttributes&) const -vcl::Font::GetFontFamily() const -vcl::Font::GetHashValueIgnoreColor() const -vcl::Font::GetLanguageTag() const -vcl::Font::SetCJKContextLanguageTag(LanguageTag const&) -vcl::Font::SetLanguageTag(LanguageTag const&) -vcl::GetTTGlobalFontHeadInfo(vcl::AbstractTrueTypeFont const*, int&, int&, int&, int&, unsigned short&) -vcl::GetTTGlobalFontInfo(vcl::AbstractTrueTypeFont*, vcl::TTGlobalFontInfo_*) -vcl::GraphicFormatDetector::checkAndUncompressBuffer(unsigned char*, unsigned int, unsigned long&) -vcl::GraphicFormatDetector::checkDXF() -vcl::GraphicFormatDetector::checkMOV() -vcl::GraphicFormatDetector::checkPBM() -vcl::GraphicFormatDetector::checkPCD() -vcl::GraphicFormatDetector::checkPCT() -vcl::GraphicFormatDetector::checkPGM() -vcl::GraphicFormatDetector::checkPPM() -vcl::GraphicFormatDetector::checkRAS() -vcl::GraphicFormatDetector::checkSVM() vcl::I18nHelper::I18nHelper(com::sun::star::uno::Reference<com::sun::star::uno::XComponentContext> const&, LanguageTag) vcl::I18nHelper::filterFormattingChars(rtl::OUString const&) vcl::I18nHelper::~I18nHelper() @@ -18691,233 +18339,12 @@ vcl::PDFExtOutDevData::RegisterDest() vcl::PaintBufferGuard::SetPaintRect(tools::Rectangle const&) vcl::PngImageReader::getMicrosoftGifChunk(SvStream&) vcl::PngImageReader::isAPng(SvStream&) -vcl::PrinterController::abortJob() -vcl::PrinterController::createProgressDialog() -vcl::PrinterController::getBoolProperty(rtl::OUString const&, bool) const -vcl::PrinterController::getFilteredPageCount() const -vcl::PrinterController::getFilteredPageFile(int, GDIMetaFile&, bool) -vcl::PrinterController::getIntProperty(rtl::OUString const&, int) const -vcl::PrinterController::getJobState() const -vcl::PrinterController::getPrinterModified() const -vcl::PrinterController::getUIOptions() const -vcl::PrinterController::getWindow() const -vcl::PrinterController::isDirectPrint() const -vcl::PrinterController::isProgressCanceled() const -vcl::PrinterController::isShowDialogs() const -vcl::PrinterController::isUIChoiceEnabled(rtl::OUString const&, int) const -vcl::PrinterController::isUIOptionEnabled(rtl::OUString const&) const -vcl::PrinterController::jobFinished(com::sun::star::view::PrintableState) -vcl::PrinterController::jobStarted() -vcl::PrinterController::makeEnabled(rtl::OUString const&) -vcl::PrinterController::printFilteredPage(int) -vcl::PrinterController::setLastPage(bool) -vcl::PrinterController::setValue(com::sun::star::beans::PropertyValue const&) vcl::PrinterOptionsHelper::setUIControlOpt(com::sun::star::uno::Sequence<rtl::OUString> const&, rtl::OUString const&, com::sun::star::uno::Sequence<rtl::OUString> const&, rtl::OUString const&, com::sun::star::beans::PropertyValue const*, vcl::PrinterOptionsHelper::UIControlOptions const&) vcl::ReadRegion(SvStream&, vcl::Region&) vcl::Region::GetAsRegionBand() const vcl::Region::Overlaps(tools::Rectangle const&) const vcl::Region::Scale(double, double) vcl::ScriptRun::next() -vcl::SettingsConfigItem::ImplCommit() -vcl::SettingsConfigItem::Notify(com::sun::star::uno::Sequence<rtl::OUString> const&) -vcl::SettingsConfigItem::SettingsConfigItem() -vcl::SettingsConfigItem::getValues() -vcl::SettingsConfigItem::setValue(rtl::OUString const&, rtl::OUString const&, rtl::OUString const&) -vcl::SettingsConfigItem::~SettingsConfigItem() -vcl::TextLayoutCommon::BreakLineSimple(long, rtl::OUString const&, int, int, long) -vcl::TextLayoutCommon::GetCenterEllipsisString(std::basic_string_view<char16_t, std::char_traits<char16_t> >, int, long) -vcl::TextLayoutCommon::GetEllipsisString(rtl::OUString const&, long, DrawTextFlags) -vcl::TextLayoutCommon::GetEndEllipsisString(rtl::OUString const&, int, long, bool) -vcl::TextLayoutCommon::GetNewsEllipsisString(rtl::OUString const&, long, DrawTextFlags) -vcl::TextLayoutCommon::GetTextLines(tools::Rectangle const&, long, ImplMultiTextLineInfo&, long, rtl::OUString const&, DrawTextFlags) -vcl::TextLayoutCommon::~TextLayoutCommon() -vcl::WidgetDefinitionReader::readDefinition(tools::XmlWalker&, vcl::WidgetDefinition&, ControlType) -vcl::WidgetDefinitionReader::readDrawingDefinition(tools::XmlWalker&, std::shared_ptr<vcl::WidgetDefinitionState> const&) -vcl::WidgetDefinitionReader::readPart(tools::XmlWalker&, std::shared_ptr<vcl::WidgetDefinitionPart>) -vcl::Window::CalcOutputSize(Size const&) const -vcl::Window::EnableAlwaysOnTop(bool) -vcl::Window::EnableInput(bool, vcl::Window const*) -vcl::Window::EndAutoScroll() -vcl::Window::EndExtTextInput() -vcl::Window::EndSaveFocus(VclPtr<vcl::Window> const&) -vcl::Window::Erase(OutputDevice&) -vcl::Window::GetActivateMode() const -vcl::Window::GetCursorExtTextInputWidth() const -vcl::Window::GetCursorRect() const -vcl::Window::GetDialogControlFlags() const -vcl::Window::GetDrawPixel(OutputDevice const*, long) const -vcl::Window::GetLastPointerPosPixel() -vcl::Window::GetNativeControlRegion(ControlType, ControlPart, tools::Rectangle const&, ControlState, ImplControlValue const&, tools::Rectangle&, tools::Rectangle&) const -vcl::Window::GetOutputRectPixel() const -vcl::Window::GetOverlineColor() const -vcl::Window::GetParentClipMode() const -vcl::Window::GetParentDialog() const -vcl::Window::GetPrevStyle() const -vcl::Window::GetTextAlign() const -vcl::Window::HasPaintEvent() const -vcl::Window::ImplGetWindow() const -vcl::Window::InvalidateSizeCache() -vcl::Window::IsAlwaysEnableInput() const -vcl::Window::IsAlwaysOnTopEnabled() const -vcl::Window::IsCreatedWithToolkit() const -vcl::Window::IsDefaultSize() const -vcl::Window::IsDialogControlStart() const -vcl::Window::IsDockingWindow() const -vcl::Window::IsInInitShow() const -vcl::Window::IsLOKWindowsEmpty() -vcl::Window::IsNativeControlSupported(ControlType, ControlPart) const -vcl::Window::IsOverlineColor() const -vcl::Window::IsScrollable() const -vcl::Window::IsTextFillColor() const -vcl::Window::NormalizedScreenToOutputPixel(Point const&) const -vcl::Window::NotifyAllChildren(DataChangedEvent&) -vcl::Window::PixelToLogic(vcl::Region const&) const -vcl::Window::SaveFocus() -vcl::Window::SetAccessibleDescription(rtl::OUString const&) -vcl::Window::SetAccessibleRelationLabelFor(vcl::Window*) -vcl::Window::SetAccessibleRelationLabeledBy(vcl::Window*) -vcl::Window::SetActivateMode(ActivateModeFlags) -vcl::Window::SetDumpAsPropertyTreeHdl(Link<tools::JsonWriter&, void> const&) -vcl::Window::SetFakeFocus(bool) -vcl::Window::SetHelpHdl(Link<vcl::Window&, bool> const&) -vcl::Window::SetMapMode() -vcl::Window::SetMnemonicActivateHdl(Link<vcl::Window&, bool> const&) -vcl::Window::SetOverlineColor() -vcl::Window::SetOverlineColor(Color const&) -vcl::Window::SetTextAlign(TextAlign) -vcl::Window::SetWindowRegionPixel() -vcl::Window::SetWindowRegionPixel(vcl::Region const&) -vcl::Window::StartAutoScroll(StartAutoScrollFlags) -vcl::Window::UpdateSettings(AllSettings const&, bool) -vcl::Window::Window(WindowType) -vcl::Window::add_mnemonic_label(FixedText*) -vcl::Window::add_to_size_group(std::shared_ptr<VclSizeGroup> const&) -vcl::Window::get_border_width() const -vcl::Window::get_fill() const -vcl::Window::get_grid_height() const -vcl::Window::get_grid_left_attach() const -vcl::Window::get_grid_top_attach() const -vcl::Window::get_grid_width() const -vcl::Window::get_halign() const -vcl::Window::get_hexpand() const -vcl::Window::get_margin_bottom() const -vcl::Window::get_margin_end() const -vcl::Window::get_margin_start() const -vcl::Window::get_margin_top() const -vcl::Window::get_non_homogeneous() const -vcl::Window::get_pack_type() const -vcl::Window::get_padding() const -vcl::Window::get_secondary() const -vcl::Window::get_ungrouped_preferred_size() const -vcl::Window::get_valign() const -vcl::Window::list_mnemonic_labels() const -vcl::Window::remove_from_all_size_groups() -vcl::Window::remove_mnemonic_label(FixedText*) -vcl::Window::reorderWithinParent(unsigned short) -vcl::Window::set_fill(bool) -vcl::Window::set_font_attribute(rtl::OUString const&, std::basic_string_view<char16_t, std::char_traits<char16_t> >) -vcl::Window::set_grid_height(int) -vcl::Window::set_grid_left_attach(int) -vcl::Window::set_grid_top_attach(int) -vcl::Window::set_grid_width(int) -vcl::Window::set_halign(VclAlign) -vcl::Window::set_margin_bottom(int) -vcl::Window::set_margin_end(int) -vcl::Window::set_margin_start(int) -vcl::Window::set_non_homogeneous(bool) -vcl::Window::set_pack_type(VclPackType) -vcl::Window::set_padding(int) -vcl::Window::set_secondary(bool) -vcl::Window::set_valign(VclAlign) -vcl::WizardMachine::RemovePage(BuilderPage const*) -vcl::WizardMachine::SetPage(short, std::unique_ptr<BuilderPage, std::default_delete<BuilderPage> >) -vcl::WizardMachine::getStateHistory(std::vector<short, std::allocator<short> >&) -vcl::WizardMachine::isAutomaticNextButtonStateEnabled() const -vcl::WizardMachine::isTravelingSuspended() const -vcl::WizardMachine::removePageFromHistory(short) -vcl::WizardMachine::resumeTraveling(vcl::WizardMachine::AccessGuard) -vcl::WizardMachine::suspendTraveling(vcl::WizardMachine::AccessGuard) -vcl::WriteRegion(SvStream&, vcl::Region const&) -vcl::bitmap::get_premultiply_table() -vcl::bitmap::get_unpremultiply_table() -vcl::bitmap::unpremultiply(unsigned char, unsigned char) -vcl::filter::PDFArrayElement::PushBack(vcl::filter::PDFElement*) -vcl::filter::PDFArrayElement::Read(SvStream&) -vcl::filter::PDFBooleanElement::Read(SvStream&) -vcl::filter::PDFCommentElement::PDFCommentElement(vcl::filter::PDFDocument&) -vcl::filter::PDFCommentElement::Read(SvStream&) -vcl::filter::PDFDictionaryElement::Lookup(std::map<rtl::OString, vcl::filter::PDFElement*, std::less<rtl::OString>, std::allocator<std::pair<rtl::OString const, vcl::filter::PDFElement*> > > const&, rtl::OString const&) -vcl::filter::PDFDictionaryElement::Read(SvStream&) -vcl::filter::PDFDictionaryElement::SetKeyOffset(rtl::OString const&, unsigned long) -vcl::filter::PDFDictionaryElement::SetKeyValueLength(rtl::OString const&, unsigned long) -vcl::filter::PDFDocument::DecodeHexString(vcl::filter::PDFHexStringElement const*) -vcl::filter::PDFDocument::FindStartXRef(SvStream&) -vcl::filter::PDFDocument::GetEditBuffer() -vcl::filter::PDFDocument::GetNextSignature() -vcl::filter::PDFDocument::GetObjectOffset(unsigned long) const -vcl::filter::PDFDocument::PushBackEOF(unsigned long) -vcl::filter::PDFDocument::ReadKeyword(SvStream&) -vcl::filter::PDFDocument::ReadWithPossibleFixup(SvStream&) -vcl::filter::PDFDocument::ReadXRef(SvStream&) -vcl::filter::PDFDocument::ReadXRefStream(SvStream&) -vcl::filter::PDFDocument::SetIDObject(unsigned long, vcl::filter::PDFObjectElement*) -vcl::filter::PDFDocument::SkipLineBreaks(SvStream&) -vcl::filter::PDFDocument::SkipWhitespace(SvStream&) -vcl::filter::PDFDocument::Tokenize(SvStream&, vcl::filter::TokenizeMode, std::vector<std::unique_ptr<vcl::filter::PDFElement, std::default_delete<vcl::filter::PDFElement> >, std::allocator<std::unique_ptr<vcl::filter::PDFElement, std::default_delete<vcl::filter::PDFElement> > > >&, vcl::filter::PDFObjectElement*) -vcl::filter::PDFDocument::WriteAnnotObject(vcl::filter::PDFObjectElement const&, int, int, tools::Rectangle const&) -vcl::filter::PDFDocument::WriteAppearanceObject(tools::Rectangle&) -vcl::filter::PDFDocument::WriteCatalogObject(int, vcl::filter::PDFReferenceElement*&) -vcl::filter::PDFDocument::WritePageObject(vcl::filter::PDFObjectElement&, int) -vcl::filter::PDFDocument::WriteSignatureObject(rtl::OUString const&, bool, unsigned long&, long&) -vcl::filter::PDFDocument::WriteXRef(unsigned long, vcl::filter::PDFReferenceElement const*) -vcl::filter::PDFDocument::createObject() -vcl::filter::PDFDocument::updateObject(int) -vcl::filter::PDFDocument::writeBufferBytes(void const*, unsigned long) -vcl::filter::PDFEndArrayElement::GetOffset() const -vcl::filter::PDFEndArrayElement::Read(SvStream&) -vcl::filter::PDFEndDictionaryElement::GetLocation() const -vcl::filter::PDFEndDictionaryElement::Read(SvStream&) -vcl::filter::PDFEndObjectElement::Read(SvStream&) -vcl::filter::PDFEndStreamElement::Read(SvStream&) -vcl::filter::PDFHexStringElement::GetValue() const -vcl::filter::PDFHexStringElement::Read(SvStream&) -vcl::filter::PDFLiteralStringElement::Read(SvStream&) -vcl::filter::PDFNameElement::GetLocation() const -vcl::filter::PDFNameElement::Read(SvStream&) -vcl::filter::PDFNullElement::Read(SvStream&) -vcl::filter::PDFNumberElement::GetLength() const -vcl::filter::PDFNumberElement::GetLocation() const -vcl::filter::PDFNumberElement::Read(SvStream&) -vcl::filter::PDFObjectElement::AddDictionaryReference(vcl::filter::PDFReferenceElement*) -vcl::filter::PDFObjectElement::GetArrayLength() const -vcl::filter::PDFObjectElement::GetArrayOffset() const -vcl::filter::PDFObjectElement::GetDictionaryReferences() const -vcl::filter::PDFObjectElement::GetDocument() -vcl::filter::PDFObjectElement::GetNumberElement() const -vcl::filter::PDFObjectElement::GetObjectValue() const -vcl::filter::PDFObjectElement::GetStoredElements() -vcl::filter::PDFObjectElement::GetStreamBuffer() const -vcl::filter::PDFObjectElement::ParseStoredObjects() -vcl::filter::PDFObjectElement::Read(SvStream&) -vcl::filter::PDFObjectElement::SetArray(vcl::filter::PDFArrayElement*) -vcl::filter::PDFObjectElement::SetArrayLength(unsigned long) -vcl::filter::PDFObjectElement::SetArrayOffset(unsigned long) -vcl::filter::PDFObjectElement::SetDictionary(vcl::filter::PDFDictionaryElement*) -vcl::filter::PDFObjectElement::SetDictionaryLength(unsigned long) -vcl::filter::PDFObjectElement::SetDictionaryOffset(unsigned long) -vcl::filter::PDFObjectElement::SetNumberElement(vcl::filter::PDFNumberElement*) -vcl::filter::PDFObjectElement::SetStream(vcl::filter::PDFStreamElement*) -vcl::filter::PDFObjectElement::SetStreamBuffer(std::unique_ptr<SvMemoryStream, std::default_delete<SvMemoryStream> >&) -vcl::filter::PDFObjectElement::parseIfNecessary() -vcl::filter::PDFReferenceElement::GetObjectElement() const -vcl::filter::PDFReferenceElement::GetOffset() const -vcl::filter::PDFReferenceElement::LookupNumber(SvStream&) const -vcl::filter::PDFReferenceElement::Read(SvStream&) -vcl::filter::PDFStreamElement::GetOffset() const -vcl::filter::PDFStreamElement::PDFStreamElement(unsigned long) -vcl::filter::PDFStreamElement::Read(SvStream&) -vcl::filter::PDFTrailerElement::GetLocation() const -vcl::filter::PDFTrailerElement::Read(SvStream&) vcl::font::FeatureDefinition::FeatureDefinition(unsigned int, TranslateId, rtl::OUString) vcl::font::FeatureDefinition::FeatureDefinition(unsigned int, TranslateId, std::vector<vcl::font::FeatureParameter, std::allocator<vcl::font::FeatureParameter> >) vcl::font::FeatureParameter::FeatureParameter(unsigned int, TranslateId) @@ -18925,33 +18352,6 @@ vcl::font::FeatureParameter::FeatureParameter(unsigned int, rtl::OUString) vcl::font::FontSelectPattern::hashCode() const vcl::font::FontSelectPattern::operator==(vcl::font::FontSelectPattern const&) const vcl::font::OpenTypeFeatureDefinitionList() -vcl::font::PhysicalFontCollection::Clear() -vcl::font::PhysicalFontCollection::Clone() const -vcl::font::PhysicalFontCollection::FindFontFamily(vcl::font::FontSelectPattern&) const -vcl::font::PhysicalFontCollection::GetFontFaceCollection() const -vcl::font::PhysicalFontCollection::GetGlyphFallbackFont(vcl::font::FontSelectPattern&, LogicalFontInstance*, rtl::OUString&, int) const -vcl::font::PhysicalFontCollection::ImplFindFontFamilyBySearchName(rtl::OUString const&) const -vcl::font::PhysicalFontCollection::ImplFindFontFamilyBySubstFontAttr(utl::FontNameAttr const&) const -vcl::font::PhysicalFontCollection::ImplFindFontFamilyOfDefaultFont() const -vcl::font::PhysicalFontCollection::ImplInitGenericGlyphFallback() const -vcl::font::PhysicalFontCollection::ImplInitMatchData() const -vcl::font::PhysicalFontCollection::SetFallbackHook(vcl::font::GlyphFallbackFontSubstitution*) -vcl::font::PhysicalFontCollection::SetPreMatchHook(vcl::font::PreMatchFontSubstitution*) -vcl::font::PhysicalFontFace::CreateFontSubset(std::vector<unsigned char, std::allocator<unsigned char> >&, unsigned int const*, unsigned char const*, int, FontSubsetInfo&) const -vcl::font::PhysicalFontFace::GetColorPalettes() const -vcl::font::PhysicalFontFace::GetGlyphColorBitmap(unsigned int, tools::Rectangle&) const -vcl::font::PhysicalFontFace::GetGlyphColorLayers(unsigned int) const -vcl::font::PhysicalFontFace::GetGlyphName(unsigned int, bool) const -vcl::font::PhysicalFontFace::GetHbUnscaledFont() const -vcl::font::PhysicalFontFace::GetName(vcl::font::NameID, LanguageTag const&) const -vcl::font::PhysicalFontFace::GetRawFontData(unsigned int) const -vcl::font::PhysicalFontFace::HasColorBitmaps() const -vcl::font::PhysicalFontFace::HasColorLayers() const -vcl::font::PhysicalFontFamily::CalcType(ImplFontAttrs&, FontWeight&, FontWidth&, FontFamily, utl::FontNameAttr const*) -vcl::font::PhysicalFontFamily::FindBestFontFace(vcl::font::FontSelectPattern const&) const -vcl::font::PhysicalFontFamily::InitMatchData(utl::FontSubstConfiguration const&, rtl::OUString const&) -vcl::font::PhysicalFontFamily::UpdateCloneFontList(vcl::font::PhysicalFontCollection&) const -vcl::font::PhysicalFontFamily::UpdateDevFontList(vcl::font::PhysicalFontFaceCollection&) const vcl::getTTCoverage(std::optional<std::bitset<128ul> >&, std::optional<std::bitset<64ul> >&, unsigned char const*, unsigned long) vcl::importPdfVectorGraphicData(SvStream&, std::shared_ptr<VectorGraphicData>&) vcl::lok::unregisterPollCallbacks() @@ -19006,22 +18406,6 @@ vcl::text::ImplLayoutArgs::SetKashidaArray(unsigned char const*) vcl::text::ImplLayoutArgs::SetLayoutWidth(double) vcl::text::ImplLayoutArgs::SetOrientation(o3tl::strong_int<short, FractionTag<10> >) vcl::text::TextLayoutCache::Create(rtl::OUString const&) -vcl::unohelper::DragAndDropClient::dragDropEnd(com::sun::star::datatransfer::dnd::DragSourceDropEvent const&) -vcl::unohelper::DragAndDropClient::dragEnter(com::sun::star::datatransfer::dnd::DropTargetDragEnterEvent const&) -vcl::unohelper::DragAndDropClient::dragExit(com::sun::star::datatransfer::dnd::DropTargetEvent const&) -vcl::unohelper::DragAndDropClient::dragGestureRecognized(com::sun::star::datatransfer::dnd::DragGestureEvent const&) -vcl::unohelper::DragAndDropClient::dragOver(com::sun::star::datatransfer::dnd::DropTargetDragEvent const&) -vcl::unohelper::DragAndDropClient::drop(com::sun::star::datatransfer::dnd::DropTargetDropEvent const&) -vcl::unohelper::HtmlTransferable::getTransferData(com::sun::star::datatransfer::DataFlavor const&) -vcl::unohelper::HtmlTransferable::getTransferDataFlavors() -vcl::unohelper::HtmlTransferable::isDataFlavorSupported(com::sun::star::datatransfer::DataFlavor const&) -vcl::unohelper::HtmlTransferable::queryInterface(com::sun::star::uno::Type const&) -vcl::unohelper::HtmlTransferable::~HtmlTransferable() -vcl::unohelper::TextDataObject::getTransferData(com::sun::star::datatransfer::DataFlavor const&) -vcl::unohelper::TextDataObject::getTransferDataFlavors() -vcl::unohelper::TextDataObject::isDataFlavorSupported(com::sun::star::datatransfer::DataFlavor const&) -vcl::unohelper::TextDataObject::queryInterface(com::sun::star::uno::Type const&) -vcl::unohelper::TextDataObject::~TextDataObject() vec_compress vec_expand verifyLink @@ -19030,8 +18414,6 @@ verifyPricer verify_basis verify_solution verify_stability -weld::AssistantController::AssistantController(weld::Widget*, rtl::OUString const&, rtl::OUString const&) -weld::AssistantController::~AssistantController() weld::CustomWidgetController::DragBeginHdl(weld::DrawingArea&) weld::MetricSpinButton::format_number(long) const weld::MetricSpinButton::spin_button_input(int*) diff --git a/include/vcl/BinaryDataContainer.hxx b/include/vcl/BinaryDataContainer.hxx index 390c3412dd98..3e5e94d5f11c 100644 --- a/include/vcl/BinaryDataContainer.hxx +++ b/include/vcl/BinaryDataContainer.hxx @@ -30,7 +30,7 @@ class VCL_DLLPUBLIC BinaryDataContainer final std::shared_ptr<Impl> mpImpl; - void ensureSwappedIn() const; + SAL_DLLPRIVATE void ensureSwappedIn() const; public: BinaryDataContainer() = default; @@ -47,24 +47,24 @@ public: size_t getSize() const; bool isEmpty() const; const sal_uInt8* getData() const; - css::uno::Sequence<sal_Int8> getCopyAsByteSequence() const; + SAL_DLLPRIVATE css::uno::Sequence<sal_Int8> getCopyAsByteSequence() const; // Returns the data as a readonly stream open for reading - std::shared_ptr<SvStream> getAsStream(); + SAL_DLLPRIVATE std::shared_ptr<SvStream> getAsStream(); // Returns the data as a readonly stream open for reading - css::uno::Reference<css::io::XInputStream> getAsXInputStream(); + SAL_DLLPRIVATE css::uno::Reference<css::io::XInputStream> getAsXInputStream(); /// writes the contents to the given stream std::size_t writeToStream(SvStream& rStream) const; /// return the in-memory size in bytes as of now. - std::size_t getSizeBytes() const; + SAL_DLLPRIVATE std::size_t getSizeBytes() const; /// swap out to disk for now - void swapOut() const; + SAL_DLLPRIVATE void swapOut() const; - size_t calculateHash() const; + SAL_DLLPRIVATE size_t calculateHash() const; }; /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/include/vcl/BitmapPalette.hxx b/include/vcl/BitmapPalette.hxx index 1d5f79de5adf..41a944353606 100644 --- a/include/vcl/BitmapPalette.hxx +++ b/include/vcl/BitmapPalette.hxx @@ -39,18 +39,18 @@ public: SAL_DLLPRIVATE BitmapColor* ImplGetColorBuffer(); - BitmapChecksum GetChecksum() const; + SAL_DLLPRIVATE BitmapChecksum GetChecksum() const; BitmapPalette(); BitmapPalette( const BitmapPalette& ); - BitmapPalette( BitmapPalette&& ) noexcept; + SAL_DLLPRIVATE BitmapPalette( BitmapPalette&& ) noexcept; BitmapPalette(std::initializer_list<BitmapColor> aBitmapColor); template <size_t N> BitmapPalette(const std::array<BitmapColor, N>& colors); explicit BitmapPalette(sal_uInt16 nCount); ~BitmapPalette(); BitmapPalette& operator=( const BitmapPalette& ); - BitmapPalette& operator=( BitmapPalette&& ) noexcept; + SAL_DLLPRIVATE BitmapPalette& operator=( BitmapPalette&& ) noexcept; bool operator==( const BitmapPalette& rBitmapPalette ) const; bool operator!=(const BitmapPalette& rBitmapPalette) const @@ -71,12 +71,12 @@ public: sal_uInt16 GetBestIndex(const BitmapColor& rCol) const; /// Returns the BitmapColor (i.e. palette index) that is an exact match /// of the required color. Returns SAL_MAX_UINT16 if nothing found. - sal_uInt16 GetMatchingIndex(const BitmapColor& rCol) const; + SAL_DLLPRIVATE sal_uInt16 GetMatchingIndex(const BitmapColor& rCol) const; /// Returns true if the palette is 8-bit grey palette. bool IsGreyPalette8Bit() const; /// Returns true if the palette is a grey palette (may not be 8-bit). - bool IsGreyPaletteAny() const; + SAL_DLLPRIVATE bool IsGreyPaletteAny() const; typedef o3tl::cow_wrapper< ImplBitmapPalette > ImplType; diff --git a/include/vcl/BitmapTools.hxx b/include/vcl/BitmapTools.hxx index f06f736e452c..0fa68905b139 100644 --- a/include/vcl/BitmapTools.hxx +++ b/include/vcl/BitmapTools.hxx @@ -31,11 +31,11 @@ namespace vcl::bitmap { #if !ENABLE_WASM_STRIP_PREMULTIPLY typedef std::array<std::array<sal_uInt8, 256>, 256> lookup_table; -VCL_DLLPUBLIC lookup_table const & get_premultiply_table(); -VCL_DLLPUBLIC lookup_table const & get_unpremultiply_table(); +lookup_table const & get_premultiply_table(); +lookup_table const & get_unpremultiply_table(); #endif -VCL_DLLPUBLIC sal_uInt8 unpremultiply(sal_uInt8 c, sal_uInt8 a); +sal_uInt8 unpremultiply(sal_uInt8 c, sal_uInt8 a); VCL_DLLPUBLIC sal_uInt8 premultiply(sal_uInt8 c, sal_uInt8 a); BitmapEx VCL_DLLPUBLIC loadFromName(const OUString& rFileName, const ImageLoadFlags eFlags = ImageLoadFlags::NONE); diff --git a/include/vcl/BitmapWriteAccess.hxx b/include/vcl/BitmapWriteAccess.hxx index 9027210adb50..631b097438bf 100644 --- a/include/vcl/BitmapWriteAccess.hxx +++ b/include/vcl/BitmapWriteAccess.hxx @@ -21,9 +21,10 @@ public: BitmapWriteAccess(AlphaMask& rBitmap); virtual ~BitmapWriteAccess() override; - void CopyScanline(tools::Long nY, const BitmapReadAccess& rReadAcc); - void CopyScanline(tools::Long nY, ConstScanline aSrcScanline, ScanlineFormat nSrcScanlineFormat, - sal_uInt32 nSrcScanlineSize); + SAL_DLLPRIVATE void CopyScanline(tools::Long nY, const BitmapReadAccess& rReadAcc); + SAL_DLLPRIVATE void CopyScanline(tools::Long nY, ConstScanline aSrcScanline, + ScanlineFormat nSrcScanlineFormat, + sal_uInt32 nSrcScanlineSize); void SetPalette(const BitmapPalette& rPalette) { @@ -68,7 +69,7 @@ public: void Erase(const Color& rColor); - void DrawLine(const Point& rStart, const Point& rEnd); + SAL_DLLPRIVATE void DrawLine(const Point& rStart, const Point& rEnd); void FillRect(const tools::Rectangle& rRect); void DrawRect(const tools::Rectangle& rRect); diff --git a/include/vcl/EnumContext.hxx b/include/vcl/EnumContext.hxx index b8e02efd1f68..f852fea96068 100644 --- a/include/vcl/EnumContext.hxx +++ b/include/vcl/EnumContext.hxx @@ -129,7 +129,7 @@ public: sal_Int32 GetCombinedContext_DI() const; Application GetApplication() const; - Application GetApplication_DI() const; + SAL_DLLPRIVATE Application GetApplication_DI() const; bool operator == (const EnumContext& rOther) const; bool operator != (const EnumContext& rOther) const; @@ -151,10 +151,10 @@ private: Application meApplication; Context meContext; - static void ProvideApplicationContainers(); - static void ProvideContextContainers(); - static void AddEntry (const OUString& rsName, const Application eApplication); - static void AddEntry (const OUString& rsName, const Context eContext); + SAL_DLLPRIVATE static void ProvideApplicationContainers(); + SAL_DLLPRIVATE static void ProvideContextContainers(); + SAL_DLLPRIVATE static void AddEntry (const OUString& rsName, const Application eApplication); + SAL_DLLPRIVATE static void AddEntry (const OUString& rsName, const Context eContext); }; diff --git a/include/vcl/animate/Animation.hxx b/include/vcl/animate/Animation.hxx index cd8c464c0525..a6ec7db4192f 100644 --- a/include/vcl/animate/Animation.hxx +++ b/include/vcl/animate/Animation.hxx @@ -37,22 +37,23 @@ public: Animation(const Animation& rAnimation); ~Animation(); - Animation& operator=(const Animation& rAnimation); - bool operator==(const Animation& rAnimation) const; + SAL_DLLPRIVATE Animation& operator=(const Animation& rAnimation); + SAL_DLLPRIVATE bool operator==(const Animation& rAnimation) const; bool operator!=(const Animation& rAnimation) const { return !(*this == rAnimation); } void Clear(); - bool Start(OutputDevice& rOutDev, const Point& rDestPt, const Size& rDestSz, - tools::Long nRendererId, OutputDevice* pFirstFrameOutDev); + SAL_DLLPRIVATE bool Start(OutputDevice& rOutDev, const Point& rDestPt, const Size& rDestSz, + tools::Long nRendererId, OutputDevice* pFirstFrameOutDev); - void Stop(const OutputDevice* pOutDev = nullptr, tools::Long nRendererId = 0); + SAL_DLLPRIVATE void Stop(const OutputDevice* pOutDev = nullptr, tools::Long nRendererId = 0); - void Draw(OutputDevice& rOutDev, const Point& rDestPt) const; - void Draw(OutputDevice& rOutDev, const Point& rDestPt, const Size& rDestSz) const; + SAL_DLLPRIVATE void Draw(OutputDevice& rOutDev, const Point& rDestPt) const; + SAL_DLLPRIVATE void Draw(OutputDevice& rOutDev, const Point& rDestPt, + const Size& rDestSz) const; bool IsInAnimation() const { return mbIsInAnimation; } - bool IsTransparent() const; + SAL_DLLPRIVATE bool IsTransparent() const; const Size& GetDisplaySizePixel() const { return maGlobalSize; } void SetDisplaySizePixel(const Size& rSize) { maGlobalSize = rSize; } @@ -62,7 +63,7 @@ public: sal_uInt32 GetLoopCount() const { return mnLoopCount; } void SetLoopCount(const sal_uInt32 nLoopCount); - void ResetLoopCount(); + SAL_DLLPRIVATE void ResetLoopCount(); void SetNotifyHdl(const Link<Animation*, void>& rLink) { maNotifyLink = rLink; } const Link<Animation*, void>& GetNotifyHdl() const { return maNotifyLink; } @@ -73,18 +74,18 @@ public: const AnimationFrame& Get(sal_uInt16 nAnimation) const; void Replace(const AnimationFrame& rNewAnimationBmp, sal_uInt16 nAnimation); - sal_uLong GetSizeBytes() const; - BitmapChecksum GetChecksum() const; + SAL_DLLPRIVATE sal_uLong GetSizeBytes() const; + SAL_DLLPRIVATE BitmapChecksum GetChecksum() const; public: - void Convert(BmpConversion eConversion); + SAL_DLLPRIVATE void Convert(BmpConversion eConversion); bool ReduceColors(sal_uInt16 nNewColorCount); bool Invert(); - void Mirror(BmpMirrorFlags nMirrorFlags); - void Adjust(short nLuminancePercent, short nContrastPercent, short nChannelRPercent, - short nChannelGPercent, short nChannelBPercent, double fGamma = 1.0, - bool bInvert = false); + SAL_DLLPRIVATE void Mirror(BmpMirrorFlags nMirrorFlags); + SAL_DLLPRIVATE void Adjust(short nLuminancePercent, short nContrastPercent, + short nChannelRPercent, short nChannelGPercent, + short nChannelBPercent, double fGamma = 1.0, bool bInvert = false); friend SvStream& ReadAnimation(SvStream& rIStream, Animation& rAnimation); friend SvStream& WriteAnimation(SvStream& rOStream, const Animation& rAnimation); diff --git a/include/vcl/bitmap.hxx b/include/vcl/bitmap.hxx index 8ce5d9cf74fa..dbe8a364f712 100644 --- a/include/vcl/bitmap.hxx +++ b/include/vcl/bitmap.hxx @@ -113,7 +113,7 @@ public: Bitmap(); Bitmap( const Bitmap& rBitmap ); Bitmap( const Size& rSizePixel, vcl::PixelFormat ePixelFormat, const BitmapPalette* pPal = nullptr ); - explicit Bitmap( std::shared_ptr<SalBitmap> xSalBitmap ); + SAL_DLLPRIVATE explicit Bitmap( std::shared_ptr<SalBitmap> xSalBitmap ); ~Bitmap(); Bitmap& operator=( const Bitmap& rBitmap ); @@ -147,7 +147,7 @@ public: BitmapChecksum GetChecksum() const; - Bitmap CreateDisplayBitmap( OutputDevice* pDisplay ) const; + SAL_DLLPRIVATE Bitmap CreateDisplayBitmap( OutputDevice* pDisplay ) const; static const BitmapPalette& GetGreyPalette( int nEntries ); @@ -203,7 +203,7 @@ public: not only returned when the operation failed, but also if nothing had to be done, e.g. because nDX and nDY were zero. */ - bool Expand( + SAL_DLLPRIVATE bool Expand( sal_Int32 nDX, sal_Int32 nDY, const Color* pInitColor = nullptr ); @@ -229,7 +229,7 @@ public: nothing had to be done, e.g. because one of the rectangles are empty. */ - bool CopyPixel( + SAL_DLLPRIVATE bool CopyPixel( const tools::Rectangle& rRectDst, const tools::Rectangle& rRectSrc, const Bitmap& rBmpSrc ); @@ -251,16 +251,16 @@ public: nothing had to be done, e.g. because one of the rectangles are empty. */ - bool CopyPixel( + SAL_DLLPRIVATE bool CopyPixel( const tools::Rectangle& rRectDst, const tools::Rectangle& rRectSrc ); - bool CopyPixel_AlphaOptimized( + SAL_DLLPRIVATE bool CopyPixel_AlphaOptimized( const tools::Rectangle& rRectDst, const tools::Rectangle& rRectSrc, const AlphaMask& rBmpSrc ); - bool CopyPixel_AlphaOptimized( + SAL_DLLPRIVATE bool CopyPixel_AlphaOptimized( const tools::Rectangle& rRectDst, const tools::Rectangle& rRectSrc ); @@ -280,7 +280,7 @@ public: @return true, if blending was successful, false otherwise */ - bool Blend( + SAL_DLLPRIVATE bool Blend( const AlphaMask& rAlpha, const Color& rBackgroundColor ); @@ -346,7 +346,7 @@ public: // Adapt the BitCount of rNew to BitCount of total, including grey or color palette // Can be used to create alpha/mask bitmaps after their processing in 24bit - void AdaptBitCount(Bitmap& rNew) const; + SAL_DLLPRIVATE void AdaptBitCount(Bitmap& rNew) const; /** Rotate bitmap by the specified angle @@ -361,7 +361,7 @@ public: @return true, if the operation was completed successfully. */ - bool Rotate( Degree10 nAngle10, const Color& rFillColor ); + SAL_DLLPRIVATE bool Rotate( Degree10 nAngle10, const Color& rFillColor ); /** Create on-off mask from bitmap @@ -436,7 +436,7 @@ public: @return the generated region. */ - vcl::Region CreateRegion( const Color& rColor, const tools::Rectangle& rRect ) const; + SAL_DLLPRIVATE vcl::Region CreateRegion( const Color& rColor, const tools::Rectangle& rRect ) const; /** Merge bitmap with given background color according to specified alpha mask @@ -448,7 +448,7 @@ public: @return true, if the operation was completed successfully. */ - bool Replace( const AlphaMask& rAlpha, const Color& rMergeColor ); + SAL_DLLPRIVATE bool Replace( const AlphaMask& rAlpha, const Color& rMergeColor ); /** Replace all pixel where the given mask/alpha layer is on with the specified color @@ -460,7 +460,7 @@ public: @return true, if the operation was completed successfully. */ - bool ReplaceMask( const AlphaMask& rMask, const Color& rReplaceColor ); + SAL_DLLPRIVATE bool ReplaceMask( const AlphaMask& rMask, const Color& rReplaceColor ); /** Replace all pixel having the search color with the specified color @@ -477,7 +477,7 @@ public: @return true, if the operation was completed successfully. */ - bool Replace( const Color& rSearchColor, const Color& rReplaceColor, sal_uInt8 nTol = 0 ); + SAL_DLLPRIVATE bool Replace( const Color& rSearchColor, const Color& rReplaceColor, sal_uInt8 nTol = 0 ); /** Replace all pixel having one the search colors with the corresponding replace color @@ -497,7 +497,7 @@ public: @return true, if the operation was completed successfully. */ - bool Replace( + SAL_DLLPRIVATE bool Replace( const Color* pSearchColors, const Color* rReplaceColors, size_t nColorCount, @@ -553,7 +553,7 @@ public: @return true, if the operation was completed successfully. */ - bool Adjust( + SAL_DLLPRIVATE bool Adjust( short nLuminancePercent, short nContrastPercent = 0, short nChannelRPercent = 0, @@ -587,7 +587,7 @@ public: const AlphaMask& rAlphaMask); // access to SystemDependentDataHolder, to support overload in derived class(es) - const basegfx::SystemDependentDataHolder* accessSystemDependentDataHolder() const; + SAL_DLLPRIVATE const basegfx::SystemDependentDataHolder* accessSystemDependentDataHolder() const; public: /** ReassignWithSize and recalculate bitmap. diff --git a/include/vcl/bitmapex.hxx b/include/vcl/bitmapex.hxx index de5d36ddad0f..aa2684d14b22 100644 --- a/include/vcl/bitmapex.hxx +++ b/include/vcl/bitmapex.hxx @@ -55,10 +55,10 @@ public: bool IsEmpty() const; void SetEmpty(); - void Clear(); - void ClearAlpha(); + SAL_DLLPRIVATE void Clear(); + SAL_DLLPRIVATE void ClearAlpha(); - void Draw( OutputDevice* pOutDev, + SAL_DLLPRIVATE void Draw( OutputDevice* pOutDev, const Point& rDestPt ) const; void Draw( OutputDevice* pOutDev, const Point& rDestPt, const Size& rDestSize ) const; @@ -71,7 +71,7 @@ public: const AlphaMask & GetAlphaMask() const { return maAlphaMask; } const Size& GetSizePixel() const { return maBitmapSize; } - void SetSizePixel(const Size& rNewSize); + SAL_DLLPRIVATE void SetSizePixel(const Size& rNewSize); const Size& GetPrefSize() const { return maBitmap.GetPrefSize(); } void SetPrefSize( const Size& rPrefSize ) { maBitmap.SetPrefSize( rPrefSize ); } @@ -251,7 +251,7 @@ public: rSearchColor and the individual pixel values, such that the corresponding pixel is still regarded a match. */ - void Replace( + SAL_DLLPRIVATE void Replace( const Color& rSearchColor, const Color& rReplaceColor, sal_uInt8 nTolerance ); @@ -412,7 +412,7 @@ public: @return The transformed bitmap */ [[nodiscard]] - BitmapEx getTransformed( + SAL_DLLPRIVATE BitmapEx getTransformed( const basegfx::B2DHomMatrix& rTransformation, const basegfx::B2DRange& rVisibleRange, double fMaximumArea) const; @@ -433,9 +433,9 @@ public: const css::uno::Reference< css::rendering::XBitmapCanvas > &xBitmapCanvas, const Size &rSize ); - void ChangeColorAlpha( sal_uInt8 cIndexFrom, sal_Int8 nAlphaTo ); + SAL_DLLPRIVATE void ChangeColorAlpha( sal_uInt8 cIndexFrom, sal_Int8 nAlphaTo ); - void AdjustTransparency( sal_uInt8 cTrans ); + SAL_DLLPRIVATE void AdjustTransparency( sal_uInt8 cTrans ); void CombineMaskOr(Color maskColor, sal_uInt8 nTol); @@ -460,7 +460,7 @@ private: const int nHeight, const int nStride); - void loadFromIconTheme( const OUString& rIconName ); + SAL_DLLPRIVATE void loadFromIconTheme( const OUString& rIconName ); Bitmap maBitmap; AlphaMask maAlphaMask; diff --git a/include/vcl/cursor.hxx b/include/vcl/cursor.hxx index b6adf4926ed5..268c23c37c0c 100644 --- a/include/vcl/cursor.hxx +++ b/include/vcl/cursor.hxx @@ -66,7 +66,7 @@ public: public: Cursor(); - Cursor( const Cursor& rCursor ); + SAL_DLLPRIVATE Cursor( const Cursor& rCursor ); ~Cursor(); void SetStyle( sal_uInt16 nStyle ); @@ -91,19 +91,19 @@ public: void SetDirection( CursorDirection nDirection = CursorDirection::NONE ); - Cursor& operator=( const Cursor& rCursor ); - bool operator==( const Cursor& rCursor ) const; + SAL_DLLPRIVATE Cursor& operator=( const Cursor& rCursor ); + SAL_DLLPRIVATE bool operator==( const Cursor& rCursor ) const; bool operator!=( const Cursor& rCursor ) const { return !(Cursor::operator==( rCursor )); } void DrawToDevice(OutputDevice& rRenderContext); private: - void LOKNotify( vcl::Window* pWindow, const OUString& rAction ); - bool ImplPrepForDraw(const OutputDevice* pDevice, ImplCursorData& rData); - void ImplRestore(); - void ImplDoShow( bool bDrawDirect, bool bRestore ); - bool ImplDoHide( bool bStop ); + SAL_DLLPRIVATE void LOKNotify( vcl::Window* pWindow, const OUString& rAction ); + SAL_DLLPRIVATE bool ImplPrepForDraw(const OutputDevice* pDevice, ImplCursorData& rData); + SAL_DLLPRIVATE void ImplRestore(); + SAL_DLLPRIVATE void ImplDoShow( bool bDrawDirect, bool bRestore ); + SAL_DLLPRIVATE bool ImplDoHide( bool bStop ); }; } // namespace vcl diff --git a/include/vcl/dndhelp.hxx b/include/vcl/dndhelp.hxx index 511f2f4538a2..b7297773ebfa 100644 --- a/include/vcl/dndhelp.hxx +++ b/include/vcl/dndhelp.hxx @@ -47,21 +47,21 @@ public: // css::datatransfer::dnd::XDragGestureListener /// @throws css::uno::RuntimeException - virtual void dragGestureRecognized( const css::datatransfer::dnd::DragGestureEvent& dge ); + SAL_DLLPRIVATE virtual void dragGestureRecognized( const css::datatransfer::dnd::DragGestureEvent& dge ); // css::datatransfer::dnd::XDragSourceListener /// @throws css::uno::RuntimeException - virtual void dragDropEnd(const css::datatransfer::dnd::DragSourceDropEvent& dsde ); + SAL_DLLPRIVATE virtual void dragDropEnd(const css::datatransfer::dnd::DragSourceDropEvent& dsde ); // css::datatransfer::dnd::XDropTargetListener /// @throws css::uno::RuntimeException - virtual void drop( const css::datatransfer::dnd::DropTargetDropEvent& dtde ); + SAL_DLLPRIVATE virtual void drop( const css::datatransfer::dnd::DropTargetDropEvent& dtde ); /// @throws css::uno::RuntimeException - virtual void dragEnter( const css::datatransfer::dnd::DropTargetDragEnterEvent& dtdee ); + SAL_DLLPRIVATE virtual void dragEnter( const css::datatransfer::dnd::DropTargetDragEnterEvent& dtdee ); /// @throws css::uno::RuntimeException - virtual void dragExit( const css::datatransfer::dnd::DropTargetEvent& dte ); + SAL_DLLPRIVATE virtual void dragExit( const css::datatransfer::dnd::DropTargetEvent& dte ); /// @throws css::uno::RuntimeException - virtual void dragOver( const css::datatransfer::dnd::DropTargetDragEvent& dtde ); + SAL_DLLPRIVATE virtual void dragOver( const css::datatransfer::dnd::DropTargetDragEvent& dtde ); }; class DragAndDropWrapper final : diff --git a/include/vcl/dockwin.hxx b/include/vcl/dockwin.hxx index 98b6e2bce8de..937a956c261e 100644 --- a/include/vcl/dockwin.hxx +++ b/include/vcl/dockwin.hxx @@ -69,16 +69,16 @@ class VCL_DLLPUBLIC DockingManager std::vector<std::unique_ptr<ImplDockingWindowWrapper, o3tl::default_delete<ImplDockingWindowWrapper>>> mvDockingWindows; public: - DockingManager(); - ~DockingManager(); + SAL_DLLPRIVATE DockingManager(); + SAL_DLLPRIVATE ~DockingManager(); DockingManager& operator=( DockingManager const & ) = delete; // MSVC2015 workaround DockingManager( DockingManager const & ) = delete; // MSVC2015 workaround - void AddWindow( const vcl::Window *pWin ); - void RemoveWindow( const vcl::Window *pWin ); + SAL_DLLPRIVATE void AddWindow( const vcl::Window *pWin ); + SAL_DLLPRIVATE void RemoveWindow( const vcl::Window *pWin ); - ImplDockingWindowWrapper* GetDockingWindowWrapper( const vcl::Window *pWin ); + SAL_DLLPRIVATE ImplDockingWindowWrapper* GetDockingWindowWrapper( const vcl::Window *pWin ); bool IsDockable( const vcl::Window *pWin ); bool IsFloating( const vcl::Window *pWin ); @@ -89,13 +89,13 @@ public: void Unlock( const vcl::Window *pWin ); bool IsLocked( const vcl::Window *pWin ); - void StartPopupMode( const vcl::Window *pWin, const tools::Rectangle& rRect, FloatWinPopupFlags nPopupModeFlags ); + SAL_DLLPRIVATE void StartPopupMode( const vcl::Window *pWin, const tools::Rectangle& rRect, FloatWinPopupFlags nPopupModeFlags ); void StartPopupMode( ToolBox *pParentToolBox, const vcl::Window *pWin ); void StartPopupMode( ToolBox *pParentToolBox, const vcl::Window *pWin, FloatWinPopupFlags nPopupModeFlags ); - void SetPopupModeEndHdl( const vcl::Window *pWindow, const Link<FloatingWindow*,void>& rLink ); + SAL_DLLPRIVATE void SetPopupModeEndHdl( const vcl::Window *pWindow, const Link<FloatingWindow*,void>& rLink ); - bool IsInPopupMode( const vcl::Window *pWin ); + SAL_DLLPRIVATE bool IsInPopupMode( const vcl::Window *pWin ); void EndPopupMode( const vcl::Window *pWin ); // required because those methods are not virtual in Window (!!!) and must @@ -159,22 +159,22 @@ protected: SAL_DLLPRIVATE void DoInitialLayout(); - void loadUI(vcl::Window* pParent, const OUString& rID, const OUString& rUIXMLDescription, + SAL_DLLPRIVATE void loadUI(vcl::Window* pParent, const OUString& rID, const OUString& rUIXMLDescription, const css::uno::Reference<css::frame::XFrame> &rFrame); public: - bool isLayoutEnabled() const; - void setOptimalLayoutSize(); + SAL_DLLPRIVATE bool isLayoutEnabled() const; + SAL_DLLPRIVATE void setOptimalLayoutSize(); //FIXME: is it okay to make this public? void ImplStartDocking( const Point& rPos ); SAL_DLLPRIVATE bool isDeferredInit() const { return mbIsDeferredInit; } virtual void doDeferredInit(WinBits nBits); protected: - DockingWindow( WindowType nType, const char* pIdleDebugName = "vcl::DockingWindow maLayoutIdle"); + SAL_DLLPRIVATE DockingWindow( WindowType nType, const char* pIdleDebugName = "vcl::DockingWindow maLayoutIdle"); public: DockingWindow(vcl::Window* pParent, WinBits nStyle, const char* pIdleDebugName = "vcl::DockingWindow maLayoutIdle"); - DockingWindow(vcl::Window* pParent, const OUString& rID, const OUString& rUIXMLDescription, + SAL_DLLPRIVATE DockingWindow(vcl::Window* pParent, const OUString& rID, const OUString& rUIXMLDescription, const char* pIdleDebugName = "vcl::DockingWindow maLayoutIdle", const css::uno::Reference<css::frame::XFrame> &rFrame = css::uno::Reference<css::frame::XFrame>()); virtual ~DockingWindow() override; @@ -196,7 +196,7 @@ public: void SetMinOutputSizePixel( const Size& rSize ); const Size& GetMinOutputSizePixel() const; - void SetMaxOutputSizePixel( const Size& rSize ); + SAL_DLLPRIVATE void SetMaxOutputSizePixel( const Size& rSize ); bool IsDocking() const { return mbDocking; } bool IsDockable() const { return mbDockable; } diff --git a/include/vcl/filter/SvmReader.hxx b/include/vcl/filter/SvmReader.hxx index d16a775e37d4..7e9f2c5352d1 100644 --- a/include/vcl/filter/SvmReader.hxx +++ b/include/vcl/filter/SvmReader.hxx @@ -23,7 +23,7 @@ class SvStream; -class VCL_DLLPUBLIC SvmReader +class SvmReader { private: SvStream& mrStream; @@ -31,9 +31,9 @@ private: void ReadColor(::Color& rColor); public: - SvmReader(SvStream& rIStm); + VCL_DLLPUBLIC SvmReader(SvStream& rIStm); - SvStream& Read(GDIMetaFile& rMetaFile, ImplMetaReadData* pData = nullptr); + VCL_DLLPUBLIC SvStream& Read(GDIMetaFile& rMetaFile, ImplMetaReadData* pData = nullptr); rtl::Reference<MetaAction> MetaActionHandler(ImplMetaReadData* pData); rtl::Reference<MetaAction> LineColorHandler(); rtl::Reference<MetaAction> FillColorHandler(); diff --git a/include/vcl/filter/SvmWriter.hxx b/include/vcl/filter/SvmWriter.hxx index ef8cf8c523b5..48be319b5083 100644 --- a/include/vcl/filter/SvmWriter.hxx +++ b/include/vcl/filter/SvmWriter.hxx @@ -24,7 +24,7 @@ class SvStream; -class VCL_DLLPUBLIC SvmWriter +class SvmWriter { private: SvStream& mrStream; @@ -32,10 +32,10 @@ private: void WriteColor(::Color aColor); public: - SvmWriter(SvStream& rIStm); + VCL_DLLPUBLIC SvmWriter(SvStream& rIStm); - SvStream& Write(const GDIMetaFile& rMetaFile); - static BitmapChecksum GetChecksum(const GDIMetaFile& rMetaFile); + VCL_DLLPUBLIC SvStream& Write(const GDIMetaFile& rMetaFile); + VCL_DLLPUBLIC static BitmapChecksum GetChecksum(const GDIMetaFile& rMetaFile); void MetaActionHandler(MetaAction* pAction, ImplMetaWriteData* pData); void ActionHandler(const MetaAction* pAction); void PixelHandler(const MetaPixelAction* pAction); diff --git a/include/vcl/filter/pdfdocument.hxx b/include/vcl/filter/pdfdocument.hxx index 88f48f20053f..dce7d976ee37 100644 --- a/include/vcl/filter/pdfdocument.hxx +++ b/include/vcl/filter/pdfdocument.hxx @@ -98,41 +98,41 @@ class VCL_DLLPUBLIC PDFObjectElement final : public PDFElement bool m_bParsed; - void parseIfNecessary(); + SAL_DLLPRIVATE void parseIfNecessary(); public: PDFObjectElement(PDFDocument& rDoc, double fObjectValue, double fGenerationValue); - bool Read(SvStream& rStream) override; + SAL_DLLPRIVATE bool Read(SvStream& rStream) override; PDFElement* Lookup(const OString& rDictionaryKey); PDFObjectElement* LookupObject(const OString& rDictionaryKey); - double GetObjectValue() const; - void SetDictionaryOffset(sal_uInt64 nDictionaryOffset); + SAL_DLLPRIVATE double GetObjectValue() const; + SAL_DLLPRIVATE void SetDictionaryOffset(sal_uInt64 nDictionaryOffset); sal_uInt64 GetDictionaryOffset(); - void SetDictionaryLength(sal_uInt64 nDictionaryLength); + SAL_DLLPRIVATE void SetDictionaryLength(sal_uInt64 nDictionaryLength); sal_uInt64 GetDictionaryLength(); PDFDictionaryElement* GetDictionary(); - void SetDictionary(PDFDictionaryElement* pDictionaryElement); - void SetNumberElement(PDFNumberElement* pNumberElement); - PDFNumberElement* GetNumberElement() const; + SAL_DLLPRIVATE void SetDictionary(PDFDictionaryElement* pDictionaryElement); + SAL_DLLPRIVATE void SetNumberElement(PDFNumberElement* pNumberElement); + SAL_DLLPRIVATE PDFNumberElement* GetNumberElement() const; /// Get access to the parsed key-value items from the object dictionary. const std::map<OString, PDFElement*>& GetDictionaryItems(); - const std::vector<PDFReferenceElement*>& GetDictionaryReferences() const; - void AddDictionaryReference(PDFReferenceElement* pReference); - void SetArray(PDFArrayElement* pArrayElement); - void SetStream(PDFStreamElement* pStreamElement); + SAL_DLLPRIVATE const std::vector<PDFReferenceElement*>& GetDictionaryReferences() const; + SAL_DLLPRIVATE void AddDictionaryReference(PDFReferenceElement* pReference); + SAL_DLLPRIVATE void SetArray(PDFArrayElement* pArrayElement); + SAL_DLLPRIVATE void SetStream(PDFStreamElement* pStreamElement); /// Access to the stream of the object, if it has any. PDFStreamElement* GetStream() const; - void SetArrayOffset(sal_uInt64 nArrayOffset); - sal_uInt64 GetArrayOffset() const; - void SetArrayLength(sal_uInt64 nArrayLength); - sal_uInt64 GetArrayLength() const; + SAL_DLLPRIVATE void SetArrayOffset(sal_uInt64 nArrayOffset); + SAL_DLLPRIVATE sal_uInt64 GetArrayOffset() const; + SAL_DLLPRIVATE void SetArrayLength(sal_uInt64 nArrayLength); + SAL_DLLPRIVATE sal_uInt64 GetArrayLength() const; PDFArrayElement* GetArray(); /// Parse objects stored in this object stream. - void ParseStoredObjects(); - std::vector<std::unique_ptr<PDFElement>>& GetStoredElements(); - SvMemoryStream* GetStreamBuffer() const; - void SetStreamBuffer(std::unique_ptr<SvMemoryStream>& pStreamBuffer); - PDFDocument& GetDocument(); + SAL_DLLPRIVATE void ParseStoredObjects(); + SAL_DLLPRIVATE std::vector<std::unique_ptr<PDFElement>>& GetStoredElements(); + SAL_DLLPRIVATE SvMemoryStream* GetStreamBuffer() const; + SAL_DLLPRIVATE void SetStreamBuffer(std::unique_ptr<SvMemoryStream>& pStreamBuffer); + SAL_DLLPRIVATE PDFDocument& GetDocument(); void writeString(OStringBuffer& /*rBuffer*/) override { assert(false && "not implemented"); } }; @@ -146,8 +146,8 @@ class VCL_DLLPUBLIC PDFArrayElement final : public PDFElement public: PDFArrayElement(PDFObjectElement* pObject); - bool Read(SvStream& rStream) override; - void PushBack(PDFElement* pElement); + SAL_DLLPRIVATE bool Read(SvStream& rStream) override; + SAL_DLLPRIVATE void PushBack(PDFElement* pElement); const std::vector<PDFElement*>& GetElements() const; PDFElement* GetElement(size_t nIndex) const { return m_aElements[nIndex]; } @@ -177,15 +177,15 @@ class VCL_DLLPUBLIC PDFReferenceElement final : public PDFElement public: PDFReferenceElement(PDFDocument& rDoc, PDFNumberElement& rObject, PDFNumberElement const& rGeneration); - bool Read(SvStream& rStream) override; + SAL_DLLPRIVATE bool Read(SvStream& rStream) override; /// Assuming the reference points to a number object, return its value. - double LookupNumber(SvStream& rStream) const; + SAL_DLLPRIVATE double LookupNumber(SvStream& rStream) const; /// Lookup referenced object, without assuming anything about its contents. PDFObjectElement* LookupObject(); int GetObjectValue() const; int GetGenerationValue() const; - sal_uInt64 GetOffset() const; - PDFNumberElement& GetObjectElement() const; + SAL_DLLPRIVATE sal_uInt64 GetOffset() const; + SAL_DLLPRIVATE PDFNumberElement& GetObjectElement() const; void writeString(OStringBuffer& rBuffer) override { @@ -205,9 +205,9 @@ class VCL_DLLPUBLIC PDFStreamElement final : public PDFElement SvMemoryStream m_aMemory; public: - explicit PDFStreamElement(size_t nLength); - bool Read(SvStream& rStream) override; - sal_uInt64 GetOffset() const; + SAL_DLLPRIVATE explicit PDFStreamElement(size_t nLength); + SAL_DLLPRIVATE bool Read(SvStream& rStream) override; + SAL_DLLPRIVATE sal_uInt64 GetOffset() const; SvMemoryStream& GetMemory(); void writeString(OStringBuffer& rBuffer) override @@ -227,10 +227,10 @@ class VCL_DLLPUBLIC PDFNameElement final : public PDFElement public: PDFNameElement(); - bool Read(SvStream& rStream) override; + SAL_DLLPRIVATE bool Read(SvStream& rStream) override; void SetValue(const OString& rValue) { m_aValue = rValue; } const OString& GetValue() const; - sal_uInt64 GetLocation() const; + SAL_DLLPRIVATE sal_uInt64 GetLocation() const; sal_uInt64 GetLength() const { return m_aValue.getLength(); } void writeString(OStringBuffer& rBuffer) override @@ -254,13 +254,13 @@ class VCL_DLLPUBLIC PDFDictionaryElement final : public PDFElement public: PDFDictionaryElement(); - bool Read(SvStream& rStream) override; + SAL_DLLPRIVATE bool Read(SvStream& rStream) override; - static PDFElement* Lookup(const std::map<OString, PDFElement*>& rDictionary, - const OString& rKey); - void SetKeyOffset(const OString& rKey, sal_uInt64 nOffset); + SAL_DLLPRIVATE static PDFElement* Lookup(const std::map<OString, PDFElement*>& rDictionary, + const OString& rKey); + SAL_DLLPRIVATE void SetKeyOffset(const OString& rKey, sal_uInt64 nOffset); sal_uInt64 GetKeyOffset(const OString& rKey) const; - void SetKeyValueLength(const OString& rKey, sal_uInt64 nLength); + SAL_DLLPRIVATE void SetKeyValueLength(const OString& rKey, sal_uInt64 nLength); sal_uInt64 GetKeyValueLength(const OString& rKey) const; const std::map<OString, PDFElement*>& GetItems() const; /// Looks up an object which is only referenced in this dictionary. @@ -347,8 +347,8 @@ class VCL_DLLPUBLIC PDFHexStringElement final : public PDFElement OString m_aValue; public: - bool Read(SvStream& rStream) override; - const OString& GetValue() const; + SAL_DLLPRIVATE bool Read(SvStream& rStream) override; + SAL_DLLPRIVATE const OString& GetValue() const; void writeString(OStringBuffer& rBuffer) override { @@ -364,7 +364,7 @@ class VCL_DLLPUBLIC PDFLiteralStringElement final : public PDFElement OString m_aValue; public: - bool Read(SvStream& rStream) override; + SAL_DLLPRIVATE bool Read(SvStream& rStream) override; const OString& GetValue() const; void writeString(OStringBuffer& rBuffer) override @@ -386,12 +386,12 @@ class VCL_DLLPUBLIC PDFNumberElement final : public PDFElement public: PDFNumberElement(); - bool Read(SvStream& rStream) override; + SAL_DLLPRIVATE bool Read(SvStream& rStream) override; double GetValue() const; void SetValue(double fValue) { m_fValue = fValue; } - sal_uInt64 GetLocation() const; - sal_uInt64 GetLength() const; + SAL_DLLPRIVATE sal_uInt64 GetLocation() const; + SAL_DLLPRIVATE sal_uInt64 GetLength() const; void writeString(OStringBuffer& rBuffer) override { rBuffer.append(m_fValue); } }; @@ -403,8 +403,8 @@ class UNLESS_MERGELIBS(VCL_DLLPUBLIC) PDFCommentElement final : public PDFElemen OString m_aComment; public: - explicit PDFCommentElement(PDFDocument& rDoc); - bool Read(SvStream& rStream) override; + SAL_DLLPRIVATE explicit PDFCommentElement(PDFDocument& rDoc); + SAL_DLLPRIVATE bool Read(SvStream& rStream) override; void writeString(OStringBuffer& /*rBuffer*/) override {} }; @@ -416,8 +416,8 @@ class VCL_DLLPUBLIC PDFEndDictionaryElement final : public PDFElement public: PDFEndDictionaryElement(); - bool Read(SvStream& rStream) override; - sal_uInt64 GetLocation() const; + SAL_DLLPRIVATE bool Read(SvStream& rStream) override; + SAL_DLLPRIVATE sal_uInt64 GetLocation() const; void writeString(OStringBuffer& /*rBuffer*/) override {} }; @@ -426,7 +426,7 @@ public: class UNLESS_MERGELIBS(VCL_DLLPUBLIC) PDFEndStreamElement final : public PDFElement { public: - bool Read(SvStream& rStream) override; + SAL_DLLPRIVATE bool Read(SvStream& rStream) override; void writeString(OStringBuffer& /*rBuffer*/) override {} }; @@ -435,7 +435,7 @@ public: class VCL_DLLPUBLIC PDFEndObjectElement final : public PDFElement { public: - bool Read(SvStream& rStream) override; + SAL_DLLPRIVATE bool Read(SvStream& rStream) override; void writeString(OStringBuffer& /*rBuffer*/) override {} }; @@ -448,8 +448,8 @@ class VCL_DLLPUBLIC PDFEndArrayElement final : public PDFElement public: PDFEndArrayElement(); - bool Read(SvStream& rStream) override; - sal_uInt64 GetOffset() const; + SAL_DLLPRIVATE bool Read(SvStream& rStream) override; + SAL_DLLPRIVATE sal_uInt64 GetOffset() const; void writeString(OStringBuffer& /*rBuffer*/) override {} }; @@ -465,7 +465,7 @@ public: { } - bool Read(SvStream& rStream) override; + SAL_DLLPRIVATE bool Read(SvStream& rStream) override; void writeString(OStringBuffer& rBuffer) override { @@ -477,7 +477,7 @@ public: class UNLESS_MERGELIBS(VCL_DLLPUBLIC) PDFNullElement final : public PDFElement { public: - bool Read(SvStream& rStream) override; + SAL_DLLPRIVATE bool Read(SvStream& rStream) override; void writeString(OStringBuffer& rBuffer) override { rBuffer.append("null"); } }; @@ -520,22 +520,23 @@ class VCL_DLLPUBLIC PDFDocument final : public PDFObjectContainer size_t m_nSignaturePage = 0; /// Suggest a minimal, yet free signature ID to use for the next signature. - sal_uInt32 GetNextSignature(); + SAL_DLLPRIVATE sal_uInt32 GetNextSignature(); /// Write the signature object as part of signing. - sal_Int32 WriteSignatureObject(const OUString& rDescription, bool bAdES, - sal_uInt64& rLastByteRangeOffset, sal_Int64& rContentOffset); + SAL_DLLPRIVATE sal_Int32 WriteSignatureObject(const OUString& rDescription, bool bAdES, + sal_uInt64& rLastByteRangeOffset, + sal_Int64& rContentOffset); /// Write the appearance object as part of signing. - sal_Int32 WriteAppearanceObject(tools::Rectangle& rSignatureRectangle); + SAL_DLLPRIVATE sal_Int32 WriteAppearanceObject(tools::Rectangle& rSignatureRectangle); /// Write the annot object as part of signing. - sal_Int32 WriteAnnotObject(PDFObjectElement const& rFirstPage, sal_Int32 nSignatureId, - sal_Int32 nAppearanceId, - const tools::Rectangle& rSignatureRectangle); + SAL_DLLPRIVATE sal_Int32 WriteAnnotObject(PDFObjectElement const& rFirstPage, + sal_Int32 nSignatureId, sal_Int32 nAppearanceId, + const tools::Rectangle& rSignatureRectangle); /// Write the updated Page object as part of signing. - bool WritePageObject(PDFObjectElement& rFirstPage, sal_Int32 nAnnotId); + SAL_DLLPRIVATE bool WritePageObject(PDFObjectElement& rFirstPage, sal_Int32 nAnnotId); /// Write the updated Catalog object as part of signing. - bool WriteCatalogObject(sal_Int32 nAnnotId, PDFReferenceElement*& pRoot); + SAL_DLLPRIVATE bool WriteCatalogObject(sal_Int32 nAnnotId, PDFReferenceElement*& pRoot); /// Write the updated cross-references as part of signing. - void WriteXRef(sal_uInt64 nXRefOffset, PDFReferenceElement const* pRoot); + SAL_DLLPRIVATE void WriteXRef(sal_uInt64 nXRefOffset, PDFReferenceElement const* pRoot); public: PDFDocument(); @@ -545,31 +546,32 @@ public: /// @name Low-level functions, to be used by PDFElement subclasses. //@{ /// Decode a hex dump. - static std::vector<unsigned char> DecodeHexString(PDFHexStringElement const* pElement); + SAL_DLLPRIVATE static std::vector<unsigned char> + DecodeHexString(PDFHexStringElement const* pElement); static OUString DecodeHexStringUTF16BE(PDFHexStringElement const& rElement); - static OString ReadKeyword(SvStream& rStream); - static size_t FindStartXRef(SvStream& rStream); - void ReadXRef(SvStream& rStream); - void ReadXRefStream(SvStream& rStream); - static void SkipWhitespace(SvStream& rStream); + SAL_DLLPRIVATE static OString ReadKeyword(SvStream& rStream); + SAL_DLLPRIVATE static size_t FindStartXRef(SvStream& rStream); + SAL_DLLPRIVATE void ReadXRef(SvStream& rStream); + SAL_DLLPRIVATE void ReadXRefStream(SvStream& rStream); + SAL_DLLPRIVATE static void SkipWhitespace(SvStream& rStream); /// Instead of all whitespace, just skip CR and NL characters. - static void SkipLineBreaks(SvStream& rStream); - size_t GetObjectOffset(size_t nIndex) const; + SAL_DLLPRIVATE static void SkipLineBreaks(SvStream& rStream); + SAL_DLLPRIVATE size_t GetObjectOffset(size_t nIndex) const; const std::vector<std::unique_ptr<PDFElement>>& GetElements() const; std::vector<PDFObjectElement*> GetPages(); PDFObjectElement* GetCatalog(); /// Remember the end location of an EOF token. - void PushBackEOF(size_t nOffset); + SAL_DLLPRIVATE void PushBackEOF(size_t nOffset); /// Look up object based on object number, possibly by parsing object streams. PDFObjectElement* LookupObject(size_t nObjectNumber); /// Access to the input document, even after the input stream is gone. - SvMemoryStream& GetEditBuffer(); + SAL_DLLPRIVATE SvMemoryStream& GetEditBuffer(); /// Tokenize elements from current offset. - bool Tokenize(SvStream& rStream, TokenizeMode eMode, - std::vector<std::unique_ptr<PDFElement>>& rElements, - PDFObjectElement* pObjectElement); + SAL_DLLPRIVATE bool Tokenize(SvStream& rStream, TokenizeMode eMode, + std::vector<std::unique_ptr<PDFElement>>& rElements, + PDFObjectElement* pObjectElement); /// Register an object (owned directly or indirectly by m_aElements) as a provider for a given ID. - void SetIDObject(size_t nID, PDFObjectElement* pObject); + SAL_DLLPRIVATE void SetIDObject(size_t nID, PDFObjectElement* pObject); //@} /// @name High-level functions, to be used by others. @@ -577,7 +579,7 @@ public: /// Read elements from the start of the stream till its end. bool Read(SvStream& rStream); /// Calls Read() first and if it fails it tries to fixup and then retry. - bool ReadWithPossibleFixup(SvStream& rStream); + SAL_DLLPRIVATE bool ReadWithPossibleFixup(SvStream& rStream); void SetSignatureLine(std::vector<sal_Int8>&& rSignatureLine); void SetSignaturePage(size_t nPage); /// Sign the read document with xCertificate in the edit buffer. @@ -592,11 +594,11 @@ public: //@} /// See vcl::PDFObjectContainer::createObject(). - sal_Int32 createObject() override; + SAL_DLLPRIVATE sal_Int32 createObject() override; /// See vcl::PDFObjectContainer::updateObject(). - bool updateObject(sal_Int32 n) override; + SAL_DLLPRIVATE bool updateObject(sal_Int32 n) override; /// See vcl::PDFObjectContainer::writeBuffer(). - bool writeBufferBytes(const void* pBuffer, sal_uInt64 nBytes) override; + SAL_DLLPRIVATE bool writeBufferBytes(const void* pBuffer, sal_uInt64 nBytes) override; void checkAndEnableStreamEncryption(sal_Int32 /*nObject*/) override {} void disableStreamEncryption() override {} }; diff --git a/include/vcl/font.hxx b/include/vcl/font.hxx index 944b43fae22f..ae29172989e7 100644 --- a/include/vcl/font.hxx +++ b/include/vcl/font.hxx @@ -108,17 +108,17 @@ public: tools::Long GetFontHeight() const; void SetAverageFontWidth( tools::Long nWidth ); tools::Long GetAverageFontWidth() const; - const Size& GetAverageFontSize() const; - const FontFamily& GetFontFamily() const; + SAL_DLLPRIVATE const Size& GetAverageFontSize() const; + SAL_DLLPRIVATE const FontFamily& GetFontFamily() const; // tdf#127471 for corrections on EMF/WMF we need the AvgFontWidth in Windows-specific notation tools::Long GetOrCalculateAverageFontWidth() const; // Prefer LanguageTag over LanguageType - void SetLanguageTag( const LanguageTag & ); - const LanguageTag& GetLanguageTag() const; - void SetCJKContextLanguageTag( const LanguageTag& ); - const LanguageTag& GetCJKContextLanguageTag() const; + SAL_DLLPRIVATE void SetLanguageTag( const LanguageTag & ); + SAL_DLLPRIVATE const LanguageTag& GetLanguageTag() const; + SAL_DLLPRIVATE void SetCJKContextLanguageTag( const LanguageTag& ); + SAL_DLLPRIVATE const LanguageTag& GetCJKContextLanguageTag() const; void SetLanguage( LanguageType ); LanguageType GetLanguage() const; void SetCJKContextLanguage( LanguageType ); @@ -153,7 +153,7 @@ public: bool IsWordLineMode() const; void Merge( const Font& rFont ); - void GetFontAttributes( FontAttributes& rAttrs ) const; + SAL_DLLPRIVATE void GetFontAttributes( FontAttributes& rAttrs ) const; Font& operator=( const Font& ); Font& operator=( Font&& ) noexcept; @@ -161,10 +161,10 @@ public: bool operator!=( const Font& rFont ) const { return !(Font::operator==( rFont )); } bool IsSameInstance( const Font& ) const; - bool EqualIgnoreColor( const Font& ) const; + SAL_DLLPRIVATE bool EqualIgnoreColor( const Font& ) const; // Compute value usable as hash. - size_t GetHashValueIgnoreColor() const; + SAL_DLLPRIVATE size_t GetHashValueIgnoreColor() const; friend VCL_DLLPUBLIC SvStream& ::ReadFont( SvStream& rIStm, vcl::Font& ); friend VCL_DLLPUBLIC SvStream& ::WriteFont( SvStream& rOStm, const vcl::Font& ); diff --git a/include/vcl/fontcharmap.hxx b/include/vcl/fontcharmap.hxx index 7bfd074f3c8b..c9482a8f2e36 100644 --- a/include/vcl/fontcharmap.hxx +++ b/include/vcl/fontcharmap.hxx @@ -42,9 +42,9 @@ public: /** A new FontCharMap is created based on passed arguments. */ - FontCharMap(bool bMicrosoftSymbolMap, std::vector<sal_UCS4> aRangeCodes); + SAL_DLLPRIVATE FontCharMap(bool bMicrosoftSymbolMap, std::vector<sal_UCS4> aRangeCodes); - virtual ~FontCharMap() override; + SAL_DLLPRIVATE virtual ~FontCharMap() override; /** Get the default font character map @@ -136,16 +136,16 @@ public: */ sal_UCS4 GetCharFromIndex( int nCharIndex ) const; - bool isMicrosoftSymbolMap() const; + SAL_DLLPRIVATE bool isMicrosoftSymbolMap() const; private: ImplFontCharMapRef mpImplFontCharMap; friend class ::OutputDevice; - int findRangeIndex( sal_UCS4 ) const; + SAL_DLLPRIVATE int findRangeIndex( sal_UCS4 ) const; - FontCharMap( ImplFontCharMapRef pIFCMap ); + SAL_DLLPRIVATE FontCharMap( ImplFontCharMapRef pIFCMap ); // prevent assignment and copy construction FontCharMap( const FontCharMap& ) = delete; diff --git a/include/vcl/gdimtf.hxx b/include/vcl/gdimtf.hxx index 63bde564dcfd..d3a0c95c1b17 100644 --- a/include/vcl/gdimtf.hxx +++ b/include/vcl/gdimtf.hxx @@ -99,7 +99,7 @@ private: SAL_DLLPRIVATE bool ImplPlayWithRenderer(OutputDevice& rOut, const Point& rPos, Size rLogicDestSize); - void Linker( OutputDevice* pOut, bool bLink ); + SAL_DLLPRIVATE void Linker( OutputDevice* pOut, bool bLink ); public: GDIMetaFile(); @@ -111,14 +111,14 @@ public: bool operator!=( const GDIMetaFile& rMtf ) const { return !( *this == rMtf ); } void Clear(); - void Mirror( BmpMirrorFlags nMirrorFlags ); + SAL_DLLPRIVATE void Mirror( BmpMirrorFlags nMirrorFlags ); void Move( tools::Long nX, tools::Long nY ); // additional Move method getting specifics how to handle MapMode( MapUnit::MapPixel ) void Move( tools::Long nX, tools::Long nY, tools::Long nDPIX, tools::Long nDPIY ); void ScaleActions(double fScaleX, double fScaleY); void Scale( double fScaleX, double fScaleY ); void Scale( const Fraction& rScaleX, const Fraction& rScaleY ); - void Rotate( Degree10 nAngle10 ); + SAL_DLLPRIVATE void Rotate( Degree10 nAngle10 ); void Clip( const tools::Rectangle& ); bool HasTransparentActions() const; @@ -161,12 +161,12 @@ public: void AddAction(const rtl::Reference<MetaAction>& pAction); void AddAction(const rtl::Reference<MetaAction>& pAction, size_t nPos); - void push_back(const rtl::Reference<MetaAction>& pAction); + SAL_DLLPRIVATE void push_back(const rtl::Reference<MetaAction>& pAction); /** * @param pAction takes ownership * @param nAction the action to replace */ - void ReplaceAction( rtl::Reference<MetaAction> pAction, size_t nAction ); + SAL_DLLPRIVATE void ReplaceAction( rtl::Reference<MetaAction> pAction, size_t nAction ); MetaAction* FirstAction(); MetaAction* NextAction(); @@ -180,7 +180,7 @@ public: void SetPrefMapMode( const MapMode& rMapMode ) { m_aPrefMapMode = rMapMode; } - sal_uLong GetSizeBytes() const; + SAL_DLLPRIVATE sal_uLong GetSizeBytes() const; /// Creates an antialiased thumbnail bool CreateThumbnail(BitmapEx& rBitmapEx, diff --git a/include/vcl/gradient.hxx b/include/vcl/gradient.hxx index 2979e2277604..0f67dca52f1b 100644 --- a/include/vcl/gradient.hxx +++ b/include/vcl/gradient.hxx @@ -57,7 +57,7 @@ public: const Color& GetStartColor() const; void SetEndColor( const Color& rColor ); const Color& GetEndColor() const; - void MakeGrayscale(); + SAL_DLLPRIVATE void MakeGrayscale(); void SetAngle( Degree10 nAngle ); Degree10 GetAngle() const; @@ -88,10 +88,10 @@ public: { return !(Gradient::operator==( rGradient )); } private: - tools::Long GetMetafileSteps(tools::Rectangle const& rRect) const; + SAL_DLLPRIVATE tools::Long GetMetafileSteps(tools::Rectangle const& rRect) const; - void DrawComplexGradientToMetafile(tools::Rectangle const& rRect, GDIMetaFile& rMetaFile) const; - void DrawLinearGradientToMetafile(tools::Rectangle const& rRect, GDIMetaFile& rMetaFile) const; -e ... etc. - the rest is truncated