Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Is it possible to render file formats .pdf and .doc in Bitbucket server?

WillemA December 16, 2015

It is not possible to get a view on files of type .doc(x) and .pdf in the Bitbucket viewer.
You will get the message "This file cannot be rendered in your browser.

Is this something that can be solved? With plugins?

2 answers

2 accepted

1 vote
Answer accepted
Caterina Curti
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
May 3, 2018

Hi,

 

The following resources contain useful suggestions for both file types:

- for PDF files: PDF file comparison

- for doc(x) files: Diff Microsoft Word (docx) documents

 

Cheers,

Caterina - Atlassian

1 vote
Answer accepted
Mibex_Software
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
December 16, 2015

Hi,

There is indeed an API for this: "bitbucket/feature/files/file-handlers". See https://developer.atlassian.com/bitbucket/server/docs/latest/reference/javascript/bitbucket_feature_files_file-handlers.html for the API documentation and https://bitbucket.org/atlassian/stash-stl-plugin for an example plug-in that renders STL files.

Hope this helps.

Best regards,

Michael

WillemA December 23, 2015

I'm (also) looking for an add-on that has functionality out of the box for this.

Mibex_Software
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
December 24, 2015

There is only one in the Marketplace, but that one is for Bitbucket cloud. There is one from Atlassian Labs, but you have to build and install it yourself from here: https://bitbucket.org/atlassianlabs/stash-pdf-viewer-plugin

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events