MCPcopy Index your code
hub / github.com/Victor2018/DocViewer

github.com/Victor2018/DocViewer @v3.0.9

Chat with this repo
repository ↗ · DeepWiki ↗ · release v3.0.9 ↗ · + Follow
24,463 symbols 71,098 edges 2,065 files 13,241 documented · 54%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

DocViewer

android DocViewer support view word excel ppt pdf txt image in sdcard & uri & assets & url

Rendering

Screenshot

Usage

  • Step 1. Add the JitPack repository to your build or setting file
build file:
allprojects {
    repositories {
        ...
     maven { url "https://jitpack.io" }
    }
}

or setting file:
dependencyResolutionManagement {
    repositories {
        ...
        maven { url "https://jitpack.io" }
    }
}
  • Step 2. Add the dependency
dependencies {
    implementation 'com.github.Victor2018:DocViewer:latestVersion'
}
  • Step 3. set layoutManager for recyclerView by kotlin
DocViewerActivity.launchDocViewer(this,docSourceType,path)

关注开发者:

  • 邮箱: victor423099@gmail.com
  • 新浪微博
  • image

感谢

https://github.com/vantinh689/AllDocumentViewerNew

License

Copyright (c) 2023 Victor

Licensed 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

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Extension points exported contracts — how you extend this code

IWord (Interface)
IWord 接口 Read版本: Read V1.0 作者: ljj8494 日期: 2012-7-27 负责人: ljj8 [6 implementers]
library/src/main/java/com/cherry/lib/doc/office/simpletext/control/IWord.java
OnActivityPermissionCallback (Interface)
(no doc) [4 implementers]
app/src/main/java/com/cherry/doc/util/OnActivityPermissionCallback.java
IRoot (Interface)
定义视图接口方法 Read版本: Read V1.0 作者: ljj8494 日期: 2011-11-14 负责人: ljj [8 implementers]
library/src/main/java/com/cherry/lib/doc/office/simpletext/view/IRoot.java
OnPermissionCallback (Interface)
(no doc)
app/src/main/java/com/cherry/doc/util/OnPermissionCallback.java
Shape (Interface)
The Shape interface provides definitions for objects that represent some form of geometric shape. The <cod [7 implementers]
library/src/main/java/com/cherry/lib/doc/office/java/awt/Shape.java
OnMainHandlerImpl (Interface)
(no doc)
app/src/main/java/com/cherry/doc/util/MainHandler.kt
PathIterator (Interface)
The PathIterator interface provides the mechanism for objects that implement the {@link com.cherry.lib.doc. [19 implementers]
library/src/main/java/com/cherry/lib/doc/office/java/awt/geom/PathIterator.java
ShapeOutline (Interface)
Date: Apr 17, 2008 @author Yegor Kozlov [6 implementers]
library/src/main/java/com/cherry/lib/doc/office/fc/hslf/model/ShapeOutline.java

Core symbols most depended-on inside this repo

append
called by 3678
library/src/main/java/com/cherry/lib/doc/office/fc/hssf/record/aggregates/CustomViewSettingsRecordAggregate.java
append
called by 3098
library/src/main/java/com/cherry/lib/doc/office/fc/hwpf/sprm/SprmBuffer.java
lineTo
called by 1352
library/src/main/java/com/cherry/lib/doc/office/java/awt/geom/Path2D.java
add
called by 1105
library/src/main/java/com/cherry/lib/doc/office/fc/dom4j/Branch.java
element
called by 952
library/src/main/java/com/cherry/lib/doc/office/fc/dom4j/Element.java
length
called by 814
library/src/main/java/com/cherry/lib/doc/office/fc/ss/usermodel/RichTextString.java
round
called by 763
library/src/main/java/com/cherry/lib/doc/office/java/awt/geom/Curve.java
size
called by 725
library/src/main/java/com/cherry/lib/doc/office/fc/dom4j/ElementPath.java

Shape

Method 22,072
Class 2,114
Interface 234
Enum 43

Languages

Java99%
Kotlin1%

Modules by API surface

library/src/main/java/com/cherry/lib/doc/office/fc/hwpf/model/types/DOPAbstractType.java296 symbols
library/src/main/java/com/cherry/lib/doc/office/fc/hwpf/model/types/CHPAbstractType.java223 symbols
library/src/main/java/com/cherry/lib/doc/office/fc/hwpf/model/types/TAPAbstractType.java220 symbols
library/src/main/java/com/cherry/lib/doc/office/fc/hssf/util/HSSFColor.java205 symbols
library/src/main/java/com/cherry/lib/doc/office/fc/hwpf/model/types/PAPAbstractType.java163 symbols
library/src/main/java/com/cherry/lib/doc/office/simpletext/model/AttrManage.java144 symbols
library/src/main/java/com/cherry/lib/doc/office/fc/hwpf/model/FileInformationBlock.java141 symbols
library/src/main/java/com/cherry/lib/doc/office/fc/hssf/usermodel/HSSFSheet.java141 symbols
library/src/main/java/com/cherry/lib/doc/office/fc/hwpf/model/types/SEPAbstractType.java121 symbols
library/src/main/java/com/cherry/lib/doc/office/fc/hssf/model/InternalWorkbook.java108 symbols
library/src/main/java/com/cherry/lib/doc/office/fc/hssf/usermodel/HSSFChart.java106 symbols
library/src/main/java/com/cherry/lib/doc/office/fc/hssf/model/InternalSheet.java106 symbols

For agents

$ claude mcp add DocViewer \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page