/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* * This file is part of the LibreOffice project. * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. * * This file incorporates work covered by the following license notice: * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed * with this work for additional information regarding copyright * ownership. The ASF licenses this file to you under the Apache * License, Version 2.0 (the "License"); you may not use this file * except in compliance with the License. You may obtain a copy of * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ #ifndef INCLUDED_CUI_SOURCE_INC_HLDOCTP_HXX #define INCLUDED_CUI_SOURCE_INC_HLDOCTP_HXX #include "hltpbase.hxx" /************************************************************************* |* |* Tabpage : Hyperlink - Document |* \************************************************************************/ class SvxHyperlinkDocTp : public SvxHyperlinkTabPageBase { private: FixedLine maGrpDocument; FixedText maFtPath; SvxHyperURLBox maCbbPath; ImageButton maBtFileopen; FixedLine maGrpTarget; FixedText maFtTarget; Edit maEdTarget; FixedText maFtURL; FixedText maFtFullURL; ImageButton maBtBrowse; OUString maStrURL; sal_Bool mbMarkWndOpen; DECL_LINK (ClickFileopenHdl_Impl , void * ); DECL_LINK (ClickTargetHdl_Impl , void * ); DECL_LINK (ModifiedPathHdl_Impl , void * ); ///< Contens of combobox "Path" modified DECL_LINK (ModifiedTargetHdl_Impl, void * ); ///< Contens of editfield "Target" modified DECL_LINK (LostFocusPathHdl_Impl, void * ); ///< Combobox "path" lost its focus DECL_LINK(TimeoutHdl_Impl , void *); ///< Handler for timer -timeout enum EPathType { Type_Unknown, Type_Invalid, Type_ExistsFile, Type_File, Type_ExistsDir, Type_Dir }; EPathType GetPathType ( const OUString& rStrPath ); protected: void FillDlgFields(const OUString& rStrURL); void GetCurentItemData ( OUString& rStrURL, OUString& aStrName, OUString& aStrIntName, OUString& aStrFrame, SvxLinkInsertMode& eMode ); virtual sal_Bool ShouldOpenMarkWnd () {return mbMarkWndOpen;} virtual void SetMarkWndShouldOpen (sal_Bool bOpen) {mbMarkWndOpen=bOpen;} OUString GetCurrentURL (); public: SvxHyperlinkDocTp ( Window *pParent, const SfxItemSet& rItemSet); ~SvxHyperlinkDocTp (); static IconChoicePage* Create( Window* pWindow, const SfxItemSet& rItemSet ); virtual void SetMarkStr ( const OUString& aStrMark ); virtual void SetInitFocus(); }; #endif // INCLUDED_CUI_SOURCE_INC_HLDOCTP_HXX /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ o/collabora/cp-4.3 LibreOffice 核心代码仓库文档基金会
summaryrefslogtreecommitdiff
path: root/canvas
AgeCommit message (Expand)Author
2012-03-10gbuild: get rid of realpath in gb_Foo_set_includeMatúš Kukan
2012-02-25Remove unused codeElton Chung
2012-02-22Fix fdo#45219 wrong transparency for animated objects.Thorsten Behrens
2012-02-18Fix typos in commentsElton Chung
2012-02-17mark parameter as unusedDavid Tardon
2012-02-17remove unused variableDavid Tardon
2012-02-13Remove unused codeElton Chung
2012-02-10Removing one obsolte GNUC check for GCC < 4.0.1Carsten Niehaus
2012-02-08Added (and improved) READMEs for modules which used to be in libs-guiJosh Heidenreich
2012-02-07Remove obsolete quirk for text rotation.Thorsten Behrens
2012-02-05switch to include-based build rather than sourced-based buildNorbert Thiebaud
2012-02-05Eliminate un-used DIRECTX5Norbert Thiebaud
2012-02-01remove duplicate includeDavid Tardon
2012-02-01the depth argument must be >= 0David Tardon
2012-01-25transparency gradient effect fade in is wrong (fdo#45219)David Tardon
2012-01-24make slide transitions workDavid Tardon
2012-01-13WaE: unused iCaolán McNamara
2012-01-09Kill unused macro in canvas.Thorsten Behrens
2012-01-09Avoid pointless const_cast, use getConstArray in all cases.Thorsten Behrens
2012-01-09Fix more incorrect iterator re-use.Thorsten Behrens
2012-01-09Fix crash when play particular presentation with soundjulien2412