diff --git a/module/doc/ui/create.html.php b/module/doc/ui/create.html.php
index 4cb6f595d2..48debb0d46 100644
--- a/module/doc/ui/create.html.php
+++ b/module/doc/ui/create.html.php
@@ -12,4 +12,7 @@ namespace zin;
include($this->app->getModuleRoot() . 'ai/ui/inputinject.html.php');
-include 'create.text.html.php';
+$isOfficeDoc = $docType != '' && strpos($config->doc->officeTypes, $docType) !== false;
+
+if($isOfficeDoc) include 'create.office.html.php';
+else include 'create.text.html.php';
diff --git a/module/doc/ui/create.office.html.php b/module/doc/ui/create.office.html.php
new file mode 100644
index 0000000000..00051020d7
--- /dev/null
+++ b/module/doc/ui/create.office.html.php
@@ -0,0 +1,33 @@
+
+ * @package doc
+ * @link https://www.zentao.net
+ */
+namespace zin;
+
+set::title($lang->doc->create);
+if($this->config->edition != 'open')
+{
+ $setOfficeLink = common::hasPriv('custom', 'libreoffice') ? $this->createLink('custom', 'libreoffice') : '###';
+ $officeNotice = sprintf($lang->doc->notSetOffice, zget($lang->doc->typeList, $docType), $setOfficeLink);
+ if(!empty($config->file->libreOfficeTurnon) and $config->file->convertType != 'collabora') $officeNotice = sprintf($lang->doc->notSetCollabora, zget($lang->doc->typeList, $docType), $setOfficeLink);
+ if($config->requestType != 'PATH_INFO') $officeNotice = $lang->doc->requestTypeError;
+ div
+ (
+ setClass('alert warning-pale bd bd-warning'),
+ html($officeNotice)
+ );
+}
+else
+{
+ div
+ (
+ setClass('alert warning-pale bd bd-warning'),
+ html(sprintf($lang->doc->cannotCreateOffice, zget($lang->doc->typeList, $docType)))
+ );
+}