#!/bin/sh # # This file is part of the LibreOffice project. # # This Source Code Form is subject to the terms of the Mozilla Public # License, v. 2.0. If a copy of the MPL was not distributed with this # file, You can obtain one at http://mozilla.org/MPL/2.0/. # # simple wrapper script to run non-installed executables from workdir print_usage() { echo "This utility can be used to run the executables in this folder:" echo echo " workdir/LinkTarget/Executable" echo echo "Usage:" echo echo " ./bin/run application [parameters]|--list|--help" echo echo "Use --list (same as -list or -l) to get the list of executables" echo "Use --help (same as -help or -h) to get this help" } list_executables() { echo "Listing executables inside workdir/LinkTarget/Executable folder:" if uname | grep -i CYGWIN >/dev/null then echo find workdir/LinkTarget/Executable -iname "*.bat" -printf "%P\n" find workdir/LinkTarget/Executable -iname "*.exe" -printf "%P\n" else find workdir/LinkTarget/Executable -executable -printf "%P\n" fi } print_executable_name() { echo "Setting env variables and running workdir/LinkTarget/Executable/$1" } setdefaults() { dir=$(realpath "$(pwd)") while test ! -d "${dir}/instdir/program" ; do if test "${dir}" = "/"; then echo "error: cannot find \"program\" dir from \"$(pwd)\"" exit 1 fi dir=$(realpath "${dir}/..") done exedir="${dir}"/workdir/LinkTarget/Executable export URE_BOOTSTRAP=file://"${dir}"/instdir/program/fundamentalrc } case "$1" in ""|"-h"|"-help"|"--help") print_usage; exit 1;; "-l"|"-list"|"--list") list_executables; exit 0;; *) print_executable_name $1;; esac if uname | grep -i CYGWIN >/dev/null; then setdefaults exedir=$(cygpath -m "${dir}"/workdir/LinkTarget/Executable) export URE_BOOTSTRAP=file:///$(cygpath -m "${dir}")/instdir/program/fundamental.ini export PATH="${dir}/instdir/program${PATH:+:$PATH}" SEARCH_PATH="${PATH}" elif [ $(uname) = Darwin ]; then dir=$(pwd) # Get PRODUCTNAME from config_host.mk, LibreOffice or LibreOfficeDev eval `grep 'export PRODUCTNAME=' config_host.mk` if [ ! -d "${dir}/instdir/$PRODUCTNAME.app" ]; then echo "error: cannot find \"instdir/$PRODUCTNAME.app\" dir in \"$(pwd)\"" exit 1 fi exedir="$dir"/workdir/LinkTarget/Executable export URE_BOOTSTRAP=file://"${dir}"/instdir/$PRODUCTNAME.app/Contents/Resources/fundamentalrc export DYLD_LIBRARY_PATH=${DYLD_LIBRARY_PATH:+$DYLD_LIBRARY_PATH:}"${dir}"/instdir/$PRODUCTNAME.app/Contents/Frameworks SEARCH_PATH="${DYLD_LIBRARY_PATH}" elif [ $(uname) = Haiku ]; then setdefaults export LIBRARY_PATH=${LIBRARY_PATH:+$LIBRARY_PATH:}"${dir}"/instdir/program SEARCH_PATH="${LIBRARY_PATH}" else setdefaults export LD_LIBRARY_PATH=${LD_LIBRARY_PATH:+$LD_LIBRARY_PATH:}"${dir}"/instdir/program SEARCH_PATH="${LD_LIBRARY_PATH}" fi # echo "setting URE_BOOTSTRAP to: ${URE_BOOTSTRAP}" # echo "setting search path to: ${SEARCH_PATH}" # echo "execing: ${exedir}/$1" exec ${LO_TRACE} "${exedir}/$@" # vi:set shiftwidth=4 expandtab: ra/co-24.04.7 LibreOffice 核心代码仓库文档基金会
summaryrefslogtreecommitdiff
path: root/sd/source/ui/annotations
AgeCommit message (Expand)Author
2024-10-23tdf#162245 Insert->Comment in Draw/Impress not incrementally numberedNoel Grandin
2024-10-14cid#1554844 COPY_INSTEAD_OF_MOVECaolán McNamara
2024-10-01loplugin:unusedmethodsNoel Grandin
2024-09-17use more concrete UNO types in sdNoel Grandin
2024-09-02cid#1608421 silence Overflowed constantCaolán McNamara
2024-08-28GetMainViewShell is not trivialNoel Grandin
2024-08-11Resolves tdf#61242 - Customization of comment background colorHeiko Tietze
2024-07-14annot: make all keys work when writing in annotation windowTomaž Vajngerl
2024-07-14tdf#161994 annot: trigger selection of the current annotationTomaž Vajngerl
2024-07-14annot: simplifx getting the proper window for popupTomaž Vajngerl
2024-07-11tdf#161911 annot: fix for annotation with 0 sizeTomaž Vajngerl
2024-07-10cid#1556474 COPY_INSTEAD_OF_MOVECaolán McNamara
2024-07-04annot: AnnotationObject should be the size as the text contentTomaž Vajngerl
2024-06-29Decrease rounding errors a bitMike Kaganski
2024-06-27use ESelection::NoSelection() instead of manually setting valuesTomaž Vajngerl
2024-06-20annot: clone annotations in SdrObjects when the page is duplicatedTomaž Vajngerl
2024-06-17annot: update object text when annotation text changesTomaž Vajngerl
2024-06-17annot: add undo to annotations inserter when synchingTomaž Vajngerl
2024-06-17fix crash in "delete comments by author" in impressCaolán McNamara
2024-06-17Resolves: tdf#160681 draw impress comment similarly to how writer does itCaolán McNamara
2024-06-17annot: remove too much "using namespace ..." declarationsTomaž Vajngerl
2024-06-15annot: support fill and line transparence for PDF annotationsTomaž Vajngerl
2024-06-14annot: add support to import Stamp annotation from PDFTomaž Vajngerl
2024-06-13annot: update annotation object when annotation position changesTomaž Vajngerl
2024-06-11annot: make annotation pop-up window working againTomaž Vajngerl
2024-06-11annot: new Annotation sdr object, replacing annotation tagsTomaž Vajngerl
2024-05-28loplugin:ostr in sd/../uiNoel Grandin
2024-05-14annot: move TextAPI to svx and adapt the codeTomaž Vajngerl
2024-05-03sd, svx: Return new annotation instead of using out paramMichael Weghorn
2024-04-26annot: moved more of Annotation and dependencies into svxTomaž Vajngerl
2024-04-26annot: move UndoAnnotation and deps. to svx, adapt svx AnnotationTomaž Vajngerl
2024-04-03tdf#146619 Drop unused 'using namespace' in: sd/Gabor Kelemen
2024-04-02use more concrete UNO types in sdNoel Grandin
2024-04-02convert sd::Annotation to comphelper::WeakComponentImplHelperNoel Grandin
2024-03-14sd:annotation: added missing comment reply undoPranam Lashkari
2024-01-27ITEM: Cleanup some Pool stuff with DefaultsArmin Le Grand (allotropia)
2024-01-21editeng: change EditEngine getter to ref in {Imp}EditViewTomaž Vajngerl
2023-12-24Drop some wrapper methods from SvtAccessibilityOptionsGabor Kelemen
2023-11-11use more concrete type in ImpEditEngine::SetUndoManagerNoel Grandin
2023-11-10Fix typoAndrea Gelmini
2023-11-09use more concrete sd::Annotation in AnnotationManagerImplNoel Grandin
2023-11-09use less UNO in AnnotationManagerImplNoel Grandin
2023-09-11svx: prefix members of SdrHdlMiklos Vajna
2023-08-25Revert "use more Reference::query instead of UNO_QUERY_THROW"Noel Grandin
2023-08-18use more Reference::query instead of UNO_QUERY_THROWNoel Grandin
2023-06-08pdfium: better suport for annotations and some fixesJaume Pujantell
2023-06-06convert SvtAccessibilityOptions to officecfg where possibleNoel Grandin
2023-04-21MCGR: Reduce diverse GradientStyle enums to single UNO API oneArmin Le Grand (allotropia)
2023-04-02Avoid conversions between OUString and OString in VCLMike Kaganski